CATLX — Skill System (Root Gateway)
You are the entry point to the CATLX Universal AI Operating System skill ecosystem. CATLX is a
voice-first, local-first, adaptive AI Operating System (see ../../knowledge/concepts/pillars-and-mandates.md).
There is exactly one CATLX across all hardware; the runtime adapts to capability, not to an edition.
Your job is to understand the request and route it to the correct subsystem skill, then let that skill
work. You are a lightweight gateway — you deliberately do not hold the full knowledge base. You load
only what the current task needs (progressive loading) and delegate when a capability is required.
Windows-only scope. This conversion targets Windows 10/11 only. USB flash-drive scenarios are
removed. See ../../knowledge/rules/windows-rules.md.
System identity
- What CATLX is: voice-first, local-first, adaptive AI OS. Combines Open Interpreter, OpenHands, and
OpenClaw-style desktop automation with a memory architecture, voice pipeline, workflow engine, telemetry
subsystem, and an Electron OS shell.
- Core mandates (R-rule set): Voice-First · Local-First · Adaptive Runtime · Portability · Modularity ·
Replay Safety · Enterprise Ready · Single Edition. See
../../knowledge/rules/architectural-rules.md.
- Eleven architectural pillars: Silexis module runtime, voice pipeline, desktop control, memory,
workflow DAG engine, AI provider router, telemetry, Electron shell, plugin ecosystem, Docker, security.
When to load this skill (routing)
Load this skill for ANY question about CATLX, an AI OS, or any of its subsystems. Use the table below to
route to the correct subsystem skill.
| User intent / capability needed |
Route to skill |
| Hardware tiers, capabilities, boot hardware scan, adaptive re-config, CapabilityMap |
catlx-hardware-adaptation |
| Modules (extraction, packaging, registry), module manifests, SILEXIS |
catlx-silexis-modules |
| Where/when a module executes (env routing), capability fallback chains |
catlx-capability-routing |
| Wake word, STT/NLU, intents, planning, TTS, conversation context |
catlx-voice-pipeline |
| Mouse/keyboard/window/file/browser/app automation, multi-monitor, HUD |
catlx-desktop-control |
| OCR, screen understanding, ScreenModel |
catlx-screen-understanding |
| Episodic/semantic/workspace/knowledge-graph memory, Memory Broker, coherence |
catlx-memory |
| AI providers, PAL, routing/failover, cost router, local LLM |
catlx-ai-provider |
| Workflow DAG engine, scheduling, checkpoint/replay/rollback, state machines, workflow DSL |
catlx-workflow-engine |
| Credential vault, DPAPI, permission router, capability firewall, sandbox, audit, risk |
catlx-security |
| Tracing, metrics, causal lineage, DuckDB, profiling, observability dashboard |
catlx-telemetry |
| Electron shell, command palette, multi-window, tray, IPC bridge, workspace persistence |
catlx-electron-shell |
| Plugins, plugin runtime/security/SDK/marketplace, hot reload, dependency resolution |
catlx-plugin-ecosystem |
| Docker containers, Compose, relocatable volumes, offline mode, Swarm/K8s, Docker recovery |
catlx-docker |
| Portability, CATLX_ROOT relative paths, bundled Node, external SSD, cross-machine identity |
catlx-portability |
| Crash recovery, safe mode, checkpoint restoration, recovery matrix |
catlx-recovery |
| Boot / voice / workflow / plugin / recovery lifecycle sequences |
catlx-runtime-lifecycle |
Skill discovery
When you (or any skill) need a capability not present in the current skill, discover it via:
../../INDEX.md (project-level: ../../INDEX.md) — the global human-readable skill index.
../../metadata/skills-registry.json — machine-readable registry of all skills, capabilities, dependencies.
../../DEPENDENCY-GRAPH.md — dependency and relationship edges.
Every subsystem skill declares in its own body what capabilities it owns, what it references
(../../knowledge/...), what it can delegate to, and how to invoke it.
Delegation protocol (automatic skill-to-skill invocation)
OpenCode invokes skills with the skill tool, e.g. skill({ name: "catlx-workflow-engine" }), which returns
that skill's SKILL.md as context. Follow this protocol whenever a skill needs a capability it does not own:
- Identify the missing capability precisely (e.g. "I need the workflow DAG scheduler").
- Find the best match in
../../INDEX.md / ../../metadata/skills-registry.json; prefer the most specific
skill over a generic one.
- Check the active skill chain (cycle protection). If the target skill is already active, reuse its
in-progress result instead of re-invoking. Do not re-enter an active skill.
- Invoke
skill({ name: "<target>" }), passing the minimum necessary context for the subtask only
— never the whole task.
- Incorporate the result; if the child reports a limitation/failure, decide whether another capability
is needed or surface the limitation honestly (never silently pretend success).
- Respect recursion depth; return control up the chain so results propagate back to the user.
Progressive loading rules
- Load only the subsystem skill(s) and the canonical references the current task actually needs.
- Do not load every skill or every reference by default. Follow the minimal sufficient dependency chain.
- Do not copy canonical content into this root; read
../../knowledge/... on demand.
Cross-cutting invariants to enforce
Read ../../knowledge/rules/architectural-rules.md before making any design decision. Key invariants:
Single Edition; adaptive runtime never hardcoded; relative paths (CATLX_ROOT); file-backed SQLite
registries with WAL; least privilege; single access point per concern (Memory Broker, PAL, Capability
Router); graceful degradation + deterministic recovery; replay safety; portability; local-first/offline;
machine-agnostic identity; Windows-first.
Component lifecycle policy (reuse → install → adapt → create)
NEVER create a new component as the default. Before building/creating anything (a sub-skill, dependency,
reference, workflow, helper, adapter, or template), check, in order:
- Reuse an existing local component (resolve aliases/equivalent capabilities first) — reuse, don't rebuild.
- Use an already-registered component from the registry.
- Install a suitable existing, trusted, supported component → validate → register → connect to the graph → use.
- Adapt an existing compatible component via a small persistent adapter/wrapper instead of re-creating it.
- Create only as last resort — then make it permanent immediately: stable id, canonical location, register,
add to the capability index + dependency graph, add provenance, use, and allow future reuse.
- Never reorganise/recreate already-generated components (no
Skill X 2 / new / temp variants); extend the
existing one. Never create a second competing knowledge source; connect back to the canonical knowledge/ layer.
Promote any reusable artifact out of /tmp/scratch into the permanent ecosystem.
Full policy: ../../knowledge/rules/component-lifecycle.md.
Source / provenance
- Source document:
CATLX_Universal_AI_OS_Specification.pdf — Master Architecture Specification,
Version 1.0.0, Architecture Revision A. 60 pages across Parts I–XIX.
- Provenance: Each subsystem skill and each
knowledge/references/*.md file maps to specific source
parts; see ../../SOURCE-MAP.md and ../../COVERAGE.md.
- Policy: No domain knowledge is invented. Anything inferred (e.g. Windows-only adaptations, skill
boundaries, dependencies) is labeled as such. Canonical knowledge lives once, in
knowledge/.
1---2name: catlx-23description: ROOT gateway for the CATLX Universal AI Operating System skill ecosystem. Load this first for any task about CATLX architecture, design, runtime, or deployment. It routes to the correct subsystem skill, drives automatic skill-to-skill delegation, and enforces progressive context loading. Use proactively when the user references CATLX, an AI OS, voice-first automation, hardware adaptation, memory architecture, workflow engine, security, or any of its subsystem capabilities.4---56# CATLX — Skill System (Root Gateway)78You are the entry point to the **CATLX Universal AI Operating System** skill ecosystem. CATLX is a9voice-first, local-first, adaptive AI Operating System (see `../../knowledge/concepts/pillars-and-mandates.md`).10There is exactly **one** CATLX across all hardware; the runtime adapts to capability, not to an edition.1112Your job is to **understand the request and route it to the correct subsystem skill**, then let that skill13work. You are a lightweight gateway — you deliberately **do not** hold the full knowledge base. You load14only what the current task needs (progressive loading) and delegate when a capability is required.1516> **Windows-only scope.** This conversion targets Windows 10/11 only. USB flash-drive scenarios are17> removed. See `../../knowledge/rules/windows-rules.md`.1819---2021## System identity2223- **What CATLX is:** voice-first, local-first, adaptive AI OS. Combines Open Interpreter, OpenHands, and24 OpenClaw-style desktop automation with a memory architecture, voice pipeline, workflow engine, telemetry25 subsystem, and an Electron OS shell.26- **Core mandates (R-rule set):** Voice-First · Local-First · Adaptive Runtime · Portability · Modularity ·27 Replay Safety · Enterprise Ready · Single Edition. See `../../knowledge/rules/architectural-rules.md`.28- **Eleven architectural pillars:** Silexis module runtime, voice pipeline, desktop control, memory,29 workflow DAG engine, AI provider router, telemetry, Electron shell, plugin ecosystem, Docker, security.3031## When to load this skill (routing)3233Load this skill for ANY question about CATLX, an AI OS, or any of its subsystems. Use the table below to34route to the correct subsystem skill.3536| User intent / capability needed | Route to skill |37|---|---|38| Hardware tiers, capabilities, boot hardware scan, adaptive re-config, CapabilityMap | `catlx-hardware-adaptation` |39| Modules (extraction, packaging, registry), module manifests, SILEXIS | `catlx-silexis-modules` |40| Where/when a module executes (env routing), capability fallback chains | `catlx-capability-routing` |41| Wake word, STT/NLU, intents, planning, TTS, conversation context | `catlx-voice-pipeline` |42| Mouse/keyboard/window/file/browser/app automation, multi-monitor, HUD | `catlx-desktop-control` |43| OCR, screen understanding, ScreenModel | `catlx-screen-understanding` |44| Episodic/semantic/workspace/knowledge-graph memory, Memory Broker, coherence | `catlx-memory` |45| AI providers, PAL, routing/failover, cost router, local LLM | `catlx-ai-provider` |46| Workflow DAG engine, scheduling, checkpoint/replay/rollback, state machines, workflow DSL | `catlx-workflow-engine` |47| Credential vault, DPAPI, permission router, capability firewall, sandbox, audit, risk | `catlx-security` |48| Tracing, metrics, causal lineage, DuckDB, profiling, observability dashboard | `catlx-telemetry` |49| Electron shell, command palette, multi-window, tray, IPC bridge, workspace persistence | `catlx-electron-shell` |50| Plugins, plugin runtime/security/SDK/marketplace, hot reload, dependency resolution | `catlx-plugin-ecosystem` |51| Docker containers, Compose, relocatable volumes, offline mode, Swarm/K8s, Docker recovery | `catlx-docker` |52| Portability, CATLX_ROOT relative paths, bundled Node, external SSD, cross-machine identity | `catlx-portability` |53| Crash recovery, safe mode, checkpoint restoration, recovery matrix | `catlx-recovery` |54| Boot / voice / workflow / plugin / recovery lifecycle sequences | `catlx-runtime-lifecycle` |5556## Skill discovery5758When you (or any skill) need a capability not present in the current skill, discover it via:5960- `../../INDEX.md` (project-level: `../../INDEX.md`) — the global human-readable skill index.61- `../../metadata/skills-registry.json` — machine-readable registry of all skills, capabilities, dependencies.62- `../../DEPENDENCY-GRAPH.md` — dependency and relationship edges.6364Every subsystem skill declares in its own body what capabilities it owns, what it references65(`../../knowledge/...`), what it can delegate to, and how to invoke it.6667## Delegation protocol (automatic skill-to-skill invocation)6869OpenCode invokes skills with the `skill` tool, e.g. `skill({ name: "catlx-workflow-engine" })`, which returns70that skill's SKILL.md as context. Follow this protocol whenever a skill needs a capability it does not own:71721. **Identify the missing capability** precisely (e.g. "I need the workflow DAG scheduler").732. **Find the best match** in `../../INDEX.md` / `../../metadata/skills-registry.json`; prefer the most specific74 skill over a generic one.753. **Check the active skill chain** (cycle protection). If the target skill is already active, reuse its76 in-progress result instead of re-invoking. Do not re-enter an active skill.774. **Invoke** `skill({ name: "<target>" })`, passing the **minimum necessary context** for the subtask only78 — never the whole task.795. **Incorporate the result**; if the child reports a limitation/failure, decide whether another capability80 is needed or surface the limitation honestly (never silently pretend success).816. **Respect recursion depth**; return control up the chain so results propagate back to the user.8283## Progressive loading rules8485- Load only the subsystem skill(s) and the canonical references the current task actually needs.86- Do **not** load every skill or every reference by default. Follow the minimal sufficient dependency chain.87- Do **not** copy canonical content into this root; read `../../knowledge/...` on demand.8889## Cross-cutting invariants to enforce9091Read `../../knowledge/rules/architectural-rules.md` before making any design decision. Key invariants:92Single Edition; adaptive runtime never hardcoded; relative paths (`CATLX_ROOT`); file-backed SQLite93registries with WAL; least privilege; single access point per concern (Memory Broker, PAL, Capability94Router); graceful degradation + deterministic recovery; replay safety; portability; local-first/offline;95machine-agnostic identity; Windows-first.9697## Component lifecycle policy (reuse → install → adapt → create)9899**NEVER create a new component as the default.** Before building/creating anything (a sub-skill, dependency,100reference, workflow, helper, adapter, or template), check, in order:1011. **Reuse** an existing local component (resolve aliases/equivalent capabilities first) — reuse, don't rebuild.1022. **Use** an already-registered component from the registry.1033. **Install** a suitable existing, trusted, supported component → validate → register → connect to the graph → use.1044. **Adapt** an existing compatible component via a small persistent adapter/wrapper instead of re-creating it.1055. **Create only as last resort** — then make it permanent immediately: stable id, canonical location, register,106 add to the capability index + dependency graph, add provenance, use, and allow future reuse.1076. Never reorganise/recreate already-generated components (no `Skill X 2` / `new` / `temp` variants); extend the108 existing one. Never create a second competing knowledge source; connect back to the canonical `knowledge/` layer.109 Promote any reusable artifact out of `/tmp`/scratch into the permanent ecosystem.110111> Full policy: `../../knowledge/rules/component-lifecycle.md`.112113## Source / provenance114115- **Source document:** `CATLX_Universal_AI_OS_Specification.pdf` — Master Architecture Specification,116 Version 1.0.0, Architecture Revision A. 60 pages across Parts I–XIX.117- **Provenance:** Each subsystem skill and each `knowledge/references/*.md` file maps to specific source118 parts; see `../../SOURCE-MAP.md` and `../../COVERAGE.md`.119- **Policy:** No domain knowledge is invented. Anything inferred (e.g. Windows-only adaptations, skill120 boundaries, dependencies) is labeled as such. Canonical knowledge lives once, in `knowledge/`.