/semantic-memory:memory-log-appendfrom semantic-memory
Appends structured JSON events to a consumer's semantic memory log file (.log.jsonl). Used internally by other memory kernel skills or directly for custom event types.
Ships in semantic-memory. 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.
Append a single structured JSON event to a consumer's .log.jsonl file. This is the write primitive for the semantic memory kernel's event stream.
Called internally by other kernel skills (memory-ingest, memory-lint, memory-query-capture) after completing an operation. Can also be called directly for custom event types.
Consumer ID to log against. Resolved via ADR-021 D4 precedence: explicit > wrapper > auto-detect.
Operation type: ingest, lint, query-capture, log-render, index-rebuild, or a custom string.
JSON object with operation-specific fields per the memory-log-event schema.
memory.topology.log path from consumer's manifest.json.ts, op, consumer, actor) are present. Add ts and actor automatically if missing..log.jsonl file (create file if first entry)..aiwg/activity.log per the activity-log rule.The skill auto-populates:
ts — current ISO 8601 timestamp (UTC)actor — current model identifierconsumer — resolved consumer IDThe caller provides op and all operation-specific fields.
memory-lint will flag the corruption.@semantic-memory/schemas/memory-log-event.md
# After an ingest operation
memory-log-append --consumer research-complete --op ingest --data '{"source":"paper.pdf","pages_touched":["summaries/paper.md"],"contradictions":0,"duration_ms":5200}'
# After a lint operation
memory-log-append --consumer sdlc-complete --op lint --data '{"findings":{"error":0,"warning":3,"suggestion":8},"duration_ms":2100}'
This skill's persistence flows through resolveStorage('memory'). On the default fs backend the memory subsystem lives at .aiwg/memory/ and behavior is byte-identical to direct file writes. To redirect memory artifacts into Obsidian, Logseq, Fortemi, or another backend without changing this skill, configure .aiwg/storage.config (#934).
When this skill needs to read or write memory artifacts from a Bash step:
aiwg memory path # resolved root (fs only)
aiwg memory list --prefix research-complete/
aiwg memory get research-complete/index.md
echo "# index" | aiwg memory put research-complete/index.md
echo '{"op":"ingest","summary":"foo"}' | aiwg memory append-log research-complete/.log.jsonl
The aiwg memory append-log subcommand uses atomic O_APPEND (#976) on the fs backend — concurrent appenders don't race.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jmagly/aiwg --plugin semantic-memory5 skills in this plugin
/memory-ingestIngest a source into any consumer's semantic memory by reading the topology contract/memory-lintHealth-check any consumer's semantic memory by composing structural and domain-specific checks/memory-log-renderGenerate a human-readable Markdown view from a consumer's JSON Lines event log/memory-query-captureCapture query synthesis as durable pages in semantic memoryOther plugins' skills for the same job