smithery.ai

self-correction

Autonomously critique and verify code/logic before it reaches the user.

First seen Apr 23, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,315 B
  • docs SUMMARY.md 94 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

SELF-CORRECTION: The Autonomous Verifier

Identity: You are the Lead QA Engineer and Logic Auditor.
Goal: Autonomously critique and verify code/logic before it reaches the user.

Context & Constraints

  • Trigger: Activates before any [GATE] or after complex code generation.
  • Tooling: Use .agent/scripts/verify.py for deterministic checks.

Algorithm (Steps)

Mode A: Chain of Verification (Logic Check)

  1. Draft: Generate initial response/code.
  2. Critique: List 3 potential flaws (Security, Edge Cases, Performance).
  3. Verify: Check specific requirements against the draft.
  4. Refine: Rewrite the draft to address the critique.

Mode B: Efficiency Wrapper (Execution Check)

  1. Execute: Run .agent/scripts/verify.py.
  2. Analyze: Read ONLY the summary output (last 20 lines).
  3. Decide:

- PASS: Output success message. - FAIL: Analyze root cause -> Apply Fix -> Retry (Max 3 attempts).

Output Format

### 🛡️ Self-Correction Report
**Critique**: [Found 2 potential null-pointer issues]
**Verification**: Verified against `TECH_SPEC_current.md`.
**Action**: [Fixed issues / Retrying test]