[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DDY86YA9AS8EH3KRYXHN9Q":3,"skill-same:01M7DDY86YA9AS8EH3KRYXHN9Q":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7DDY86YA9AS8EH3KRYXHN9Q","profile-mango",null,"Operates the mango CLI (profile-mango) that installs one portable coding-agent profile — model\u002Fprovider\u002Feffort route, subagent roles, global instruction files, skills — across Claude Code, Codex, OpenCode, Oh My Pi, Pi, Hermes, and OpenClaw. Use when switching agents to another profile, changing model or effort routing or subagent roles across agents, editing profile.yaml or bindings\u002Flocal.yaml, checking `mango status` drift, or running mango init\u002Fvalidate\u002Frender\u002Fdoctor\u002Finstall\u002Fuse\u002Fundo\u002Froute. Not for editing the instruction text itself (global-agent-instructions).","ariel-frischer\u002Fprofile-mango","ariel-frischer","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19893395?v=4","01M7DDY5ZRQXZA1EECMTQ510A2","Ariel Frischer","01M7DDY60FPATJWSTZJNSPY0Q0",0,"MIT","https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fprofile-mango\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: profile-mango\ndescription: >\n  Operates the mango CLI (profile-mango) that installs one portable coding-agent\n  profile — model\u002Fprovider\u002Feffort route, subagent roles, global instruction files,\n  skills — across Claude Code, Codex, OpenCode, Oh My Pi, Pi, Hermes, and OpenClaw.\n  Use when switching agents to another profile, changing model or effort routing or\n  subagent roles across agents, editing profile.yaml or bindings\u002Flocal.yaml, checking\n  `mango status` drift, or running mango init\u002Fvalidate\u002Frender\u002Fdoctor\u002Finstall\u002Fuse\u002Fundo\u002Froute.\n  Not for editing the instruction text itself (global-agent-instructions).\nlicense: MIT\ncompatibility: Requires the mango CLI on PATH. Usable from any Agent Skills host (Codex, OpenCode, Pi, Cursor, Gemini CLI, VS Code, Claude Code, Oh My Pi).\nmetadata:\n  author: Ariel Frischer\n  version: 0.0.6\n  tags: profile-mango, coding-agents, profiles, cli, yaml, validation\nallowed-tools: Bash Read Write Edit\n---\n\n# profile-mango\n\n`mango` separates portable coding-agent intent from machine-local route\nidentity: author\u002Fvalidate profiles, render inert previews, and plan only the\nversion-qualified installs below. Install the CLI first if not on PATH:\n\n```bash\ngo install github.com\u002Fariel-frischer\u002Fprofile-mango\u002Fcmd\u002Fmango@latest\n# or a checksum-verified release binary:\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fariel-frischer\u002Fprofile-mango\u002Fmain\u002Finstall.sh | sh\nmango version\n```\n\nInstall or update this skill with\n`npx skills add ariel-frischer\u002Fprofile-mango --skill profile-mango -g`.\n\n## Scaffold a package\n\n```bash\nmango init                # global package at ~\u002F.profile-mango\nmango init .\u002Fmy-profiles  # explicit package in a new directory\n```\n\n`init` creates only absent paths, never overwriting: `profiles\u002Fdefault\u002Fprofile.yaml`,\n`bindings\u002Flocal.example.yaml`, a gitignored `bindings\u002Flocal.yaml` copy, and\n`bindings\u002F.gitignore`. Home precedence is `--home`, `$PROFILE_MANGO_HOME`,\nthen `~\u002F.profile-mango` (`mango home` prints it). Explicit project\n`render`\u002F`install` inputs (`--profiles`\u002F`--resource-root`\u002F`--bindings`) are\nall-or-none; else they default from the home.\n\n## Author a profile\n\nEvery field sits at the top level of `profiles\u002F\u003Cname>\u002Fprofile.yaml`: `description`,\n`labels`, `extends`, `route`, `permissions`, `tools`, `instructions`, `skills`.\nA child's `instructions` append after the parent's; `skills` replaces unless omitted.\n`labels` is a string map (`labels: {team: core}`), not a list; a wrong shape\nfails with its path, e.g. `labels: expected a map of string keys to string\nvalues (e.g. labels: {team: core}), got a list`.\n\n```yaml\ndescription: Read-only code review\nroute: local\npermissions: {mode: read-only, network: deny, shell: deny}\ntools: {allow: [read, search], deny: [write, edit, shell, deploy]}\ninstructions: {append: [instructions\u002FAGENTS.md]}\nskills: [skills\u002Freview\u002FSKILL.md]\n```\n\nEach `skills` entry is a skill folder's `SKILL.md` (frontmatter `description`\nrequired; `name`, if set, equals the folder name). A vendored copy adds\n`source: {repo, commit, path?, sha256}`, where `sha256` is the folder's tree\ndigest; a mismatch fails validation and names the actual digest.\n\n`bindings\u002Flocal.yaml` names a route, never credentials. `provider`\u002F`model`\u002F`effort`\nare required; an optional `targets` map gives named agents (`claude-code`,\n`codex`, `hermes`, `oh-my-pi`, `openclaw`, `opencode`, `pi`) override fields\non top of the base route, so one profile drives several agents at once:\n\n```yaml\nroutes:\n  local:\n    provider: openai\n    model: gpt-6-sol\n    effort: high\n    targets:\n      claude-code: {provider: anthropic, model: claude-sonnet-5}\n```\n\nEffort is applied per agent: Codex `model_reasoning_effort` (none..xhigh;\nother values block), Claude Code `effortLevel` (low\u002Fmedium\u002Fhigh\u002Fxhigh), OpenCode agent `variant`, Oh My Pi\n`:effort` selector suffix. A value an agent cannot take shows as\n`effort \u003Cv>: NOT APPLIED (\u003Creason>)` in the plan and a JSON\n`skippedRequirements` entry; it is never dropped silently.\n\nRole names match `^[a-z][a-z0-9-]{0,62}$`; `default` is reserved.\nSemantic roles keep their mappings: `worker` (implementation) → task,\n`planner` (planning) → plan+slow, `research` (scouting) → smol, and `tiny`\n(small tasks) → commit+tiny. Other names, such as `code` and `review`, map\ndirectly to Oh My Pi `modelRoles.\u003Cname>: provider\u002Fmodel:effort`; bound custom\nagent files use `model: \"@\u003Cname>\"`. Binding a semantic alias and a direct name\nfor the same slot (e.g. worker+task) fails closed. Oh My Pi also installs the\noptional `subagentMaxEffort` as `task.maxEffort`; other agents skip that cap\nand install bound roles only through role subagent files (`--strict` blocks\nskips):\n\n```yaml\n    subagentMaxEffort: high\n    roles:\n      planner: {provider: anthropic, model: claude-opus-5-5, effort: medium}\n      research: {provider: opencode-go, model: gpt-6-luna, effort: high}\n```\n\nTo change an existing route, use `mango route set` instead of hand-editing the\nbindings file: it edits only the affected lines (comments survive), creates a\nmissing `targets.\u003Cagent>`\u002F`roles.\u003Crole>` entry, validates like install, and\nwrites nothing when invalid or unchanged. `mango route unset` removes fields and\nprunes emptied entries. An effort no agent uses only warns. Then apply with\n`mango use \u003Cprofile>`.\n\n```bash\nmango route list                                   # routes + profiles using each\nmango route show sol --target oh-my-pi [--json]    # as written + effective route\nmango route set sol --target oh-my-pi --effort medium --dry-run\nmango route set opus55 --role research --model gpt-6-luna\nmango route set luna --target codex --role research --provider openai  # targets.codex.roles.research\nmango route unset sol --target oh-my-pi effort     # provider|model|effort|subagent-max-effort\n```\n\n`targets.\u003Cagent>.roles.\u003Crole>: {provider?, model?, effort?}` changes a role the\nbase `roles` already binds for one agent (e.g. ChatGPT OAuth is `openai-codex`\non Oh My Pi but `openai` on Codex); an unbound role fails. Agents filter role providers:\nClaude Code role files take only `anthropic` models and Codex only its OpenAI\nprovider; another provider leaves that role file without a model (the agent\ndefault) and the plan says why.\n\nProfile `roles.\u003Crole>: {description, instructions?}` describes each role\n(`instructions` is a package resource path; a child's role replaces the\nparent's same-name role). When the profile is the agent's default (`--default`\nor `mango use`) each role becomes a whole-file owned subagent file carrying the\nbound model\u002Feffort: Codex `~\u002F.codex\u002Fagents\u002F\u003Crole>.toml`, OpenCode\n`~\u002F.config\u002Fopencode\u002Fagents\u002F\u003Crole>.md` (`mode: subagent`, `variant`), Oh My Pi\n`~\u002F.omp\u002Fagent\u002Fagents\u002F\u003Crole>.md` (`model: \"@\u003Cslot>\"`), Claude Code\n`~\u002F.claude\u002Fagents\u002F\u003Crole>.md` (anthropic only). Named-only installs list them as\n`role-definitions` (subagent files are global); Pi, Hermes, and OpenClaw always\nskip them; `--strict` blocks. A role effort the agent cannot write shows as\n`effort \u003Cv> (role \u003Cr>): NOT APPLIED`. For binding-only roles on Oh My Pi,\nbind names under the route but omit their profile definitions: modelRoles\nand presets are written without agent files. Other agents skip these as\n`roles`. There is no per-target suppression of declared role files. A same-name\nunmanaged file (e.g. a hand-written `~\u002F.codex\u002Fagents\u002Fplanner.toml`) is adopted\nwith a backup and replaced whole, so native-only fields such as Codex\n`sandbox_mode` are lost: check the plan's `adopt` rows first.\n\nOptional `globalInstructions` owns whole global instruction files per agent\n(file name to package resource, or a non-empty list of resources joined in\norder with one blank line, e.g. shared core plus a per-agent part). Qualified files only: Claude Code `CLAUDE.md`,\nCodex `AGENTS.md`, Oh My Pi `AGENTS.md`\u002F`RULES.md`, OpenCode `AGENTS.md`;\nanother name blocks, other agents skip (`--strict` blocks). They are written\nbeside the config only by `use`, `install --default`, or agents without named\nprofiles:\n\n```yaml\nglobalInstructions:\n  oh-my-pi: {AGENTS.md: [instructions\u002Fshared\u002Fcore.md, instructions\u002Fwork\u002Fomp.md], RULES.md: instructions\u002Fwork\u002FRULES.md}\n  home: {AGENTS.md: instructions\u002Fwork\u002Fhome-AGENTS.md}   # ~\u002FAGENTS.md, owned via Pi\n```\n\n`home` accepts only `AGENTS.md` and is written by the Pi target (the one agent\nthat reads it in every folder under your home); installs without Pi skip it.\nOptional `agentFiles` ships native subagent files verbatim into the agent's\nrole-file folder (`agents\u002F`), for frontmatter mango does not model or to\noverride a bundled agent by name (Oh My Pi loads `~\u002F.omp\u002Fagent\u002Fagents\u002Fscout.md`\nover its bundled `scout`):\n\n```yaml\nagentFiles:\n  oh-my-pi: {scout.md: agents\u002Fomp\u002Fscout.md}\n  codex: {reviewer.toml: agents\u002Fcodex\u002Freviewer.toml}\n```\n\nOnly role-file agents accept them (Codex `.toml`; Claude Code, OpenCode, Oh My\nPi `.md`; a wrong extension blocks); other agents and named-only installs skip\nthem as `agentFiles` (`--strict` blocks). A name matching a profile role\n(`research.md` with `roles.research`) fails validation. Ownership matches global\nfiles: adopt with backup, `agent-file` kind in `mango status`, edits need\n`--override`, `use` releases, `undo` restores.\n\nA full example with all four roles and global files:\n`examples\u002Fprofiles\u002Fdaily-driver\u002Fprofile.yaml` in the source checkout.\n\n## Validate, preview, check readiness\n\n```bash\nmango validate \u003Cprofile.yaml> --bindings \u003Cfile> --json\nmango doctor --json\nmango render \u003Cprofile-name> --profiles .\u002Fprofiles --resource-root . \\\n  --bindings .\u002Fbindings\u002Flocal.yaml --target \u003Cname> --target-version \u003Cexact> \\\n  --out .\u002Fpreview --preview --json\n```\n\n`validate` checks one profile's syntax and route binding offline; parent\nresolution and resources are only checked by `render`\u002F`install` with a\npackage root. `doctor` is read-only; its `PLAN` column is exactly what a plain\n`mango install \u003Cprofile> --target \u003Cname>` would plan, and `IN RANGE` compares\nthe detected binary to the tested range (tested version up to the next minor):\n\n```text\nTARGET               BINARY  DETECTED               IN RANGE  CONFIG                                   PLAN\nclaude-code@2.1.278  claude  2.1.281 (Claude Code)  yes       \u002Fhome\u002Fu\u002F.claude\u002Fsettings.json (exists)   ready\noh-my-pi@18.4.6      omp     omp\u002F18.4.6             yes       \u002Fhome\u002Fu\u002F.omp\u002Fagent\u002Fconfig.yml (exists)   ready\nnext: mango install default --target claude-code\n```\n\n`render` (alias `preview`) writes only beneath a new `--out` directory. Full\nprofiles are never directly applicable (`render.json` keeps\n`applicable: false`); a staged `--preview` prints the blockers as `warning`\nlines, ends with `preview staged in \u003Cout>; applicable to \u003Ctarget>@\u003Cversion>:\nno (...)`, and exits 0. Without `--preview` it writes nothing and exits nonzero.\n\n## Plan, apply, undo\n\nA preview's `applicable: false` does not mean the agent can't be installed:\n`install` applies the narrow per-agent subset in `docs\u002Fpublic\u002Fagents.md` (e.g.\nthe Claude Code and Oh My Pi model settings). A `ready` plan is installable;\nuse `install` rather than hand-writing agent config. An installed version\noutside the tested range still plans, with a warning. `install` always plans\nfirst, then repeats the same inputs to apply:\n\n```bash\nmango install \u003Cprofile-name> --target \u003Cname>\nmango install \u003Cprofile-name> --target \u003Cname> --apply --yes --expect-plan \u003CplanID>\nmango undo --target \u003Cname>   # add --apply --yes --expect-plan \u003Cid> to apply\n```\n\nScripts read the ID from `--json` output as `.planID` (install, use, and undo;\nundo also reports `originalPlanID`), or from the text line `plan \u003Cid> (ready)`.\nTarget names are `claude-code`, `codex`, `hermes`, `oh-my-pi` (not `omp`),\n`openclaw`, `opencode`, `pi`, optionally `@\u003Cversion>`.\n\nAgents with named profiles, native or emulated, get the profile under its own\nname and leave the agent's default settings alone; the plan prints\n`use it: \u003Ccommand>` (Codex: `codex --profile \u003Cprofile-name>`, from\n`$CODEX_HOME\u002F\u003Cprofile-name>.config.toml`; OpenClaw: `openclaw --profile \u003Cprofile-name>`,\nfrom `~\u002F.openclaw-\u003Cprofile-name>\u002Fopenclaw.json`; Claude Code, which has no native\nprofiles: `claude --settings ~\u002F.claude\u002Fprofiles\u002F\u003Cprofile-name>.json`; OpenCode:\n`opencode --agent \u003Cprofile-name>`, from `agents\u002F\u003Cprofile-name>.md` beside `opencode.json`;\nHermes: `hermes -p \u003Cprofile-name>`, from `\u003Chermes-home>\u002Fprofiles\u002F\u003Cprofile-name>\u002Fconfig.yaml`;\nOh My Pi, emulated: `omp --config ~\u002F.omp\u002Fagent\u002Fprofiles\u002F\u003Cprofile-name>.yml`).\nAdd `--default` to also write the agent's default settings. Agents without\nprofiles are installed as their default settings, with a plan note saying so.\nWithout `--config`, plans use the target's documented default config path.\nReview the resolved path, field diff, skipped requirements, and plan ID\nbefore applying. An existing config is adopted with a backup; a\nMango-installed value the user later edited needs `--override`, and\n`--non-interactive` never grants consent by itself. `undo` (alias `restore`)\nrestores the latest committed install, or an explicit `--original-plan \u003Cid>`.\n\n`mango use \u003Cprofile>` switches every managed agent (or `--target`\u002F`--all`) to\nthe profile as its default, with the same plan-then-`--apply --yes\n--expect-plan \u003Cid>` consent. A `(blocked)` plan with `conflict` rows means an\nowned file was edited outside mango: review the file rows with `-v`, then rerun the\nplan with `--override` (or `--target` the unaffected agents). Global files the\nnew profile does not write are released: deleted if profile-mango created them,\nrestored from the backup if adopted. `mango status [--json]` is read-only: per agent the recorded profile,\neach owned file `in-sync`\u002F`edited`\u002F`missing`, and `sources:\ncurrent`\u002F`changed`\u002F`unknown` against the current profile files and bindings.\nEach agent is labeled at its installed version (same `--version` probe as\ninstall plans), e.g. `codex@0.155.1 (tested 0.157.1)` when it differs from the\ntested adapter version; `--json` adds `versionCheck`\n(`binary`, `qualified`, `range`, `detected`, `status`).\n\n```bash\nmango status --json\nmango use \u003Cprofile-name>            # add --apply --yes --expect-plan \u003Cid>\n```\n\n`mango use` only covers agents already managed (see `status`). To bring a new\nagent under a profile, first run `mango install \u003Cprofile> --default --target\n\u003Cname>`. With `use` or `--default`, Claude Code, Codex, Oh My Pi, and OpenCode\ncopy each skill folder whole into their skills folder (Codex:\n`~\u002F.agents\u002Fskills`); named profiles list skills as not installed, and switching\nto a profile without a skill removes its files or restores the replaced ones.\nOpenClaw copies skills beside every config it writes, named profiles included\n(`~\u002F.openclaw-\u003Cname>\u002Fskills`); `mango install \u003Cp> --target openclaw --agent\nopenclaw=\u003Cid>` also sets that existing agent's `agents.entries.\u003Cid>.skills`\nallowlist, which later installs keep and a switch gives back.\n\nThe skill folder in the profile package is canonical; installed copies are\noutput. Never copy an installed or `~\u002F.agents\u002Fskills` copy over the package\nfolder: it has rendered routes instead of `{{route.…}}` placeholders and may be\nolder. `mango status` lists skills whose global copy differs and which side is\nnewer; port a newer global edit into the package by hand. An install conflicts\non an unmanaged skill file newer than the package copy unless `--override`.\n\n## Safety boundary\n\n- `init`, `home`, `validate`, and `render` never inspect agent homes, read\n  credentials, call providers, or launch target agents.\n- `install`\u002F`undo` touch only the planned config path and adjacent\n  profile-mango manifests, backups, journals, and locks; never auth stores,\n  sessions, plugins, MCP, providers, or the network. Unqualified targets and\n  unknown required properties block installation rather than being dropped.\n- Known requirements a target cannot install (permissions, tools,\n  instructions, skills, roles, unsupported effort) are skipped, not applied: the plan lists them under\n  each target (`not installed for this agent: ...`, JSON\n  `skippedRequirements`). Pass `--strict` to block instead.\n- `mango agents check` is a separate network drift check; skip it\n  when offline operation is required.\n","# profile-mango\n\n`mango` separates portable coding-agent intent from machine-local route\nidentity: author\u002Fvalidate profiles, render inert previews, and plan only the\nversion-qualified installs below. Install the CLI first if not on PATH:\n\n```bash\ngo install github.com\u002Fariel-frischer\u002Fprofile-mango\u002Fcmd\u002Fmango@latest\n# or a checksum-verified release binary:\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fariel-frischer\u002Fprofile-mango\u002Fmain\u002Finstall.sh | sh\nmango version\n```\n\nInstall or update this skill with\n`npx skills add ariel-frischer\u002Fprofile-mango --skill profile-mango -g`.\n\n## Scaffold a package\n\n```bash\nmango init                # global package at ~\u002F.profile-mango\nmango init .\u002Fmy-profiles  # explicit package in a new directory\n```\n\n`init` creates only absent paths, never overwriting: `profiles\u002Fdefault\u002Fprofile.yaml`,\n`bindings\u002Flocal.example.yaml`, a gitignored `bindings\u002Flocal.yaml` copy, and\n`bindings\u002F.gitignore`. Home precedence is `--home`, `$PROFILE_MANGO_HOME`,\nthen `~\u002F.profile-mango` (`mango home` prints it). Explicit project\n`render`\u002F`install` inputs (`--profiles`\u002F`--resource-root`\u002F`--bindings`) are\nall-or-none; else they default from the home.\n\n## Author a profile\n\nEvery field sits at the top level of `profiles\u002F\u003Cname>\u002Fprofile.yaml`: `description`,\n`labels`, `extends`, `route`, `permissions`, `tools`, `instructions`, `skills`.\nA child's `instructions` append after the parent's; `skills` replaces unless omitted.\n`labels` is a string map (`labels: {team: core}`), not a list; a wrong shape\nfails with its path, e.g. `labels: expected a map of string keys to string\nvalues (e.g. labels: {team: core}), got a list`.\n\n```yaml\ndescription: Read-only code review\nroute: local\npermissions: {mode: read-only, network: deny, shell: deny}\ntools: {allow: [read, search], deny: [write, edit, shell, deploy]}\ninstructions: {append: [instructions\u002FAGENTS.md]}\nskills: [skills\u002Freview\u002FSKILL.md]\n```\n\nEach `skills` entry is a skill folder's `SKILL.md` (frontmatter `description`\nrequired; `name`, if set, equals the folder name). A vendored copy adds\n`source: {repo, commit, path?, sha256}`, where `sha256` is the folder's tree\ndigest; a mismatch fails validation and names the actual digest.\n\n`bindings\u002Flocal.yaml` names a route, never credentials. `provider`\u002F`model`\u002F`effort`\nare required; an optional `targets` map gives named agents (`claude-code`,\n`codex`, `hermes`, `oh-my-pi`, `openclaw`, `opencode`, `pi`) override fields\non top of the base route, so one profile drives several agents at once:\n\n```yaml\nroutes:\n  local:\n    provider: openai\n    model: gpt-6-sol\n    effort: high\n    targets:\n      claude-code: {provider: anthropic, model: claude-sonnet-5}\n```\n\nEffort is applied per agent: Codex `model_reasoning_effort` (none..xhigh;\nother values block), Claude Code `effortLevel` (low\u002Fmedium\u002Fhigh\u002Fxhigh), OpenCode agent `variant`, Oh My Pi\n`:effort` selector suffix. A value an agent cannot take shows as\n`effort \u003Cv>: NOT APPLIED (\u003Creason>)` in the plan and a JSON\n`skippedRequirements` entry; it is never dropped silently.\n\nRole names match `^[a-z][a-z0-9-]{0,62}$`; `default` is reserved.\nSemantic roles keep their mappings: `worker` (implementation) → task,\n`planner` (planning) → plan+slow, `research` (scouting) → smol, and `tiny`\n(small tasks) → commit+tiny. Other names, such as `code` and `review`, map\ndirectly to Oh My Pi `modelRoles.\u003Cname>: provider\u002Fmodel:effort`; bound custom\nagent files use `model: \"@\u003Cname>\"`. Binding a semantic alias and a direct name\nfor the same slot (e.g. worker+task) fails closed. Oh My Pi also installs the\noptional `subagentMaxEffort` as `task.maxEffort`; other agents skip that cap\nand install bound roles only through role subagent files (`--strict` blocks\nskips):\n\n```yaml\n    subagentMaxEffort: high\n    roles:\n      planner: {provider: anthropic, model: claude-opus-5-5, effort: medium}\n      research: {provider: opencode-go, model: gpt-6-luna, effort: high}\n```\n\nTo change an existing route, use `mango route set` instead of hand-editing the\nbindings file: it edits only the affected lines (comments survive), creates a\nmissing `targets.\u003Cagent>`\u002F`roles.\u003Crole>` entry, validates like install, and\nwrites nothing when invalid or unchanged. `mango route unset` removes fields and\nprunes emptied entries. An effort no agent uses only warns. Then apply with\n`mango use \u003Cprofile>`.\n\n```bash\nmango route list                                   # routes + profiles using each\nmango route show sol --target oh-my-pi [--json]    # as written + effective route\nmango route set sol --target oh-my-pi --effort medium --dry-run\nmango route set opus55 --role research --model gpt-6-luna\nmango route set luna --target codex --role research --provider openai  # targets.codex.roles.research\nmango route unset sol --target oh-my-pi effort     # provider|model|effort|subagent-max-effort\n```\n\n`targets.\u003Cagent>.roles.\u003Crole>: {provider?, model?, effort?}` changes a role the\nbase `roles` already binds for one agent (e.g. ChatGPT OAuth is `openai-codex`\non Oh My Pi but `openai` on Codex); an unbound role fails. Agents filter role providers:\nClaude Code role files take only `anthropic` models and Codex only its OpenAI\nprovider; another provider leaves that role file without a model (the agent\ndefault) and the plan says why.\n\nProfile `roles.\u003Crole>: {description, instructions?}` describes each role\n(`instructions` is a package resource path; a child's role replaces the\nparent's same-name role). When the profile is the agent's default (`--default`\nor `mango use`) each role becomes a whole-file owned subagent file carrying the\nbound model\u002Feffort: Codex `~\u002F.codex\u002Fagents\u002F\u003Crole>.toml`, OpenCode\n`~\u002F.config\u002Fopencode\u002Fagents\u002F\u003Crole>.md` (`mode: subagent`, `variant`), Oh My Pi\n`~\u002F.omp\u002Fagent\u002Fagents\u002F\u003Crole>.md` (`model: \"@\u003Cslot>\"`), Claude Code\n`~\u002F.claude\u002Fagents\u002F\u003Crole>.md` (anthropic only). Named-only installs list them as\n`role-definitions` (subagent files are global); Pi, Hermes, and OpenClaw always\nskip them; `--strict` blocks. A role effort the agent cannot write shows as\n`effort \u003Cv> (role \u003Cr>): NOT APPLIED`. For binding-only roles on Oh My Pi,\nbind names under the route but omit their profile definitions: modelRoles\nand presets are written without agent files. Other agents skip these as\n`roles`. There is no per-target suppression of declared role files. A same-name\nunmanaged file (e.g. a hand-written `~\u002F.codex\u002Fagents\u002Fplanner.toml`) is adopted\nwith a backup and replaced whole, so native-only fields such as Codex\n`sandbox_mode` are lost: check the plan's `adopt` rows first.\n\nOptional `globalInstructions` owns whole global instruction files per agent\n(file name to package resource, or a non-empty list of resources joined in\norder with one blank line, e.g. shared core plus a per-agent part). Qualified files only: Claude Code `CLAUDE.md`,\nCodex `AGENTS.md`, Oh My Pi `AGENTS.md`\u002F`RULES.md`, OpenCode `AGENTS.md`;\nanother name blocks, other agents skip (`--strict` blocks). They are written\nbeside the config only by `use`, `install --default`, or agents without named\nprofiles:\n\n```yaml\nglobalInstructions:\n  oh-my-pi: {AGENTS.md: [instructions\u002Fshared\u002Fcore.md, instructions\u002Fwork\u002Fomp.md], RULES.md: instructions\u002Fwork\u002FRULES.md}\n  home: {AGENTS.md: instructions\u002Fwork\u002Fhome-AGENTS.md}   # ~\u002FAGENTS.md, owned via Pi\n```\n\n`home` accepts only `AGENTS.md` and is written by the Pi target (the one agent\nthat reads it in every folder under your home); installs without Pi skip it.\nOptional `agentFiles` ships native subagent files verbatim into the agent's\nrole-file folder (`agents\u002F`), for frontmatter mango does not model or to\noverride a bundled agent by name (Oh My Pi loads `~\u002F.omp\u002Fagent\u002Fagents\u002Fscout.md`\nover its bundled `scout`):\n\n```yaml\nagentFiles:\n  oh-my-pi: {scout.md: agents\u002Fomp\u002Fscout.md}\n  codex: {reviewer.toml: agents\u002Fcodex\u002Freviewer.toml}\n```\n\nOnly role-file agents accept them (Codex `.toml`; Claude Code, OpenCode, Oh My\nPi `.md`; a wrong extension blocks); other agents and named-only installs skip\nthem as `agentFiles` (`--strict` blocks). A name matching a profile role\n(`research.md` with `roles.research`) fails validation. Ownership matches global\nfiles: adopt with backup, `agent-file` kind in `mango status`, edits need\n`--override`, `use` releases, `undo` restores.\n\nA full example with all four roles and global files:\n`examples\u002Fprofiles\u002Fdaily-driver\u002Fprofile.yaml` in the source checkout.\n\n## Validate, preview, check readiness\n\n```bash\nmango validate \u003Cprofile.yaml> --bindings \u003Cfile> --json\nmango doctor --json\nmango render \u003Cprofile-name> --profiles .\u002Fprofiles --resource-root . \\\n  --bindings .\u002Fbindings\u002Flocal.yaml --target \u003Cname> --target-version \u003Cexact> \\\n  --out .\u002Fpreview --preview --json\n```\n\n`validate` checks one profile's syntax and route binding offline; parent\nresolution and resources are only checked by `render`\u002F`install` with a\npackage root. `doctor` is read-only; its `PLAN` column is exactly what a plain\n`mango install \u003Cprofile> --target \u003Cname>` would plan, and `IN RANGE` compares\nthe detected binary to the tested range (tested version up to the next minor):\n\n```text\nTARGET               BINARY  DETECTED               IN RANGE  CONFIG                                   PLAN\nclaude-code@2.1.278  claude  2.1.281 (Claude Code)  yes       \u002Fhome\u002Fu\u002F.claude\u002Fsettings.json (exists)   ready\noh-my-pi@18.4.6      omp     omp\u002F18.4.6             yes       \u002Fhome\u002Fu\u002F.omp\u002Fagent\u002Fconfig.yml (exists)   ready\nnext: mango install default --target claude-code\n```\n\n`render` (alias `preview`) writes only beneath a new `--out` directory. Full\nprofiles are never directly applicable (`render.json` keeps\n`applicable: false`); a staged `--preview` prints the blockers as `warning`\nlines, ends with `preview staged in \u003Cout>; applicable to \u003Ctarget>@\u003Cversion>:\nno (...)`, and exits 0. Without `--preview` it writes nothing and exits nonzero.\n\n## Plan, apply, undo\n\nA preview's `applicable: false` does not mean the agent can't be installed:\n`install` applies the narrow per-agent subset in `docs\u002Fpublic\u002Fagents.md` (e.g.\nthe Claude Code and Oh My Pi model settings). A `ready` plan is installable;\nuse `install` rather than hand-writing agent config. An installed version\noutside the tested range still plans, with a warning. `install` always plans\nfirst, then repeats the same inputs to apply:\n\n```bash\nmango install \u003Cprofile-name> --target \u003Cname>\nmango install \u003Cprofile-name> --target \u003Cname> --apply --yes --expect-plan \u003CplanID>\nmango undo --target \u003Cname>   # add --apply --yes --expect-plan \u003Cid> to apply\n```\n\nScripts read the ID from `--json` output as `.planID` (install, use, and undo;\nundo also reports `originalPlanID`), or from the text line `plan \u003Cid> (ready)`.\nTarget names are `claude-code`, `codex`, `hermes`, `oh-my-pi` (not `omp`),\n`openclaw`, `opencode`, `pi`, optionally `@\u003Cversion>`.\n\nAgents with named profiles, native or emulated, get the profile under its own\nname and leave the agent's default settings alone; the plan prints\n`use it: \u003Ccommand>` (Codex: `codex --profile \u003Cprofile-name>`, from\n`$CODEX_HOME\u002F\u003Cprofile-name>.config.toml`; OpenClaw: `openclaw --profile \u003Cprofile-name>`,\nfrom `~\u002F.openclaw-\u003Cprofile-name>\u002Fopenclaw.json`; Claude Code, which has no native\nprofiles: `claude --settings ~\u002F.claude\u002Fprofiles\u002F\u003Cprofile-name>.json`; OpenCode:\n`opencode --agent \u003Cprofile-name>`, from `agents\u002F\u003Cprofile-name>.md` beside `opencode.json`;\nHermes: `hermes -p \u003Cprofile-name>`, from `\u003Chermes-home>\u002Fprofiles\u002F\u003Cprofile-name>\u002Fconfig.yaml`;\nOh My Pi, emulated: `omp --config ~\u002F.omp\u002Fagent\u002Fprofiles\u002F\u003Cprofile-name>.yml`).\nAdd `--default` to also write the agent's default settings. Agents without\nprofiles are installed as their default settings, with a plan note saying so.\nWithout `--config`, plans use the target's documented default config path.\nReview the resolved path, field diff, skipped requirements, and plan ID\nbefore applying. An existing config is adopted with a backup; a\nMango-installed value the user later edited needs `--override`, and\n`--non-interactive` never grants consent by itself. `undo` (alias `restore`)\nrestores the latest committed install, or an explicit `--original-plan \u003Cid>`.\n\n`mango use \u003Cprofile>` switches every managed agent (or `--target`\u002F`--all`) to\nthe profile as its default, with the same plan-then-`--apply --yes\n--expect-plan \u003Cid>` consent. A `(blocked)` plan with `conflict` rows means an\nowned file was edited outside mango: review the file rows with `-v`, then rerun the\nplan with `--override` (or `--target` the unaffected agents). Global files the\nnew profile does not write are released: deleted if profile-mango created them,\nrestored from the backup if adopted. `mango status [--json]` is read-only: per agent the recorded profile,\neach owned file `in-sync`\u002F`edited`\u002F`missing`, and `sources:\ncurrent`\u002F`changed`\u002F`unknown` against the current profile files and bindings.\nEach agent is labeled at its installed version (same `--version` probe as\ninstall plans), e.g. `codex@0.155.1 (tested 0.157.1)` when it differs from the\ntested adapter version; `--json` adds `versionCheck`\n(`binary`, `qualified`, `range`, `detected`, `status`).\n\n```bash\nmango status --json\nmango use \u003Cprofile-name>            # add --apply --yes --expect-plan \u003Cid>\n```\n\n`mango use` only covers agents already managed (see `status`). To bring a new\nagent under a profile, first run `mango install \u003Cprofile> --default --target\n\u003Cname>`. With `use` or `--default`, Claude Code, Codex, Oh My Pi, and OpenCode\ncopy each skill folder whole into their skills folder (Codex:\n`~\u002F.agents\u002Fskills`); named profiles list skills as not installed, and switching\nto a profile without a skill removes its files or restores the replaced ones.\nOpenClaw copies skills beside every config it writes, named profiles included\n(`~\u002F.openclaw-\u003Cname>\u002Fskills`); `mango install \u003Cp> --target openclaw --agent\nopenclaw=\u003Cid>` also sets that existing agent's `agents.entries.\u003Cid>.skills`\nallowlist, which later installs keep and a switch gives back.\n\nThe skill folder in the profile package is canonical; installed copies are\noutput. Never copy an installed or `~\u002F.agents\u002Fskills` copy over the package\nfolder: it has rendered routes instead of `{{route.…}}` placeholders and may be\nolder. `mango status` lists skills whose global copy differs and which side is\nnewer; port a newer global edit into the package by hand. An install conflicts\non an unmanaged skill file newer than the package copy unless `--override`.\n\n## Safety boundary\n\n- `init`, `home`, `validate`, and `render` never inspect agent homes, read\n  credentials, call providers, or launch target agents.\n- `install`\u002F`undo` touch only the planned config path and adjacent\n  profile-mango manifests, backups, journals, and locks; never auth stores,\n  sessions, plugins, MCP, providers, or the network. Unqualified targets and\n  unknown required properties block installation rather than being dropped.\n- Known requirements a target cannot install (permissions, tools,\n  instructions, skills, roles, unsupported effort) are skipped, not applied: the plan lists them under\n  each target (`not installed for this agent: ...`, JSON\n  `skippedRequirements`). Pass `--strict` to block instead.\n- `mango agents check` is a separate network drift check; skip it\n  when offline operation is required.\n",{"name":5,"license":15,"metadata":24,"description":27,"allowed-tools":28,"compatibility":29},{"tags":25,"author":12,"version":26},"profile-mango, coding-agents, profiles, cli, yaml, validation","0.0.6","Operates the mango CLI (profile-mango) that installs one portable coding-agent profile — model\u002Fprovider\u002Feffort route, subagent roles, global instruction files, skills — across Claude Code, Codex, OpenCode, Oh My Pi, Pi, Hermes, and OpenClaw. Use when switching agents to another profile, changing model or effort routing or subagent roles across agents, editing profile.yaml or bindings\u002Flocal.yaml, checking `mango status` drift, or running mango init\u002Fvalidate\u002Frender\u002Fdoctor\u002Finstall\u002Fuse\u002Fundo\u002Froute. Not for editing the instruction text itself (global-agent-instructions).\n","Bash Read Write Edit","Requires the mango CLI on PATH. Usable from any Agent Skills host (Codex, OpenCode, Pi, Cursor, Gemini CLI, VS Code, Claude Code, Oh My Pi).","main","f55d04d764d19932867d43d74578d8927aae6060",".agents\u002Fskills\u002Fprofile-mango","https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango","https:\u002F\u002Fgithub.com\u002Fariel-frischer","Software Engineer\r\nWorking on Agentic Coding productivity tools! 🚀Founder of RepoBird.ai & Rentalot.ai","2026-10-09 08:04:00",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add ariel-frischer\u002Fprofile-mango --skill profile-mango",{"tool":43,"command":44},"bunx","bunx skills add ariel-frischer\u002Fprofile-mango --skill profile-mango",{"tool":46,"command":47},"pnpm","pnpm dlx skills add ariel-frischer\u002Fprofile-mango --skill profile-mango","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fprofile-mango\u002FSKILL.md",true,[],[52,59,66,73],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7DDYSERM19H8Z6Z0HHR5A0M","research","Read-heavy research workflow fixture.","https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango\u002Fblob\u002Fmain\u002Fpkg\u002Fprofilemango\u002Ftestdata\u002Ffixtures\u002Fread-only\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7DDYPPJE708W12VDSWN0FMQ","test-driven-coding","Implement a scoped behavior change with a failing test, minimal code, and focused validation.","https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Ftest-driven-coding\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DDYMHNBSXMQ91R2YXWNN2C","docs-research","Answer a documentation question from local sources with traceable claims and explicit limitations.","https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fdocs-research\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DDYGC9ZC1X9AE2M8KPY6T7","code-review","Review a code change for verifiable correctness, safety, and regression defects without editing it.","https:\u002F\u002Fgithub.com\u002Fariel-frischer\u002Fprofile-mango\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[]]