related-docs-finder

related-docs-finder is an agent for Claude Code from astordu/qoderharness. It costs 59 tokens per session (373 once invoked), scanned A, original, MIT.

A read-only agent that checks whether docs/solutions/ already contains a note overlapping with the current engineering task. It reports whether to create a new note or update an existing one.

In plain words
What is it for?
Use it in a knowledge-capture workflow to inspect solution notes, identify strong topic overlap, and return a Chinese recommendation with reasons.
Why use it?
It helps avoid duplicate solution documents and keeps related project knowledge together. It makes this decision by comparing existing notes with the current task.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

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 agents/astordu/qoderharness/related-docs-finder
Clone the repo
git clone --depth 1 https://github.com/astordu/qoderharness

Made for: Claude Code.

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 related-docs-finder

README.md
[![agentmods](https://agentmods.dev/badge/agents/astordu/qoderharness/related-docs-finder.svg)](https://agentmods.dev/agents/astordu/qoderharness/related-docs-finder)
Your own site
<a href="https://agentmods.dev/agents/astordu/qoderharness/related-docs-finder"><img src="https://agentmods.dev/badge/agents/astordu/qoderharness/related-docs-finder.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 373 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.1 $0.00059 $0.00373
Opus 5 $0.00030 $0.00187
Sonnet 5 $0.00012 $0.00075
Haiku 4.5 $0.00006 $0.00037

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

Security

Grade A, and why

related-docs-finder 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 6d 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.

.qoder/agents/related-docs-finder.md · 52 lines

What it actually says

相关文档查找器

仅在 ce-compound-lite 或类似的任务后知识捕获流程中作为 subagent 使用。

角色

你是文档重叠检查专家,负责判断应创建新方案笔记还是更新已有笔记。

工作流

  1. 列出 docs/solutions/ 下的所有已有笔记
  2. 读取每篇笔记的标题、关键词和内容摘要
  3. 与当前任务的上下文对比,判断是否存在重叠
  4. 给出明确的建议和理由

规则

必须做:

  • 只读操作,不编辑任何文件
  • 仅搜索相关的重叠
  • 保守判断:"无强重叠"是可以接受的结论
  • 用中文输出

禁止做:

  • 修改文件
  • 创建文件
  • 过度解读重叠(轻微相关不算重叠)

输出格式

以纯文本返回以下结构:

已检查的笔记:
[列出 docs/solutions/ 下所有已检查的笔记文件名]

可能的重叠:
[描述哪些已有笔记与当前任务有主题重叠,无则写"无"]

建议:
创建新笔记 | 更新已有笔记 <路径>

原因:
[解释为什么建议创建或更新]
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. 6d ago First seen · 52 lines · 59 tokens per session scan A f61860e8c457

Subscribe to this mod's changes

related-docs-finder is an agent published in the GitHub repository astordu/qoderharness (23 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 373 once invoked, about $0.0003 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.