/formae:formae-configfrom formae
Manages formae configuration profiles: switch, list, save, delete, compare, and edit PKL files under ~/.config/formae/. Use profile argument instead of switching active profile to avoid affecting other sessions.
Ships in formae. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
formae configuration profiles are named configs under the formae config dir
(~/.config/formae/profiles/<name>.pkl), with the active one recorded in a
plain pointer file (<config-dir>/active). They are managed by the
formae profile subcommand (formae >= 0.87.0) and exposed through the
formae-mcp server as native tools. The old stand-alone fcfg binary is gone.
Switching the active profile takes effect for subsequent MCP calls immediately — no agent or MCP-server restart needed.
| Intent | Tool | Notes |
|---|---|---|
| List profiles + active | list_profiles | returns {"active": "<name>", "profiles": ["..."]} |
| Show active | current_profile | returns {"active": "<name>"} |
| Switch active (default env) | use_profile | { "name": "<name>" } — global; only on explicit "change my default" requests (see below) |
| Snapshot active under a new name | save_profile | { "name": "<name>", "force": false } (does not switch) |
| Create from template | create_profile | { "name": "<name>", "force": false } (does not switch) |
| Delete | delete_profile | refuses the active profile — switch first |
| Compare | diff_profiles | { "a": "<name>", "b": "<name>?" } (b defaults to active) |
| View PKL | read_profile | { "name": "<name>" } returns the profile's PKL |
| Replace PKL | write_profile | { "name": "<name>", "content": "<pkl>" } |
All profile tools require formae >= 0.87.0; on an older formae they return
requires formae >= 0.87.0 (connected: A.B.C).
There is no interactive $EDITOR step. To modify a profile:
read_profile to fetch its current PKL.write_profile to replace it.write_profile is overwrite-only (use create_profile for a new profile) and
refuses the active profile — to edit the active one, use_profile to switch
away first (or save_profile a copy, edit the copy, then switch). Content is
written as-is; formae has no config validator, so a malformed profile surfaces at
the next use_profile/apply rather than at write time.
profile, don't switch activeDefault to the per-invocation profile argument; do not switch the active
profile to set up a session. Every agent-touching tool (apply / destroy /
status / inventory / list_* / force_* / cancel / extract) accepts an optional
profile argument that targets that one call only and changes no global state.
This matters because the active profile is global, persisted state shared with
the user's formae CLI and every other concurrent session. Multiple sessions may
be working against different agents at the same time, so calling use_profile to
"point this session at staging" would silently redirect those other sessions too.
Always pass profile per call instead.
Only call use_profile when the user explicitly asks to change their default
environment/agent (e.g. "make prod my default") — never as a per-session setup step.
The plugin-hub tools (search_hub_plugins, get_hub_plugin,
list_plugin_examples, get_plugin_example) and create_inline_policy do not
accept profile (they don't talk to a specific agent) — don't pass it to them.
formae profile list --output-consumer machine --output-schema jsonformae profile current --output-consumer machine --output-schema jsonformae profile use <name> / create <name> / save <name> [--force] /
delete <name> / diff <a> [<b>]User: "switch my formae to load-test"
use_profile with { "name": "load-test" }.list_profiles to show what's available.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
formae, configuration-profiles, mcp-tools, profile-management
formae@formae-marketplace is listed by platform-engineering-labs/formae-marketplace — review the source before installing
npx claudepluginhub platform-engineering-labs/formae-marketplace --plugin formae23 skills in this plugin
/formae-applyUse when the user wants to deploy infrastructure, apply a forma file, reconcile a stack, update a stack, or make planned infrastructure changes/formae-authorUse when the user wants to start authoring formae infrastructure or deploy something NEW with formae — e.g. 'I want to deploy X with formae', 'build a k8s app with formae', 'set up infrastructure for Y', 'create a new forma file for my service', 'write formae IaC for Z'. The front door that triages where the work happens, sets up plugin schema deps, and dispatches to focused authoring skills. NOT for applying an existing forma file (use formae-apply) or operating existing infra./formae-connectOther plugins' skills for the same job