[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BKF3AHZS6PJCEF5Y5QZV4D":3,"skill-same:01M7BKF3AHZS6PJCEF5Y5QZV4D":73},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BKF3AHZS6PJCEF5Y5QZV4D","setup-pstack",null,"Install, update, remove, or inspect pstack's Codex agent profiles and per-role model registry. Use for setup-pstack or requests to configure pstack agents and models.","nahuelb\u002Fpstack-codex","nahuelb","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6378996?v=4","01M7BKBW6R13F440YA3DWXQ9GM","nes","01M7BKBW7A4FZ5STZT0CNXX3B6",1,"MIT","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: setup-pstack\ndescription: \"Install, update, remove, or inspect pstack's Codex agent profiles and per-role model registry. Use for setup-pstack or requests to configure pstack agents and models.\"\n---\n\n# Setup pstack for Codex\n\nInstall two persona-specific custom agents and a complete per-role model registry without adding them to the plugin manifest. Codex loads project profiles from `.codex\u002Fagents\u002F*.toml` and user profiles from `~\u002F.codex\u002Fagents\u002F*.toml`. This skill's `agents\u002Fopenai.yaml` is UI metadata only.\n\nRead `references\u002Fmodel-profile.md` before changing configuration. The portable prompts in the owning skills remain authoritative and work without installed profiles.\n\n## Safety contract\n\n- Require explicit user intent for install, upgrade, or uninstall.\n- Ask for `project` or `user` scope when it is not clear. Project scope is the safer default only when the user says to configure the current repository.\n- Scan both project and user agent directories before a write. Stop on duplicate TOML `name` fields regardless of filename or layer.\n- Never overwrite another owner. Update or remove only files whose current SHA-256 matches this setup's receipt.\n- A modified, missing, or relocated receipted file requires review; leave profiles and receipt untouched.\n- Configuration is not runtime proof. Never claim the served model, effort, effective permissions, connector set, or skill availability unless a supported live surface reports it.\n\n## Model policy\n\nAsk whether to keep the current mapping or change specific roles. Read the complete role list and runtime resolution rules in `references\u002Fmodel-profile.md`. A single role accepts one lane. A panel role accepts one or more lanes, and its list length controls fanout.\n\nEach lane is `skill-default`, `inherit-parent`, `auto`, or an explicit requested configuration. An explicit lane contains `model` and `reasoning_effort`. It may contain `service_tier`; omission leaves the inherited tier unconstrained. Fast mode requests `\"priority\"`. Treat these values as one configuration. `skill-default` returns to the bundled choice in `references\u002Fmodel-defaults.json`. The inheritance aliases omit explicit spawn overrides.\n\n### Reasoning budget\n\nAsk for one reasoning budget before you show the roles. Prefer a multiple-choice question. Offer these labels, and name the recorded budget when the registry already has one.\n\n- `unlimited` — keep the effort each lane already carries\n- `large` — xhigh reasoning\n- `medium` — high reasoning\n- `small` — medium reasoning\n\nA budget sets one target reasoning effort for every lane that names a model, panel entries included. Inheritance aliases never change. When the detected model does not support the target, setup uses that model's highest detected effort at or below it. When no detected effort qualifies, setup keeps the current effort and reports the role as needing a choice. Ask the user to pick another model or effort for those roles.\n\nSetup records the chosen budget in the registry and the receipt. A later run without a budget keeps the recorded one. `unlimited` restores the bundled effort of every `skill-default` lane. It does not rewrite a lane the user set explicitly; use `skill-default` for that role to return it to the bundled choice.\n\nIf a supported Codex model-list surface is observable, convert it to JSON records shaped like:\n\n```json\n[{\"slug\":\"gpt-5.6-luna\",\"reasoning_efforts\":[\"low\",\"medium\",\"high\",\"xhigh\",\"max\"],\"service_tiers\":[\"priority\"]}]\n```\n\nValidate model, effort, and any requested tier through supported live discovery. Follow the setup-evidence and runtime-capability rules in `references\u002Fmodel-profile.md`. The helper accepts `spawn_service_tier_override` and `profile_service_tier_override` booleans for those specific mechanisms. Do not claim either mechanism from inheritance evidence. If the helper cannot validate the request, report its `unverified-inheritance` result and retained request. That result does not establish runtime unavailability or authorize weaker settings for a task. An abbreviated model list is not a complete entitlement check.\n\nPersona profiles are a JSON object keyed by namespaced agent name:\n\n```json\n{\n  \"pstack-poteto-agent\": {\"model\":\"gpt-6-astra\",\"reasoning_effort\":\"high\"},\n  \"pstack-comment-sicko\": {\"model\":\"gpt-5.6-terra\",\"reasoning_effort\":\"medium\"}\n}\n```\n\nRole choices are a second JSON object keyed by the exact role labels from `references\u002Fmodel-profile.md`. It can contain only the roles being changed. Single roles accept one value. Panel roles accept an array:\n\n```json\n{\n  \"feature, refactoring\": {\"model\":\"anthropic\u002Fclaude-opus-5\",\"reasoning_effort\":\"high\"},\n  \"how critics\": [\n    {\"model\":\"anthropic\u002Fclaude-fable-5-1\",\"reasoning_effort\":\"high\"},\n    {\"model\":\"gpt-5.6-luna\",\"reasoning_effort\":\"max\",\"service_tier\":\"priority\"},\n    \"inherit-parent\"\n  ]\n}\n```\n\n## Execute\n\nThe helper is `scripts\u002Fmanage-agents.mjs` relative to this skill.\n\n```text\nnode scripts\u002Fmanage-agents.mjs scan --project-root \u003Crepo> --user-home \u003Chome>\nnode scripts\u002Fmanage-agents.mjs install --scope project --project-root \u003Crepo> --user-home \u003Chome>\nnode scripts\u002Fmanage-agents.mjs install --scope user --project-root \u003Crepo> --user-home \u003Chome>\nnode scripts\u002Fmanage-agents.mjs uninstall --scope project --project-root \u003Crepo> --user-home \u003Chome>\n```\n\nAdd `--profile \u003Cjson-file>` for persona pairs, `--roles \u003Cjson-file>` for role changes, and `--models \u003Cjson-file>` only when the list came from an observable supported surface. Add `--capabilities \u003Cjson-file>` when a fast request is present. Add `--budget \u003Cunlimited|large|medium|small>` for the chosen reasoning budget. Omitted roles keep their current mapping. On a fresh setup, omitted roles use `references\u002Fmodel-defaults.json`. Do not create temporary files containing secrets; these files contain model identifiers only.\n\nSetup writes `.codex\u002Fpstack-models.json` at project scope or `~\u002F.codex\u002Fpstack-models.json` at user scope. The project registry overrides the user registry. On success, report the scope, profile paths, registry path, receipt path, the recorded budget, and each role's setup status. Report every clamped or unmet role from `budgetPolicies`. Say that the new mapping applies to newly spawned agents. When a panel inherits or repeats one model, report reduced diversity instead of claiming which model served it.\n\nOn `review-required` or any collision, stop. Show the exact paths and do not suggest force deletion.\n","# Setup pstack for Codex\n\nInstall two persona-specific custom agents and a complete per-role model registry without adding them to the plugin manifest. Codex loads project profiles from `.codex\u002Fagents\u002F*.toml` and user profiles from `~\u002F.codex\u002Fagents\u002F*.toml`. This skill's `agents\u002Fopenai.yaml` is UI metadata only.\n\nRead `references\u002Fmodel-profile.md` before changing configuration. The portable prompts in the owning skills remain authoritative and work without installed profiles.\n\n## Safety contract\n\n- Require explicit user intent for install, upgrade, or uninstall.\n- Ask for `project` or `user` scope when it is not clear. Project scope is the safer default only when the user says to configure the current repository.\n- Scan both project and user agent directories before a write. Stop on duplicate TOML `name` fields regardless of filename or layer.\n- Never overwrite another owner. Update or remove only files whose current SHA-256 matches this setup's receipt.\n- A modified, missing, or relocated receipted file requires review; leave profiles and receipt untouched.\n- Configuration is not runtime proof. Never claim the served model, effort, effective permissions, connector set, or skill availability unless a supported live surface reports it.\n\n## Model policy\n\nAsk whether to keep the current mapping or change specific roles. Read the complete role list and runtime resolution rules in `references\u002Fmodel-profile.md`. A single role accepts one lane. A panel role accepts one or more lanes, and its list length controls fanout.\n\nEach lane is `skill-default`, `inherit-parent`, `auto`, or an explicit requested configuration. An explicit lane contains `model` and `reasoning_effort`. It may contain `service_tier`; omission leaves the inherited tier unconstrained. Fast mode requests `\"priority\"`. Treat these values as one configuration. `skill-default` returns to the bundled choice in `references\u002Fmodel-defaults.json`. The inheritance aliases omit explicit spawn overrides.\n\n### Reasoning budget\n\nAsk for one reasoning budget before you show the roles. Prefer a multiple-choice question. Offer these labels, and name the recorded budget when the registry already has one.\n\n- `unlimited` — keep the effort each lane already carries\n- `large` — xhigh reasoning\n- `medium` — high reasoning\n- `small` — medium reasoning\n\nA budget sets one target reasoning effort for every lane that names a model, panel entries included. Inheritance aliases never change. When the detected model does not support the target, setup uses that model's highest detected effort at or below it. When no detected effort qualifies, setup keeps the current effort and reports the role as needing a choice. Ask the user to pick another model or effort for those roles.\n\nSetup records the chosen budget in the registry and the receipt. A later run without a budget keeps the recorded one. `unlimited` restores the bundled effort of every `skill-default` lane. It does not rewrite a lane the user set explicitly; use `skill-default` for that role to return it to the bundled choice.\n\nIf a supported Codex model-list surface is observable, convert it to JSON records shaped like:\n\n```json\n[{\"slug\":\"gpt-5.6-luna\",\"reasoning_efforts\":[\"low\",\"medium\",\"high\",\"xhigh\",\"max\"],\"service_tiers\":[\"priority\"]}]\n```\n\nValidate model, effort, and any requested tier through supported live discovery. Follow the setup-evidence and runtime-capability rules in `references\u002Fmodel-profile.md`. The helper accepts `spawn_service_tier_override` and `profile_service_tier_override` booleans for those specific mechanisms. Do not claim either mechanism from inheritance evidence. If the helper cannot validate the request, report its `unverified-inheritance` result and retained request. That result does not establish runtime unavailability or authorize weaker settings for a task. An abbreviated model list is not a complete entitlement check.\n\nPersona profiles are a JSON object keyed by namespaced agent name:\n\n```json\n{\n  \"pstack-poteto-agent\": {\"model\":\"gpt-6-astra\",\"reasoning_effort\":\"high\"},\n  \"pstack-comment-sicko\": {\"model\":\"gpt-5.6-terra\",\"reasoning_effort\":\"medium\"}\n}\n```\n\nRole choices are a second JSON object keyed by the exact role labels from `references\u002Fmodel-profile.md`. It can contain only the roles being changed. Single roles accept one value. Panel roles accept an array:\n\n```json\n{\n  \"feature, refactoring\": {\"model\":\"anthropic\u002Fclaude-opus-5\",\"reasoning_effort\":\"high\"},\n  \"how critics\": [\n    {\"model\":\"anthropic\u002Fclaude-fable-5-1\",\"reasoning_effort\":\"high\"},\n    {\"model\":\"gpt-5.6-luna\",\"reasoning_effort\":\"max\",\"service_tier\":\"priority\"},\n    \"inherit-parent\"\n  ]\n}\n```\n\n## Execute\n\nThe helper is `scripts\u002Fmanage-agents.mjs` relative to this skill.\n\n```text\nnode scripts\u002Fmanage-agents.mjs scan --project-root \u003Crepo> --user-home \u003Chome>\nnode scripts\u002Fmanage-agents.mjs install --scope project --project-root \u003Crepo> --user-home \u003Chome>\nnode scripts\u002Fmanage-agents.mjs install --scope user --project-root \u003Crepo> --user-home \u003Chome>\nnode scripts\u002Fmanage-agents.mjs uninstall --scope project --project-root \u003Crepo> --user-home \u003Chome>\n```\n\nAdd `--profile \u003Cjson-file>` for persona pairs, `--roles \u003Cjson-file>` for role changes, and `--models \u003Cjson-file>` only when the list came from an observable supported surface. Add `--capabilities \u003Cjson-file>` when a fast request is present. Add `--budget \u003Cunlimited|large|medium|small>` for the chosen reasoning budget. Omitted roles keep their current mapping. On a fresh setup, omitted roles use `references\u002Fmodel-defaults.json`. Do not create temporary files containing secrets; these files contain model identifiers only.\n\nSetup writes `.codex\u002Fpstack-models.json` at project scope or `~\u002F.codex\u002Fpstack-models.json` at user scope. The project registry overrides the user registry. On success, report the scope, profile paths, registry path, receipt path, the recorded budget, and each role's setup status. Report every clamped or unmet role from `budgetPolicies`. Say that the new mapping applies to newly spawned agents. When a panel inherits or repeats one model, report reduced diversity instead of claiming which model served it.\n\nOn `review-required` or any collision, stop. Show the exact paths and do not suggest force deletion.\n",{"name":5,"description":7},"main","121c6fb0c47135a02ef927f76da76a3dbf176ff1","skills\u002Fsetup-pstack",0,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex","https:\u002F\u002Fgithub.com\u002Fnahuelb","2026-09-28 19:04:18",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add nahuelb\u002Fpstack-codex --skill setup-pstack",{"tool":37,"command":38},"bunx","bunx skills add nahuelb\u002Fpstack-codex --skill setup-pstack",{"tool":40,"command":41},"pnpm","pnpm dlx skills add nahuelb\u002Fpstack-codex --skill setup-pstack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002FSKILL.md",true,[45,51,55,59,63,69],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",299,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002Fagents\u002Fopenai.yaml",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fagent-prompt-refresh.md",4127,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002Freferences\u002Fagent-prompt-refresh.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fmodel-defaults.json",2558,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002Freferences\u002Fmodel-defaults.json",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fmodel-profile.md",10164,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002Freferences\u002Fmodel-profile.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fmanage-agents.mjs","SCRIPT","脚本",36458,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002Fscripts\u002Fmanage-agents.mjs",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Frefresh-agent-prompts.mjs",14778,"https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002Fscripts\u002Frefresh-agent-prompts.mjs",[74,81,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7BKFMNX7P2VNKW0G2AJ4TW4","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7BKFKCNQG7PNG4B6PTVXN1C","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7BKFJ10QEAY0FNGG2AFJJ69","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7BKFEZPV6987Y9B3K3A3T84","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for $technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7BKFCQ2ZV1WP6B57WEKFYGK","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7BKFAGESR7AAYR2F2MZ0YTE","tdd","Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.","https:\u002F\u002Fgithub.com\u002Fnahuelb\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]