com um clique
close-session
Close a session and create a vault conversation node
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Close a session and create a vault conversation node
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Use when deciding whether work merits a governed multi-agent dispatch and, when it does, proposing, tension-checking, confirming, registering, running, closing, and observing that dispatch through repository-local bindings.
Use when deciding whether work merits a governed multi-agent dispatch and, when it does, proposing, tension-checking, confirming, registering, running, closing, and observing that dispatch through repository-local bindings.
The design principle behind Principle 5 (pairwise tension) of the subagents-strategy constitution. Use when designing the angle set for an n≥2 subject group (role investigate or evaluate) so the agents' micro-vectors are structurally opposed and their correlated bias cancels under composition — not merely non-overlapping. This is the design/theory layer; check-tension is the executable gate that enforces it before the human confirm.
Use when: building a compact, task-ready context pack from selector-level evidence and obligation-linked excerpts.
Route repository work through installed Arcanum capabilities and execute validated capability-bound dispatches through host-native operations.
Route repository work through installed Arcanum capabilities and execute validated capability-bound dispatches through host-native operations.
| name | close-session |
| description | Close a session and create a vault conversation node |
Classification source of truth:
docs/vault/ontology-conventions.md.
Create a node if any is true: vault doc changed/created/deleted, domain code changed, architectural decision made, tests added/modified, contradiction found/resolved.
Skip if: no vault/code changes AND purely Q&A with no decisions. Say "Q&A-only session. No vault node created." and stop.
Scratchpad: Check claude/current_conversations/ for a session file. If found, use it as primary input and delete it after saving the node.
Write up to 10 sentences: what the session set out to do, what was decided (and why), what was done. No sub-headings, no per-file detail. A reader should grasp the arc without access to the conversation. Also draft the Forward lines yourself (Step 3). The discriminating test is a judgment — never delegated to Sonnet.
Spawn an Agent (model: sonnet) with your summary + list of files touched. It returns:
ontology-conventions.md.Sonnet returns the above only — it never writes the ## Forward block (that block is yours, Step 1).
File: docs/vault/conversations/YYYY-MM-DD-HHMM-{short-slug}.md
---
tags: [{tag1}, {tag2}]
node_type: {type}
is_session: true
layer: {layer}
nature: {nature}
status: active
created: YYYY-MM-DD
timestamp: YYYY-MM-DDTHH:MM:SS±HH:MM
expires: {created + 60 days}
conversation_id: {id}
decisions_made: true | false
contradictions_found: true | false
specs_updated: [paths or []]
promoted_candidates: [nodes or []]
expected_importance: {0-10}
importance_rationale: "{sentence}"
---
# {Title}
## Summary
{max 10 sentences from Step 1}
## Contradictions
{Omit if none. One bullet per edge: "validates/contradicts/questions {node} — reason."}
## Open questions
{A claim the session did NOT decide — a question or conjecture, never a task. Node-less only: a question naming a vault/spec node is a `questions {node}` Contradictions edge, not an Open question. Omit if nothing is genuinely undecided.}
## Next steps
{A decided action, method known — only labor remains. Imperative, priority-ordered, what+where. A step worth standing tracking is promoted to the backlog and linked via `promoted_candidates`; the line here is then a pointer. Omit if the arc is closed.}
## Recommendation
{Your call: of the items above, the keystone and how the next session should attack it. Recommend a direction, never assert the outcome; name the licensing fact — a validated node, a landed test, a resolved contradiction — or self-label a hunch. References only items above. Omit on routine sessions; never a placeholder.}
## Files touched
{Flat bullet list of paths. No table, no descriptions.}
Apply these while drafting (Step 1) and assembling (Step 3) the three forward sections.
questions {node} edge → ## Contradictions, not Open questions (else the two double-record). Mechanical test: if the target can be written as an existing file path, it is a Contradictions edge; otherwise an Open question.promoted_candidates; the Next-steps line is then only a pointer. To promote: append it to docs/vault/backlog/{topic}.md per .claude/skills/custom/backlog-pattern.md, then list that path. Not promoting? Keep it body-only and leave promoted_candidates: [].Hard cap: The body (below frontmatter) must not exceed 200 lines. If it does, you are writing too much — cut. The three forward sections count inside the 200 and are the lowest-priority — if over cap, trim them first, then omit them.
Before the node is final, spawn two Agents (model: sonnet) in parallel, each given the assembled node + the list of files touched. They review independently:
ontology-conventions.md; frontmatter is well-formed; the body is within the 200-line cap.Each returns PASS or a list of concrete problems. If either returns problems, send the node back to the writing agent (the one that wrote it, Steps 1/3) to fix, then re-review. Only a clean PASS from both finalizes the node.