session-ingestlisted
Install: claude install-skill dnotitia/akb
# AKB Session Ingest
Multi-agent workflow that analyzes a session JSONL file and writes structured notes to an AKB vault.
**Workflow classification.** LLM-wiki **Ingest** workflow. **Cognitive-debt** layer — it captures the in-flight reasoning of a coding session (how the team arrived at an understanding, the decisions and dead ends), turning ephemeral working context into persistent compiled-truth notes (TIL / decision / idea / task) before it evaporates. The four drafter subagents share this classification.
## Prerequisites
- AKB MCP server is accessible.
- `--vault {name}` provided.
## Execution Flow
```text
Phase 0 — Resolve parse args, resolve JSONL path (auto or explicit), maybe delegate & exit
Phase 1 — Prepare detect duplicates, fetch open tasks
Phase 2 — Draft read JSONL, identify commits/repo, draft session note
Phase 3 — Sub-Draft launch til / task / idea / decision drafters; triage ideas
Phase 4 — Write dedup ↔ finalize ↔ write session, sub-notes, resolve tasks
```
## Phase 0 — Resolve & Maybe Delegate
Resolve invocation arguments and the JSONL path. Optionally fire-and-forget to a different target's CLI and exit early. All Phase 1+ work assumes `$VAULT` and `$JSONL_PATH` are set and the JSONL file exists.
### 0-1. Parse Arguments
Parse positional `[jsonl_path]` (optional) and flags:
- `--vault {name}` (required) — hard-fail with `--vault {name} required.` if absent
- `--lang {language}` (optional) — preferred language fo