context-diet

仓库创建 2026年7月26日最近提交 4 天前SkillHot 收录 3 天前
这个 Skill 做什么

把 CLAUDE.md、SKILL.md 和系统提示里的冗余规则瘦身,删掉多余或相互冲突的 guardrails,让上下文更精简、更有效。适合在创建或审查这些文件、要新增规则或感觉上下文太臃肿时用。基于 Claude 5 的判断能力,能去掉会产生噪音的旧规则,提升模型表现一致性。

▸ 展开 SKILL.md 英文原文

Slim down CLAUDE.md, skills, and system prompts. Claude 5-class models have judgment that already covers most generic rules — old guardrails become noise, and worse, they conflict with each other. Use when creating or reviewing a CLAUDE.md or SKILL.md, when adding a rule to one, when context feels bloated, or when asking "where should this rule live?".

0
Stars
0
Forks
1
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/andyleimc-source/context-diet/main/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/andyleimc-source/context-diet/main/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Context Diet

Based on Thariq's *The new rules of context engineering for Claude 5 models* (2026-07-25).
Anthropic removed **over 80%** of Claude Code's system prompt for Claude Opus 5 / Fable 5
with no measurable loss on their coding evals.

## The one-liner

**The model got better, so your guardrails became noise.** What older models needed spelled
out, newer models judge better on their own. Keeping the old rules doesn't just waste tokens —
worse, **they fight each other**, and the model burns reasoning reconciling them before it can act.

## Five things that are now obsolete

| Then | Now |
|---|---|
| Give Claude rules | **Let Claude use judgment** — keep rules only where you've actua
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有