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.
npx agentmods add instructions/svanik-yan/disvr/claude-mdgit clone --depth 1 https://github.com/Svanik-yan/disvrWrote 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.
[](https://agentmods.dev/instructions/svanik-yan/disvr/claude-md)<a href="https://agentmods.dev/instructions/svanik-yan/disvr/claude-md"><img src="https://agentmods.dev/badge/instructions/svanik-yan/disvr/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02171 | $0.02171 |
| Opus 5 | $0.01086 | $0.01086 |
| Sonnet 5 | $0.00434 | $0.00434 |
| Haiku 4.5 | $0.00217 | $0.00217 |
Grade A, and why
disvr CLAUDE.md 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.
How it starts
The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Disvr — Project Guide
Agent 智能服务发现引擎,帮 AI Agent 找到最值得用的工具。
Tech Stack
- Runtime: Cloudflare Workers
- Framework: Hono (TypeScript)
- Database: Cloudflare D1 (SQLite) + FTS5 全文搜索
- Vector Search: Cloudflare Vectorize (1536 dim, cosine)
- Embedding: OpenAI text-embedding-3-small
- MCP Server: CF Agents SDK (
McpAgentclass) - Testing: Vitest v4.1.1
Key Commands
# Development
npx wrangler dev # Local dev server
npx vitest run # Run all tests (90 tests)
npx wrangler deploy # Deploy to production
# Database
npx wrangler d1 execute disvr-db --remote --command "SQL"
npx wrangler d1 execute disvr-db --file=./schema.sql # Local reset
# Requires Node 22+
source ~/.nvm/nvm.sh && nvm use 22
Architecture
Request → Hono Router → Auth Middleware → Handler → D1/Vectorize → Response
Discovery Flow:
need (string)
→ embedQuery (OpenAI) → vectorize.query (top 50)
→ getServicesByIds (D1) → applyConstraints → rankServices
→ top 3 recommendations with value scores
Ranking Weights:
semantic: 0.30 | quality: 0.25 | cost_efficiency: 0.25 | reliability: 0.20
File Structure
src/
├── index.ts # Hono app, routes, auth middleware
├── discover.ts # Core search + ranking engine
├── db.ts # D1 CRUD, stats, API key management
├── crawl.ts # Multi-source crawlers (Smithery, GitHub, MCP Registry) + embedding
├── health.ts # Automated health checks (GitHub, npm, PyPI, endpoint)
├── cooccurrence.ts # Tool co-occurrence knowledge graph
├── alternatives.ts # Deprecation detection & alternative recommendations
├── install-check.ts # Install score: npm/pypi installability, env docs, difficulty rating
├── probe.ts # Live probes: MCP handshake, HTTP API health check
├── benchmark.ts # Benchmark engine: scoring, ranking, leaderboards
├── benchmark-scenarios.ts # 10 predefined benchmark scenario definitions
├── cost.ts # Cost intelligence: pricing extraction, scoring, batch processing
├── error-taxonomy.ts # Error classification: status codes + text patterns → 10 error types
├── changelog.ts # Version tracking: semver analysis, npm/pypi checks, breaking change detection
├── agent-profile.ts # Agent behavioral profiling: usage tracking, personalized ranking
├── failover.ts # Failover advisor: error-based decision engine + alternative lookup
├── watch.ts # Tool watch & alerts: subscriptions, alert generation, pull-based notifications
├── mcp.ts # MCP Server (6 tools: discover, details, report, list, failover, alternatives)
├── types.ts # All TypeScript types + rowToService
├── landing.ts # Landing page HTML
└── pages/
├── registry.ts # Searchable service directory
├── explorer.ts # Interactive API playground
├── analytics.ts # Real-time dashboard
├── benchmark.ts # Benchmark leaderboard page
├── service-detail.ts # Service detail page (dynamic, all data sections)
└── keys.ts # API key registration
test/
├── types.test.ts # 8 tests
├── discover.test.ts # 12 tests
├── db.test.ts # 17 tests
├── api.test.ts # 24 tests
├── crawl.test.ts # 7 tests
├── health.test.ts # 28 tests
├── cooccurrence.test.ts # co-occurrence tests
├── alternatives.test.ts # deprecation & alternatives tests
├── install-check.test.ts # install score tests
├── probe.test.ts # live probe tests
├── benchmark.test.ts # benchmark scoring & scenarios tests
├── cost.test.ts # cost intelligence tests
├── error-taxonomy.test.ts # error classification tests (51 tests)
├── changelog.test.ts # version tracking & breaking change tests (33 tests)
├── agent-profile.test.ts # agent profiling & personalization tests (22 tests)
├── frontend-enhance.test.ts # frontend enhancement tests (14 tests)
├── failover.test.ts # failover advisor tests (28 tests)
└── watch.test.ts # tool watch & alerts tests
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.
- 5d ago First seen · 183 lines · 2,171 tokens per session scan A c17b61a66564
disvr CLAUDE.md is an instructions file published in the GitHub repository Svanik-yan/disvr (0 stars, last pushed 5mo ago), licensed MIT. It adds 2,171 tokens to every session, about $0.0109 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-31.
Other instructions, from other repositories
notebooklm-py AGENTS.md
AGENTS.md instructions for teng-lin/notebooklm-py, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
openapi AGENTS.md
AGENTS.md instructions for longbridge/openapi, covering agent guidelines, after modifying rust code, after modifying the node.js sdk (nodejs/), after modifying the python sdk api (python/) and after modifying the c sdk (c/).
ai4j CLAUDE.md
Claude Code instructions for LnYo-Cly/ai4j: 本项目以 AGENTS.md 作为 coding agent 指令的唯一权威入口。.
contentful.php AGENTS.md
Instructions for contentful/contentful.php, covering agent guide, quick reference, sharp edges & invariants, key conventions and integration points.
huly-mcp CLAUDE.md
Claude Code instructions for dearlordylord/huly-mcp, covering project instructions, design principle: llm-first api, project harness (copy to new projects), package manager and verification.
kkRepo protocol-compat.instructions.md
Instructions for klboke/kkRepo, a project described as: kkRepo is a Nexus-compatible, self-hosted artifact repository for Maven, npm, PyPI, Go, Helm, NuGet, Cargo/Rust, Dart/Pub, Docker/OCI, RubyGems, and Yum artifacts. It supports one-click migration from Nexus to kkRepo.