dory-search

dory-search is a skill for Claude Code, Codex from deeflect/dory. It costs 34 tokens per session (381 once invoked), scanned A, original, MIT.

A skill for searching Dory, a memory store for past project sessions, people, decisions, dates, and cleanup records.

In plain words
What is it for?
Use it to search recent or exact memories and retrieve the source record when more evidence is needed.
Why use it?
It reduces the risk of making unsupported or outdated claims about earlier work.

Skill for Claude CodeCodex

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 skills/deeflect/dory/dory-search
Any agent
npx skills add deeflect/dory --skill dory-search
Clone the repo
git clone --depth 1 https://github.com/deeflect/dory

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/deeflect/dory/dory-search.svg)](https://agentmods.dev/skills/deeflect/dory/dory-search)
Your own site
<a href="https://agentmods.dev/skills/deeflect/dory/dory-search"><img src="https://agentmods.dev/badge/skills/deeflect/dory/dory-search.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 381 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.00034 $0.00381
Opus 5 $0.00017 $0.00191
Sonnet 5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 3d ago against content hash b8165ff09532, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dory-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.

skills/dory-search/SKILL.md · 25 lines

What it actually says

Use dory search before answering factual questions about people, projects, decisions, dates, or prior sessions.

Workflow:

  1. If the task asks for a fast recent recap, use dory_digest first instead of searching for a digest tag.
  2. Start normal fact retrieval with uv run dory --corpus-root <corpus> --index-root <index> search "<query>"
  3. If needed, follow with dory get <path> on the best hit
  4. If a result has stale_warning, treat it as possibly outdated and look for fresher evidence

Rules:

  • Prefer retrieval over guessing
  • Use search even if wake seems related; wake is cached context, search is live evidence
  • Do not assume digest files have a searchable digest tag; dory_digest resolves digests/daily, digests/weekly, and legacy logs/** paths directly
  • Use mode=exact for cleanup markers, unique strings, and artifact existence checks
  • Use mode=text, mode=keyword, or mode=lexical when you want BM25-only search; all three normalize to bm25
  • Use mode=semantic when you want vector-only search; it normalizes to vector
  • Hybrid search is deterministic by default; LLM-assisted planning, expansion, and reranking require explicit DORY_QUERY_* server flags
  • Use rerank="false" for baseline deterministic search, rerank="true" to force the configured reranker, and rerank="auto" to follow server defaults
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 · 25 lines · 34 tokens per session scan A b8165ff09532

Subscribe to this mod's changes

dory-search is a skill published in the GitHub repository deeflect/dory (11 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 381 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-30.

Related

Other skills, from other repositories

deep-research

深度研究编排方法论:澄清范围、拆解规划、并行调度子智能体调研、对抗式核验、综合成带引用的结构化报告。当任务需要多来源、可追溯、需事实核查的深度研究时使用此技能。.

xerrors/Yuxi · 69 tokens

mysql reporter

生成 MySQL 查询报表并生成可视化图表。当用户需要查询 MySQL 数据库并以报表形式展示结果时使用此技能,包括:统计销售数据、分析用户行为、生成业务报表、查询业务指标等。.

xerrors/Yuxi · 55 tokens

knowledge-base

使用 Yuxi 知识库进行检索、打开文档、文档内定位和查看思维导图。当用户需要基于已配置知识库回答问题、核验资料或引用文档内容时使用此技能。.

xerrors/Yuxi · 54 tokens

background-task

Add or modify work that runs outside the request/response cycle — emails, document ingestion, webhooks, cleanups, scheduled jobs. Use when something is slow or fire-and-forget, or when adding a periodic/cron task. This project's queue is {{ cookiecutter.backgroundtasks }}.

vstorm-co/full-stack-ai-agent-template · 62 tokens

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens

pytest-suite

Write or extend the backend test suite following this project's conventions. Use when adding tests for a new service/route/repository, when coverage is missing, or when asked to test a feature. Knows the mocked-session + httpx AsyncClient setup so tests run with no database.

vstorm-co/full-stack-ai-agent-template · 59 tokens