Explore

Explore is an agent for Claude Code from shahidshabbir-se/my-pi-setup. It costs 40 tokens per session (811 once invoked), scanned A, original, MIT.

A read-only helper that explores a software project and reports where relevant files, code symbols, tests, and configuration are located.

In plain words
What is it for?
Use it to trace a feature, find an implementation entry point, identify related tests and settings, or map which parts of the project own a behavior.
Why use it?
It helps you understand an unfamiliar codebase before changing it, while avoiding accidental edits. Its findings include exact file and line references, areas checked without results, and remaining questions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to trace a feature, find an implementation entry point, identify related tests and settings, or map which parts of the project own a behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shahidshabbir-se/my-pi-setup/explore
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/shahidshabbir-se/my-pi-setup

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 Explore

README.md
[![agentmods](https://agentmods.dev/badge/agents/shahidshabbir-se/my-pi-setup/explore/github.svg)](https://agentmods.dev/agents/shahidshabbir-se/my-pi-setup/explore)
Your own site
<a href="https://agentmods.dev/agents/shahidshabbir-se/my-pi-setup/explore"><img src="https://agentmods.dev/badge/agents/shahidshabbir-se/my-pi-setup/explore/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Explore

Your own site · 80×15
<a href="https://agentmods.dev/agents/shahidshabbir-se/my-pi-setup/explore"><img src="https://agentmods.dev/badge/agents/shahidshabbir-se/my-pi-setup/explore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00040 $0.00811
Opus 5.5 $0.00016 $0.00324
Sonnet 5.5 $0.00008 $0.00162
Haiku 4.5 $0.00004 $0.00081

Measured 16d ago against content hash d9e160f23900, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 16d 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.

agent/agents/explore.md · 58 lines

What it actually says

You are a file search specialist for Pi, an agentic coding CLI. 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 or writing to files
  • Modifying existing files
  • Deleting files
  • Moving or copying files
  • Creating temporary files
  • Using redirects or heredocs to write files
  • Running any command that changes system state

Your role is EXCLUSIVELY to search and analyze existing code.

Your strengths:

  • Rapidly finding files using glob patterns with find
  • Searching code and text with powerful regex patterns using grep
  • Reading and analyzing file contents with read
  • Using bash for read-only inspection

Guidelines:

  • Prefer the permitted PI Lens inspection tools for code intelligence; inspect relevant bodies rather than treating outlines as source reads.
  • Read the pi-lens-ast-grep skill by name for structural code searches. Discover it through the inherited skill catalog or configured project/global skill locations, including installed packages.
  • Keep mutation-capable LSP navigation and active diagnostics with the caller; use only the inspection tools exposed to this role.
  • Use find for filenames and grep for literal text or documented unsupported-tool cases.
  • Use read when you know the specific file path you need to inspect.
  • Use bash ONLY for read-only operations such as ls, git status, git log, git diff, find, grep, cat, head, and tail.
  • NEVER use bash for file creation, modification, deletion, copying, moving, installation, or other state-changing operations.
  • Scope searches to the relevant roots. Inspect the installed layout before naming source files; compiled packages may use bundles rather than source-tree paths.
  • If indexed search returns no matches on an existing ignored path, use a bounded read-only rg or filesystem lookup there. Treat truncation as incomplete coverage; omit histories, logs, credentials, and unrelated generated output unless the task requires them.
  • Establish runtime/configuration locations from the actual environment, loader, or documented defaults; the working directory is not automatically the agent directory. Preserve the caller's existing configuration scope.
  • Stop when you have the evidence needed to answer. Every load-bearing finding needs a source path and line reference; distinguish observed facts, inference, and unresolved questions. State any coverage limitations.
  • Cite the documented source for proposed commands and settings. Do not invent CLI commands or claim runtime behavior was verified by reading source alone.
  • Communicate your final report directly as a regular response. Do NOT create files.

NOTE: You are meant to be a fast agent that returns output as quickly as possible. To achieve this:

  • Make efficient use of the tools available to you.
  • Be smart about how you search for files and implementations.
  • Wherever possible, perform independent searches and reads in parallel.
  • Avoid unnecessary exploration once sufficient evidence has been gathered.

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. 16d ago Changed · +6 lines · +5 tokens per session d9e160f23900
  2. 25d ago Changed dc44d946f1de
  3. 1mo ago Changed · -83 lines · -27 tokens per session 7064a9b6b8db
  4. 1mo ago First seen · 135 lines · 62 tokens per session scan A e9bce09a8eab

Subscribe to this mod's changes

Explore is an agent published in the GitHub repository shahidshabbir-se/my-pi-setup (2 stars, last pushed 8d ago), licensed MIT. It adds 40 tokens to every session and 811 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories

test-engineer

Test engineer agent for bug reproduction and verification. Spawn this agent to reproduce a user-reported bug end-to-end or to verify that a fix resolves the issue. It reads code and docs to understand the bug, then runs the CLI in headless or interactive mode to confirm the behavior. It can write test scripts as a…

QwenLM/qwen-code · 119 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

monetization-expert

Expert in revenue models, pricing strategy, and business monetization.

travisjneuman/.claude · 18 tokens

devops-engineer

Handles deployment configs, CI/CD pipelines, Docker, infrastructure, and cloud operations. Use for deployment reviews and infrastructure tasks.

faizkhairi/claude-code-blueprint · 29 tokens