kaelio avatar

Wiki Capture

This handles the write path for ktx's institutional memory: metric definitions, filter conventions, aliases, and cross-references to semantic layer sources. It's loaded exclusively by the memory agent after each turn, while the research agent reads wiki pages but never writes them. The scope routing is automatic (personal vs. global), but the real judgment call is what to capture at all. Capture durable rules like "revenue means booked revenue after refunds" or "exclude test accounts from ARR." Skip one-off requests, formatting preferences, and especially query results or time-bounded snapshots, which go stale the moment new data lands. The identifier verification protocol is thorough, requiring entity_details checks before writing any schema.table references to avoid fictional identifiers making it into the knowledge base.

GitHub stars
1.1K
last updated
Jun 11, 2026

Install

$ npx -y skills add kaelio/ktx --skill wiki_capture --agent claude-code

Installs into .claude/skills of the current project.

Files

Wiki Capture

Role

The 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.

Scope selection is handled by the runtime:

  • When user-scoped knowledge is enabled AND the caller is a chat turn, writes go to the user's personal scope.
  • When the caller is an admin-driven ingest (sourceType: 'external_ingest'), writes go to the global scope.
  • When user-scoped knowledge is disabled, all writes go to the global scope.

The 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.

What to capture

Sponsors

Details

Repository
github.com/kaelio/ktx
Categories
Documentation, AI & Agent Building, Data Science & ML, Automation & Workflows
License
Apache-2.0
First seen
Jun 11, 2026

More from kaelio/ktx

All 15
1sunflowermm avatarxrk-docssunflowermm/XRK-AGT需要快速定位「该看哪份文档/哪段代码/哪份配置」时使用;提供文档导航与权威路径。0skills.sh installs
2syahiidkamil avatarhuman-writingsyahiidkamil/software-engineer-ai-agent-atlasWrite content in any language indistinguishable from a skilled human writer. Avoids AI-sounding phrases, varies sentence structure, creates natural prose. Detec0skills.sh installs
3tomcoolpxl avatarWriting Phaser 3 Gamestomcoolpxl/sugar-splatProvides battle-tested patterns, best practices, and code examples for building Phaser 3 games. Use when writing game code, implementing game mechanics, setting0skills.sh installs
4mattpocock avatarwriting-for-agentsmattpocock/skillsWriting documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.539.3Kskills.sh installs
5mattpocock avatarwriting-beatsmattpocock/skillsWriting, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.531Kskills.sh installs
6mattpocock avatarwriting-shapemattpocock/skillsWriting, exploit — shape raw material into an article, paragraph by paragraph.530.7Kskills.sh installs