feat: add af-status, af-score, af-dag, af-report slash command skills

This commit is contained in:
2026-04-06 21:10:22 +02:00
parent 43a147676e
commit 6bae80b874
6 changed files with 125 additions and 2 deletions

25
skills/af-status/SKILL.md Normal file
View 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."