Agent Skills
› aiming-lab/MetaClaw
› do-not-retry-without-diagnosis
do-not-retry-without-diagnosis
GitHub防止在故障排查前盲目重试,强调先诊断错误根因再决定操作。适用于工具调用失败、API报错等场景,指导Agent区分瞬态与永久错误并针对性处理。
Trigger Scenarios
工具调用失败
API请求报错
命令执行异常
Install
npx skills add aiming-lab/MetaClaw --skill do-not-retry-without-diagnosis -g -y
SKILL.md
Frontmatter
{
"name": "do-not-retry-without-diagnosis",
"category": "common_mistakes",
"description": "Common mistake — retrying the same failing command or API call without understanding why it failed. Always diagnose the root cause before retrying anything."
}
Do Not Retry Without Diagnosis
Mistake pattern: Tool call fails → retry the same call → fails again → repeat.
Fix: After the first failure, read the error message carefully and diagnose the root cause before retrying.
Questions to ask:
- Is this a transient error (network timeout, rate limit)? Retry with backoff.
- Is this a permanent error (wrong input, missing resource, permission denied)? Fix the cause.
Anti-pattern: Blindly retrying or escalating without examining the error output.
Version History
- 922caf3 Current 2026-07-25 11:08


