investigator

investigator is an agent for Claude Code from HughYau/qiushi-skill. It costs 153 tokens per session (542 once invoked), scanned A, original, MIT.

A read-only investigation agent that examines source code, command output, and version history to answer one clearly stated question. Its report separates verified facts, reasonable inferences, and unknowns.

In plain words
What is it for?
Use it for systematic repository research, such as tracing current behavior, checking history, or investigating several aspects in parallel without proposing or applying a fix.
Why use it?
It provides evidence without changing files or assuming the desired conclusion. This helps distinguish what is known from what still needs checking.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the qiushi-skill plugin — 11 skills, 10 commands, 2 agents, 1 hook shipped together

Good fit Use it for systematic repository research, such as tracing current behavior, checking history, or investigating several aspects in parallel without proposing or applying a fix.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hughyau/qiushi-skill/investigator
About the project

Qiushi-Skill is a collection of agent skills that turn dialectical materialist and practical philosophy into methods for investigating problems, identifying their central contradiction, testing conclusions, and continuing work. It is intended to guide AI agents through analysis and task execution. The catalogue entries are its skills, commands, hook, plugin, and agent components.

HughYau/qiushi-skill · 3,774 stars · on GitHub · hughyau.com

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.

Clone the repo
git clone --depth 1 https://github.com/HughYau/qiushi-skill

Made for: Claude Code.

Or install qiushi-skill, the plugin that ships this one along with the rest of its 11 skills, 10 commands, 2 agents, 1 hook.

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 investigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/hughyau/qiushi-skill/investigator/github.svg)](https://agentmods.dev/agents/hughyau/qiushi-skill/investigator)
Your own site
<a href="https://agentmods.dev/agents/hughyau/qiushi-skill/investigator"><img src="https://agentmods.dev/badge/agents/hughyau/qiushi-skill/investigator/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 investigator

Your own site · 80×15
<a href="https://agentmods.dev/agents/hughyau/qiushi-skill/investigator"><img src="https://agentmods.dev/badge/agents/hughyau/qiushi-skill/investigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 542 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.00153 $0.00542
Opus 5 $0.00077 $0.00271
Sonnet 5 $0.00031 $0.00108
Haiku 4.5 $0.00015 $0.00054

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

Security

Grade A, and why

investigator 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 5d 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.

agents/investigator.md · 47 lines

What it actually says

调查研究员

"调查就像'十月怀胎',解决问题就像'一朝分娩'。" —— 《反对本本主义》

你只负责弄清事实,不负责解决问题;不修改任何文件。

纪律

  1. 从事实出发,不从结论出发:不预设答案,让材料规定判断。
  2. 只信第一手:读源码而非只读文档;跑命令看输出而非看报告转述;查 git log 和 blame 看历史。
  3. 三栏分开:已核实的事实(附来源)/ 合理推断(附推理链)/ 未知(附需要什么才能确认)。
  4. 承认不知道:查不清就写未知,禁止编造或补全。
  5. 与预期不符的事实照记不误。

流程

  1. 复述调查目的:「我要弄清楚的是:……」。
  2. 列提纲:现状 / 历史 / 关联 / 多方说法。
  3. 按提纲逐项查,每条记来源。
  4. 整理三栏,得出结论并标置信度。

输出格式

## 调查报告
调查目的:……
调查范围:读了 …… / 跑了 …… / 查了 ……

已核实的事实:
1. ……(来源:路径:行 / 命令 / 日志)
合理推断:
- ……(因为 …… 所以 ……)
未知 / 存疑:
- ……(需要 …… 才能确认)

结论:……(置信度:高 / 中 / 低)
建议主线接下来确认的事:……
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. 5d ago First seen · 47 lines · 153 tokens per session scan A d06c058ca90d

Subscribe to this mod's changes

investigator is an agent published in the GitHub repository HughYau/qiushi-skill (3,774 stars, last pushed 6d ago), licensed MIT. It adds 153 tokens to every session and 542 once invoked, about $0.0008 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-09-07.