Deepdive

From hashgraph-online/awesome-codex-plugins · View interactive version

Deepdive is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Full specialist analysis via parallel agent dispatch. Researcher, Architect, and PM produce a prioritized report of what to build next (30-60s).

How to use this skill

Skill file

AgenTeam Deepdive

Run a full specialist analysis by dispatching three roles in parallel.

Unlike the standup skill (which reads state locally), deepdive launches

Codex subagents to investigate external signals, internal code health,

and strategic priorities. Expect 30-60 seconds for completion.

Process

1. Auto-Init Guard

Check for .agenteam/config.yaml, .agenteam.team/config.yaml, or legacy

agenteam.yaml in the project root. If all are missing:

2. Gather State with Dispatch Flag

Call the runtime with the --dispatch flag to get state and dispatch

plans for the three specialist roles:

python3 <runtime>/agenteam_rt.py standup --dispatch

Capture the JSON output. Expected fields (same as standup, plus

dispatch info):

Create a durable checkpoint at .agenteam/deepdive/<run_id>.json before

dispatch. Record max_elapsed_minutes (default 60), max_agents (default 2

concurrent specialists), each role's attempt/thread ID, last heartbeat, output

artifact, and stop reason. On restart, validate completed artifacts and resume

only missing or interrupted roles; never repeat a completed specialist solely

because the controller restarted.

3. Dispatch Specialist Agents in Parallel

Launch three Codex subagents in parallel. Each role has a focused

mandate:

Researcher (`@Researcher`)

Agent file: .codex/agents/researcher.toml

Prompt the researcher with:

older than 2 weeks is potentially outdated)

discussions relevant to the project

and community feedback on similar tools

Expected output format:

## External Signals

### Trends
- [signal] description and relevance to this project

### Ecosystem
- [dependency/tool] notable updates or risks

### Community
- [source] feedback, requests, or discussions relevant to our work
Architect (`@Architect`)

Agent file: .codex/agents/architect.toml

Prompt the architect with:

codebase -- identify design drift (where the implementation diverges

from the documented design)

modules, missing error handling, dead code

abandoned upstream projects

Expected output format:

## Internal Health

### Design Drift
- [area] how implementation differs from design doc

### Tech Debt
- [area] description and severity (low/medium/high)

### Dependencies
- [package] status and risk level
PM (`@Pm`)

Agent file: .codex/agents/pm.toml

Prompt the PM with:

context once they complete)

(Architect) and existing strategy

with rationale for each item

Expected output format:

## Recommendations

1. **[title]** -- rationale based on research + architecture analysis
   Priority: [high/medium/low]
   Effort: [small/medium/large]

2. **[title]** -- rationale
   Priority: ...
   Effort: ...

Dispatch order: Researcher and Architect run in parallel. PM runs

after both complete (it needs their outputs as input).

4. Collect Outputs

Gather the outputs from all three subagents:

If any agent fails, include an error note in that section and continue

with the available outputs.

Update the checkpoint and emit a heartbeat whenever a specialist reports

progress. Enforce the elapsed and agent budgets. A timed-out specialist is

recorded as interrupted; if it has a resumable thread, resume it before

considering a fresh attempt. Synthesis is its own checkpoint and starts only

after the Researcher/Architect terminal states are durable.

5. Synthesize Deepdive Report

Combine all three outputs into a single report using this format:

# AgenTeam Deepdive: <project-name>
Date: <YYYY-MM-DD HH:MM>

## Health: [ON TRACK | AT RISK | OFF TRACK]

## External Signals (Researcher)
- trending approaches, competitor moves, community feedback

## Internal Health (Architect)
- design drift, tech debt, dependency risks

## Recommendations (PM)
- prioritized list of what to build next, with rationale

## Action Items
- specific next steps with owners

Rules for the report:

skill.

Trim to the most actionable items (no more than 5-7 bullets).

severity, high-severity items first.

and effort estimates. Limit to the top 5-7 items.

concrete next steps from all three reports, assign an owner (role

name) to each, and list them in priority order.

(e.g., if the Researcher found nothing notable, omit External

Signals).

6. Write Report

Write the synthesized report to the output_path from the runtime JSON

(typically docs/meetings/<timestamp>-deepdive.md):

mkdir -p "$(dirname "$output_path")"

Write the report content to that file.

7. Display to User

Show the full deepdive report to the user in the conversation. Include

a timing note:

AgenTeam Deepdive: <project-name>
Completed in ~<elapsed>s (3 specialists dispatched)

Runtime Path Resolution

Resolve the AgenTeam runtime:

  1. If running from the plugin directory: ./runtime/agenteam_rt.py
  2. If installed as a Codex plugin: <plugin-install-path>/runtime/agenteam_rt.py

Error Handling

"[role] analysis unavailable -- [error reason]"

using direct file reads (same approach as the standup skill)

Performance Target

Fast runs may finish in 30-60 seconds, but correctness does not depend on that

estimate. The durable max_elapsed_minutes budget and heartbeat/checkpoint

state govern long-running analysis. Researcher and Architect run in parallel;

PM starts after both terminal outputs are checkpointed.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.