Add a harness
Enable a harness adapter so its native configuration is materialized from the shared profile.
Goal: enable one more harness so Apothem materializes that harness's native configuration from your shared profile.
Prerequisites
- A shared profile at
~/.config/apothem/profile.yaml(create one withapothem profile initif it does not yet exist). - The
apothemCLI on yourPATH. If you installed the self-contained source tree, prefix each command withPYTHONPATH="$HOME/.apothem/src"and runpython -m apothemin place ofapothem— or usenpx @ahmed-g-gad/apothem.
Steps
-
List the registered harnesses and see which are already installed:
apothem harnesses listapothem harnesses listprints every supported id; the same set is in the harness list and the source-generated harness registry. Pick the id for your tool rather than hardcoding the list here — it grows as adapters are added. -
Inspect the target harness to confirm its scope and output path:
apothem harnesses show cursorA
Scope: projectline means the adapter materializes into a project tree and requires--project PATH;Scope: usermaterializes into a user-scope configuration directory and needs no project flag. -
Preview the install without writing files:
apothem install --harness cursor --dry-run -
Install the harness. For a user-scope harness:
apothem install --harness claude-codeFor a project-scope harness, pass the project root:
apothem install --harness cursor --project /path/to/projectInstall every supported harness at once with
--harness all(project-scope harnesses still need--project; ids listed inexclude_harnessesin the profile are skipped).
Verify
apothem verify --harness cursorA ✓ <harness-id> is verified line confirms the managed targets exist and parse.
apothem doctor gives the whole-system view across every harness.
Related
- Edit the profile to change what the adapter
materializes, then re-run
apothem update. - Installing covers the first-run install.