Agent skill

metacognition

Validates approach and checks assumptions before/after tasks. Use when: starting work, encountering errors, or switching phases.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/agent/metacognition-shinpr-agentic-code-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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?

What's inside
Steps it walks through
  1. Purpose
  2. When to Apply [MANDATORY CHECKPOINTS]
  3. Assessment Questions
  4. 1. Task Understanding
  5. 2. Current State
  6. 3. Approach Validation
  7. Rule Selection Guide
  8. By Task Type
  9. Loading Strategy
  10. Common Decision Points
  11. When Starting Work [BLOCKING CHECKLIST]
  12. During Execution [PROGRESS GATES]
  13. After Completion [EXIT GATES]
  14. Anti-Pattern Recognition
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going