See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptWe are investigating an intermittent race condition in the asynchronous task queue service. What workflow step must occur before modifying code files?
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| The response mandates performing a structured diagnostic self-assessment before initiating code modifications. | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md153 linessingle file
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?
Track record
Benchmark
22 / 24
test cases passed, vs 16 / 24 without
Adoption
- Users
- 0
- Times used
- 0
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/10/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importedmajiayu000 / claude-skill-registry
skills/agent/metacognition-shinpr-agentic-code-2/SKILL.md
View on GitHub ↗License MITImported 8/10/2026Version v1