M checks/default.nix => checks/default.nix +1 -0
@@ 306,6 306,7 @@ in
skill=$HOME/.local/agent-environments/claude-work/skills/companions/SKILL.md
grep -qF '`codex-pers exec --sandbox read-only' $skill || fail "codex call missing from skill"
grep -qF '`claude-work -p "<prompt>"' $skill || fail "claude call missing from skill"
+ grep -qF -- '--model' $skill || fail "model choice missing from skill"
# The companion runs with its own login and without companions of its own.
$companion exec x
M modules/companions.nix => modules/companions.nix +4 -0
@@ 53,6 53,10 @@ let
- **Claude Code** (`-p`): prints the final answer on stdout. Tools that need
approval are refused in this mode, so it is effectively read-only. Allow
specific commands with `--allowedTools 'Bash(git diff:*)'` when needed.
+ Pick the model with `--model`: an alias for the latest of a family
+ (`fable` is the strongest, then `opus`, then `haiku`) or a full name such
+ as `claude-fable-5-1` to pin a version. Without it the profile's default
+ model answers.
- **Codex** (`exec`): the final answer goes to `-o <answer-file>`, the
transcript to stderr. Keep `< /dev/null`: with stdin open it waits forever
("Reading additional input from stdin...").