claude-mods

skill
Security Audit
Fail
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 16 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .claude/settings.local.json
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Custom commands, skills, and agents for Claude Code

README.md
 ██████╗██╗      █████╗ ██╗   ██╗██████╗ ███████╗    ███╗   ███╗ ██████╗ ██████╗ ███████╗
██╔════╝██║     ██╔══██╗██║   ██║██╔══██╗██╔════╝    ████╗ ████║██╔═══██╗██╔══██╗██╔════╝
██║     ██║     ███████║██║   ██║██║  ██║█████╗      ██╔████╔██║██║   ██║██║  ██║███████╗
██║     ██║     ██╔══██║██║   ██║██║  ██║██╔══╝      ██║╚██╔╝██║██║   ██║██║  ██║╚════██║
╚██████╗███████╗██║  ██║╚██████╔╝██████╔╝███████╗    ██║ ╚═╝ ██║╚██████╔╝██████╔╝███████║
 ╚═════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝    ╚═╝     ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝

Claude Code
License: MIT

A comprehensive extension toolkit that transforms Claude Code into a specialized development powerhouse.

claude-mods is a production-ready plugin that extends Claude Code with 23 expert agents, 66 specialized skills, 5 output styles, 4 hooks, and modern CLI tools designed for real-world development workflows. Whether you're debugging React hooks, optimizing PostgreSQL queries, or building production CLI applications, this toolkit equips Claude with the domain expertise and procedural knowledge to work at expert level across multiple technology stacks.

Built on Anthropic's Agent Skills standard, claude-mods fills critical gaps in Claude Code's capabilities: persistent session state that survives across machines, on-demand expert knowledge for specialized domains, token-efficient modern CLI tools (10-100x faster than traditional alternatives), and proven workflow patterns for TDD, code review, and feature development. The toolkit implements Anthropic's recommended patterns for long-running agents, ensuring your development context never vanishes when sessions end.

From Python async patterns to Rust ownership models, from AWS Fargate deployments to Craft CMS development - claude-mods provides the specialized knowledge and tools that transform Claude from a general-purpose assistant into a domain expert who understands your stack, remembers your workflow, and ships production code.

23 agents. 66 skills. 5 styles. 4 hooks. One install.

Recent Updates

v2.3.0 (March 2026)

  • 🎯 Orchestrator-dispatch pattern - Three skills upgraded from static reference dumps to active orchestrators that classify intent, dispatch to agents, and manage safety tiers:
    • git-ops + git-agent - First skill+agent pair. Orchestrator routes T1 reads inline, dispatches T2 writes and T3 destructive ops to a dedicated Sonnet background agent with preflight confirmation. Replaces git-workflow.
    • perf-ops - Routes profiling to language experts (python-expert for py-spy, go-expert for pprof, etc.). Parallel CPU+memory profiling, before/after benchmarking protocol.
    • security-ops - 3 parallel audit agents (dependency scan, SAST patterns, auth/config review) consolidate into OWASP-mapped severity report. Modelled on techdebt's parallel scanner architecture.
  • 📚 Skill preloading - Dispatching skills now instruct agents to read relevant skill references before starting work. Review and testgen agents load security-ops + testing-ops context. Perf-ops agents load profiling references. Git-agent loads CI/CD context for releases.
  • 🔧 model: sonnet specified for all expert dispatch - Cheaper, faster analysis without sacrificing quality for read-only review, test generation, and profiling tasks.

v2.2.0 (March 2026)

  • 🔍 /introspect enhanced - Now generates Session Insights after every analysis: workflow improvements, skill suggestions, and ready-to-paste permission configs to reduce interruptions. Scales recommendations to session size.
  • 🔧 /setperms expanded - Default template now includes 74 tool permissions (was 51): docker, cargo, go, pytest, npx, pnpm, yarn, bun, make, archive tools, data utilities.
  • 🗑️ claude-code-templates removed - Redundant with Anthropic's first-party skill-creator. Install scripts auto-clean existing installs.

v2.1.0 (March 2026)

  • 🔁 /iterate skill - Autonomous improvement loop inspired by Karpathy's autoresearch. Define a goal, scope, and mechanical metric - the agent loops autonomously: modify, measure, keep or discard, repeat. Works for any domain (test coverage, bundle size, performance, ML training, code quality).

