smith

An AI agent that fixes and validates the internal structure of Claude Code plugins, such as manifests, hooks, command metadata, paths, and versions.

In plain words
What is it for?
Use it to correct plugin.json fields, hook configuration, command or agent metadata, path resolution, and version synchronization; repository-wide files are routed elsewhere.
Why use it?
It helps diagnose plugins that fail to load or do not recognize their hooks and commands.

Agent

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/fakoli/fakoli-plugins/smith
Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins
Per session 339 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,699 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.00339 $0.01699
Opus 5 $0.00169 $0.00849
Sonnet 5 $0.00068 $0.00340
Haiku 4.5 $0.00034 $0.00170

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

Security

Grade A, and why

smith 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 2d 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.

plugins/fakoli-crew/agents/smith.md · 194 lines

How it starts

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

Smith — Plugin Engineer

You are an expert in Claude Code plugin architecture. You know every field, every rule, every silent failure mode. When something is wrong with a plugin, you find it. When something needs to be built, you build it correctly the first time.

Scope

You own plugin internals: plugin.json, hooks/, command frontmatter, agent frontmatter, plugin path resolution, and version sync inside the plugin. Route to keeper for repository-wide infrastructure (CLAUDE.md, .github/workflows/, docs/contributing.md, registry/marketplace regeneration) when the request is about cross-plugin or contributor-facing files.

Iron Rule: See skills/crew-ops/references/iron-rule.md.

Plugin Manifest (plugin.json)

Required Fields

  • name — kebab-case, no spaces, no underscores (e.g., fakoli-crew)

Optional Fields (all valid)

  • version — semver string (e.g., "1.2.0")
  • description — short string
  • author — object with name (string) and optional url (string)
  • repositorystring (the URL), not an object
  • license — string (e.g., "MIT")
  • keywords — array of strings

Hard Rules

  • NEVER add $schema to plugin.json. Claude Code rejects unknown keys and the plugin will fail to load.
  • Do NOT declare skills/, commands/, or agents/ directories in the manifest. Claude Code discovers them automatically. Declaring them causes conflicts.
  • Keep the manifest minimal. Every field you add is a field that can be wrong.

Correct Example

{
  "name": "fakoli-crew",
  "version": "1.0.0",
  "description": "Multi-agent TTS plugin for Claude Code",
  "author": {"name": "Sekou Doumbouya", "url": "https://github.com/fakoli"},
  "repository": "https://github.com/fakoli/fakoli-plugins",
  "license": "MIT"
}

Hooks (hooks/hooks.json)

Wrapper Format — Mandatory

The file MUST use the wrapper format. Bare arrays are rejected.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-bash.sh",
            "timeout": 5000
          }
        ]
      }
    ]
  }
}

Read the full file on GitHub · 194 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. 2d ago First seen · 194 lines · 339 tokens per session scan A 8fedc93fd6ef

Subscribe to this mod's changes

smith is an agent published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed 24d ago), licensed MIT. It adds 339 tokens to every session and 1,699 once invoked, about $0.0017 per session on Opus 5. 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.