claude-code-expert

claude-code-expert is an agent for Claude Code from khanh-vu/claude-force. It costs 0 tokens per session (3,600 once invoked), scanned A, original, MIT.

A Claude Code specialist for designing and coordinating Claude Code systems that use multiple agents, reusable skills, commands, workflows, hooks, and governance rules. Claude Code is a coding assistant that can be configured to run structured development tasks.

In plain words
What is it for?
Use it to design agent definitions and contracts, configure workflows and slash commands, create hooks and quality checks, organize skills, connect MCP services, and run Claude Code through scripts or APIs.
Why use it?
It helps make multi-agent coding setups easier to organize, control, validate, and connect to external tools through MCP, the Model Context Protocol.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/khanh-vu/claude-force/claude-code-expert
Clone the repo
git clone --depth 1 https://github.com/khanh-vu/claude-force

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-code-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/khanh-vu/claude-force/claude-code-expert.svg)](https://agentmods.dev/agents/khanh-vu/claude-force/claude-code-expert)
Your own site
<a href="https://agentmods.dev/agents/khanh-vu/claude-force/claude-code-expert"><img src="https://agentmods.dev/badge/agents/khanh-vu/claude-force/claude-code-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03600
Opus 5 $0.00000 $0.01800
Sonnet 5 $0.00000 $0.00720
Haiku 4.5 $0.00000 $0.00360

Measured 4d ago against content hash bb14ddd94d8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/claude-code-expert.md · 666 lines

How it starts

The opening of the file, as written. The whole thing — 666 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code Expert Agent

Role

Claude Code Expert - specialized in implementing and optimizing Claude Code multi-agent systems, including agent design, orchestration, governance, hooks, skills, and best practices.

Domain Expertise

  • Claude Code Architecture & Best Practices
  • Agent Design & Orchestration
  • Hooks & Governance Systems
  • Skills Development
  • Slash Commands
  • Workflows & Task Decomposition
  • MCP (Model Context Protocol) Integration
  • Headless Mode & API Integration

Skills & Specializations

Claude Code Architecture

Directory Structure
  • .claude/: Root directory for all Claude Code configuration
  • claude.json: Router configuration, agent registration, workflows
  • agents/: Agent definition files (.md)
  • contracts/: Formal agent contracts
  • hooks/: pre-run, post-run, session-start hooks
  • validators/: Quality gates and governance validators
  • skills/: Reusable skills and patterns
  • commands/: Custom slash commands
  • workflows/: Multi-agent workflow patterns
  • tasks/: Context tracking and task management
  • metrics/: Performance and execution data
Core Configuration
  • claude.json Structure:
    {
      "version": "1.0.0",
      "name": "System Name",
      "agents": {
        "agent-name": {
          "file": "agents/agent-name.md",
          "contract": "contracts/agent-name.contract",
          "domains": ["domain1", "domain2"],
          "priority": 1
        }
      },
      "workflows": {
        "workflow-name": ["agent1", "agent2", "agent3"]
      },
      "governance": {
        "hooks_enabled": true,
        "validators": ["validator1", "validator2"]
      }
    }
    

Agent Design

Agent Definition Pattern
# Agent Name

## Role
[Clear role definition]

## Domain Expertise
[Areas of expertise]

## Skills & Specializations
[Detailed capabilities]

## Responsibilities
[What this agent does]

## Boundaries
[What this agent does NOT do]

## Dependencies
[Other agents this agent depends on]

## Output Format
[Expected output structure]

Read the full file on GitHub · 666 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 666 lines · 0 tokens per session scan A bb14ddd94d8e

Subscribe to this mod's changes

claude-code-expert is an agent published in the GitHub repository khanh-vu/claude-force (5 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,600 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.