Skip to main content
</>

Code Explore

Use when a user wants to understand the existing implementation and cross-boundary impact of a proposed code change before implementation.

Engineeringv1.0.1Experimental
$agy skill install code-explore

Determine what must change, what must stay, and why, from the actual codebase, before a separate implementation context acts. Produce an inspected-current-state trace, impact map, and ordered proposed implementation plan. Do not modify application code, configuration, data, infrastructure, or tests. Exploration is not remediation, code review, general security audit, or implementation.

What this skill does

Engineering skill for code-explore.

Provides standardized, reproducible agent execution for code-explore.

When to reach for it

  • When addressing tasks related to engineering and software-engineering, code-exploration.
  • When explicit code-explore operations are requested.
Note: When simpler direct operations suffice without specialized skill orchestration.

How it works

Code Explore follows a simple, structured process to pressure-test your thinking and help you reach a clearer decision.

1

Bind goal, authority, and effort

Establish the expected outcome, present behavior, must-preserve invariants, non-goals, authorized repo roots, allowed read-only tools, output destination, and decisions requiring user approval. Reuse an existing intent contract when present; do not conduct a second intent-capture interview. Clarify only uncertainty that changes authorized scope, expected behavior, or safe decisions. No external repositories are implicitly authorized by the current workspace.

2

Pin system state and boundaries

Inventory only repositories reachable within the authorized scope. Bind findings to repo identity, inspected Git SHA when available, branch, dirty state, and external-contract versions. Record unavailable roots and unresolved service contracts. A repository graph and a runtime service graph are distinct; either may have many nodes. Do not infer one from the other.

3

Trace relevant behavior in both directions

Construct a **change-impact graph**, not a folder inventory:

4

Delegate bounded, independent investigations

When the companion orchestration workflow and real subagents are available, load the installed companion `workflows/code-impact-exploration/WORKFLOW.md` (in the example consumer layout, `.agent-toolkit/workflows/code-impact-exploration/WORKFLOW.md`) and hand off bounded tasks with separate context identifiers. Parent coordinator owns canonical ledger; workers return separate claim/edge records; never let them edit shared ledger or application files.

5

Determine change ownership before designing changes

For each required behavior or responsibility, establish **current owner**, proposed owner, existing controls/contracts, overlap, compatibility requirements, and what must be retained. A control's presence in two layers may be intentional defense-in-depth, not accidental duplication. Do not recommend removing authorization, validation, retries, or protection merely because upstream logic was centralized.

6

Reconcile, verify, plan, stop

Coverage Critic checks whether every *material* goal obligation and source/sink boundary is `covered`, `partial`, `blocked`, `not_applicable`, or `out_of_scope`, with explicit reason. Target unresolved high-impact paths for at most the remaining authorized investigation wave; otherwise preserve blockers.

What's included

The skill comes with a ready-to-use prompt, guidance, and supporting resources.

SKILL.md
The main skill definition, usage guide, and examples.
References
Links to relevant concepts and deeper reading (3 local files: evidence-contract.md, graph-tracing.md, planning-handoff.md).
Dependencies
4 optional agents
Workflows
Included in the "code-impact-exploration" workflow (optional).
Evaluation scenarios
49 formal test scenarios in evals/code-explore/cases.yaml to validate quality and consistency.

Install this skill

Add Code Explore to your assistant and start using it in your workflow.

View source on GitHub
Target: .agent-toolkit/skills/code-explore/SKILL.md
Uses the deterministic standard-library installer with SHA-256 hash tracking.
$python scripts/install.py apply --skill code-explore
Distribution Unavailable — GitHub Release Pendingcommit: 0e4dc4c

Pre-packaged ZIP archives are published when a tagged GitHub release is created on the public repository. Zero simulated or fabricated binary downloads are served.