Skip to content
Apothem
Comparison

Apothem vs raw Zed config

Hand-maintaining Zed's flat .rules instruction file versus rendering it from Apothem's shared profile.

Zed reads agent instructions from a single flat .rules file at the project root (alongside the AGENTS.md / CLAUDE.md family). Apothem's zed adapter renders that file from the shared profile. This page contrasts hand-maintaining that config against managing it with Apothem.

Effort comparison

TaskRaw hand-configApothem-managed
Author instructionsHand-write the .rules fileRendered from the shared corpus
Preserve a prior .rulesRemember to copy it aside yourselfThe adapter backs up the existing file before replace
Keep rules aligned with other harnessesManual, per toolAutomatic on apothem update
Verify the config is correctManual inspectionapothem verify --harness zed

What Apothem manages

The zed adapter renders the shared rules into the flat project-root .rules file. Zed has no PreToolUse hook, so guardrail intent lives in the rule prose rather than a tool-call interception point. The global ~/.config/zed/AGENTS.md instruction file and the .zed/settings.json MCP context-server block are operator-owned and left untouched. Every change to the shared rules re-renders the file 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 instructions from your existing .rules (and any project-specific AGENTS.md content you want shared) into the shared corpus.
  3. Run apothem install --harness zed to render the .rules file. Your prior .rules is backed up first.
  4. Run apothem verify --harness zed to confirm the config landed.
  5. Use apothem update --harness zed for every later change.

On this page