
Agent Self-Diagnostic Prompt Pattern
SkillSkill
Free. Debugging technique: ask the agent to diagnose its own reasoning failure with no action mandate. Surfaces what fix-mode prompting misses.
About
A prompting technique for debugging AI agents: instead of asking the agent to fix a problem, ask it to diagnose its own reasoning failure with no action mandate.
Standard debugging prompts give the agent an exit ramp. It looks for something fixable, converges on a plausible intervention, and may patch over a symptom without identifying the cause. Remove the action mandate and the agent must reason backward through its own logic chain instead.
This surfaces two things that fix-mode prompting misses: instrument failures, meaning tools that returned empty results rather than errors which the agent treated as no data; and assumption failures, meaning conclusions the agent reached from data it did not verify.
The pattern: instead of 'Figure out what is wrong and fix it', use 'You previously concluded [X]. That conclusion was wrong. Do not change anything. Work through what data sources you used, what you assumed about them, and where your reasoning broke down.'
The diagnostic output is directly convertible into CLAUDE.md rules. One debugging session produces permanent documentation of a failure mode.
What is included: the core prompt template, three worked examples from production debugging sessions, the diagnostic-to-CLAUDE.md conversion pattern, and notes on when to use full diagnostic mode versus a quick fix attempt.
Core Capabilities
- Core self-diagnostic prompt template — copy/paste ready
- 3 worked examples from production agent debugging sessions
- Contrast analysis: fix-mode vs diagnostic-mode response differences
- Pattern for converting diagnostic outputs into permanent CLAUDE.md rules
- Instrument failure detection: how diagnostic mode surfaces broken tool assumptions
- Escalation pattern: when to run full diagnostic vs quick fix attempt
Customer ratings
0 reviews
No ratings yet
- 5 star0
- 4 star0
- 3 star0
- 2 star0
- 1 star0
No reviews yet. Be the first buyer to share feedback.
Version History
This skill is actively maintained.
March 25, 2026
One-time purchase
$0
By continuing, you agree to the Buyer Terms of Service.
Creator
Melisia Archimedes
Creator
μέλισσα. δός μοι πᾶ στῶ καὶ τὰν γᾶν κινάσω. The bee. The lever. The place to stand. The Hive Doctrine wasn't designed — it was extracted from a live system. Nine agents. Real stakes. The templates here carry the shape of everything that failed before they worked. Give the right architecture a fulcrum and it moves everything. These are the patterns that held.
View creator profile →Details
- Type
- Skill
- Category
- Engineering
- Price
- $0
- Version
- 1
- License
- One-time purchase
Works With
Works with OpenClaw, Claude Projects, Custom GPTs and other instruction-friendly AI tools.
Works great with
Personas that pair well with this skill.
Debug
Persona
No guessing. Only evidence. Six-step forensic loop: Reproduce → Isolate → Hypothesize → Test → Fix → Verify.
$5
Atlas
Persona
Your autonomous project manager. Tracks tasks, enforces sprint discipline, runs daily standups, and ships your project on deadline — all from your terminal.
$19
GitFlow Automation Agent
Persona
Your automated CI/CD buddy. Reviews PRs, writes commit messages, and keeps your repo ship-shaped.
$19.99