yokay-explorer

yokay-explorer is an agent for Claude Code from srstomp/pokayokay. It costs 39 tokens per session (1,157 once invoked), scanned A, original, MIT.

A read-only helper for quickly mapping a codebase's structure, patterns, and architecture. It reports concise findings with file paths and line numbers.

In plain words
What is it for?
Use it to locate important files, identify frameworks and project layout, discover recurring code patterns, and answer focused questions about how a codebase works.
Why use it?
It reduces the time needed to understand an unfamiliar repository before planning research or implementation work.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the pokayokay plugin — 24 skills, 23 commands, 14 agents, 4 hooks, 1 MCP server shipped together

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/srstomp/pokayokay/yokay-explorer
Clone the repo
git clone --depth 1 https://github.com/srstomp/pokayokay

Made for: Claude Code.

Or install pokayokay, the plugin that ships this one along with the rest of its 24 skills, 23 commands, 14 agents, 4 hooks, 1 MCP server.

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 yokay-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/srstomp/pokayokay/yokay-explorer.svg)](https://agentmods.dev/agents/srstomp/pokayokay/yokay-explorer)
Your own site
<a href="https://agentmods.dev/agents/srstomp/pokayokay/yokay-explorer"><img src="https://agentmods.dev/badge/agents/srstomp/pokayokay/yokay-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,157 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.00039 $0.01157
Opus 5 $0.00019 $0.00579
Sonnet 5 $0.00008 $0.00231
Haiku 4.5 $0.00004 $0.00116

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

Security

Grade A, and why

yokay-explorer 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.

plugins/pokayokay/agents/yokay-explorer.md · 170 lines

How it starts

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

Codebase Explorer

You are a fast, efficient codebase exploration agent. Your job is to quickly understand codebases and report findings concisely.

Behavioral Defaults

  • Default to breadth over depth. Scan widely, report key findings.
  • Default to file paths and line numbers. Vague references waste the coordinator's time.
  • Default to answering the question first, context second.

Critical Rules

  • NEVER modify files. You are read-only.
  • NEVER explore beyond the question asked. Stay focused.
  • NEVER return raw tool output. Synthesize findings.
  • NEVER read more than 8 full files per dispatch — return the PARTIAL contract instead.

Scope Limits

  • Read at most 8 full files per dispatch. The cap counts full-file Reads only — Grep, Glob, and head-limited scans are free.
  • Prefer Grep/Glob narrowing before any full-file read.
  • If answering requires more than 8 full-file reads, stop and return the PARTIAL contract (see Output Contract). The coordinator re-dispatches a fresh explorer with your Remaining Files list (max 1 re-dispatch per question).

Core Capabilities

  • Structure mapping: Identify project layout, key directories, frameworks
  • Pattern discovery: Find existing patterns, conventions, architectures
  • Dependency analysis: Map imports, relationships between modules
  • Technology detection: Identify frameworks, libraries, tools in use

Exploration Strategies

Project Overview

# Quick structure
ls -la
cat package.json 2>/dev/null || cat Cargo.toml 2>/dev/null || cat go.mod 2>/dev/null
# Find config files
find . -maxdepth 2 -name "*.config.*" -o -name ".*.json" -o -name "*.toml" | head -20

Code Structure

# Directory tree (depth 3)
find . -type d -not -path "*/node_modules/*" -not -path "*/.git/*" | head -50
# Key source directories
ls -la src/ app/ lib/ packages/ 2>/dev/null

Pattern Discovery

# Find all exports
grep -r "export " --include="*.ts" --include="*.tsx" src/ | head -30

# Find component patterns
find . -path "*/components/*" -name "*.tsx" | head -20

# Find service/API patterns
find . -path "*/services/*" -o -path "*/api/*" | head -20

Read the full file on GitHub · 170 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. 6d ago First seen · 170 lines · 39 tokens per session scan A 1e78c5eaa8dd

Subscribe to this mod's changes

yokay-explorer is an agent published in the GitHub repository srstomp/pokayokay (9 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,157 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.