graceful-degradation
Skill0 starsChanged 4 months agoMITView on GitHub
Keep the runtime loop moving when a model, tool, or artifact step fails. Use on any failure path; a failed step must degrade to a usable result, never stall the loop.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- parcadei/Continuous-Claude-v3their own version, first seen Jan 14, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- parcadei/Continuous-Claude-v3★ 3.9ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- adaptive-pedagogySkill
- artifact-validatorSkill
- curriculum-graph-builderSkill
- deterministic-graderSkill
- evidence-emitterSkill
- formative-assessorSkill
- goal-interpreterSkill
- incremental-deliverySkill
- interactive-lecture-deckSkill
- interactive-visual-explainerSkill
- knowledge-qaSkill
- learner-interviewSkill
- learner-state-reflectorSkill
- learning-companionSkill
- learning-reportSkill
- lesson-introSkill
- negotiationSkill
- orchestrator-policySkill
- plan-presenterSkill
- prerequisite-analyzerSkill
- product-page-component-rewriterSkill
- profile-readerSkill
- quiz-generatorSkill
- retrieval-practice-builderSkill
- review-schedulerSkill
- skill-eval-harnessSkill
- skill-forgeSkill
- socratic-proberSkill
- structured-outputSkill
- tool-investigatorSkill
- your-skill-nameSkill
The file
Files
降级回退
角色
自主循环最危险的失败不是出错,是停住。学习者对着一个不动的界面,比拿到一个稍差的结果糟糕得多。 每条失败路径都必须有下一步。
降级阶梯
按顺序尝试,能停在哪一级就停在哪一级:
- 重试一次——仅限幂等步骤(读档案、解析、校验)。非幂等步骤(生成产物、写证据)不重试。
- 确定性回退——不用模型也能产出的结果:
- 排序失败 → 直接取候选集打分最高的那个(argmax),不问模型。
- 讲解生成失败 → 用课程包的提示阶梯
hint_ladder里当前层级那一条。 - 产物生成失败 → 用宿主预置的 fallback 页面。
- 判分失败 → 保留作答证据,标
needs_recheck,不猜分数。
- 缩小范围——把一个大任务换成它的最小可交付部分(整套课件 → 一页引入)。
- 交还给学习者——
awaits_user=true,说明发生了什么和可选项。 - 标记 FAILED——只有前四级都不可行时。必须带一句学习者能看懂的中文原因。
必须遵守
- 降级要留痕:每次降级产出一条
error_pattern证据和一条 decision trace, 否则评测会把降级结果当成正常结果统计。 - 不要伪装成功:降级结果要在响应里标明是回退版本。
- 不要吞掉预算:降级不重置
max_steps/max_replans,否则失败会变成无限循环。 - 不可逆操作永不自动降级重试:写图谱、建日程、启用 forged skill 失败就停下来问。
反模式
except Exception: pass,然后循环继续转但状态没变。- 用模型去处理"模型不可用"。
- 降级之后不告诉学习者,让他以为拿到的是完整结果。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

