search

search is a command for Claude Code from TheBeardedBearSAS/claude-craft. It costs 10 tokens per session (836 once invoked), scanned C, original, MIT.

A search command for finding commands, skills, agents, and rules in the Claude Craft framework. Results are ranked by how closely their names, descriptions, and contents match a keyword.

In plain words
What is it for?
Use it to find resources related to topics such as testing, security, React, or audits, with the most relevant matches shown first.
Why use it?
It avoids manually browsing configuration folders when you need to locate an existing tool or instruction.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it to find resources related to topics such as testing, security, React, or audits, with the most relevant matches shown first.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thebeardedbearsas/claude-craft/search
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.

Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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 search

README.md
[![agentmods](https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/search.svg)](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/search)
Your own site
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/search"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/search.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 836 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00010 $0.00836
Opus 5 $0.00005 $0.00418
Sonnet 5 $0.00002 $0.00167
Haiku 4.5 $0.00001 $0.00084

Measured 8d ago against content hash 3bd44f1d0432, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

search scanned grade C with 2 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Rules: `grep -ri "<keyword>" .claude/rules/`

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- Skill names: `find .claude/skills -name "*<keyword>*"`
.claude/commands/common/search.md · 114 lines

How it starts

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

Search Claude Craft

Search commands, skills and agents by keyword across the entire Claude Craft framework.

Usage

/common:search <keyword>

Examples

/common:search testing
/common:search security
/common:search react
/common:search audit

Implementation

This command searches through:

  1. Commands in .claude/commands/*/ (name and content)
  2. Skills in .claude/skills/*/ (name and description)
  3. Agents in .claude/agents/*/ (name and description)
  4. Rules in .claude/rules/ (title and content)

Results are ranked by relevance and display the top 5 matches.

Search Algorithm

  1. Search in command/skill/agent names (highest priority)
  2. Search in descriptions and frontmatter
  3. Search in file content (lower priority)
  4. Rank by keyword frequency and position
  5. Display top 5 results with context

Output Format

🔍 Search results for "testing":

Commands:
  • /qa:tdd - TDD workflow (Red → Green → Refactor)
  • /symfony:check-testing - Check Symfony testing compliance
  • /react:check-testing - Check React testing compliance

Skills:
  • testing - TDD/BDD testing patterns and best practices
  • testing-symfony - Symfony-specific testing with PHPUnit/Pest

Agents:
  • @tdd-coach - Guide through Test-Driven Development

Rules:
  • 07-testing.md - Testing TDD/BDD — Quick Reference

Instructions for Claude

When a user invokes /common:search <keyword>:

  1. Search across all commands, skills, agents, and rules

  2. Use Grep tool with case-insensitive search (-i flag)

  3. Search patterns:

    • Command names: find .claude/commands -name "*<keyword>*.md"
    • Skill names: find .claude/skills -name "*<keyword>*"
    • Agent names: grep -ri "<keyword>" .claude/agents/
    • Rules: grep -ri "<keyword>" .claude/rules/
  4. Extract and format results:

    • For commands: extract frontmatter name and description
    • For skills: extract directory name and SKILL.md frontmatter
    • For agents: extract agent name from AGENT.md frontmatter
    • For rules: extract title from markdown header

Read the full file on GitHub · 114 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. 8d ago First seen · 114 lines · 10 tokens per session scan C 3bd44f1d0432

Subscribe to this mod's changes

search is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 5d ago), licensed MIT. It adds 10 tokens to every session and 836 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.