This applies 41 optimization rules across six categories to cut token counts by 20 to 40 percent in prompts and documentation without losing meaning. You get three modes: light for basic cleanup, medium for balanced restructuring, and deep for maximum compression. The rules cover Claude-specific behavior patterns (like avoiding "think" phrasing and literal instruction following), token efficiency tricks (tables beat prose, bullets beat numbered lists), and structural improvements using XML tags and progressive disclosure. It checks reference integrity and fixes broken file paths as it goes. Useful when you're hitting context limits, paying per token, or just trying to make agent instructions clearer and less prone to hallucinations.

skills.sh installs
2.1K
GitHub stars
39
last updated
Aug 21, 2026

Install

$ npx -y skills add kochetkov-ma/claude-brewcode --skill text-optimizer --agent claude-code

Installs into .claude/skills of the current project.

Files

This applies 41 optimization rules across six categories to cut token counts by 20 to 40 percent in prompts and documentation without losing meaning. You get three modes: light for basic cleanup, medium for balanced restructuring, and deep for maximum compression. The rules cover Claude-specific behavior patterns (like avoiding "think" phrasing and literal instruction following), token efficiency tricks (tables beat prose, bullets beat numbered lists), and structural improvements using XML tags and progressive disclosure. It checks reference integrity and fixes broken file paths as it goes. Useful when you're hitting context limits, paying per token, or just trying to make agent instructions clearer and less prone to hallucinations.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/kochetkov-ma/claude-brewcode
Categories
Documentation, Code Review & Quality, AI & Agent Building, Data Science & ML

More from kochetkov-ma/claude-brewcode

All 3
1netresearch avatarcontext7netresearch/context7-skillUse when looking up library documentation, API references, framework patterns, or code examples for ANY library (React, Next.js, Vue, Django, Laravel, etc.) and2.1Kskills.sh installs
2refoundai avatarpositioning-messagingrefoundai/lenny-skillsHelp users craft product positioning and messaging. Use when someone is launching a product, differentiating from competitors, writing marketing copy, strugglin2.1Kskills.sh installs
3onmax avatardocument-writeronmax/nuxt-skillsUse when writing blog posts or documentation markdown files - provides writing style guide (active voice, present tense), content structure patterns, and MDC co2.1Kskills.sh installs
4apollographql avatarskill-creatorapollographql/skillsGuide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to upd2Kskills.sh installs
5metabase avatarclojure-writemetabase/metabaseGuide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best practices. Use when writing, developing, or refactoring Clo2Kskills.sh installs
6daymade avatarqa-expertdaymade/claude-code-skillsThis skill should be used when establishing comprehensive QA testing processes for any software project. Use when creating test strategies, writing test cases f2Kskills.sh installs