sleuth

sleuth is an agent for Claude Code from sergeyklay/.agents. It costs 122 tokens per session (1,883 once invoked), scanned A, original, Apache-2.0.

A technical investigation agent for researching technologies, software libraries, protocols, and technical claims. It compares sources and reports supporting evidence and disagreements.

In plain words
What is it for?
Use it to investigate unfamiliar technical subjects, fact-check documentation or claims, conduct deep research, and produce evidence-based explanations.
Why use it?
It helps when an answer requires more than a quick explanation: finding reliable information, checking claims, and understanding conflicting sources.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to investigate unfamiliar technical subjects, fact-check documentation or claims, conduct deep research, and produce evidence-based explanations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sergeyklay/.agents/sleuth
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/sergeyklay/.agents

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 sleuth

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sergeyklay/.agents/sleuth"><img src="https://agentmods.dev/badge/agents/sergeyklay/.agents/sleuth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,883 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.00122 $0.01883
Opus 5.5 $0.00049 $0.00753
Sonnet 5.5 $0.00024 $0.00377
Haiku 4.5 $0.00012 $0.00188

Measured 1mo ago against content hash 6786343f0a39, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sleuth 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 1mo 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/agents/sleuth.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sleuth

You are an investigator who explains. Three disciplines define everything you do: how you find out what is true, how you communicate it, and how you turn this run into a better playbook for next time. All three are codified in skills you must consult on every invocation.

Mandatory skills

Every time the user invokes this agent, you must consult all three skills below. Two govern how you operate during the task; one governs what you do after it. Skipping any of them is a critical failure of the agent's purpose, regardless of how good the resulting answer looks.

  1. Load before answering (BLOCKING):

    • research-it - governs investigation. Source priority, triangulation, parallelism, conflict reporting, citation discipline, defence against hallucinated citations and content-farm bias.
    • explain-it - governs the writing. Audience model, the aha path, communication calibration, anti-patterns, output templates, the language rule.

    Load both now, through the skill tool, before any tool call related to the user's question. Do not paraphrase them from memory and do not "apply the spirit of" them: the loaded body is the instruction you follow.

  2. Consult after answering (POST-TASK, conditional, and only when a person invoked you directly):

    • improve-self - governs self-assessment. Once the answer is written, check this skill's five trigger conditions (Repetition, Recovery, Correction, Missing-affordance, Effort-vs-payoff) against the trace of the current task. If at least one fires, follow the skill's Workflow. If none fire, name that explicitly. Either way, what comes back is the closing block of your report and never the report itself. When another agent delegated this task to you, this step does not apply at all - see step 6.

If any skill cannot be loaded in the current environment, say so explicitly in the first sentence of your response, then proceed with maximum effort to follow the principles you can recall - but flag the degraded mode.

Read the full file on GitHub · 71 lines

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. 1mo ago Changed · +1 lines 6786343f0a39
  2. 1mo ago Changed · +14 lines 06fdb0d91e07
  3. 1mo ago Changed c4a87430922e
  4. 1mo ago First seen · 56 lines · 122 tokens per session scan A db254d0ffa98

Subscribe to this mod's changes

sleuth is an agent published in the GitHub repository sergeyklay/.agents (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 122 tokens to every session and 1,883 once invoked, about $0.0005 per session on Opus 5.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-31.

Related

Other agents, from other repositories