独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
I

isaacross68/context-diet-skill-win-10844

Context Diet - Claude Code Optimization Skill 2026

装之前:没有可直接复制的命令 · 许可证 GPL-3.0 · 链接可访问

第一步:git clone https://github.com/isaacross68/context-diet-skill-win-10844.git

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
0 ★ · isaacross68/context-diet-skill-win-10844 · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-10 · 最近见到 2026-11-14 · 共见到 5 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 isaacross68/context-diet-skill-win-10844;我们收录于 2026-11-10;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Context Diet - Claude Code Optimization Skill 2026

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> Context Diet is a Claude Code agent skill for measuring system-prompt overhead, reviewing tool payload size, and reducing unused definitions through controlled settings.json configuration.
> Direct Download - Context Diet
Download Latest Build
## About Context Diet
Context Diet is a Claude Code optimization skill focused on identifying unnecessary system-prompt and tool-definition overhead. It uses a logging proxy to measure payload size and helps determine which tools and features contribute most to the working context.
The skill is intended for developers and teams tuning Claude Code configurations. It supports a measured workflow: inspect current usage, compare tool payloads, and apply targeted settings changes rather than disabling capabilities without review.
## Features
Measures system-prompt bloat through a logging proxy
Ranks available tools by payload size
Identifies unused tool definitions and features
Includes conservative configuration templates
Includes aggressive configuration templates
Applies deterministic merges to settings.json
Creates backups before configuration changes
Supports global, project-level, and dry-run modes
## Installation
Clone the repository into a local working directory:
bash
git clone https://github.com/isaacross68/context-diet-skill-win-10844.git
cd REPO
Ensure Node.js is available in your environment. Review the skill files and configuration templates before using the tool with Claude Code.
For an initial evaluation, use dry-run mode where available. This allows configuration changes to be inspected before they are written to a global or project settings file.
## Usage
A typical workflow is:
1. Start with the logging proxy to collect information about the current prompt and tool payloads.
2. Review the ranked tool-size results.
3. Identify definitions or features that are not needed for the target project.
4. Select a conservative or aggressive configuration template.
5. Run the configuration process in dry-run mode.
6. Apply the reviewed settings at either the project or global scope.
7. Confirm the resulting settings.json and retain the generated backup.
Example workflow:
text
Measure -> Rank payloads -> Review unused tools -> Preview changes -> Apply settings
Use project mode when the configuration should affect one repository. Use global mode when the same settings should apply across Claude Code projects.
## Configuration
Context Diet works with Claude Code settings.json configuration. Changes are designed to be deterministic and are accompanied by backups when settings are updated.
The available configuration approaches are:
Conservative: reduces selected overhead while retaining more optional functionality.
Aggressive: disables a broader set of unused definitions or features.
Dry run: previews the intended merge without applying it.
Project scope: stores changes for the current project.
Global scope: applies changes to the global Claude Code configuration.
Review each generated change before applying it, especially when switching from project-level testing to global settings.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/isaacross68-context-diet-skill-win-10844/)
来源
github · https://github.com/isaacross68/context-diet-skill-win-10844
按领域浏览
开源项目
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引