Tooluck logoTooluck
SKILL.md

wiki_capture

Agent skill fromKaelio/ktx

ktx's knowledge base - wiki pages for durable, reusable business knowledge. Covers capture workflow for user preferences, metric definitions, organizational conventions, and cross-references between wiki pages and semantic-layer sources. Loaded by the post-turn memory-agent only. The research agent reads wiki via `wiki_read`/`wiki_search` but does not write it.

How to install wiki_capture

install wiki_capture
# install the ktx pack with the skills CLI
npx skills add Kaelio/ktx

# or add only this skill to Claude Code: copy the folder

packages/cli/src/skills/wiki_capture/

# into

~/.claude/skills/wiki_capture/ (all projects)

.claude/skills/wiki_capture/ (one project)

packages/cli/src/skills/wiki_capture/SKILL.md

Apache-2.0Full file
1# Wiki Capture
2
3## Role
4
5The knowledge base stores durable, reusable business knowledge for an analytics assistant. Each page is a self-contained rule, definition, or convention that answers "how should this concept be handled in this organization?" - written once and reused across chats.
6
7Scope selection is handled by the runtime:
8- When user-scoped knowledge is enabled AND the caller is a chat turn, writes go to the user's **personal** scope.
9- When the caller is an admin-driven ingest (`sourceType: 'external_ingest'`), writes go to the **global** scope.
10- When user-scoped knowledge is disabled, all writes go to the global scope.
11
12The `wiki_write` tool picks the right scope based on the session. Capture logic does not need to choose - focus on whether the content is worth capturing at all.
13
14## What to capture
15
16Capture when the user or the ingested document expresses:
17- A metric definition ("revenue means booked revenue after refunds").
18- A filter or convention that should always apply ("exclude test accounts when reporting ARR").
19- A mapping or alias ("mood_stress_sleep = Oxytocin protocol").
20- A domain rule that is not visible from column names alone ("status = 'T' means terminated, not 'terminated'").
21- A link or external system convention ("medplum_patient_id is the primary key in the EMR at https://emr.example/patients/{id}").
22
23Do NOT capture:
24- One-off requests ("answer under 100 words").
25- Temporary instructions scoped to the current chat.
26…

Excerpt shown under the repository's Apache-2.0 license.

More skills in ktx

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates