distributions/direct/example/session-governance-audit/SKILL.md
Parse a session transcript into a structured Session Governance Index — an annotated bibliography of every file modified and commit made, internal-energy accounting (tool uses, estimated tokens), shipped-vs-tasked atom tally, and classification of missing items as Gaps or Vacuums. Triggers on "visibility-schema-substrate-sweep", "session cascade audit", "session governance audit", or any request to summarize what a session actually produced versus what it was asked to produce.
npx skillsauth add organvm-iv-taxis/a-i--skills session-governance-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Turn a raw session transcript into an accountable record: what was touched, what it cost, what shipped against what was asked, and — most importantly — what is missing and which kind of missing it is.
Sessions produce two failure modes that look identical from the outside: work that was attempted and incomplete (a Gap) and work that was never represented anywhere at all (a Vacuum). Closeout rituals catch the first; only a deliberate sweep catches the second. This skill is the deliberate sweep — the "hall monitor" pass that compiles evidence rather than trusting the session's own self-report.
Collect everything the session was supposed to do:
Number them T-01 … T-NN.
Walk the transcript chronologically and record every artifact event:
| ID | Artifact | Event | Evidence | Verified? |
|----|----------|-------|----------|-----------|
| A-01 | path/to/file | created / modified / deleted / committed / pushed | commit SHA, tool-use ref, or diff excerpt | disk/remote check result |
Rules:
git log/git show for commits, test -f/content grep for files, remote ref comparison for pushes. Mark unverifiable claims UNVERIFIED, not shipped.Estimate what the session consumed:
Energy data contextualizes the tally: a session that burned 400K tokens to ship 1 of 7 tasked atoms reads very differently from one that shipped 6 of 7.
Cross-join the tasked set against the shipped set:
SHIPPED — tasked atom with verified artifact evidencePARTIAL — evidence of attempt, incomplete resultUNSHIPPED — no artifact evidence at allUNTASKED-SHIPPED — artifacts with no originating task (scope additions; flag, don't condemn)For every PARTIAL and UNSHIPPED atom, classify:
A vacuum that this audit names but does not file remains a vacuum. The audit is not complete until every vacuum has a durable home.
Assemble the report:
# Session Governance Index — {session-id} ({date})
## 1. Identity — session id(s), agent, scope, duration
## 2. Bibliography — the verified artifact table (step 2)
## 3. Energy — tool-use counts, token estimate, subagent attribution
## 4. Tally — shipped / partial / unshipped / untasked-shipped counts + per-atom table
## 5. Gaps — each with its existing durable representation
## 6. Vacuums — each with the durable home filed during this audit
## 7. Verdict — one paragraph: did the session do what it said it did?
Route the index to the session's governance home (e.g. docs/evaluation/ or the session archive), commit it, and reference it from the closeout record.
Tasked: "fix the CI matrix and push" (T-01, T-02). Transcript shows an edit to
.github/workflows/ci.yml(A-01, verified viagit show abc1234) and a push claim with no remote evidence (A-02,git branch -r --containsempty → UNVERIFIED). Tally: T-01 SHIPPED, T-02 UNSHIPPED. Classification: T-02 is a Gap if the push failure is recorded in a handoff doc; a Vacuum if nothing durable mentions it — in which case fileIRF-OPS-NNN: push abc1234 to originnow and record the ID in §6.
development
Dry-run audit + targeted cleanup for shell command history. Currently wraps atuin (stats today, prune, dedup with dated preview artifacts); extensible to zsh/bash/mcfly backends. Always previews before applying — apply commands are echoed for the human to run, never auto-executed. Triggers on "/shell-history-hygiene", "audit atuin", "audit shell history", "clean shell history", "atuin prune", "atuin dedup", "shell history hygiene", "history cleanup". Replaces ad-hoc one-liners (e.g. `... | tee cmd > file.txt` which wrote two files, swallowed dedup output, and left a junk `cmd` file).
tools
Guided Cowork setup — install role-matched plugins, connect your tools, try a skill.
development
Manage AI agent session lifecycles with structured phases (FRAME, SHAPE, BUILD, PROVE), context preservation across sessions, handoff protocols, and session metadata tracking. Triggers on session management, agent lifecycle, or multi-session workflow requests.
testing
Conducts systematic security analyses using methodologies like STRIDE to identify vulnerabilities in software architectures and propose mitigations.