forked from bchanot/claude
2.8 KiB
2.8 KiB
name, effort, description, argument-hint, allowed-tools
| name | effort | description | argument-hint | allowed-tools | ||
|---|---|---|---|---|---|---|
| profile | low | Set the pack profile of THIS project (writes .claude/settings.local.json) or show the effective one of this conversation. Packs are skills-dir plugins (design, scroll3d, seo, web-validate, gstack-dev/-browser/-design, higgsfield, extras); a profile is a settings fragment lib/profiles/<n>.json. Trigger: "profile", "skill profile", "design profile", "set profile", "active profile", "quel profil", "profil design", "active les skills design", "enable higgsfield", "désactive gstack", "réduire le listing". | list | show <name> | current | set <name> | unset | enable <pack> | disable <pack> | diff <name> |
|
/profile — packs per project and per conversation
Run bash "$HOME/.claude/lib/profile.sh" -C "$PWD" $ARGUMENTS and show its
output. With no argument, run current and then list.
What a profile is
lib/profiles/<name>.json holds enabledPlugins (every pack and managed
plugin, explicit), optional deniedMcpServers (claude.ai connectors to
deny) and optional model. Descriptions: lib/profiles/README.md.
- Per project:
set <name>merges the fragment into.claude/settings.local.json(other keys kept). Then/reload-pluginsloads the packs in this session; connectors and model apply to the next session. - Per conversation:
cc <session> <name>(lib/cc.sh) runsclaude --settings lib/profiles/<name>.json. That conversation is frozen: editing the fragment or the local file changes nothing here, and a pack the fragment turns off cannot come back; start anothercc. - No profile: the manifest defaults, which equal
full.
Verbs
| verb | effect |
|---|---|
list |
names + descriptions |
show <n> |
the fragment: packs on/off, denied connectors, model; missing on a pack with no skills/pack-<n>/ |
current [--plain] |
effective state of this project and conversation; --plain is what gates and the statusline read |
set <n> |
write the fragment into the local file |
unset |
remove the managed keys from the local file |
enable <pack> / disable <pack> |
one pack (design, pack-design or a plugin id) |
diff <n> |
effective state against a fragment |
Refusals (rc 2, nothing written): unknown profile or pack, not a project
root (no CLAUDE.md, no .git), unreadable or invalid local JSON.
Rules
- Never write the user scope (
~/.claude/settings.json); never toggle plugins through theclaude pluginCLI. A pack need found mid-skill is proposed to the user (set <n>orenable <pack>+/reload-plugins, or a relaunch under--settings), written only on consent (lib/plugin-gate.md). maxturns onpack-extras(diagram, make-pdf, 21st-ai, 21st-ui-explore, 21st-ui-review);pack-higgsfieldis on inmaxonly, elseenable higgsfieldfor a named media ask.