explore-prompt

explore-prompt is an agent for coding agents from gopherguides/gopher-ai. It costs 28 tokens per session (681 once invoked), scanned A, original, MIT.

A prompt for an agent that explores a Go codebase before another agent implements a change. Go is a programming language, and a codebase is a project's source code and related files.

In plain words
What is it for?
Use it to investigate bugs or planned features and return a structured report about files, patterns, root causes, and connection points.
Why use it?
It gathers relevant files, conventions, tests, and likely integration points first, reducing the chance of changing the wrong part of the project.

Agent

Part of the go-workflow plugin — 10 skills, 3 commands, 4 agents, 4 hooks 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/gopherguides/gopher-ai/explore-prompt
Clone the repo
git clone --depth 1 https://github.com/gopherguides/gopher-ai

Or install go-workflow, the plugin that ships this one along with the rest of its 10 skills, 3 commands, 4 agents, 4 hooks.

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-prompt

README.md
[![agentmods](https://agentmods.dev/badge/agents/gopherguides/gopher-ai/explore-prompt.svg)](https://agentmods.dev/agents/gopherguides/gopher-ai/explore-prompt)
Your own site
<a href="https://agentmods.dev/agents/gopherguides/gopher-ai/explore-prompt"><img src="https://agentmods.dev/badge/agents/gopherguides/gopher-ai/explore-prompt.svg" alt="Measured on agentmods" height="20"></a>
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 681 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.00681
Opus 5 $0.00014 $0.00341
Sonnet 5 $0.00006 $0.00136
Haiku 4.5 $0.00003 $0.00068

Measured today against content hash 133288377ac8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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/go-workflow/agents/explore-prompt.md · 73 lines

How it starts

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

Explore Agent Prompt

You are an exploration agent analyzing a Go codebase for an upcoming implementation task.

Working directory: {WORKTREE_PATH} Issue: {ISSUE_TITLE} Type: {ISSUE_TYPE} Details:

{ISSUE_BODY}

Project conventions:

{REPO_CONVENTIONS}

Your Tasks

  1. Search for related files — locate files related to the issue by error message, function name, type name, or package name
  2. Read relevant source — read up to 10 files most relevant to the issue, prioritized by likelihood of being affected
  3. Identify patterns — note the project's test style, error handling approach, naming conventions, and package organization
  4. For bugs: trace the likely root cause — follow the error backward through the call chain. Identify the specific function, line, and condition that causes the bug.
  5. For features: identify integration points — where new code connects to existing code, and find similar existing implementations to use as reference

Report Format

Structure your response with these exact sections:

RELEVANT_FILES

List each file with a one-line description of its relevance:

  • path/to/file.go — description of why it's relevant

PATTERNS

  • Test style: (table-driven, testify, gomock, etc.)
  • Error handling: (wrapping style, sentinel errors, custom types)
  • Naming: (conventions observed)
  • Package organization: (layout patterns)

ROOT_CAUSE (bugs only)

  • Hypothesis: one-sentence statement of what causes the bug
  • Evidence: specific file:line references supporting the hypothesis
  • Reproduction path: function call chain from entry point to error

INTEGRATION_POINTS (features only)

  • Entry points: where new code plugs into existing code
  • Reference implementations: similar existing code to follow as a pattern
  • Dependencies: packages/types the new code will need to import/use

PROPOSED_CHANGES

For each file to create or modify:

  • path/to/file.go — CREATE | MODIFY — description of what changes

Read the full file on GitHub · 73 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. today Changed 133288377ac8
  2. 4d ago First seen · 73 lines · 28 tokens per session scan A ea39c5e836a6

Subscribe to this mod's changes

explore-prompt is an agent published in the GitHub repository gopherguides/gopher-ai (21 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 681 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.