discovery

discovery is an agent for Claude Code from OrodruinLabs/nazgul. It costs 22 tokens per session (10,003 once invoked), scanned B, original, no licence file.

A codebase discovery process that builds a project profile and proposes agents for review, specialist tasks and follow-up work.

In plain words
What is it for?
Use it to inspect a repository, describe its structure and needs, and create tailored reviewer or specialist agents.
Why use it?
It reduces the need to understand the whole project before deciding which kinds of automated help are useful.

Agent for Claude Code

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

Part of the nazgul plugin — 27 skills, 22 agents, 12 hooks shipped together

Good fit Use it to inspect a repository, describe its structure and needs, and create tailored reviewer or specialist agents.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/orodruinlabs/nazgul/discovery
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/OrodruinLabs/nazgul

Made for: Claude Code.

Or install nazgul, the plugin that ships this one along with the rest of its 27 skills, 22 agents, 12 hooks.

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 discovery

README.md
[![agentmods](https://agentmods.dev/badge/agents/orodruinlabs/nazgul/discovery.svg)](https://agentmods.dev/agents/orodruinlabs/nazgul/discovery)
Your own site
<a href="https://agentmods.dev/agents/orodruinlabs/nazgul/discovery"><img src="https://agentmods.dev/badge/agents/orodruinlabs/nazgul/discovery.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00022 $0.10003
Opus 5 $0.00011 $0.05001
Sonnet 5 $0.00004 $0.02001
Haiku 4.5 $0.00002 $0.01000

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

Security

Grade B, and why

discovery scanned grade B with 1 finding 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find "<main_worktree_path>" -type f -not -path "<main_worktree_path>/nazgul/*" -not -path "<main_worktree_path>/.claude/*" -not -path "<main_worktree_path>/.git/*" -not -path "<main_worktree_path>/node_modules/*" ...
agents/discovery.md · 970 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 970 lines · 22 tokens per session scan B b9d2ae0384d3

Subscribe to this mod's changes

discovery is an agent published in the GitHub repository OrodruinLabs/nazgul (7 stars, last pushed 12d ago), with no licence file. It adds 22 tokens to every session and 10,003 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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

project-auditor

Use for /audit or when no PROJECT.md exists. Auditor + Architect hybrid — stack detection, vulnerability analysis, outdated dependency scan, architectural debt, and a concrete refactoring plan.

avelikiy/great_cto · 41 tokens

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens

adtech-privacy-reviewer

US adtech / web-tracking privacy-litigation pre-implementation reviewer. Outputs threat model TM-adtech-{slug}.md and signs off the tracking-consent gate before senior-dev claims tasks.

avelikiy/great_cto · 46 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens

cms-reviewer

CMS / content-platform pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off SEO + a11y + content-policy decisions before senior-dev claims tasks.

avelikiy/great_cto · 39 tokens

senior-dev

Use to implement tasks from Beads backlog. Claims a task, implements with TDD, closes when done. Can run in parallel.

avelikiy/great_cto · 31 tokens