ctxpipe: Skill for Claude Code

.agents/skills/memory-search/SKILL.md

memory-search is a skill for Claude Code, Codex from ctxpipe-ai/ctxpipe. It costs 43 tokens per session (344 once invoked), scanned A, original, MIT.

A search guide for finding stored project facts in the .ai/memory directory using its index and targeted text searches. It focuses on decisions, conventions, glossary terms, and product requirements.

In plain words
What is it for?
Use it to look up coding conventions, past decisions, terminology, or details from a product requirements document.
Why use it?
It avoids loading the entire memory folder when you need one piece of project context. This makes it easier to recover earlier decisions without searching manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is ctxpipe-ai/ctxpipe's own configuration. It tells Claude Code and Codex how to work on ctxpipe itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ctxpipe configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ctxpipe-ai/ctxpipe. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ctxpipe-ai/ctxpipe/main/.agents/skills/memory-search/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ctxpipe-ai/ctxpipe

Made for: Claude Code, Codex.

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 memory-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/memory-search/github.svg)](https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/memory-search)
Your own site
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/memory-search"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/memory-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 memory-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/memory-search"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/memory-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 344 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.00043 $0.00344
Opus 5.5 $0.00017 $0.00138
Sonnet 5.5 $0.00009 $0.00069
Haiku 4.5 $0.00004 $0.00034

Measured today against content hash f23b84df75a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-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 today.

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.

.agents/skills/memory-search/SKILL.md · 34 lines

What it actually says

Memory search (Markdown recall)

No embeddings daemon. Durable knowledge is Markdown under .ai/memory/.

Procedure

  1. Indexes first — open .ai/memory/index.md, then the matching store index (decisions/index.md, PRDs/index.md, sessions/index.md) if the category is known.
  2. Targeted rg — when the category is unknown or indexes are thin:
rg -i "keyword" .ai/memory --glob '*.md' --glob '!events/**'

Narrow when possible:

  • Decisions: rg -i "keyword" .ai/memory/decisions --glob '*.md'
  • Lessons: rg -i "keyword" .ai/memory/lessons-learned.md
  • Glossary: rg -i "keyword" .ai/memory/glossary.md
  • PRDs: rg -i "keyword" .ai/memory/PRDs --glob '*.md'
  1. Open one hit — read the matching section or single ADR, not every match.
  2. Skip events/ — candidate inbox is gitignored runtime noise; do not treat it as durable recall.

Do not

  • Spawn AgentMemory / hosted embedding search
  • Load the entire .ai/memory/ tree into context
  • Search events/ for "source of truth" facts
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. 1mo ago Changed · +1 lines 0947533a022b
  2. 1mo ago First seen · 34 lines · 43 tokens per session scan A f23b84df75a8

Subscribe to this mod's changes

memory-search is a skill published in the GitHub repository ctxpipe-ai/ctxpipe (27 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 344 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-30.

Related

Other skills, from other repositories

setup-open-index

Install and configure Open Index as the read/write context layer for a domain-specialized agent. Use when setting up a legal, marketing, customer support, sales, infrastructure, or other domain agent with Open Index over MCP.

DrDroidLab/open-index · 48 tokens

edit-brain

How to add or edit knowledge in this brain — define doctypes, add or update entities, and correlate them with relationships. Use whenever the user asks to add/update knowledge, define a concept, record a learning, or link two things in the brain.

DrDroidLab/open-index · 55 tokens

bootstrap-llm-synthesis

Construct the LLM synthesis prompt from project surface scan + optional tree-sitter context + optional Q&A answers. Call the LLM. Parse and validate the response into 6-8 structured memory entries with clarity tags and source traceability. Used as Stage 3 of the /gaai:bootstrap pipeline.

digipulse-engineering/GAAI-framework · 69 tokens

memory-reconcile

Scan all memory files, documentation (/docs//.md), and README files (/README.md) for drift, contradictions, and stale references. Produce a reconciliation report for Discovery to action. Activate on demand or via cron.

digipulse-engineering/GAAI-framework · 0 tokens

memory-archive-superseded

Migrate a superseded DEC's index rows from active index.md to archive/superseded-decisions.archive.md. Idempotent. Discovery-only — never invoked by daemon delivery. Updates DEC frontmatter as canonical source of truth.

digipulse-engineering/GAAI-framework · 58 tokens

memory-delta-triage

Apply three deterministic heuristics to a single memory-delta file to produce a structured verdict block; invoke memory-ingest on ACCEPTED candidates only in validate mode. Activate when Discovery processes a raw memory-delta from contexts/artefacts/memory-deltas/.

digipulse-engineering/GAAI-framework · 58 tokens