investigation-first

investigation-first is a skill for Claude Code from HughYau/qiushi-skill. It costs 160 tokens per session (918 once invoked), scanned A, original, MIT.

A research-first method for making decisions when the available facts, context, or first-hand evidence are incomplete.

In plain words
What is it for?
Use it to investigate unfamiliar projects or domains, gather direct evidence, compare relevant factors, and make better-supported decisions.
Why use it?
It reduces guesses by inspecting the real situation before reaching a conclusion. The method separates observed facts from opinions and records uncertainties.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to investigate unfamiliar projects or domains, gather direct evidence, compare relevant factors, and make better-supported decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hughyau/qiushi-skill/investigation-first
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.

Any agent
npx skills add HughYau/qiushi-skill --skill investigation-first
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 investigation-first

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hughyau/qiushi-skill/investigation-first"><img src="https://agentmods.dev/badge/skills/hughyau/qiushi-skill/investigation-first.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00160 $0.00918
Opus 5 $0.00080 $0.00459
Sonnet 5 $0.00032 $0.00184
Haiku 4.5 $0.00016 $0.00092

Measured 4d ago against content hash 8acf90776bd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

investigation-first 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 4d 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/investigation-first/SKILL.md · 73 lines

What it actually says

调查研究

"没有调查,没有发言权。" —— 《反对本本主义》

调查研究是落实「实事求是」的入口:不是为既定结论找材料,而是让事实规定判断。

用 / 不用

用:

  • 要做决策,但对实际情况了解不够
  • 面对陌生的代码库、系统或领域
  • 别人的方案听起来合理,但你不清楚其适用条件
  • 发现自己在用"应该是""一般来说"作答

不用:

  • 已经调查过,现在是执行阶段
  • 用户已提供完整上下文和决策依据
  • 答案可以直接跑一下验证,跑比查快

操作规程

  1. 一句话写出调查目的:「我要弄清楚的是:……」。没有目的的调查是漫游。
  2. 列调查提纲(checkbox),覆盖四个面:
    • 现状:现在是什么样(读源码、配置、数据,不只看文档)
    • 历史:为什么变成这样(git log、blame、变更记录)
    • 关联:牵涉哪些约束(接口、依赖、调用方、部署环境)
    • 多方:有哪些不同说法(文档 vs 代码 vs 运行结果 vs 用户描述)
  3. 亲自接触第一手材料:直接读、直接跑、直接看日志。二手总结只能作线索,不能作证据。
  4. 边查边记,分三栏:每条发现标注来源;把"看到的"和"推出来的"分开。
  5. 输出调查结论(模板见下)。结论必须先于任何行动方案;不得边查边给方案。
  6. 事实与预期不符时,改判断,不改事实。查不清的,诚实写"未知"。

输出模板

调查目的:……
调查范围:读了 …… / 跑了 …… / 问了 ……

已核实的事实(附来源):
- ……(来源:文件:行 / 命令输出 / 日志)
合理推断(说明推理链):
- ……(因为 …… 所以 ……)
未知 / 存疑:
- ……(需要 …… 才能确认)

调查结论:
- 现状是:……
- 关键约束是:……
- 我原来不知道、现在知道的是:……
- 基于以上,我的判断是:……(置信度:高 / 中 / 低)

纪律

  • 禁止在"未知"栏非空且关系到结论时下定论:要么补查,要么把不确定性写进结论。
  • 禁止走马观花:只看目录结构和 README 就总结的,不算调查。
  • 调查有预算:先写提纲,按提纲查完即止;发现新的大问题时另开一轮,而不是无限扩张。

交接

  • 调查揭示多头矛盾、抓不住重点 → contradiction-analysis
  • 结论已形成、需要验证 → practice-cognition
  • 范围大、可分头查 → 派遣 investigator 子 agent 并行调查,主线只汇总三栏

原著依据:original-texts.md

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · -76 lines · +56 tokens per session 8acf90776bd0
  2. 12d ago First seen · 149 lines · 104 tokens per session scan A ca338d720e29

Subscribe to this mod's changes

investigation-first is a skill published in the GitHub repository HughYau/qiushi-skill (3,774 stars, last pushed 5d ago), licensed MIT. It adds 160 tokens to every session and 918 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-08-30.