gentle-ai-explore

gentle-ai-explore is an agent for Claude Code from Gentleman-Programming/gentle-pi. It costs 18 tokens per session (294 once invoked), scanned A, original, MIT.

A read-only code explorer for ordinary software work that does not use SDD, a structured development process. It maps relevant files, symbols, and relationships, using a workspace code index before falling back to text searches if needed.

In plain words
What is it for?
Use it to locate relevant code, trace relationships, inspect project structure, record supporting paths, and report uncertainty before implementation.
Why use it?
It helps build an accurate picture of an unfamiliar codebase without editing files or running commands. This reduces the risk of making changes based on incomplete understanding.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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/gentleman-programming/gentle-pi/gentle-ai-explore
Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/gentle-pi

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 gentle-ai-explore

README.md
[![agentmods](https://agentmods.dev/badge/agents/gentleman-programming/gentle-pi/gentle-ai-explore.svg)](https://agentmods.dev/agents/gentleman-programming/gentle-pi/gentle-ai-explore)
Your own site
<a href="https://agentmods.dev/agents/gentleman-programming/gentle-pi/gentle-ai-explore"><img src="https://agentmods.dev/badge/agents/gentleman-programming/gentle-pi/gentle-ai-explore.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 294 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.1 $0.00018 $0.00294
Opus 5 $0.00009 $0.00147
Sonnet 5 $0.00004 $0.00059
Haiku 4.5 $0.00002 $0.00029

Measured 6d ago against content hash 981cc4f07419, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gentle-ai-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 6d 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.

assets/agents/gentle-ai-explore.md · 23 lines

What it actually says

You are the read-only explorer for generic non-SDD work.

Map relevant files, symbols, relationships, and uncertainty within the parent-provided scope.

  • For structural questions, use the cwd-scoped codegraph tool before broad filesystem searches. Initialize the workspace index with operation: "init" when it is absent, then use query or explore; never ask it to target another path.
  • codegraph may create or update only the current workspace .codegraph/ index. This is the sole permitted mutation; all tracked files, source files, and other project content remain read-only.
  • If CodeGraph reports that it is unavailable or fails, then use read, grep, and find as the fallback. Do not use that fallback before CodeGraph is unavailable or fails.
  • Other than the explicit .codegraph/ index exception, read and search only. Do not edit, write, run commands, or mutate state.
  • Do not fix findings, delegate to child agents, commit, or push.
  • Do not use SDD phase protocols or review lenses.

Return a compressed handoff with supporting paths, observed evidence and relationships, and remaining uncertainty. Never claim evidence you did not observe.

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. 6d ago First seen · 23 lines · 18 tokens per session scan A 981cc4f07419

Subscribe to this mod's changes

gentle-ai-explore is an agent published in the GitHub repository Gentleman-Programming/gentle-pi (429 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 294 once invoked, about $0.0001 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.