search

search is a skill for Claude Code from kalinbogatzevski/captain-memo. It costs 49 tokens per session (537 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.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/kalin/projects/erp-platform/,.

Part of the captain-memo plugin — 5 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

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add kalinbogatzevski/captain-memo
Claude Code
/plugin install captain-memo

Made for: Claude Code.

Or install captain-memo, the plugin that ships this one along with the rest of its 5 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 537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00537
Opus 5 $0.00024 $0.00269
Sonnet 5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00054

Measured 9d ago against content hash 43f15f31b1f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

search scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST http://127.0.0.1:39888/search/all \
plugin/skills/search/SKILL.md · 48 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. Run this Bash command and show the user the formatted result:
curl -s -X POST http://127.0.0.1:39888/search/all \
  -H 'content-type: application/json' \
  -d "$(jq -nc --arg q "<USER_QUERY>" '{query: $q, top_k: 5}')" \
  | jq -r '.results[] | "[\(.score | (. * 100 | floor) / 100)] \(.channel) · \(.title)\n   doc_id: \(.doc_id)\n   \(.snippet[0:200])\n"'

Replace <USER_QUERY> with the actual query the user provided. Use jq -nc --arg q ... to safely quote the query (avoids shell injection on special characters).

Format the output as

3 hits for "the user's query":

[0.94] memory · feedback_no_clone_smy_in_cli_smoke
   doc_id: memory:feedback_no_clone_smy_in_cli_smoke:abc1234
   In the multi-tenant ERP at /home/kalin/projects/erp-platform/, do NOT use this pattern in CLI smoke tests…

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

[0.82] observation · 2026-04-30 · "Fix off-by-one in pro-ration 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

  • Worker returns 503 / not reachable: tell the user captain-memo doctor to diagnose
  • 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. 9d 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 (3 stars, last pushed 5d ago), licensed Apache-2.0. It adds 49 tokens to every session and 537 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.