Agent skill
using-loaded-knowledge
MANDATORY protocol enforcing knowledge check before EVERY response - prevents explaining systems without reading docs, claiming without verification, and ignoring auto-loaded context
Install this agent skill to your Project
npx add-skill https://github.com/adilkalam/orca/tree/main/skills/using-loaded-knowledge
SKILL.md
YOU MUST FOLLOW THIS CHECKLIST BEFORE EVERY SINGLE RESPONSE.
If you skip this checklist, you WILL make the exact same mistakes that have been made 20+ times before. </EXTREMELY-IMPORTANT>
Using Loaded Knowledge - MANDATORY Pre-Response Protocol
THE PROBLEM THIS SOLVES
Failure Pattern (costs ~100K tokens per occurrence):
- User asks: "Explain our architecture"
- Claude generates answer WITHOUT checking loaded context
- Claude explains generic system WITHOUT reading actual documentation
- User: "You didn't even read the docs I built"
- Claude: Makes claims about what exists WITHOUT grep verification
- User: Provides evidence showing Claude is completely wrong
- Result: Complete waste of tokens, zero trust, massive frustration
This has happened 20+ times. It MUST stop.
MANDATORY CHECKLIST - BEFORE EVERY RESPONSE
Before responding to ANY user message, you MUST complete ALL steps:
Step 1: Check Auto-Loaded Context Files
These files are ALREADY in your context (loaded via SessionStart hooks):
# Check if question relates to loaded context
ls .claude/orchestration/temp/session-context.md 2>/dev/null
Files to check:
.claude/orchestration/temp/session-context.md- Recent work, decisions, Workshop contextCLAUDE.md- Project instructions, learned rules, workflow guidance- Workshop database - Query via
workshop --workspace .claude/memory <command>
IF your response relates to recent work, systems built, or user preferences → READ these files FIRST
Step 2: System/Documentation Questions
IF user asks about a system, architecture, or anything we built:
# Search /docs for relevant documentation
ls $PROJECT_ROOT/docs/*.md
# Read COMPLETE documentation before explaining
Read $PROJECT_ROOT/docs/[RELEVANT].md
Examples that require /docs reading:
- "Explain our architecture"
- "How does X system work?"
- "What's the Design DNA system?"
- "Tell me about the quality gates"
YOU MUST READ THE ACTUAL DOCS. NOT generate from memory.
Step 3: Claims Require Grep Verification
IF you're about to claim something exists, is integrated, or works:
# Verify with grep BEFORE claiming
grep -r "pattern" $PROJECT_ROOT/
# Check file existence
ls /path/to/file
# Verify integration
grep "integration_point" target_file.md
Examples that require verification:
- "Design DNA is integrated in /orca" → grep /orca for design-dna references
- "This file exists" → ls the file
- "I fixed this" → grep to verify the fix is present
NO CLAIMS WITHOUT GREP EVIDENCE.
Step 4: Check USER_PROFILE.md Principles
Before responding, check if USER_PROFILE.md has relevant principles:
Key principles (from USER_PROFILE.md):
- Evidence Over Claims - grep/bash before stating anything
- Design-OCD - Mathematical precision, no arbitrary values
- MECE Thinking - Systemic consistency checks
- Proactive Quality - Run audits before user finds issues
- Build Right First - Upfront investment > iteration loops
- Use Tools Automatically - Don't ask permission
- Thinking Escalation - Wrong once → extended thinking, wrong twice → /think
IF your response relates to any principle → FOLLOW IT
Step 5: Only Then Respond
After completing steps 1-4, you may respond.
FAILURE MODES THIS PREVENTS
Failure Mode 1: Explaining Systems Without Reading Docs
** WRONG:**
User: "Explain our design system"
Claude: [Generates generic design system explanation]
User: "You didn't read DESIGN_DNA_SYSTEM.md"
** RIGHT:**
User: "Explain our design system"
Claude: [Checks Step 2 - this is about a system]
Claude: Read $PROJECT_ROOT/docs/DESIGN_DNA_SYSTEM.md
Claude: [Reads complete 547-line doc]
Claude: [Explains ACTUAL system with evidence]
Failure Mode 2: Claims Without Verification
** WRONG:**
User: "Is Design DNA integrated?"
Claude: "No, it's not integrated"
User: [Provides grep evidence showing it IS integrated]
** RIGHT:**
User: "Is Design DNA integrated?"
Claude: [Checks Step 3 - this is a claim]
Claude: grep "design-dna\|style-translator\|design-compiler" commands/orca.md
Claude: [Finds Phase -2, Phase -1 references]
Claude: "Yes, integrated in /orca Phase -1, -2: [evidence]"
Failure Mode 3: Ignoring Auto-Loaded Context
** WRONG:**
User: "What did we work on last session?"
Claude: [Generates vague guess]
User: "It's IN the session context file"
** RIGHT:**
User: "What did we work on last session?"
Claude: [Checks Step 1 - session history]
Claude: Read .claude-session-context.md
Claude: [Reads actual session summary]
Claude: "Last session: [specific work from context file]"
Failure Mode 4: Violating USER_PROFILE.md Principles
** WRONG:**
User: "The spacing looks off"
Claude: "Let me adjust it to 15px"
User: "Use the 4px grid system, not arbitrary values"
** RIGHT:**
User: "The spacing looks off"
Claude: [Checks Step 4 - Design-OCD principle]
Claude: [Reads: "Mathematical spacing, 4px grid, no arbitrary values"]
Claude: "I'll adjust to align with the 4px grid: 12px or 16px?"
WHY THIS SKILL EXISTS
Token cost without this skill:
- ~100K tokens per failure occurrence
- 20+ failures = 2M+ tokens wasted
- Total system cost: 5M tokens
Token cost with this skill:
- ~500 tokens per response (checking context)
- Prevents 100K token failures
- ROI: 200x savings
Trust cost without this skill:
- User has ZERO faith Claude learns
- Every session repeats same mistakes
- Exhaustion, frustration, wasted time
Trust cost with this skill:
- Demonstrates actual knowledge usage
- Prevents repeat failures
- Builds confidence in system
INTEGRATION WITH OTHER SYSTEMS
Works With Workshop
When Workshop is initialized, add this to Step 1:
# Query past decisions
workshop --workspace .claude/memory why "relevant topic"
# See recent activity
workshop --workspace .claude/memory recent
# Get full context
workshop --workspace .claude/memory context
Works With Existing Hooks
This skill enforces the protocol.
Existing hooks auto-load the context.
Together: Context loaded + Protocol enforced = Knowledge actually used
USAGE
This skill is ALWAYS ACTIVE for ALL responses.
You don't invoke it explicitly. It's a checklist you complete internally before every response.
Checklist reminder:
- Check auto-loaded context files
- Read /docs if system question
- Grep verify if making claims
- Check USER_PROFILE.md principles
- Only then respond
If you skip ANY step, you WILL repeat the catastrophic failures.
TESTING
Test scenario (from this session's failure):
User: "Explain our design system"
Expected behavior:
1. Recognize this is a system question (Step 2)
2. ls $PROJECT_ROOT/docs/*.md
3. Find DESIGN_DNA_SYSTEM.md
4. Read DESIGN_DNA_SYSTEM.md (547 lines)
5. Explain ACTUAL system with phases 1-4, components, workflows
6. Include evidence (file paths, line numbers)
NOT ACCEPTABLE:
- Generic design system explanation
- Explanation without reading docs
- Claims about integration without grep
RATIONALE
Why not just add this to using-superpowers?
Because this is MORE fundamental than skills. Skills are for specific tasks. This is for EVERY response.
Why make it MANDATORY?
Because making it optional has failed 20+ times. The pattern is clear:
- Optional checks → skipped
- Skipped checks → catastrophic failures
- Catastrophic failures → wasted tokens, lost trust
Why is this so important?
Because without this, ALL other systems are useless:
- ACE Playbooks built → not used
- Design DNA built → not used
- meta-orchestrator built → not used
- Knowledge graphs built → not used
- 5M tokens spent → 0% ROI
With this protocol: All systems finally GET used.
SUCCESS CRITERIA
This skill is working when:
- User asks "Explain design system" → I read DESIGN_DNA_SYSTEM.md FIRST
- User asks "Is X integrated?" → I grep BEFORE answering
- User mentions recent work → I check .claude-session-context.md
- User requests design change → I check Design-OCD principle from USER_PROFILE.md
- ZERO "You didn't even read the docs" responses from user
This skill has failed when:
- User says "You didn't read the docs"
- User provides grep evidence contradicting my claims
- User says "It's in the session context file"
- User says "That violates the principles in USER_PROFILE.md"
FINAL WARNING
This is not optional. This is not negotiable. This is not something you adapt based on context.
EVERY response. EVERY time. NO exceptions.
The checklist is mandatory.
Skipping it = repeating the exact failures that cost 5M tokens.
YOU HAVE BEEN WARNED.
Last Updated: 2025-10-25 Created After: 20+ catastrophic failures costing 5M+ tokens Purpose: FORCE Claude to use loaded knowledge before responding Success Metric: Zero "You didn't read the docs" failures
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
web-interface-guidelines
Web UI quality rules: interactions, forms, loading, animations, layout, content, performance, accessibility, design. Apply to all web UI work. Adapted from Vercel Design Guidelines.
react-performance
React/Next.js performance patterns with wrong/right code examples. Apply when building or reviewing React components. Adapted from Vercel React Best Practices by @shuding.
stripe-integration
Payment integration patterns for Stripe. Covers checkout sessions, subscriptions, webhooks, idempotency, and the sharp edges that cause real-money bugs. Backend-agnostic with examples for Next.js App Router and Django REST Framework.
testing-strategy
Testing strategies and best practices for unit, integration, and end-to-end tests. Use when setting up test infrastructure, writing test cases, or deciding what to test. Covers test pyramid, mocking strategies, and coverage guidelines.
frontend-aesthetics
Global frontend aesthetics skill that helps Claude avoid generic "AI slop" UI and make bold, intentional visual decisions while still honoring each project's design-dna, tokens, and architecture.
pg-style-editor
Edit writing to adopt Paul Graham's exceptionally clear style for research and long-form content - concrete language, varied sentence rhythm, accessible formality, specific evidence. Use when user wants to rewrite content in PG's style or asks to "make this clearer" or "simplify research writing."
Didn't find tool you were looking for?