Chinese: profiles.zh.md
A profile is an isolated directory under your finclaw home that holds configuration, persona files, policies, skills, and (private) state such as conversation data.
Default layout (illustrative):
~/.finclaw/
├── active-profile # optional; written by `profile use`
└── profiles/
└── <name>/
├── profile.yaml # agent template (capability, tools, presets, …)
├── IDENTITY.md # persona source (optional; see security doc)
├── policies/ # policy overrides (optional)
├── skills/ # profile-local skill packs
├── mcp-servers.yaml # optional MCP config
├── config.yaml # host config (LLM, keys, toggles)
├── data/ # local state — not for sharing
├── secrets/ # credentials — not for sharing by default
└── …
Legacy paths: older releases may have used XDG-style locations on some OSes. Run finclaw doctor to see hints if data was left behind after migration.
finclaw initWith a TTY, you can pick a template interactively. Non-interactive examples:
finclaw init --template coder --non-interactive
finclaw init --no-templateTemplates are bundled in the binary (no extra download). Typical built-in template names include general, coder, and researcher — run finclaw profile templates to list them on your version.
| Template (typical) | Capability (typical) | Tool bundle (typical) | Notes |
|---|---|---|---|
general |
general |
standard |
General assistant, conservative writes |
coder |
coding |
full |
Coding-oriented; dev tools and web |
researcher |
general |
basic |
Read-oriented; lean tool set |
init writes profile.yaml and a starter IDENTITY.md into the active profile, creates an empty policies/ directory, and does not overwrite an existing profile.yaml unless you pass --force (see finclaw init --help).
finclaw profile templates
finclaw profile list
finclaw profile list --jsonCreate a new profile from a template:
finclaw profile create mydev --from-template coder --activateOptional knobs at create time (see finclaw profile create --help):
--capability—general,coding, orread_only--tool-bundle—basic,standard,workspace, orfull--identity <path>— seedIDENTITY.mdfrom a file--activate— same as runningfinclaw profile use <name>after create
To copy shareable artefacts from an existing profile without copying conversation history or keys:
finclaw profile clone <from> <to>This is a convenience over profile create --clone-from. Copied items are those considered part of the portable profile (such as profile.yaml, IDENTITY.md, mcp-servers.yaml, skills/, policies/). It does not copy data/, default config.yaml, or secrets/ — see finclaw profile clone --help.
finclaw capability list
finclaw capability show
finclaw capability set codingOne-shot override without editing files:
finclaw chat --capability read_only -m "Summarize this file."Inspect and refresh the canonical identity envelope the runtime consumes (identity.aieos.yaml):
finclaw identity show
finclaw identity show --rendered
finclaw identity render
finclaw identity resetEdit agent Markdown without typing deep paths under workspaces/…/agents/<id>/workspace/:
finclaw agent edit identity
finclaw agent edit soul
finclaw agent edit agent
finclaw agent edit toolsThe identity layer follows the same precedence as identity show (workspace candidates, then profile fallbacks) and may scaffold IDENTITY.md when missing. See finclaw agent --help.
See security-and-policies.md for how identity relates to policy and runtime.
finclaw profile validate
finclaw profile validate --strict
finclaw profile show --resolved
finclaw profile active --json
finclaw profile diff --check # terse CI-friendly drift summaryAfter editing profile.yaml, policies/*.yaml, or IDENTITY.md:
finclaw profile apply
finclaw profile apply --dry-runIf no daemon is running, your build may still complete apply by starting an embedded supervisor for the duration—read the command output.
finclaw backup --profile-only --out my-profile.tar.zst --profile <name>This is meant to share configuration and portable files without history or provider secrets. It is mutually exclusive with flags that pull in secrets or volatile runtime dirs; see finclaw backup --help.
finclaw import my-profile.tar.zst --profile-only --name <newname>--profile-only refuses full backups that were not created as profile-only, so you do not silently drop data by mistake.
For a full machine-local restore (including more state), use finclaw backup / finclaw import without --profile-only, with options documented in --help.
Inside finclaw chat, slash commands such as /profile mirror read-only views of profile-related state. See chat-and-operations.md.