कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

context-slimmer

sundevilatb द्वारा

Web & Frontend Development
997clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Audit and slim down always-loaded context files (AGENTS.md, TOOLS.md, USER.md, MEMORY.md, HEARTBEAT.md, SOUL.md.

विवरण

यह स्किल क्या करती है

Audits always-loaded workspace context files and reduces their token footprint. Measures current token cost across files like AGENTS.md, MEMORY.md, and SOUL.md, then identifies what to move to on-demand skills, remove entirely, or compress. Outputs per-file recommendations with projected savings.

Instead of manually eyeballing files, it measures actual token cost and groups recommendations by action type, so you know exactly what to cut and by how much.

इसे कब इस्तेमाल करें

  • Cutting token usage before hitting context window limits
  • Finding duplicate content spread across MEMORY.md and AGENTS.md
  • Moving task-specific config out of always-loaded files into on-demand skills
  • Auditing a workspace after months of accumulated context drift
  • Setting and enforcing lean file size targets for each context file

उदाहरण वर्कफ़्लो

इनपुट

User asks: audit my context files and reduce token usage

एजेंट
  1. 1

    Run bash scripts/measure.sh --audit to measure token cost per file

  2. 2

    Compare each file's current size against lean targets from the reference table

  3. 3

    Identify content to move to on-demand skills, such as task-specific protocols or betting config

  4. 4

    Flag outdated, duplicated, or overly verbose sections for removal or compression

  5. 5

    Output a report with current size, projected size, and savings per file

आउटपुट

Per-file audit report showing token counts, specific move/remove/compress recommendations, and total projected savings

इंस्टॉलेशन

clawhub install sundevilatb/context-slimmer

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक