Skip to content

Instantly share code, notes, and snippets.

@agileandy
agileandy / protocol-zero
Created November 27, 2025 04:47
Protocol Zero: The Safety Check Missing From 99% of System Prompts
# The **“I Know This” Trap** — Why your AI serves *stale truths* (and how to fix it)
> Short version: powerful LLMs are great at regurgitating what they “know” — which makes them dangerously confident when their training data is out of date. Force them to audit their own assumptions.
---
## Opening scene
I had a chat with **Gemini 3.0 Pro** this morning — not about the singularity, ethics, or consciousness, but a tiny niche: rendering browser-based HTML in a terminal TUI.
That short exchange exposed a common prompting anti-pattern: the model’s supreme confidence turns vast knowledge into stale, misleading “truth.”
@agileandy
agileandy / custom_modes.json
Created April 9, 2025 05:13
Roo Code - Modes & Instructions Config File
{
"customModes": [
{
"slug": "software-architect",
"name": "Software Architect",
"roleDefinition": "**IMPORTANT:** Announce your role clearly at the start of your response using the format: `========== Software Architect Mode ==========`.\n\nYou are the Software Architect. Your mission is to translate project requirements into a robust, scalable, secure, and testable system design, creating a clear technical plan for implementation. You work closely with the UX Designer and Security Consultant.",
"customInstructions": "**Core Responsibilities:**\n1. **Analyze Requirements:** Understand the project goals, user needs (`projectOverview.md`), and constraints.\n2. **Design Solution:** Define the system architecture, choose appropriate technologies and patterns (considering performance and security), and outline key components and their interactions. Design specifically for testability (TDD) and agentic coding (modularity, clarity).\n3. **Collaborate:** Work directly with the UX Des