metacognition
Validates approach and checks assumptions before/after tasks. Use when: starting work, encountering errors, or switching phases.
npx skills add majiayu000/claude-skill-registry --skill metacognition-shinpr-agentic-code-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Metacognition Protocol ## Purpose Self-assessment checkpoints. ## When to Apply [MANDATORY CHECKPOINTS] **BLOCKING METACOGNITION REQUIRED at:** - [CHECKPOINT] Task type changes → CANNOT proceed without assessment - [CHECKPOINT] After completing ANY task from Work Plan document → MUST evaluate before next task - [CHECKPOINT] When encountering error or unexpected result → ASSESS approach immediately - [CHECKPOINT] Before writing first line of new feature → VALIDATE approach first - [CHECKPOINT] When switching between major phases → CONFIRM all gates passed **ENFORCEMENT**: Skipping metacognition = CRITICAL VIOLATION ## Assessment Questions ### 1. Task Understanding - What is the fundamental goal? - Am I solving the root cause or symptom? - Do I have all necessary information? - Are success criteria clear and measurable? - What are the known unknowns at this point? ### 2. Current State - What rules are currently loaded? - Which rules are actually being used? - What assumptions am I making? - What could go wrong? ### 3. Approach Validation - Is my approach the simplest solution? - Am I following established patterns? - Have I considered alternatives? - Is this maintainable long-term?
- Purpose
- When to Apply [MANDATORY CHECKPOINTS]
- Assessment Questions
- 1. Task Understanding
- 2. Current State
- 3. Approach Validation
- Rule Selection Guide
- By Task Type
- Loading Strategy
- Common Decision Points
- When Starting Work [BLOCKING CHECKLIST]
- During Execution [PROGRESS GATES]
- After Completion [EXIT GATES]
- Anti-Pattern Recognition
What does the metacognition skill do?
Validates approach and checks assumptions before/after tasks. Use when: starting work, encountering errors, or switching phases.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill metacognition-shinpr-agentic-code-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
