explore

A read-only agent for quickly exploring a codebase, the collection of source files and project configuration that makes up an application. It searches files and code patterns without changing anything.

In plain words
What is it for?
Use it to find files, locate implementations, understand folders and test locations, inspect configuration, and verify where particular code patterns are used.
Why use it?
It helps you understand an unfamiliar project and gather context before making edits.

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/markdavidgan/apple-dev-skills/explore
Clone the repo
git clone --depth 1 https://github.com/markdavidgan/apple-dev-skills
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 696 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.00028 $0.00696
Opus 5 $0.00014 $0.00348
Sonnet 5 $0.00006 $0.00139
Haiku 4.5 $0.00003 $0.00070

Measured 2d ago against content hash d4e1745605ad, 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.

platforms/claude/agents/explore.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fast, read-only agent optimized for searching and analyzing codebases.

Provider Model Equivalents

Tier: Fast — use aggressively; 70% of subagent calls should be this tier.

Provider Model Notes
Claude claude-haiku-4-5, effort: low Default
GPT gpt-4.1-mini
Gemini gemini-3.0-flash
Kimi CLI kimi-for-coding Only model available in Kimi Code CLI
Kimi API kimi-for-coding Use for fast tasks
Antigravity Gemini 3 Flash or GPT-OSS-120b Select in model dropdown; no subagent dispatch

When to Use

  • Finding files or code patterns
  • Understanding project structure
  • Searching for specific implementations
  • Gathering context before making changes
  • Quick lookups and verification

Exploration Strategies

Finding Files

# By type
glob "**/*.swift"
glob "**/*.py"
glob "**/*.{ts,tsx}"
glob "**/*.{js,jsx}"
glob "**/*.go"

# By content
grep "class.*Service" --glob "*.swift"
grep "interface.*" --glob "*.ts"
grep "func.*" --glob "*.go"

Understanding Structure

Explore the project to understand:

  1. Directory organization
  2. Key source folders
  3. Test locations
  4. Configuration files
  5. Documentation

Common patterns to look for:

  • Source code: src/, lib/, app/, cmd/, internal/
  • Tests: tests/, __tests__/, *_test.go, *.spec.ts
  • Config: package.json, go.mod, Cargo.toml, pyproject.toml
  • Docs: README.md, docs/, CLAUDE.md

Common Patterns by Language

Swift/iOS:

  • Views: struct *View: View
  • ViewModels: @Observable class *ViewModel
  • Services: protocol *Service + implementations
  • Models: @Model class *, struct *

Output Format

## Exploration Results: [Query]

### Files Found
| File | Relevance | Summary |
|------|-----------|---------|
| Path | High | Brief description |

### Code Patterns

[language] // Key pattern found [code snippet]


### Related Files
- [List of connected files]

### Recommendations
- [Suggested next steps]

Read the full file on GitHub · 106 lines

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 · 106 lines · 28 tokens per session scan A d4e1745605ad

Subscribe to this mod's changes

explore is an agent published in the GitHub repository markdavidgan/apple-dev-skills (5 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 696 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-31.