In short.
ktx Wiki Capture is a memory skill for teams building analytics assistants, but it needs a runtime that provides its wiki, data-discovery and database tools. It describes how to preserve business definitions, verify database references, connect related knowledge and distinguish personal rules from organization-wide rules. Its instructions are detailed, although the worked example omits a required discovery step and naming guidance is inconsistent. Installation, operating costs and runtime enforcement are unknown; no execution results are available.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the selected packages/cli/src/skills/wiki_capture folder, represented by its complete SKILL.md, and the accompanying repository-level LICENSE at revision 49a4ae6f5b28c904da921afc0ee72da6db7ac202. The rest of ktx, including runtime code, tool implementations and dependencies, is outside this scope. No code or tools were executed; successful capture, persistence, scope enforcement and integration remain unverified.
The overview
Identity
wiki_capture is an instruction file in Kaelio/ktx, designed to be loaded only by the post-turn memory_agent. Its purpose is to maintain reusable business knowledge for an analytics assistant. The research agent is described as reading that knowledge through wiki_read and wiki_search without writing it.
The original source folder is [https://github.com/Kaelio/ktx/tree/main/packages/cli/src/skills/wiki_capture]. The resource covered here is this skill, rather than the complete ktx application.
Assessment
The design appears useful where an analytics assistant needs consistent interpretations of business terms across conversations. It gives concrete criteria for saving knowledge, updating existing pages and checking references before writing.
Its strongest feature is the separation of durable rules from changing numbers. Practical usefulness depends on the surrounding tool implementations and the agent following the instructions; neither successful integration nor capture accuracy is established.
Who it is for
The clearest audience is developers and analytics teams extending a ktx assistant with organizational definitions, exclusions, aliases and database-specific conventions. Administrators can supply shared knowledge through document ingestion, while chat users can have personal rules when user-scoped knowledge is enabled.
Beginners can understand its capture principles, but deployment requires familiarity with agent tools, database connections and the semantic layer: the shared definitions of measures and data relationships.
Capabilities
The skill describes capturing metric definitions, standing filters, aliases, domain rules and conventions for external systems. It supports creating pages, merging knowledge into existing pages, replacing exact passages and removing genuinely obsolete pages.
Pages can carry topic tags, links to related wiki pages, semantic-layer references and database connection identifiers. External-ingest writes and removals must identify the raw files supporting each action through rawPaths.
Using it
Requirements
The instructions assume a memory-agent session with a supplied wiki index and access to discover_data, wiki_search, wiki_read, wiki_write and wiki_list_tags. Metric-related work also uses sl_discover and sl_read_source; obsolete-page removal uses wiki_remove.
Physical database identifiers require entity_details verification. SQL probes may be needed to check identifiers or literal values, using sql_execution with the relevant connectionId. Supported models, runtime versions, database connectors and credential configuration are not specified.
How it works
The agent first decides whether information is durable, discovers existing knowledge and data, reads any page being updated, and then writes or merges the rule. Physical identifiers must be verified or explicitly marked unverified with their source path.
The documented runtime routes chat writes to personal scope when user-scoped knowledge is enabled, admin external-ingest writes to global scope, and all writes to global scope when user-scoped knowledge is disabled. A personal page with the same key can override a global rule at read time.
Connection metadata distinguishes database-specific knowledge from organization-wide knowledge. For tags, refs, sl_refs and connections, omission preserves the existing value, an empty array clears it, and a supplied array replaces it completely.
Setup
The source identifies the intended caller and tool contracts, but provides no installation commands or standalone deployment instructions. Setup therefore requires an existing compatible integration or additional runtime documentation.
Before adoption, confirm how the memory agent receives the wiki index, user scope, connection identity and ingestion provenance. Merely loading the text does not establish that its named tools or scope protections exist.
Example
The worked example captures an official refund-rate definition: total refunded amount divided by total gross transaction amount. It searches related knowledge, inspects candidate semantic sources and saves a refund-rate-definition page linked to a revenue definition and relevant measures.
Names such as fct_orders and revenue-definition are illustrative, not verified objects in a reader's environment. The example also omits discover_data, which the general protocol requires before any wiki or semantic-layer write, so its call sequence is incomplete.
Assessment & evidence
Limitations
The instructions deliberately exclude one-off requests, temporary formatting preferences, query-result snapshots and interpretations tied to changing data. They also direct column metadata, join paths and measure formulas to the semantic layer rather than the wiki.
Naming guidance calls for kebab-case keys but gives orders_sales_db as a connection-specific example. Accepted key syntax therefore needs runtime confirmation. Capture quality, permission enforcement, connection isolation and persistence have not been assessed through execution.
Design rationale
Separating rules from query results should reduce the risk of treating old numbers as current facts. Searching before writing and preferring updates over duplicate pages should also help keep definitions connected. These are expected benefits of the design, not measured outcomes.
Identifier checks address plausible but nonexistent database references. Explicit replacement semantics make updates predictable, but callers must preserve existing array values themselves when they intend to add rather than replace metadata.
Alternative approaches
The skill itself identifies alternatives for different kinds of information: use the semantic layer for formulas and relationships, query execution for current values, and no persistent write for temporary requests. Updating an existing page is preferred over creating another page on the same topic.
No other memory products or standalone integrations are documented, so comparative features, costs and migration effort are unknown.
Evidence
The behavioral evidence is the complete wiki_capture/SKILL.md at revision 49a4ae6f5b28c904da921afc0ee72da6db7ac202 [https://raw.githubusercontent.com/Kaelio/ktx/49a4ae6f5b28c904da921afc0ee72da6db7ac202/packages/cli/src/skills/wiki_capture/SKILL.md]. It establishes the intended procedure, rather than demonstrating runtime behavior.
The accompanying rights evidence is the repository LICENSE at the same revision [https://raw.githubusercontent.com/Kaelio/ktx/49a4ae6f5b28c904da921afc0ee72da6db7ac202/LICENSE]. Runtime code, tool implementations, execution logs and benchmark results are not included.
Access & freshness
Costs
Operating cost is unknown. The source gives no model, hosting, storage, warehouse-query or support prices, and no usage measurements from which to estimate them.
Apache 2.0 provides no-charge copyright and specified patent permissions. Those permissions do not establish that running the surrounding assistant or database tools is free.
Rights and redistribution
The supplied repository LICENSE is Apache License 2.0. It permits reproduction, modification and redistribution under its conditions. Redistributed copies must include the license; modified files need change notices; relevant source notices and any applicable NOTICE attribution must be retained.
The license includes a contributor patent grant with termination conditions and provides the work without warranties. It does not grant general trademark rights. Other components elsewhere in ktx are outside the supplied scope.
Freshness
The available source snapshot was captured on 16 November 2026 at 22:41:14.870 UTC and is pinned to revision 49a4ae6f5b28c904da921afc0ee72da6db7ac202. This identifies the documented text; it does not establish its publication date or whether the main branch still matches it.
No skill release number or compatibility history is supplied. Later changes and compatibility with a particular installed ktx version are unknown.
Practical next steps
For a prospective integration, confirm that the post-turn memory agent supplies the required tools and context. Resolve the key-naming inconsistency and follow the full discovery protocol rather than copying the abbreviated refund-rate example.
Useful evaluation cases include personal overrides of global rules, two databases with overlapping names, omitted versus cleared metadata arrays, and source-file provenance during external ingestion. These are proposed checks; no execution results are available.
