tedydev-web/llm-wiki-skills/wiki-memory

Claude Code and agent skill by tedydev-web/llm-wiki-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Optional add-on: capture Claude Code session transcripts as wiki sources for later ingest. Off by default. Subcommands: enable, disable, status, flush, logs.

Install

npx vskill@latest install tedydev-web/llm-wiki-skills/wiki-memory

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as tedydev-web/llm-wiki-skills/wiki-memory.

wiki-memory — Session Transcript Capture

Optional add-on skill that registers Claude Code lifecycle hooks to capture session transcripts into your LLM Wiki vault's raw source directory. Captured transcripts become ingest candidates for /wiki-ingest. The skill is off by default — nothing runs until you explicitly enable it.

Privacy Notice

WARNING: Captured transcripts contain your full conversation with the LLM, including any secrets, API keys, passwords, or personal data you have pasted into the session. Before enabling this skill:
- Add raw/sessions/ to your vault's .gitignore (and .obsidianignore) before enabling capture.
- Never commit transcript files to a public or shared repository.
- Review captured files before running /wiki-ingest on them — scrub any sensitive content first.
- If you work in a shared environment, confirm that your vault storage path is not synced to a shared drive while capture is active.
You accept full responsibility for the content of any captured transcripts.

Activation

/wiki-memory enable [--scope global|project]
  • --scope global — registers hooks in ~/.claude/settings.json (affects all projects)
  • --scope project — registers hooks in ./.claude/settings.json (current project only, default)

Auto-compile on SessionEnd is deferred to v1.2 — for now, run /wiki-ingest manually after reviewing transcripts.

Subcommands

SubcommandScriptDescription
enablescripts/enable-hooks.shRegister 3 lifecycle hooks in the target settings.json
disablescripts/disable-hooks.shRemove hooks from settings.json; leave captured files intact
statusscripts/status.shShow whether hooks are registered + last capture timestamp
flushscripts/flush-session.shForce-write the current in-progress session buffer to disk
logsscripts/logs.shTail or page the capture log for the current project/global scope

Capture Flow

Claude Code lifecycle
│
▼
┌──────────────┐ SessionStart hook
│ hook-session │──► create session buffer file at raw/sessions/<session-id>.md
│ -start.sh │
└──────────────┘
│
(conversation in progress)
│
▼
┌──────────────┐ PreCompact hook (non-blocking)
│ hook-pre- │──► snapshot current transcript to buffer
│ compact.sh │ (must not throw — isolated error handling)
└──────────────┘
│
▼
┌──────────────┐ SessionEnd hook
│ hook-session │──► finalize transcript file, append metadata frontmatter,
│ -end.sh │ write to raw/sessions/<session-id>.md
└──────────────┘
│
▼
raw/sessions/<session-id>.md ←── ready for manual /wiki-ingest

Anti-Pattern Warnings

  • Do not edit `settings.json` manually while hooks are active — use disable then enable to regenerate entries cleanly.
  • PreCompact hook must never block — the hook implementation uses isolated error trapping; a failure in snapshot logic will log to .wiki-memory.log and exit 0 so Claude Code's compaction proceeds unaffected.
  • Do not run `flush` mid-sentence — flush captures the buffer as-is; an incomplete exchange will appear truncated in the transcript.
  • Scope mismatch — if you enabled globally but want per-project overrides, disable globally first to avoid duplicate hook entries.

Related Files

  • references/hooks-template.json — hook entry template merged into settings.json by enable-hooks.sh
  • references/memory-schema.md — documents the raw/sessions/ directory layout and .state.json format

Related Skills

  • /wiki-ingest — processes raw/ files (including captured transcripts) into structured wiki pages
  • /wiki — initial vault setup (run before enabling wiki-memory)
  • /wiki-query — query and synthesize from compiled wiki pages

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks
  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tedydev-web/llm-wiki-skills/wiki-memory/badge)](https://verified-skill.com/skills/tedydev-web/llm-wiki-skills/wiki-memory)

Something wrong with this skill or its page? Tell us.