distributions/direct/example/corpus-persona-extraction/SKILL.md
Ingest a corpus of session logs (JSONL transcripts, chat exports) and extract a persona profile — vocabulary frequency, unique idioms and coinages, structural analogies — then synthesize an ideal_yearning and archetypal_pattern and append the result to a {persona_id}.lexicon.yaml. Triggers on "extract persona", "build a lexicon", "map the domain language", or any request to process conversation logs into a voice/vocabulary model.
npx skillsauth add organvm-iv-taxis/a-i--skills corpus-persona-extractionInstall 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.
Distill how a specific voice thinks and speaks from a pile of session logs, and persist it as a machine-usable lexicon that downstream agents can write against.
Agents that work with a long-running human collaborator keep re-learning the same voice from scratch: the coinages, the load-bearing metaphors, the sentence shapes that mean "yes, proceed" versus "you've missed the point." A lexicon file makes that knowledge durable and composable — voice-enforcement gates can score against it, drafting skills can imitate it, and translation layers (persona storefronts) can project from it.
speaker == persona_id turns.analogy: {source_domain} → {target_domain} with 2-3 verbatim examples.These two fields are the lexicon's soul — short synthesized statements, each grounded in ≥3 verbatim quotes:
ideal_yearning — what the persona is reaching toward across all sessions; the recurring wish underneath the tasks. Written as one sentence in the persona's own idiom.archetypal_pattern — the recurring role/shape the persona enacts (e.g. "the conductor who builds the orchestra rather than playing the instrument"). One sentence plus the evidence quotes.These are hypotheses, marked with extraction date and confidence — later blocks may revise them.
# {persona_id}.lexicon.yaml — append block, never rewrite
- extraction:
date: 2026-06-07
corpus: {files: 128, persona_turns: 1432, date_range: [2026-04-17, 2026-06-07]}
redaction: {patterns_run: true, hits_scrubbed: 0}
vocabulary:
coinages:
- term: vacuum
gloss: "an absence that is unrepresented anywhere durable; never a resting state"
examples: ["N/A is a vacuum", "vacuum field burn"]
domain_terms: [...]
inflections: [...]
idioms:
- phrase: "fix bases, not outputs"
meaning: "modify the source/template/pipeline, never the rendered artifact"
analogies:
- source: liturgy/theology
target: configuration management
examples: ["Tier-0 Liturgy", "the Reliquary", "testament"]
register:
profanity: "affection-marker, not hostility"
emphasis: ["em-dash chains", "bold imperatives"]
ideal_yearning: "…" # one sentence, persona's idiom, ≥3 quote citations
archetypal_pattern: "…"
Emit a short extraction report: new coinages since last block, terms that dropped out (candidate drift), and any revision to yearning/pattern with the evidence that forced it. Commit lexicon + report together.
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.
tools
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.