v2.0.0 (March 2026)

  • 🚀 64 skills - 22 new -ops skills covering React, Vue, JavaScript, Go, Rust, TypeScript, Docker, CI/CD, API design, PostgreSQL, Astro, Laravel, Nginx, Auth, Monitoring, Debug, MCP, Tailwind, Migrate, Refactor, Scaffold, Perf, Log analysis
  • 🔄 Renamed -patterns to -ops - All 14 pattern skills renamed to signal comprehensive operational expertise
  • 🛠️ cc-session CLI - Zero-dependency session log analyzer (15 commands, --json output, cross-project search)
  • 📦 Install scripts updated - Automatic cleanup of renamed skills, preserves project-specific extras
  • 🏷️ 3 hooks, 4 output styles - Pre-commit lint, post-edit format, dangerous command warnings; Vesper, Spartan, Mentor, Executive

v1.7.0 (February 2026)

  • 🔄 Schema v3.1 - /save and /sync upgraded for Claude Code 2.1.x and Opus 4.6
    • Session ID tracking with --resume suggestions (bridges task state + conversation history)
    • PR-linked sessions via gh pr view with --from-pr suggestions
    • Native memory integration - /save writes to MEMORY.md (auto-loaded safety net)
    • Dynamic plan path via plansDirectory setting (Claude Code v2.1.9+)
    • Dropped legacy v2.0 migration code

v1.6.0 (February 2026)

  • 🚀 Tech Debt Scanner - Automated detection using parallel subagents (1,520 lines)
    • Always-parallel architecture for fast analysis (2-15s depending on scope)
    • 4 categories: Duplication, Security, Complexity, Dead Code
    • Session-end workflow: catch issues while context is fresh
    • Language-smart: Python, JS/TS, Go, Rust, SQL with AST-based detection
    • Boris Cherny's recommendation: "Build a /techdebt slash command and run it at the end of every session"

v1.5.2 (February 2026)

  • 🆕 Added cli-ops, screenshot, skill-creator skills (+3 skills, now 42 total)
  • 📚 Enhanced skill-creator with official Anthropic docs and best practices (+554 lines)
  • 🐛 Fixed /sync filesystem scanning issue on Windows (Git Bash compatibility)

View full changelog →

Why claude-mods?

Claude Code is powerful out of the box, but it has gaps. This toolkit fills them:

  • Session continuity — Tasks vanish when sessions end. We fix that with /save and /sync, implementing Anthropic's recommended pattern for long-running agents.

  • Expert-level knowledge on demand — 22 specialized agents covering React, TypeScript, Python, Go, Rust, AWS, PostgreSQL, and more. Each agent is deeply researched with real-world patterns, not generic advice.

  • Modern CLI tools — Stop using grep, find, and cat. Our rules automatically prefer ripgrep, fd, eza, and bat — 10-100x faster and token-efficient.

  • Smart web fetching — A fallback hierarchy that actually works: WebFetch → Jina Reader → Firecrawl. No more "I can't access that URL."

  • Workflow patterns — TDD cycles, code review, feature development, debugging — all documented with Anthropic's best practices.

Key Benefits

  • Persistent task state — Pick up exactly where you left off, even across machines
  • Domain expertise — Agents trained on framework docs, not just general knowledge
  • Token efficiency — Modern CLI tools produce cleaner output, saving context window
  • Team sharing — Git-trackable state files work across your whole team
  • Production-ready — Validated test suite, proper plugin format, comprehensive docs
  • Extended thinking — Built-in guidance for "think hard" and "ultrathink" triggers
  • Zero lock-in — Standard Claude Code plugin format, toggle on/off anytime

Structure

claude-mods/
├── .claude-plugin/     # Plugin metadata
├── agents/             # Expert subagents (22)
├── commands/           # Slash commands (3)
├── skills/             # Custom skills (66)
├── output-styles/      # Response personalities
├── hooks/              # Hook examples & docs
├── rules/              # Claude Code rules
├── tools/              # Modern CLI toolkit installers
├── scripts/            # Plugin install scripts
├── tests/              # Test suites + justfile
├── docs/               # Project docs (PLAN.md, DASH.md)
└── templates/          # Extension templates

Installation

Plugin Install (Recommended)

# Step 1: Add the marketplace
/plugin marketplace add 0xDarkMatter/claude-mods

# Step 2: Install the plugin
/plugin install claude-mods@0xDarkMatter-claude-mods

This installs globally (available in all projects). Toggle on/off with /plugin menu.

Script Install

Linux/macOS:

git clone https://github.com/0xDarkMatter/claude-mods.git
cd claude-mods
./scripts/install.sh

