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 agentmods add skills/mblode/claude-code-search/ccsnpx skills add mblode/claude-code-search --skill ccsgit clone --depth 1 https://github.com/mblode/claude-code-searchWhat 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 | $0.00044 | $0.00377 |
| Opus 5 | $0.00022 | $0.00188 |
| Sonnet 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 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.
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.
- 2d 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 12d ago), licensed MIT. It adds 44 tokens to every session and 377 once invoked, about $0.0002 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.
Other skills, from other repositories
status-card-query
Create and maintain agent-authored Paperclip status cards, or compile a prose interest prompt into bounded CompanySearchQuery objects and write the first summary from the assigned Summarizer run.
bilibili_search
Search for videos on Bilibili using keyword queries generated from user interests.
ddgs
Use when an agent needs to search the web, find images/news/videos/books, or extract content from a URL. Covers the ddgs Python library, CLI, and MCP server integration.
vs-search-tuning-specify-policy-direction
Viking Search tuning for specified policy directions. Use this when the user provides specific queries, a type of query, or a business policy direction, and asks to boost, suppress, or fix a class of search results through request-parameter passthrough. You must only perform read-only baseline evaluation and…
vs-search-tuning-partial-case
Use when the user provides 1-50 concrete bad-case search queries for one Viking Search app and wants local deterministic fixes. This skill only verifies request-level fine-operation interventions against a read-only baseline scene and delivers a console-ready configuration sheet, validated payloads, and a replay…
ketch
Research skill for ketch — a fast stateless CLI for web search, OSS code search, curated library docs, page scraping, and site crawling; an optional MCP server exists for operators who want it, but the CLI is the primary interface. Use when a question needs live sources: 'research X', 'what are people saying about Y'…