@agent-dev-loop:research-workerfrom dev-loop
Use this agent when you need a code and vault health research scan — scanning for coverage gaps, skills drift, spec drift, unpushed commits, raw coverage, cross-link density, page quality, and type coverage. Typical triggers include dev-loop IDLE DISCOVERY research cycles, pre-sprint health assessments, and periodic vault quality audits. See "When to invoke" in the agent body.
Ships in dev-loop. Installing the plugin adds it to Claude Code.
Pluggable research cycle for dev-loop IDLE DISCOVERY. Scans code health (coverage gaps, skills drift, spec drift, unpushed commits) and vault health (raw coverage, cross-links, page quality, type coverage). Cross-references findings with retros and outputs prioritized work-item recommendations.
The orchestrator passes these context variables:
intensity: normal or highBACKEND_CAPS: set of capabilities (e.g., query_vault, create_work_item, lint_vault)VAULT_TYPES: space-separated type directory names (e.g., entities concepts comparisons queries meta)CRITICAL_PATHS: dict of critical path definitions (or {})vault: path to vault root (if query_vault in BACKEND_CAPS)slug: project slugrelease_branch: default branch namecli_src: glob for source files (if available)cli_test: glob for test files (if available)skills_glob: glob for skill files (if available)| Mode | Output | Thresholds |
|---|---|---|
| normal | top-3 | P1: uncited>50%, thin<40L, links<2 |
| high | top-5, never suppress | P1: uncited>20%, thin<60L, links<3, P4+ enabled |
Derive from BACKEND_CAPS membership:
cli_backend: cli_src field exists → Track A enabledvault_backend: query_vault in BACKEND_CAPS → Track B enabledSkip tracks when backends unavailable. Tracks that are skipped produce no findings.
Run only if cli_backend is detected (see Capabilities Detection).
If CRITICAL_PATHS is non-empty, promote findings matching CRITICAL_PATHS.*.code globs by one priority tier (P2 → P1).
{cli_src} without matching {cli_test} filesTODO|FIXME|HACK|XXX markersgit log origin/${release_branch:-main}..HEAD --oneline 2>/dev/null | wc -l
≥10 → P1 | 5-9 → P2 | 1-4 → P4+ (defer, unless high)
Handoff: Collect all Track A findings and pass to Synthesize.
Run only if vault_backend is detected (see Capabilities Detection).
Surface time-sensitive decay from two skillwiki commands as prioritized
work items:
Stale sections — skillwiki lint --only stale_sections --json 2>/dev/null
(or skillwiki lint --json 2>/dev/null | jq '.data.buckets.stale_sections'
if --only is unavailable). Parse pages with expired or approaching-expiry
<!-- expires: ... --> annotations. Each stale section → P2 work item
recommending re-ingest or archival.
Stale project pages — skillwiki stale --project <slug> --json 2>/dev/null
(or skillwiki stale --json filtered to project if --project unavailable).
Parse stale_pages list. Pages with stale_ttl in frontmatter override the
default threshold. Each stale page → P3 work item.
Priority gating:
normal mode: stale sections → P2, stale pages → P3 (only if no P2+ exists)high mode: both → P2 (no suppression)Dedup: Check prior work items under projects/<slug>/work/ for matching
slugs. Stale buckets that already have open work items are skipped.
Handoff: Collect all Track B findings and pass to Synthesize.
If vault_backend:
{vault}/log.md for Improve: actions{vault}/projects/{slug}/compound/ for pending workScore: impact × effort
| P | Impact | Examples |
|---|---|---|
| P0 | Spec violation | Regression, broken contract |
| P1 | High gap | Untested cmd, uncited raw>50%, isolated pages |
| P2 | Medium | Thin pages, skill drift, single-source, stale sections |
| P3 | Low polish | Quality, cross-links, sections, stale pages |
| P4+ | Speculative | Proactive improvements, experiments |
| State | Condition | Exit |
|---|---|---|
| Truly idle | Zero findings + healthy metrics | "Research idle" |
| Steady backlog | No new, gaps persist | "Research steady — [N] recurring" |
| High mode | Always | Never idle, proactive suggestions |
Ranked findings:
### #[N]: [title] (Px)
**Source**: [track.source]
**What**: One-paragraph spec.
**Acceptance**: Verifiable outcomes.
create_work_item in BACKEND_CAPS: use skillwiki:proj-work to create vault-native work items.claude/dev-loop-work/YYYY-MM-DD-{slug}/If vault_backend: append to {vault}/log.md.
Always: one-line exit summary with count of P0-P2 findings.
What the agent file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each agent page
npx claudepluginhub karlorz/agent-skills --plugin dev-loop7 agents in this plugin
ci-health-workerUse this agent when you need a CI health check — querying GitHub Actions API for recent workflow runs, verifying required status checks, and reporting CI pipeline health. Typical triggers include dev-loop IDLE DISCOVERY CI monitoring, checking whether required checks are failing on the release branch, and detecting stale workflows. See "When to invoke" in the agent body.codex-review-workerIndependent Codex review of a working-tree diff. Prefers native `codex review --uncommitted`; Claude companion is fallback only. Complements simplify:simplify.doctor-workerUse this agent when you need a dev-loop dependency drift check and auto-compact firing count probe — reading skills/dev-loop/dependencies.yaml plus the current session's ~/.claude/projects/<slug>/<uuid>.jsonl, then emitting a structured JSON health classification. Typical triggers include dev-loop REFRESH step 7 dependency + context-pressure probe (every cycle) and setup-dev-loop install-hint generation. See "When to invoke" in the agent body.sdd-execute-workerUse this agent when dev-loop wants an isolated adapter for superpowers:subagent-driven-development during EXECUTE. The worker reads and follows the upstream skill as source of truth, while preserving dev-loop's sonnet-pinned execution-subagent policy. Falls back to inline execution guidance only when the source skill cannot be resolved.simplify-workerUse this agent when dev-loop needs an isolated adapter for the required simplify:simplify code-review pass. The worker reads and follows simplify:simplify as source of truth, using its local minimum contract only when the skill file cannot be resolved. Falls back to inline simplify:simplify only when worker dispatch is unavailable.status-workerUse this agent when dev-loop MODE=status needs an isolated read-only probe — running scripts/dev-loop-status.js and returning dev-loop-status.v1 JSON without vault/git/PR/release writes. Typical triggers include /dev-loop status, /dev-loop doctor alias, or Codex spawn_agent parity for the status pipeline S1 PROBE step.Other plugins' agents for the same job