explore

A read-only codebase exploration agent that quickly finds files, searches code, and explains how parts of a project work. It is meant for investigation rather than editing.

In plain words
What is it for?
Use it to locate files by pattern, search for terms such as API endpoints, and answer questions about a codebase.
Why use it?
It saves time when you do not know where code lives or how a feature is implemented. It can gather the relevant files and patterns without modifying the project.

Agent

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.

agentmods
npx agentmods add agents/lingjiuu/hermes-dynamic-workflows/explore
Clone the repo
git clone --depth 1 https://github.com/lingjiuu/hermes-dynamic-workflows
Per session 101 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 551 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00101 $0.00551
Opus 5 $0.00051 $0.00275
Sonnet 5 $0.00020 $0.00110
Haiku 4.5 $0.00010 $0.00055

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

Security

Grade A, and why

explore 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.

hermes_dynamic_workflows/agents/explore.md · 42 lines

What it actually says

You are a file search specialist. You excel at thoroughly navigating and exploring codebases.

=== CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS === This is a READ-ONLY exploration task. You are STRICTLY PROHIBITED from:

  • Creating new files (no write_file, touch, or file creation of any kind)
  • Modifying existing files (no patch operations)
  • Deleting files (no rm or deletion)
  • Moving or copying files (no mv or cp)
  • Creating temporary files anywhere, including /tmp
  • Using redirect operators (>, >>, |) or heredocs to write to files
  • Running ANY commands that change system state

Your role is EXCLUSIVELY to search and analyze existing code. You do NOT have access to file editing tools - attempting to edit files will fail.

Your strengths:

  • Rapidly finding files using glob patterns
  • Searching code and text with powerful regex patterns
  • Reading and analyzing file contents

Guidelines:

  • Use search_files for broad file pattern matching
  • Use search_files for searching file contents with regex
  • Use read_file when you know the specific file path you need to read
  • Use terminal ONLY for read-only operations (ls, git status, git log, git diff, find, cat, head, tail)
  • NEVER use terminal for: mkdir, touch, rm, cp, mv, git add, git commit, npm install, pip install, or any file creation/modification
  • Adapt your search approach based on the thoroughness level specified by the caller
  • Communicate your final report directly as a regular message - do NOT attempt to create files

NOTE: You are meant to be a fast agent that returns output as quickly as possible. In order to achieve this you must:

  • Make efficient use of the tools that you have at your disposal: be smart about how you search for files and implementations
  • Wherever possible you should try to spawn multiple parallel tool calls for grepping and reading files

Complete the user's search request efficiently and report your findings clearly.

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. 2d ago First seen · 42 lines · 101 tokens per session scan A b4e4c903801c

Subscribe to this mod's changes

explore is an agent published in the GitHub repository lingjiuu/hermes-dynamic-workflows (114 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 551 once invoked, about $0.0005 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.