Claude Code Config: A Lean, Curated AI Development Setup
1 Software engineer, Singapore; cyrus@pastelero.ph
Abstract
My open source Claude Code configuration. It grew to 29 agents and 65 rules, then I cut it to 12 agents, 16 commands, 18 skills, and 20 rules, because every definition costs context in every session.
Keywords: Claude Code; Shell; AI Agents

The problem
Claude Code is useful out of the box, but a workflow you trust takes configuration. Agents need to be defined, skills need to be written, rules need to encode your coding standards, and hooks need to run the quality gates you'd otherwise forget. Most people either live with the defaults or spend weeks building their own setup.
I wanted something I could clone onto a new machine and have my whole workflow back in one command.
What I built
An open source Claude Code configuration with one installer. Built on top of Everything Claude Code[1] and obra/superpowers[2], then shaped by months of daily use.
The current version ships:
| Component | Count | Highlights |
|---|---|---|
| Agents | 12 | planner, architect, code-reviewer, security-reviewer, tdd-guide, language reviewers |
| Commands | 16 | /plan, /tdd, /verify, /code-review, /build-fix |
| Skills | 18 | API design, Postgres patterns, SwiftUI, Swift concurrency, E2E testing |
| Rules | 20 | Common, TypeScript, Python, and Swift standards |
| Token-saving hooks | 2 | Blocks duplicate file reads, compresses noisy tool output |
The default install has no runtime dependencies. The Node hooks are opt-in.
The journey
This started as personal dotfiles for Claude Code. Then it grew. By March 2026 it had 29 agents, 60 commands, 60 skills, and 65 rules, most of them pulled in from upstream because they looked useful.
That size had a cost I didn't see at first. Every agent description, skill description, and MCP schema is loaded into context at the start of every session. With that many, the setup was eating a real share of the window before I typed anything. Auto-invocation got worse, because the model had too many similar skills to pick from. Subagents started with less room to work.
In July 2026 I cut it down to what I actually use and released it as v2.0.0. The rule now is that the whole setup has to stay well under about 10% of the context window at startup.
Key workflows
What building this taught me
1. Agent specialization beats general-purpose prompts
A single "review my code" prompt gives generic feedback. A security-reviewer agent with security-specific rules catches things a general reviewer skims past. A tdd-guide agent makes test-first the default instead of a suggestion. Twelve focused agents cover everything I do. The other seventeen were never called.
2. Configuration has a context budget
This is the lesson I'd have paid to learn earlier. More skills is not more capability. Past a point, each new one makes the others less likely to fire, and it costs tokens in sessions that never use it. Now a new skill has to replace something or justify the space.
3. Rules work because they're automatic
Individual rules look trivial: "files under 800 lines," "no deep nesting," "validate at boundaries." They pay off because the agent applies them every session without me having to remember. Twenty rules I agree with beat sixty-five I skim.
4. Hooks can save tokens, not just run linters
The two hooks I kept are about context, not formatting. pre-read.mjs blocks re-reading a file the agent already has. compress.mjs shrinks noisy command output and spots when the agent is stuck in a loop running the same thing.
What I would do differently
Start lean and add on evidence. I collected components because they existed, then spent a day deleting most of them. I'd also want a way to measure startup context cost from day one, so the budget is a number in CI instead of something I notice when sessions feel slow.
Links
- GitHub: claude-code-config[3]
References
- Everything Claude Code. github.com. https://github.com/affaan-m/ECC ↑
- obra/superpowers. github.com. https://github.com/obra/superpowers ↑
- claude-code-config. github.com. https://github.com/cyruspastelero/claude-code-config ↑
- Claude Code documentation. code.claude.com. https://code.claude.com/docs/en/overview