Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Converts session-orchestrator JSONL metrics and learnings into vault-conformant Markdown notes in a Meta-Vault directory.
Use this skill ↓27% 82%+55 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 6 of 22 without it.
The mirror tool attempts to write a session note, but a file already exists at the target path and it does not contain the `_generator` marker in its frontmatter. What action is emitted and what happens to the file?
States the action emitted is skipped-handwritten
3 of 3 safety checks passed
Project-instruction file resolution:
CLAUDE.mdandAGENTS.md(Codex CLI) are transparent aliases — see skills/_shared/instruction-file-resolution.md. When this skill mentions Session Config inCLAUDE.md, the alias rule applies.
vault-mirror populates the Meta-Vault with machine-generated notes derived from structured JSONL records. It converts entries from .orchestrator/metrics/sessions.jsonl and .orchestrator/metrics/learnings.jsonl into vault-conformant Markdown files under numeric-prefix subdirectories. This is distinct from vault-sync, which validates the vault — vault-sync validates the vault; vault-mirror populates it. The two skills are complementary: vault-mirror writes notes, vault-sync checks that the vault as a whole remains conformant.
vault-mirror is called in two places:
skills/session-end/session-metrics-write.md) — mirrors the sessions.jsonl entry for the closing session.skills/evolve/SKILL.md) — mirrors all learnings.jsonl entries added during the evolve cycle.Both call sites are conditional: vault-mirror runs only when vault-integration.enabled == true AND vault-integration.mode != "off" in the project's Session Config. When either condition is not met, the call site skips silently and vault-mirror is never invoked.
scripts/vault-mirror.mjs is the implementation. All arguments are required except --dry-run.
| Flag | Type | Required | Description |
|---|---|---|---|
--vault-dir | path | yes | Absolute path to the Meta-Vault root directory. Must exist. |
--source | path | yes | Path to the JSONL file to read (one JSON object per line). Must exist. |
--kind | session or learning | yes | Determines which generator and target path are used. |
--dry-run | flag | no | Parse and resolve paths but do not write any files. Emits action lines as normal. |
Empty lines in the JSONL source are silently skipped.
One JSON line is written to stdout for each non-empty JSONL entry processed. Exit code reflects the run outcome.
action | Meaning |
|---|---|
created | Entry did not exist in the vault; file created. |
updated | Entry existed (generator marker present, same id) with an older updated date; file overwritten. |
Next to this one in the catalogue, plus more from the same author.