Skip to content
Apothem
Comparison

Apothem vs raw Kimi Code config

Hand-maintaining Kimi Code's project-root AGENTS.md and .kimi-code/ support files versus rendering them from Apothem's shared profile.

Kimi Code reads project-root AGENTS.md as its instruction file and keeps project configuration under <project>/.kimi-code/, including the operator-owned .kimi-code/mcp.json MCP surface. You can author that instruction file and its supporting cohorts by hand, per project, forever. Apothem's kimi-code adapter renders the governance surface into AGENTS.md as a managed block from the shared profile and keeps it consistent across every harness and every project. This page contrasts hand-maintaining that config against managing it with Apothem.

Effort comparison

TaskRaw hand-configApothem-managed
Author the AGENTS.md instruction surfaceHand-write and re-sync per projectOne managed block rendered from the shared profile
Keep rules, commands, skills, agents in syncManual copy per projectSkills and commands (as skills) under <project>/.kimi-code/skills/; helpers as sub-agents under <project>/.kimi-code/agents/; rules, hooks, and templates under <project>/.kimi-code/.apothem/support/, on every install
Preserve operator prose on refreshManual mergeSentinel-delimited block; operator prose outside it is preserved
Keep rules aligned with other harnessesManual, per toolAutomatic on apothem update
Verify the config is correctManual inspectionapothem verify --harness kimi-code --project <path>

What Apothem manages

The kimi-code adapter renders the shared rules and governance surface into the project-root AGENTS.md managed block and installs the skills, and the commands wrapped as skills, in .kimi-code/skills/, the project skills directory Kimi Code loads. The helpers become Kimi Code sub-agents in .kimi-code/agents/, with their tool names translated to the ones Kimi Code matches. The hooks, rules, and templates cohorts go under .kimi-code/.apothem/support/: Kimi Code reads hooks from the user-scope ~/.kimi-code/config.toml, which the adapter does not write. The adapter does not author .kimi-code/mcp.json; the MCP surface stays operator-owned. Kimi Code reads project instructions from AGENTS.md or .kimi-code/AGENTS.md; the adapter writes only the project-root AGENTS.md, and the Kimi Code documentation does not say which of the two files wins when both exist. Every change to the shared rules re-renders the files on the next apothem update.

Migration path

  1. Run apothem profile init to create the shared profile if you have not yet.
  2. Move the rules from your existing AGENTS.md into the shared corpus.
  3. Run apothem install --harness kimi-code --project <path> to render the AGENTS.md instruction surface, the .kimi-code/skills/ skills, the .kimi-code/agents/ sub-agents, and the .kimi-code/.apothem/support/ support tree.
  4. Run apothem verify --harness kimi-code --project <path> to confirm the config landed.
  5. Use apothem update --harness kimi-code --project <path> for every later change.

On this page