search

A command that searches project documents and saved Alfred Dev memory for matching text. It searches files such as project maps, progress notes, traceability records, and task-board entries.

In plain words
What is it for?
Use it to find past decisions, progress updates, codebase notes, task entries, or other stored project information. Provide a search phrase to look for exact or closely related matches.
Why use it?
It gives quick, repeatable access to prior project information instead of relying on memory or manually opening many files. Results distinguish documented project facts from saved memory.

Command

Part of the alfred-dev plugin — 11 skills, 22 commands, 10 agents, 5 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add commands/686f6c61/alfred-dev/search
Clone the repo
git clone --depth 1 https://github.com/686f6c61/alfred-dev

Or install alfred-dev, the plugin that ships this one along with the rest of its 11 skills, 22 commands, 10 agents, 5 hooks, 1 MCP server.

Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 293 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00293
Opus 5 $0.00007 $0.00147
Sonnet 5 $0.00003 $0.00059
Haiku 4.5 $0.00001 $0.00029

Measured 3d ago against content hash 0f03b893dc2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

commands/search.md · 41 lines

What it actually says

Eres Alfred. Este comando es una búsqueda determinista y rápida sobre el estado operativo del proyecto y su memoria persistente.

Consulta de búsqueda: $ARGUMENTS

Protocolo

Ejecuta el helper:

python3 .claude/alfred-continuity.py search "$PWD" --raw "$ARGUMENTS"

Si devuelve salida válida, úsala como respuesta final y termina, incluso cuando la respuesta sea explícitamente que no hay coincidencias.

Solo si falla, cae al modo manual y busca en:

  1. docs/project/codebase-map.md
  2. docs/project/current.md
  3. docs/project/discovery.md
  4. docs/project/progress.md
  5. docs/project/traceability.md
  6. docs/project/kanban/*.md
  7. .claude/alfred-memory.db si existe

Reglas

  • Si $ARGUMENTS está vacío, dilo claramente y no inventes una búsqueda.
  • Prioriza coincidencias exactas o muy cercanas.
  • Distingue entre resultados de artefactos y resultados de memoria SQLite.
  • NO uses AskUserQuestion.
  • NO conviertas esto en un análisis largo.
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. 3d ago First seen · 41 lines · 14 tokens per session scan A 0f03b893dc2e

Subscribe to this mod's changes

search is a command published in the GitHub repository 686f6c61/alfred-dev (119 stars, last pushed 18d ago), licensed MIT. It adds 14 tokens to every session and 293 once invoked, about $0.0001 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-30.

Related

Other commands, from other repositories

cdd-pre-pr

Run a pre-PR checklist for the current branch. Compare against the base branch to identify all changes. This is a verification session: it runs CI gates, code-reviews the diff, and reconciles documentation against the changes.

drabaioli/cdd · 0 tokens

cdd-retrofit

Install CDD into an existing project, or upgrade a project already running CDD, at the path given as argument: /cdd-retrofit .

drabaioli/cdd · 0 tokens

cdd-process-pr

Address the open PR's review feedback: read the review comments for the current branch, triage them, implement the change-requests (pushing back where warranted), then auto-post in-thread replies and auto-commit + push the result.

drabaioli/cdd · 0 tokens

cdd-merge-base

Integrate the current state of the base branch into the feature branch. Two phases: a dry-run conflict assessment first, then the actual merge with conflict resolution. The approval between the two phases is conditional — the merge runs automatically when the dry run proves the case mechanically trivial (step 4), and…

drabaioli/cdd · 0 tokens

e2e-test

Generate end-to-end tests using Playwright (web) and Detox (mobile). Covers user flows, visual regression, and cross-browser testing. Usage: /e2e-test [flow-name|--all] [--visual].

alphaaiservice/cortex · 46 tokens

init-project

Initialize a new or upgrade existing project with Alpha AI's standard architecture. Supports Python/FastAPI, Node.js/NestJS, Java/Spring Boot. Usage: /init-project [--lang=python|nestjs|springboot] [--with-frontend] [--with-mobile] [--with-ai] [--existing].

alphaaiservice/cortex · 71 tokens