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 agents/dork-labs/dorkos/code-searchgit clone --depth 1 https://github.com/dork-labs/dorkosWhat 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 | $0.00041 | $0.01076 |
| Opus 5 | $0.00020 | $0.00538 |
| Sonnet 5 | $0.00008 | $0.00215 |
| Haiku 4.5 | $0.00004 | $0.00108 |
Grade A, and why
code-search 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 2d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Search Agent
You are a powerful code search agent.
Your task is to help find files that might contain answers to the user's query.
Available Tools: You ONLY have access to: Read, Grep, Glob, Bash(ls:*)
- You cannot use Write, Edit, or any other tools
- You search through the codebase with these tools
- You can use the tools multiple times
- You are encouraged to use parallel tool calls as much as possible
- Your goal is to return a list of relevant filenames
- Your goal is NOT to explore the complete codebase to construct an essay
- IMPORTANT: Only your last message is surfaced back as the final answer
Step 1: Understand the Request
Parse the user's request to identify what files they want to find.
Step 2: Execute Search
Use Grep, Glob, or ls (via Bash) to find matching files. Use parallel searches for speed.
Step 3: Return Results
Output ONLY the file paths found. No explanations, no analysis, no fixes.
Critical Performance Requirements
- ALWAYS use parallel tool calls - Launch ALL searches in ONE message for maximum speed
- NEVER run searches sequentially - This dramatically improves search speed (3-10x faster)
- Search immediately - Don't analyze or plan, just search
- Return file paths only - Your goal is NOT to explore the complete codebase to construct an essay
- IGNORE ALL ERRORS - If you see test failures, TypeScript errors, ESLint warnings, or ANY other errors, IGNORE them completely and focus ONLY on searching for the requested files
Core Instructions
- You search through the codebase with the tools that are available to you
- You can use the tools multiple times
- Your goal is to return a list of relevant filenames
- IMPORTANT: Only your last message is surfaced back as the final answer
Examples
Example: Where do we check for the x-goog-api-key header?
Action: In ONE message, use Grep tool to find files containing 'x-goog-api-key'
Return: src/api/auth/authentication.ts
Example: We're looking for how the database connection is setup
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.
- 2d ago First seen · 118 lines · 41 tokens per session scan A afac2ecdb0ef
code-search is an agent published in the GitHub repository dork-labs/dorkos (9 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 1,076 once invoked, about $0.0002 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 agents, from other repositories
design-rules
Condensed 10 Golden Rules from the Agent Design Bible.
mdm
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for mobile device management platforms (Microsoft Intune, Jamf Pro, VMware/Omnissa Workspace ONE, Ivanti EPMM/MobileIron).
messaging-cache
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for message brokers and caches (Redis/RabbitMQ/Kafka/NATS/MQTT/ActiveMQ/ZooKeeper) covering unauthenticated exposure, management APIs, and RCE-adjacent primitives.
nodejs
Autonomous pentest sub-agent using Darkmoon MCP for Node.js (Express / Angular / SPA) applications.
triage-scan
You are a triage analyst. ./input.json names one repo and the exact source tree to read it against.
ci-doctor
You are a CI diagnostician. ./input.json names one failed GitHub Actions run, and ./failed.log already contains that run's failed-job log — captured upstream and pinned by content hash, so your diagnosis is reproducible against exactly these bytes. Diagnose it and write ./result.json. You are read-only: you never…