AGENT SKILL

status

Show the current state of a research-agent run from .research/: liveness, cycles and budget, sub-problem and hypothesis statuses, eval trend, current focus, and branches. Read-only.

License 许可
MIT
最近更新
2026-10-23
Stars
★ 0
Forks
0

01 前言 Front Matter

name
status
description
Show the current state of a research-agent run from .research/: liveness, cycles and budget, sub-problem and hypothesis statuses, eval trend, current focus, and branches. Read-only.

03 SKILL.md 正文

Research Status

Show the current state of a research-agent run. Read-only: this skill never modifies .research/ or relaunches the agent.

Step 1: Locate the Run

.research/goal.md marks a research run (Glob tool). If absent, tell the user there is no research run here and suggest /research-agent:research.

Step 2: Read the Structured Files

Read (Read tool), degrading gracefully on partial runs:

  1. .research/goal.md: the goal is the body; the frontmatter eval is the eval script (null means self-evaluation).
  2. .research/run.json: status, heartbeat, stale_after_minutes, launched, budget, policy. The run is live when status is running or stopping and the heartbeat is less than stale_after_minutes old (compare against date -u +%Y-%m-%dT%H:%M:%SZ). running with a stale heartbeat means the agent is gone: the run was interrupted.
  3. .research/state.md YAML frontmatter: cycle, current_focus, and the subproblems / hypotheses lists (count by status).
  4. .research/cycles.jsonl: one record per cycle; the last 5 give recent activity.
  5. .research/scores.jsonl: one record per eval run; the source of the eval trend.

Legacy fallback (a run from an older plugin version: no run.json, state.md without frontmatter, or no cycles.jsonl): take counts from the prose - status: lines of state.md, cycles from the ### Cycle N entries of log.md (tail -200 .research/log.md for long logs), report liveness as "unknown (legacy run)", and use the default policy (pivot after 3, conclude after 5). When state.md is missing, report "initialized, no cycles yet" and skip the sub-problem and hypothesis sections.

Step 3: Inventory Artifacts

Use Glob to count:

  • attempts/*/notes.md: total attempts; list the most recent 3 with their slugs and the first line of their notes
  • findings/*: confirmed results promoted out of attempts/
  • synthesis.md: present means the run (or branch) has concluded; note this prominently
  • branches/*/: for each branch, read the same structured files under its run root (run.json liveness and worktree, state.md cycle and current_focus, synthesis.md presence)

Step 4: Format the Report

# Research Status: {one-line goal}

## Goal
{goal body, trimmed if very long}

## Run state
- Status: running (heartbeat {M} min ago) | stopping (stop requested) | interrupted (stale heartbeat) | concluded
- Cycles: {cycle} / {budget.max_cycles or "unbounded"}
- Elapsed this launch: {hours} / {budget.max_hours or "unbounded"}
- Current focus: {current_focus.id}: {its text} ({current_focus.why})
- Eval: {eval path or "self-evaluation"}

## Sub-problems
| Status | Count |
|--------|-------|
| open | N |
| in-progress | N |
| resolved | N |
| abandoned | N |
| unresolved (terminal) | N |

## Hypotheses
| Status | Count |
|--------|-------|
| untested | N |
| confirmed | N |
| refuted | N |
| inconclusive | N |

## Recent activity
- {ts} Cycle N: {hypothesis id} via {modality} -> {result}, then {decision}
- ... (last 5 cycles)

## Eval trend
- Latest score: X (or "self-evaluation")
- Best score: Y
- Trend over last 5 eval runs: improving | flat | declining

## Branches
- {name}: {status}, {cycle} cycles, focus: {current focus}, worktree: {path or "none"}, concluded: yes|no
- (omit this section when no branches exist)

## Attempts inventory
- {N} attempts total
- {M} findings promoted
- Most recent attempts:
  - attempts/{NNN}-{slug}: {one-line note}

Step 5: Suggest Next Actions

  • Concluded (synthesis.md present): point the user to .research/synthesis.md
  • Live and progressing: nothing to do; check back later, or /research-agent:synthesize to wrap up early
  • Interrupted (stale heartbeat, or a legacy run whose session ended): suggest /research-agent:resume
  • Stalled (the last policy.conclude_after cycles in cycles.jsonl have no pass result, or the eval trend is flat or declining): suggest /research-agent:synthesize to lock in current results, or /research-agent:branch to try a competing strategy
  • Fewer than 3 cycles: note that it is too early to judge the trend

04 同仓库更多 Skills

Abdulqudduz
Abdulqudduz/claude-anvil

worldsmith-methodology

Use when working in a project with a worldbuilding documentation ecosystem (docs/ or lore/ directory). Provides the documentation-first methodology: canonical hierarchy, doc roles (timeline, lore, characters, systems), propagation discipline, and the dual canonical and exploratory workflow.

★ 0
Abdulqudduz
Abdulqudduz/claude-anvil

prose-craft

Use when writing fiction, editing fiction prose, reviewing chapters, or drafting scenes. Covers prose craft, dialogue mechanics, scene structure, and common failure modes in AI-assisted fiction. Trigger phrases: "write fiction", "edit chapter", "prose review", "scene draft", "dialogue check", "fiction craft", "edit this scene", "review my prose".

★ 0
Abdulqudduz
Abdulqudduz/claude-anvil

vista

This skill should be used when the user asks about research directions, open problems, future work, or follow-up research from the academic literature. Trigger phrases include "open problems in X", "what's next for Y", "future work for paper Z", "research directions on T", "salient follow-up research", "what should I work on next in", "find me follow-up research unrelated to my prior work", "broad survey of W", "neglected directions in V". Routes the request to the right Vista MCP tool, reads back the structured paper sections, and synthesizes research directions in the conversation.

★ 0
Abdulqudduz
Abdulqudduz/claude-anvil

synthesize

Make a research-agent run conclude and write synthesis.md (outcome, key findings, failed approaches, open questions, recommendations). Signals a live researcher to wrap up, or launches one in synthesis mode when none is running. Use when results are good enough or the agent is stalling.

★ 0
Abdulqudduz
Abdulqudduz/claude-anvil

resume

Resume an interrupted research-agent run from .research/. Re-launches the researcher to reload its structured state and continue from the current focus, optionally on a named branch or with a new budget. Use after a session restart, crash, or explicit pause.

★ 0
Abdulqudduz
Abdulqudduz/claude-anvil

research

Launch an autonomous research agent that iterates toward a goal through proofs, code, simulations, tests, and counterexample search. Fire-and-forget: the agent runs on its own and writes all results to .research/ in the target project.

★ 0