Skills & conventions
ka deliberately speaks the ecosystem’s formats instead of inventing its own. Drop files where ka looks and they are picked up: no registration, no config.
AGENTS.md
Section titled “AGENTS.md”Project instructions, read from the repository root down to your cwd (at most 4 layers), CLAUDE.md is accepted as a compatibility alias. This is where the project’s build commands, style rules, and “don’t touch” zones live.
ka init # generate a starter AGENTS.md from a repo scanTwo refinements:
project_doc_fallback_filenames = ["CLAUDE.md", …]adds extra instruction-file names consulted when a directory has noAGENTS.md(config reference).AGENTS.override.mdreplaces a directory’s layer entirely instead of merging with it.
ka init also merges existing cursor and copilot rule files into the generated AGENTS.md as marked sections; pass --no-import to skip that.
SKILL.md skills
Section titled “SKILL.md skills”Skills are folders with a SKILL.md (name, description, body), discovered in:
.ka/skills/in the project.agents/skills/,.claude/skills/(compat)- your user config directory
ka lists each skill’s name and description in context and reads the body only on demand (progressive disclosure), so a library of skills costs almost nothing until used.
Frontmatter can tune how a skill is offered:
disable-model-invocationkeeps the skill out of the model’s own selection; it stays user-invocable via/skill:<name>only.pathsholds globs saying when the skill applies (for example["src/**/*.rs"]).max_tokenscaps how much of the body is injected.- The body supports
!`cmd`dynamic context: a command whose output is expanded into the skill at load time.
Invoking a skill explicitly
Section titled “Invoking a skill explicitly”/skill:release-checker v0.2.11/skill:<name> [args] runs one skill now instead of waiting for the model to pick it from the listing: the full SKILL.md body is injected into that turn’s system prompt, and the args land in the prompt. The scope is per-turn, like allowed-tools on a custom command; it never persists. Unknown and feature-disabled skills are refused up front, naming the skill or the toggle. In the TUI, Tab completes /sk onto the colon and the discovered names complete past it.
Installing skills and other customizations
Section titled “Installing skills and other customizations”ka skill install <git-url|path> installs a skill into your user skills directory (~/.config/ka/skills), from a git URL or a local folder with a SKILL.md; --force overwrites an installed skill of the same name. ka skill list and ka skill remove <name> manage what’s installed. The same lifecycle generalizes to every customization kind: ka install <skill|agent|command|rule> <git-url|path> (with ka install list [kind] and ka install remove <kind> <name>). There is no registry and no manifest format; installing is the trust act, and discovery still respects the project’s trust decision.
MEMORY.md
Section titled “MEMORY.md”Durable notes the assistant keeps about the project: a project-level MEMORY.md plus a user-global ~/.config/ka/MEMORY.md. Edit them directly or via /memory in the TUI.
Custom slash commands
Section titled “Custom slash commands”Any markdown file in .ka/commands/ (also .agents/, .claude/, ~/.config/ka/commands/) becomes a /name slash command. $ARGUMENTS is substituted with whatever follows the command:
---description: Explain a failing testargument-hint: <test-name>allowed-tools: read, grepmodel: ollama/qwen3.5:9b---Find the test named $ARGUMENTS in this repo, run it, and explainthe failure in terms of the code under test, not the test harness.Invoked as /explain auth::test_login. Frontmatter beyond the description is optional: allowed-tools restricts that turn’s toolset, model runs the turn on that selector once (the switch never persists), side: true dispatches the prompt as a side question (tools off, never enters the transcript or context, the same channel as /btw), and shell names a shell command whose output prefixes the prompt.
Output styles
Section titled “Output styles”Markdown files in .ka/styles/ define output styles; /style opens a picker. A style is session-scoped, and a built-in style is always available as the fallback.
Disabling all of it
Section titled “Disabling all of it”--safe-mode ignores every convention file, skill, agent, command, hook, MCP server, and LSP: the troubleshooting floor.