venhdev/zenforge137 installs
recon
Map codebase topology, module seams, and execution call chains.
How do I install this agent skill?
npx skills add https://github.com/venhdev/zenforge --skill reconIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The 'recon' skill maps codebase architecture by inspecting files and symbols. While functional, it lacks safeguards against indirect prompt injection, where an agent might follow malicious instructions hidden within the source code it is mapping.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
recon — Codebase Topology & Architecture Cartography Engine
Domain Rubric
1. Cartography Dimensions
- Topography & Module Seams: Entrypoints, schemas, data models, and architectural boundaries between subsystems.
- Key Execution Flows: Sequential call chains tracing runtime dispatch from intake to terminal state persistence with exact code pointers (
file:///path/to/file#L<N>). - System Invariants & Gotchas: Transaction boundaries, state lifecycles, hidden side-effects, or specification drift.
2. Exploration Guardrails (What to Ignore)
- Focus strictly on architectural transitions and module seams; forbid cataloging trivial leaf utilities, transient test fixtures, or dumping raw directory listings.
Canonical Output Contract
# Codebase Cartography: <Subsystem / Target Scope>
## 1. Topography & Architectural Seams
- **Entrypoints**: <Primary intake points, commands, public APIs, or event consumers with file pointers>
- **Core Contracts & Schemas**: <Key interfaces, data types, state schemas, or governing specifications>
- **Module Boundaries**: <Key directories/packages and their distinct architectural responsibilities>
## 2. Key Execution Flows
### Flow: <Primary Flow Name, e.g., Data Intake / Transformation / Render Pipeline>
1. `<Symbol>` ([<file>#L<N>](file:///path/to/file#L10)) ── <Trigger or input intake>
2. `<Symbol>` ([<file>#L<N>](file:///path/to/file#L50)) ── <Intermediate dispatch, orchestration, or validation>
3. `<Symbol>` ([<file>#L<N>](file:///path/to/file#L90)) ── <Core state transition, persistence, or terminal execution>
*(Add secondary flow if distinct execution path exists)*
## 3. Invariants & Gotchas
- **Invariants (Must Preserve)**: <Core rules, transaction boundaries, or state lifecycles that cannot be broken>
- **Gotchas (Watch Out)**: <Hidden side-effects, spec drift, or surprising couplings; state 'None observed' if clean>
Routing
- Caller requests a change whose direction is settled and execution paths/mutation boundaries are clear → (via /changeset).
- Discovered architectural tensions, trade-offs, or multiple viable implementation paths → (via /clarify).
Execution Protocol
Phase 1: Macro Anchor Grounding
- Ingest target subsystem or codebase scope.
- Scout high-level architectural anchors (entrypoints, key schemas, router boundaries) using file and symbol tools.
- Establish anchor coordinates before deep inspection.
Phase 2: Scale-Adaptive Cartography
- Evaluate target scope scale:
- In-Turn Execution (< 10 files or single cohesive module): Trace call flows against discovered anchors directly in-turn to eliminate subagent latency and token overhead.
- Subagent Fan-Out (broad codebase or cross-layer scopes): Launch concurrent
researchsubagents dynamically scaled to partitioned layers or caller-declared budget (Role:Cartography Scout (<Layer>)). Seed each with target boundary, discovered anchors, and Canonical Output Contract (offload extensive traces to.agents/scratch/recon-<layer>-dossier.md).
Phase 3: Synthesis & Turn-Halt Gate (Fan-in)
- Reconcile findings into the Canonical Output Contract with pointers to any offloaded dossiers.
- Present the completed cartography into the conversation stream and halt turn immediately.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/venhdev/zenforge/recon">View recon on skillZs</a>