search

search is a skill for Claude Code from kalinbogatzevski/captain-memo. It costs 49 tokens per session (503 once invoked), scanned A, original, Apache-2.0.

A direct search command for Captain Memo, a local system that stores project notes, saved instructions, and past observations. It combines those sources to find the most relevant results.

In plain words
What is it for?
Use it when you want to search saved project knowledge with /captain-memo:search and display the top matching results.
Why use it?
It avoids searching each memory source separately and helps retrieve earlier decisions or useful project context on request.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the captain-memo plugin — 6 skills, 6 hooks shipped together

Good fit Use it when you want to search saved project knowledge with /captain-memo:search and display the top matching results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kalinbogatzevski/captain-memo/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.

Any agent
npx skills add kalinbogatzevski/captain-memo --skill search
Clone the repo
git clone --depth 1 https://github.com/kalinbogatzevski/captain-memo

Made for: Claude Code.

Or install captain-memo, the plugin that ships this one along with the rest of its 6 skills, 6 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/skills/kalinbogatzevski/captain-memo/search/github.svg)](https://agentmods.dev/skills/kalinbogatzevski/captain-memo/search)
Your own site
<a href="https://agentmods.dev/skills/kalinbogatzevski/captain-memo/search"><img src="https://agentmods.dev/badge/skills/kalinbogatzevski/captain-memo/search/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.

agentmods 80×15 button for search

Your own site · 80×15
<a href="https://agentmods.dev/skills/kalinbogatzevski/captain-memo/search"><img src="https://agentmods.dev/badge/skills/kalinbogatzevski/captain-memo/search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 503 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00049 $0.00503
Opus 5.5 $0.00020 $0.00201
Sonnet 5.5 $0.00010 $0.00101
Haiku 4.5 $0.00005 $0.00050

Measured 21d ago against content hash 0146bfb0f574, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

search 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 21d 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.

plugin/skills/search/SKILL.md · 44 lines

What it actually says

When the user invokes this skill, they want a direct hybrid search against Captain Memo's local index. Don't reason about it — just run it.

What to do

  1. Take the user's argument as the query string (everything after /captain-memo:search ).
  2. Call the captain-memo MCP tool search_all with query set to that string and top_k set to 5. Show the user the formatted result.

The MCP server talks to the worker and sends the worker's secret for you: there is nothing to quote and no token to handle.

The result is { results: [{ score, channel, title, doc_id, snippet, ... }] }. Show score to two decimals and cut each snippet to about 200 characters.

Format the output as

3 hits for "the user's query":

[0.94] memory · feedback_no_mocked_db
   doc_id: memory:feedback_no_mocked_db:abc1234
   In this project, do NOT mock the database in integration tests…

[0.87] memory · feedback_use_real_fixtures
   doc_id: memory:feedback_use_real_fixtures:def5678
   …

[0.82] observation · 2026-04-30 · "Fix off-by-one in pagination loop"
   doc_id: observation:1700000000:ghi9012
   …

Tip the user: they can run /captain-memo:recall <doc_id> to fetch the full content of any hit.

On error

  • The tool errors with 503 or the worker is not reachable: tell the user to run captain-memo doctor to diagnose
  • The tool errors with 401: the call carried no valid worker secret (a session started before 0.52.0 sends none). Tell the user to restart the AI session; captain-memo doctor lists the routes still called without one
  • Empty results: say "no hits — try a more specific query, or check captain-memo stats to confirm the corpus is indexed"
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. 21d ago Changed · -4 lines 0146bfb0f574
  2. 1mo ago First seen · 48 lines · 49 tokens per session scan A 43f15f31b1f4

Subscribe to this mod's changes

search is a skill published in the GitHub repository kalinbogatzevski/captain-memo (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 503 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.

Related

Other skills, from other repositories