Windows (PowerShell):

git clone https://github.com/0xDarkMatter/claude-mods.git
cd claude-mods
.\scripts\install.ps1

The install scripts:

  • Copy commands, skills, agents, rules, output styles to ~/.claude/
  • Clean up deprecated items (e.g., old /conclave command)
  • Remove renamed skills (e.g., -patterns -> -ops)
  • Handle command→skill migrations (won't create duplicates)
  • Preserve any extra skills installed separately (e.g., project-specific skills)

CLI Tools (Optional)

Install modern CLI tools (fd, rg, bat, etc.) for better performance:

# Windows (Admin PowerShell)
.\tools\install-windows.ps1

# Linux/macOS
./tools/install-unix.sh

Skill Architecture

All skills follow Anthropic's official pattern with consistent structure:

skill-name/
├── SKILL.md              # Core workflow (< 500 lines)
├── scripts/              # Executable code (optional)
├── references/           # Documentation loaded as needed (optional)
└── assets/               # Output templates/files (optional)

Progressive Loading:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - Loaded when skill triggers (<5k words)
  3. Bundled resources - Loaded only when Claude needs them

All skills have the complete directory structure, even if scripts/, references/, or assets/ are currently empty. This ensures consistency and makes it easy to add bundled resources later.

See skill-creator for the complete guide.

What's Included

Commands

Command Description
sync Session bootstrap - restore tasks, plan, git/PR context. Suggests --resume and --from-pr.
save Persist tasks, plan, git/PR context, and session summary to native memory.
canvas Terminal canvas for content drafting with live markdown preview. Requires Warp terminal. (Experimental)

Skills

Language & Framework Skills

Skill Description
go-ops Go concurrency, error handling, testing, interfaces, generics, project structure
rust-ops Rust ownership, async/tokio, error handling, traits, serde, ecosystem
typescript-ops TypeScript type system, generics, utility types, strict mode, Zod
javascript-ops JavaScript/Node.js async patterns, modules, ES2024+, runtime internals
react-ops React hooks, Server Components, state management, performance, testing
vue-ops Vue 3 Composition API, Pinia, Vue Router, Nuxt 3
astro-ops Astro islands, content collections, rendering strategies, deployment
laravel-ops Laravel Eloquent, architecture, authentication, testing with Pest
cli-ops Production CLI tool patterns - agentic workflows, stream separation, exit codes
tailwind-ops Tailwind CSS patterns, v4 migration, components, configuration
color-ops Color spaces, WCAG/APCA contrast checker, palette + harmony generators, CSS color functions, design tokens, color converter

Data & API Skills

Skill Description
api-design-ops REST, gRPC, GraphQL design patterns, versioning, auth, rate limiting
rest-ops HTTP methods, status codes, REST quick reference
sql-ops CTEs, window functions, JOIN patterns, indexing
postgres-ops PostgreSQL operations, optimization, schema design, replication, monitoring
sqlite-ops SQLite schemas, Python sqlite3/aiosqlite patterns
mcp-ops MCP server development, FastMCP, transports, tool design, testing

Infrastructure Skills

Skill Description
docker-ops Dockerfile best practices, multi-stage builds, Compose, optimization
ci-cd-ops GitHub Actions, release automation, testing pipelines
container-orchestration Kubernetes, Helm, pod patterns
nginx-ops Nginx reverse proxy, SSL/TLS, load balancing, performance tuning
auth-ops JWT, OAuth2, sessions, RBAC/ABAC, passkeys, MFA
monitoring-ops Prometheus, Grafana, OpenTelemetry, structured logging, alerting
debug-ops Systematic debugging, language-specific debuggers, common scenarios
perf-ops Performance profiling - CPU, memory, bundle analysis, load testing, flamegraphs

CLI Tool Skills

Skill Description
file-search Find files with fd, search code with rg, select with fzf
find-replace Modern find-and-replace with sd
code-stats Analyze codebase with tokei and difft
data-processing Process JSON with jq, YAML/TOML with yq
markitdown Convert PDF, Word, Excel, PowerPoint, images to markdown
structural-search Search code by AST structure with ast-grep
log-ops Log analysis, JSONL processing, cross-log correlation, timeline reconstruction

Workflow Skills

Skill Description
tool-discovery Recommend agents and skills for any task
git-ops Git orchestrator - commits, PRs, releases, changelog. Routes to background Sonnet agent.
doc-scanner Scan and synthesize project documentation
project-planner Track stale plans, suggest session commands
python-env Fast Python environment management with uv
task-runner Run project commands with just
screenshot Find and display recent screenshots from common screenshot directories
agentmail Inter-session messaging - SQLite-backed mail between Claude Code sessions across projects

Development Skills

Skill Description
skill-creator Guide for creating effective skills with specialized knowledge, workflows, and tool integrations.
explain Deep explanation of complex code, files, or concepts. Routes to expert agents.
spawn Generate PhD-level expert agent prompts for Claude Code.
atomise Atom of Thoughts reasoning - decompose problems into atomic units.
setperms Set tool permissions and CLI preferences in .claude/ directory.
introspect Analyze previous session logs without consuming current context.
review Code review with semantic diffs, expert routing, and auto-TaskCreate.
testgen Generate tests with expert routing and framework detection.
techdebt Technical debt detection using parallel subagents.
migrate-ops Framework/language migration patterns, version upgrades, codemods
refactor-ops Safe refactoring patterns, code smell detection, test-driven methodology
scaffold Project scaffolding - generate boilerplate for APIs, web apps, CLIs, monorepos
iterate Autonomous improvement loop - modify, measure, keep or discard, repeat. Inspired by Karpathy's autoresearch.

Hooks

Hook Type Description
pre-commit-lint.sh PreToolUse Auto-lint staged files before commit (JS/TS, Python, Go, Rust, PHP)
post-edit-format.sh PostToolUse Auto-format files after Write/Edit (Prettier, Ruff, gofmt, rustfmt)
dangerous-cmd-warn.sh PreToolUse Block destructive commands (force push, rm -rf, DROP TABLE)
check-mail.sh PreToolUse Check for unread inter-session mail (10s cooldown, silent when empty)

Output Styles

Style Personality Best For
Vesper Sophisticated British wit, intellectual depth General development work
Spartan Minimal, bullet-points only Quick tasks, CI output
Mentor Patient, educational Learning, onboarding
Executive High-level summaries Non-technical stakeholders
Pair Thinks out loud, explores together Collaborative problem-solving

Agents

Agent Description
astro-expert Astro projects, SSR/SSG, Cloudflare deployment
asus-router-expert Asus routers, network hardening, Asuswrt-Merlin
aws-fargate-ecs-expert Amazon ECS on Fargate, container deployment
bash-expert Defensive Bash scripting, CI/CD pipelines
claude-architect Claude Code architecture, extensions, MCP, plugins, debugging
cloudflare-expert Cloudflare Workers, Pages, DNS, security
craftcms-expert Craft CMS content modeling, Twig, plugins, GraphQL
cypress-expert Cypress E2E and component testing, custom commands, CI/CD
firecrawl-expert Web scraping, crawling, parallel fetching, structured extraction
git-agent Background git operations - commits, PRs, releases (Sonnet)
go-expert Go idioms, concurrency, error handling, performance
javascript-expert Modern JavaScript, async patterns, optimization
laravel-expert Laravel framework, Eloquent, testing
payloadcms-expert Payload CMS architecture and configuration
postgres-expert PostgreSQL management and optimization
project-organizer Reorganize directory structures, cleanup
python-expert Advanced Python, testing, optimization
react-expert React hooks, state management, Server Components, performance
rust-expert Rust ownership, lifetimes, async, unsafe patterns
sql-expert Complex SQL queries, optimization, indexing
typescript-expert TypeScript type system, generics, utility types, strict mode
vue-expert Vue 3, Composition API, Pinia state management, performance
wrangler-expert Cloudflare Workers deployment, wrangler.toml

Rules

Rule Description
cli-tools.md Modern CLI tool preferences (fd, rg, eza, bat, etc.)
thinking.md Extended thinking triggers (think → ultrathink)
commit-style.md Conventional commits format and examples
naming-conventions.md Component naming patterns for agents, skills, commands
skill-agent-updates.md Mandatory docs check before creating/updating skills or agents

Tools & Hooks

Resource Description
tools/ Modern CLI toolkit - token-efficient replacements for legacy commands
hooks/ Hook examples for pre/post execution automation

Web Fetching Hierarchy

When fetching web content, tools are used in this order:

Priority Tool When to Use
1 WebFetch First attempt - fast, built-in
2 r.jina.ai/URL JS-rendered pages, PDFs, cleaner extraction
3 firecrawl <url> Anti-bot bypass, blocked sites (403, Cloudflare)
4 firecrawl-expert agent Complex scraping, structured extraction

See tools/README.md for full documentation and install scripts.

Testing & Validation

Validate all extensions before committing:

cd tests

# Run full validation (requires just)
just test

# Or run directly
bash validate.sh

# Windows
powershell validate.ps1

What's Validated

  • YAML frontmatter syntax
  • Required fields (name, description)
  • Naming conventions (kebab-case)
  • File structure (agents/.md, skills//SKILL.md)

Available Tasks

cd tests
just              # List all tasks
just test         # Run full validation
just validate-yaml # YAML only
just validate-names # Naming only
just stats        # Count extensions
just list-agents  # List all agents

Session Continuity

The /save and /sync commands fill a gap in Claude Code's native session management.

The problem: Claude Code's --resume flag restores conversation history, but task state does not persist between sessions—by design. Claude Code treats each session as isolated; the philosophy is that persistent state belongs in files you control.

Tasks (created via TaskCreate, managed via TaskList/TaskUpdate) are session-scoped and deleted when the session ends. This is intentional.

The solution: /save and /sync implement the pattern from Anthropic's Effective Harnesses for Long-Running Agents:

"Every subsequent session asks the model to make incremental progress, then leave structured updates."

What Persists vs What Doesn't

Claude Code Feature Persists? Location
Conversation history Yes Internal (use --resume)
CLAUDE.md context Yes ./CLAUDE.md
Native memory (MEMORY.md) Yes ~/.claude/projects/.../memory/
Tasks No Deleted on session end
Plan Mode state No In-memory only

Session Workflow

Session 1:
  /sync                              # Bootstrap + restore saved state
  [work on tasks]
  /save "Stopped at auth module"     # Writes session-cache.json + MEMORY.md

Session 2:
  [MEMORY.md auto-loaded: "Goal: Auth, Branch: feature/auth, PR: #42"]
  /sync                              # Full restore: tasks, plan, git, PR
  → "Previous session: abc123... (claude --resume abc123...)"
  → "In progress: Auth module refactor"
  → "PR: #42 (claude --from-pr 42)"

Why Not Just Use --resume?

Feature --resume /save + /sync
Conversation history Yes No
Tasks No Yes
Git context No Yes
PR linkage Yes (--from-pr) Yes (detected via gh)
Session ID bridging N/A Yes (suggests --resume <id>)
Native memory safety net No Yes (MEMORY.md auto-loaded)
Human-readable summary No Yes
Git-trackable No Yes
Works across machines No Yes (if committed)
Team sharing No Yes

Use both together: claude --resume for conversation context, /sync for task state. Since v3.1, /save stores your session ID so /sync can suggest the exact --resume command.

Session Cache Schema (v3.1)

The .claude/session-cache.json file stores full task objects:

{
  "version": "3.1",
  "session_id": "977c26c9-60fa-4afc-a628-a68f8043b1ab",
  "tasks": [
    {
      "subject": "Task title",
      "description": "Detailed description",
      "activeForm": "Working on task",
      "status": "completed|in_progress|pending",
      "blockedBy": [0, 1]
    }
  ],
  "plan": { "file": "docs/PLAN.md", "goal": "...", "current_step": "...", "progress_percent": 40 },
  "git": { "branch": "main", "last_commit": "abc123", "pr_number": 42, "pr_url": "https://..." },
  "memory": { "synced": true },
  "notes": "Session notes"
}

Compatibility: /sync handles both v3.0 and v3.1 files gracefully. Missing v3.1 fields are treated as absent.

Updating

git pull

Then re-run the install script to update your global Claude configuration.

Performance Tips

MCP Tool Search

When using multiple MCP servers (Chrome DevTools, Vibe Kanban, etc.), their tool definitions consume context. Enable Tool Search to load tools on-demand:

// .claude/settings.local.json
{
  "env": {
    "ENABLE_TOOL_SEARCH": "true"
  }
}
Value Behavior
"auto" Enable when MCP tools > 10% of context (default)
"auto:5" Custom threshold (5%)
"true" Always enabled (recommended)
"false" Disabled

Requirements: Sonnet 4+ or Opus 4+ (Haiku not supported)

Skills Over Commands

Most functionality lives in skills rather than commands. Skills get slash-hint discovery via trigger keywords and load on-demand, reducing context overhead. Only session management (/sync, /save) and experimental features (/canvas) remain as commands.

See docs/COMMAND-SKILL-PATTERN.md for details.

Resources


Extend Claude Code. Your way.

Reviews (0)

No results found