My personal, current, production-ready configuration system for Claude Code featuring custom agents, skills, and global behavior rules.
This repository provides a complete setup for extending Claude Code with:
- Custom Agents - Specialized sub-agents for documentation generation and fast code search
- Custom Skills - Workflows for Swift development, Xcode tooling, brainstorming, planning, and issue tracking
- Global Rules - Compiled behavior guidelines that configure Claude Code's global behavior
- Beads Integration - Git-friendly issue tracking via obra/beads for agent workflows
- Claude Code installed
- mise task runner
- Python 3.6+
- Xcode (for Swift-related features)
# Build global rules
mise run build-agents-md
# Deploy to Claude Code
mise run symlink-agents-md
mise run symlink-folders-to-claude# Check available mise tasks
mise tasks ls
# Verify agents are linked
ls -la ~/.claude/agents/
# Verify skills are linked
ls -la ~/.claude/skills/Specialized sub-agents that provide 40-60% cost reduction and 30-50% speed improvement through task-appropriate model selection:
- search - Lightning-fast code location (<10 file reads, <30s, <5K tokens)
- documentation-generator - Comprehensive documentation creation
Workflows for development, planning, and collaboration:
- developing-with-swift - Style guidelines, Swift techniques
- generating-swift-package-docs - On-demand Swift package API documentation
- using-xcode - Xcode tooling and build workflows
- brainstorming - Collaborative idea refinement
- making-plans - Breaking epics into implementation tasks
- using-linear - Linear issue tracker integration
- using-beads - Git-friendly agent issue tracking (from libs/beads)
Compiled behavior guidelines deployed to ~/.claude/CLAUDE.md:
- Foundational principles and relationship dynamics
- Mandatory skill usage protocol
- Git workflow preferences
- Tool integrations (Kagi, Linear)
- Task implementation guidance
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β This Repository (claude-code-stuff) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Custom Content External Dependencies β
β βββ agents/ βββ libs/beads/ β
β βββ skills/ (issue tracking) β
β βββ rules/ β
β β
β Build System β
β βββ .mise/tasks/ βββΆ .build/AGENTS.md β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
β Deploy (symlinks)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Code User Directory (~/.claude/) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ~/.claude/agents/ βββΆ this/agents/ β
β ~/.claude/skills/ βββΆ this/skills/ β
β ~/.claude/CLAUDE.md βββΆ this/.build/AGENTS.md β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Rules (
/rules/) - Individual behavior guidelines, compiled into AGENTS.md - Skills (
/skills/) - Executable workflows that Claude must follow - Agents (
/agents/) - Specialized sub-agents for specific tasks - Hook scripts (
/hook-scripts) - Used with CC's hooks
All deployments use symlinks - change source files, and Claude Code sees updates instantly. No copying, no syncing.
Global rules are modular:
- Write small, focused rule files in
/rules/ - Run
mise run build-agents-mdto concatenate - Deploy to
~/.claude/CLAUDE.mdviamise run symlink-agents-md
# Update beads to latest
git submodule update --remote libs/beads
# Rebuild global rules after editing /rules/
mise run build-agents-md
mise run symlink-agents-md
# Add a new custom skill
mkdir -p skills/my-new-skill
# Create SKILL.md following the pattern in existing skills
# Test a skill's Python script
cd skills/generating-swift-package-docs
./scripts/generate_docs.py ModuleName /path/to/Project.xcodeproj- Edit Rules: Modify files in
/rules/, thenmise run build-agents-md - Add Skills: Create in
/skills/, follow SKILL.md format (see existing examples) - Create Agents: Add to
/agents/, include YAML frontmatter with model/tools config - Test Locally: Deploy to
~/.claude/before committing - Update Dependencies:
git submodule update --remote libs/beads
- CLAUDE.md - Detailed repository documentation (loaded by Claude Code)
- skills/*/SKILL.md - Individual skill documentation
Using specialized agents with appropriate models (Haiku for search, Sonnet for complex tasks):
- 40-60% cost reduction on exploratory tasks
- 30-50% speed improvement on code location
- Isolated context prevents token pollution
- Mix custom domain expertise (Swift) with proven practices (superpowers)
- Update components independently
- Deploy globally or per-project
- Single source of truth for each component
- Version-controlled behavior changes
- Auditable rule compilation
- Claude Code - The CLI tool this configures
- mise - Task runner for automation (
brew install mise) - Python 3.6+ - For skill scripts
- gum (optional) - For interactive confirmations (
brew install gum) - Xcode (optional) - For Swift-related features
- interfazzle (optional) - For Swift package docs (https://github.com/czottmann/interfazzle)
Carlo Zottmann, carlo@zottmann.dev, https://c.zottmann.dev, https://github.com/czottmann.
This project is neither affiliated with nor endorsed by Linear. I'm just a very happy customer.
Tip
I make Shortcuts-related macOS & iOS productivity apps like Actions For Obsidian, Browser Actions (which adds Shortcuts support for several major browsers), and BarCuts (a surprisingly useful contextual Shortcuts launcher). Check them out!
Legally: MIT License.
Spiritually: WTFPL.
- Beads - obra/beads provides git-friendly issue tracking for agent workflows
- Claude Code - claude.ai/code