feat: add af-status, af-score, af-dag, af-report slash command skills
This commit is contained in:
25
skills/af-status/SKILL.md
Normal file
25
skills/af-status/SKILL.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
name: af-status
|
||||
description: |
|
||||
Show ArcheFlow status — current/last run, active agents, findings.
|
||||
<example>User: "/af-status"</example>
|
||||
---
|
||||
|
||||
# ArcheFlow Status
|
||||
|
||||
1. Read `.archeflow/state.json` if it exists. Extract: task, phase, cycle, workflow, active agents, findings count, start time.
|
||||
2. If `state.json` does not exist, read the latest entry from `.archeflow/events/index.jsonl`. Extract run_id, task, last event type, timestamp.
|
||||
3. Calculate duration from start time to now (or to completion time if run finished).
|
||||
4. Report as a compact table:
|
||||
|
||||
| Field | Value |
|
||||
|-------|-------|
|
||||
| Run | `<run_id>` |
|
||||
| Task | `<task description>` |
|
||||
| Phase | `<current phase>` |
|
||||
| Cycle | `<cycle number>` |
|
||||
| Workflow | `<fast/standard/thorough>` |
|
||||
| Findings | `<count>` |
|
||||
| Duration | `<elapsed>` |
|
||||
|
||||
5. If no `state.json` and no `index.jsonl`, say: "No active or recent ArcheFlow runs."
|
||||
Reference in New Issue
Block a user