Configuring Kodik through the agent
Kodik adds one Kodik configuration line to the Environment part of parent chat requests, including Orchestrator. Sub-agents receive configuration context only when the parent includes it in their assignment. The line states the resolved global and profile roots for the session (and the workspace root when it differs from the working directory) and where the built-in kodik-configuration skill lives, and asks the agent to read that skill before it creates or changes Kodik skills, rules, MCP servers, sub-agents, hooks, or settings. The skill maps every destination (skills, commands, rules, memories, hooks, sub-agent definitions, MCP settings files, plugins, and editor settings) to those roots, and the agent reads it only when a task touches configuration, so other sessions carry none of that detail in their prompt. The line remains available when skill auto-discovery is disabled or no MCP server is connected.
You can ask the agent to install a skill for the current project or for all projects. New Kodik-managed assets default to the workspace’s lowercase .kodik directories; an all-project request uses the resolved global directory. If no workspace is open, the default is global. Explicit requests for supported .agents compatibility locations are honored, but those assets remain read-only in Kodik Settings.
The agent receives the actual paths for the running installation. Production normally uses ~/.kodik, development uses ~/.kodik-dev, and portable installations use their selected portable home. User editor settings and MCP settings can belong to a different active-profile location. The agent does not need to search for these paths.
Both built-in skills are listed in a Built-in card in Settings → Skills. You can open them and switch either one out of model discovery; the bundled files are never modified or deleted, and a workspace or global skill with the same name takes precedence over the bundled one. Switching the kodik-configuration skill off replaces the line with the Kodik configuration directory alone.
Two built-in skills provide details on demand: kodik-configuration describes destinations, formats, ownership, merging, and activation; skill-installer describes repository installation and includes an optional Python 3 helper for downloading complete skill directories from a GitHub archive. The helper requires an explicit destination and refuses to overwrite an existing package. If Python is unavailable, the agent can use its available shell or download tools with the same resolved destination.
After installation, check Settings → Skills or the slash-command list. If discovery has not refreshed, run Developer: Reload Window. MCP installation also requires checking the server’s connection and tool discovery. Configuration knowledge does not enable tools, change the selected mode, or override permissions and Harness choices.
The section and the skill include locations and configuration status, not the contents of settings files. Existing settings must be read before editing so unrelated entries can be preserved.
Prompt families
Section titled “Prompt families”An explicit valid promptFamily (openai, claude, deepseek, glm, minimax, or default) in model configuration takes priority over model-ID inference. Invalid values are diagnosed and ignored. Vendor metadata remains separate. The same routing applies to parents, workers, and Harness preview.
Each family—OpenAI, Claude, DeepSeek, GLM, MiniMax or default—owns a complete built-in prompt, including its mode and worker guidance. At runtime Kodik selects one family; it does not append a shared behavioral base. The initial migration copied the previous base and family guidance into each family without changing the rendered wording. Each family can now change independently. Default remains the fallback for other models.
DeepSeek model IDs, including provider-qualified IDs such as deepseek/deepseek-v4-flash, select the DeepSeek family. For an opaque custom alias, set promptFamily: "deepseek" in its model configuration. DeepSeek has a complete prompt of its own. File, search and shell contracts stay in the schemas of the tools available to the agent. An explicit promptFamily: "default" selects the default family even for a DeepSeek model ID.
GLM IDs such as glm-5.3-flash and z-ai/glm-5.3-flash select the GLM family. An opaque alias can declare promptFamily: "glm"; explicit "default" still overrides inference. GLM starts with an independent copy of the current default prompt, including every mode and worker role, so the split preserves its wording. Later GLM edits do not change the fallback or other families.
MiniMax IDs such as minimax/minimax-m3.1-flash select the MiniMax family. An opaque alias can declare promptFamily: "minimax"; an explicit "default" overrides inference. MiniMax owns its complete prompt. Its Code guidance preserves requested scope, establishes the deliverable and validation for complex work, derives expectations independently, checks real public workflows and relevant interactions, and verifies the final requested deliverable. Editing workers receive the same guidance, while read-only modes keep their existing boundaries.
The default family covers model IDs that do not select OpenAI, Claude, DeepSeek, GLM or MiniMax, including unrecognized custom aliases. OpenAI retains its instruction to put every worked-out change in one apply_patch call, in Code mode and in workers that have apply_patch. Claude and DeepSeek retain their previous wording in their own complete prompt. Default has its own Code-mode guidance.
GLM and default currently use the same wording for Code mode and file-editing workers; they ask the agent to understand the intended outcome, preserve explicit requirements, and inspect the affected code and its uses before choosing an approach. They emphasize project conventions, existing contracts, verification through the relevant interface or workflow, and focused checks that can catch a plausible mistake. Expected outcomes come from the request and existing contracts, independently of the implementation the agent wrote. Investigation and verification should be proportional to the change; the final report covers changes, verification, material assumptions and remaining gaps. OpenAI, Claude and DeepSeek keep their existing Code guidance. Other modes and read-only workers do not receive this paragraph. Each family owns its wording independently.
DeepSeek does not repeat a tool manual in its family prompt. Line prefixes, exact replacements, new-file creation, search and background-result mechanics remain in the tool schemas. Live runtime data and enabled user or project prompt sources still supply session context; they are not a shared built-in behavioral base.
GLM, MiniMax and default each own the same short tool-grouping instruction: group independent calls when useful, wait for required results before dependent actions, and keep calls that write the same files in order. OpenAI, Claude and DeepSeek retain their explanation that each turn re-sends the whole conversation and that independent calls belong in the same turn. Each family also permits useful independent work or waiting while background work finishes: ending a turn to wait keeps the task active, and the completion starts the next turn. An unattended run (--kodik-unattended) gets the same prompt as an attended chat.
Deferred tools are listed by name with the one rule to load a tool’s schema through tool_search before calling it. File-tool guidance allows reuse of current content from reads or successful edits and writes; it asks for another read when the needed content is missing or may be stale, rather than solely to confirm a successful edit.
