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.
npx skills add mblode/claude-code-search --skill ccsgit clone --depth 1 https://github.com/mblode/claude-code-searchWrote 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.
[](https://agentmods.dev/skills/mblode/claude-code-search/ccs)<a href="https://agentmods.dev/skills/mblode/claude-code-search/ccs"><img src="https://agentmods.dev/badge/skills/mblode/claude-code-search/ccs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mblode/claude-code-search/ccs"><img src="https://agentmods.dev/badge/skills/mblode/claude-code-search/ccs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.00377 |
| Opus 5.5 | $0.00018 | $0.00151 |
| Sonnet 5.5 | $0.00009 | $0.00075 |
| Haiku 4.5 | $0.00004 | $0.00038 |
Grade A, and why
ccs 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 1mo 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.
What it actually says
ccs
Terminal search over your Claude Code, Codex CLI, and Cursor prompts. Never writes session files.
Install
npm install -g claude-code-search
Node >= 24.11.
Agent usage
Prefer non-interactive flags. stdout is data; stderr is logs.
ccs --no-input --output json -s "<query>" -n 20
ccs --no-input --output json -l -n 50 --source claude
ccs schema
--source is claude, codex, cursor, or all (repeatable). -j is an alias for --output json. -s / -l remain valid.
JSON objects include content, cwd, project, projectPath, source, sessionId, timestamp.
Errors in json mode:
{ "error": true, "code": "NO_RESULTS", "message": "...", "details": {} }
Do not launch the TUI (ccs with no flags) unless the user is at a TTY and asked for it.
Paths (read-only)
- Claude:
~/.claude/projects/(override--projects-dir/CCS_PROJECT_DIR) - Codex:
~/.codex/sessions/(skips.jsonl.zst) - Cursor: Cursor
User/globalStorage/state.vscdb(cwd-scoped unless--source cursoralone)
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.
- 1mo ago First seen · 45 lines · 44 tokens per session scan A 2524ed89880d
ccs is a skill published in the GitHub repository mblode/claude-code-search (5 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 377 once invoked, about $0.0002 per session on Opus 5.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.
Other skills, from other repositories
save-learning
Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference, convention, or rule they clearly want followed in…
memory
Persistent, token-efficient project memory. When ON, maintains a .shob/memory/ folder of structured .md files so the full context of the project is NEVER lost across responses, sessions, or context compaction. Uses progressive disclosure — routes through a lightweight INDEX and loads only the files a task needs…
atomic-wiki
Conversational wiki and capture-bucket routing. Fires when the user wants a place, space, or folder for notes, research, tickets, raw dumps, or knowledge capture — checks the block in /.claude/CLAUDE.md; if the cwd is under a registered realm, creates the folder as a bucket via atomic wiki bucket add rather than a…
ai-session-search
Search, recover, inspect, export, and analyze local AI session history with AI Session Search (aise) across Claude Code, Claude Desktop local agent, Codex, Cursor, Antigravity, Pi coding agent, Prime Agent, Google AI Studio, and Gemini CLI. Use when asked to "find prior AI work", "recover context after compaction"…
context-mode
Use context-mode tools (ctxexecute, ctxexecutefile) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process data", "parse JSON", "filter results", "extract errors", "check build output", "analyze dependencies", "process API response", "large file analysis", "page…
memory-management
A project-memory manager that stores information in HOT, WARM, and COLD tiers. These tiers keep frequently needed context close at hand while archiving older information for later retrieval.