/ctx:ctx-journal-enrichfrom ctx
Enriches journal entries with structured YAML frontmatter including titles, types, outcomes, topics, technologies, libraries, and key files. Useful for building searchable session archives.
Ships in ctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Enrich a session journal entry with structured metadata.
.state.json has a
locked date OR the frontmatter contains locked: true. Locked
files must not be modified: skip them silently. Check via:
ctx system mark-journal --check <filename> locked
or look for locked: true in the YAML frontmatter.ctx system mark-journal --check <filename> enriched or read
.state.json in the journal directory; confirm before overwritingThe user specifies a journal entry by partial match:
twinkly-stirring-kettle (slug)twinkly (partial slug)2026-01-24 (date)76fe2ab9 (short ID)Find matching files in the journal directory:
ls "$(ctx system bootstrap -q)/journal/"*.md | grep -i "<pattern>"
If multiple matches, show them and ask which one.
If no argument given, show recent unenriched entries by reading
.state.json in the journal directory and listing entries without
an enriched date:
# List unenriched entries using state file
CTX_PATH=$(ctx system bootstrap -q)
for f in "$CTX_PATH/journal/"*.md; do
name=$(basename "$f")
ctx system mark-journal --check "$name" enriched || echo "$f"
done | head -10
/ctx-journal-enrich twinkly-stirring-kettle
/ctx-journal-enrich twinkly
/ctx-journal-enrich 2026-01-24
/ctx-journal-enrich 76fe2ab9
Read the journal entry and extract:
---
title: "Session title"
date: 2026-01-27
model: claude-opus-4-6 # auto-populated at import
tokens_in: 234000 # auto-populated at import
tokens_out: 89000 # auto-populated at import
type: feature
outcome: completed
topics:
- authentication
- caching
technologies:
- go
- postgresql
libraries:
- cobra
- fatih/color
key_files:
- internal/auth/token.go
- internal/db/cache.go
---
Auto-populated fields (set during ctx journal import, do NOT overwrite):
date, time, project, session_id, model, tokens_in, tokens_out, branch
Type values:
| Type | When to use |
|---|---|
feature | Building new functionality |
bugfix | Fixing broken behavior |
refactor | Restructuring without behavior change |
exploration | Research, learning, experimentation |
debugging | Investigating issues |
documentation | Writing docs, comments, README |
Outcome values:
| Outcome | Meaning |
|---|---|
completed | Goal achieved |
partial | Some progress, work continues |
abandoned | Stopped pursuing this approach |
blocked | Waiting on external dependency |
If ## Summary says "[Add your summary...]", replace with 2-3 sentences
describing what was accomplished.
Scan the conversation and extract:
Decisions made: link to DECISIONS.md if persisted:
## Decisions
- Used Redis for caching ([D12](../DECISIONS.md#d12))
- Chose JWT over sessions (not yet persisted)
Learnings discovered: link to LEARNINGS.md if persisted:
## Learnings
- Token refresh requires cache invalidation ([L8](../LEARNINGS.md#l8))
- Go's defer runs LIFO (new insight)
Tasks completed/created:
## Tasks
- [x] Implement caching layer
- [ ] Add cache metrics (created this session)
ctx system mark-journal <filename> enriched
ctx journal site --build or make journalWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub activememory/ctx --plugin ctx54 skills in this plugin
/ctx-agentLoad full context packet. Use at session start or when context seems stale or incomplete./ctx-architectureBuild and maintain architecture maps. Use to create or refresh ARCHITECTURE.md and DETAILED_DESIGN.md. Supports principal mode for deeper analysis: vision, future direction, bottlenecks, implementation alternatives, gaps, upstream proposals, and intervention points./ctx-architecture-enrichEnrich architecture artifacts with code intelligence data. Takes existing /ctx-architecture output as baseline, verifies and quantifies with GitNexus MCP (blast radius, execution flows, domain clustering, registration sites). Run after /ctx-architecture, not instead of it./ctx-architecture-failure-analysisAdversarial failure analysis for codebases. Generates falsifiable incident hypotheses: race conditions, ordering assumptions, cache staleness, error swallowing, ownership gaps, idempotency failures, and scaling cliffs. Produces DANGER-ZONES.md with evidence-backed, ranked findings./ctx-archiveArchive completed tasks. Use when TASKS.md has many completed items cluttering the view./ctx-blogGenerate blog post draft. Use when documenting project progress, sharing learnings, or writing about development experience.Other plugins' skills for the same job