[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EM1TTEEP71SXBE5MEW0RBP":3,"skill-same:01M7EM1TTEEP71SXBE5MEW0RBP":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":42},"01M7EM1TTEEP71SXBE5MEW0RBP","setup-pstack",null,"Configure which models pstack uses per role and at what reasoning budget. Detects your available models and writes a `pstack-models.md` file that overrides the skill defaults. Use for \u002Fpstack:setup-pstack, \"configure pstack models\", \"pstack budget\", or changing pstack's model choices.","anas-yousef\u002Fpstack-claude","anas-yousef","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F44998563?v=4","01M7EKWDK1H83ZT5PKXWXAVFPD","01M7EKWDKNREGX0H27EY81D3QS",0,"MIT","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: setup-pstack\ndescription: Configure which models pstack uses per role and at what reasoning budget. Detects your available models and writes a `pstack-models.md` file that overrides the skill defaults. Use for \u002Fpstack:setup-pstack, \"configure pstack models\", \"pstack budget\", or changing pstack's model choices.\ndisable-model-invocation: true\n---\n\n# Setup pstack\n\nWrite `pstack-models.md`, the file that sets pstack's model and effort per role. pstack skills read the project file `.claude\u002Fpstack-models.md` when it exists, otherwise the user file `~\u002F.claude\u002Fpstack-models.md`, otherwise their defaults. The project file replaces the user file, with no per-line merge.\n\n## Steps\n\n### 1. Detect available models\n\nEnumerate the models you can pass to the Agent tool's `model` parameter in this session, and the levels its `effort` parameter accepts. That is the dependable source. The models are Claude Code aliases (`opus`, `sonnet`, `haiku`, `fable`). The effort ladder is `max` > `xhigh` > `high` > `medium` > `low`. If you cannot detect them, ask the user which models their plan includes. Never write a model you have not confirmed is available. The aliases `inherit-parent` and `auto` are always valid even though they are not detected models.\n\n### 2. Load current state\n\nThe default role-to-model mapping is the file shape shown in step 5 below. Ask once whether to write the user file `~\u002F.claude\u002Fpstack-models.md` (every project, the default) or the project file `.claude\u002Fpstack-models.md` (this repository only, and it overrides the user file). If the chosen file already exists, read it and treat its `# budget` line and its role values as the current choices. Otherwise start from those defaults. A line whose role is not in step 5, such as `how critics`, is from a retired role. Drop it.\n\n### 3. Budget, map, and confirm\n\n**(a) Ask for a budget.** Prefer AskUserQuestion over free text. Offer these four options with these exact labels, and name the current budget when the file records one. With no file, say that `large` matches the skill defaults.\n\n- `unlimited — one step above the defaults`\n- `large — the defaults`\n- `medium — one step below the defaults`\n- `small — two steps below the defaults, never below medium`\n\n**(b) Apply it.** Build the working table from the skill defaults, and on a re-run keep any role you changed by model, list, or alias (`inherit-parent`, `auto`). A budget moves the effort of every real entry, panel entries included, along the ladder `low` \u003C `medium` \u003C `high` \u003C `xhigh` \u003C `max`. `unlimited` moves each one step up, `large` keeps it, `medium` moves it one step down, and `small` moves it two steps down. Stop at `max` at the top and at `medium` at the bottom, as upstream's `small` did. If a model rejects the resulting effort, use the highest effort it accepts below the target, else mark the role as needing a choice. `inherit-parent` and `auto` do not change. So `unlimited` turns `opus xhigh` into `opus max` and `sonnet high` into `sonnet xhigh`. `small` turns them into `opus medium` and `sonnet medium`.\n\n**(c) Show the roles and confirm.** Show every role with its model and effort, marking any model not in the detected set as needing a choice. Also list each line step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected models plus `inherit-parent` and `auto` (both mean: this role runs on the parent chat model) as the options. Prefer AskUserQuestion over free text. For panel roles (arena runners, architect runners, interrogate reviewers) the value is a list, and one subagent runs per entry, alias entries included, so the list length sets the count. `arena cross-judge pool` is also a list, but Arena selects one value from it whose model tier differs from the parent's when possible. `swarm workers` is the default model for every worker unless a race or comparison assigns another model per arm. `fable` is an escalation, so offer it but never put it in a default.\n\n### 4. Validate\n\nEvery model written must be in the detected set, and every effort must be on the ladder. `inherit-parent` and `auto` always pass. If a chosen model is not available, stop and ask again.\n\n### 5. Write the file\n\nWrite the chosen file with a `# budget` line with the chosen label, and one line per role, using the same labels poteto-mode uses. A line is `\u003Crole>: \u003Cmodel> \u003Ceffort>`, and a panel role separates its entries with commas. Overwrite the whole file so re-runs stay idempotent. Shape:\n\n```\n# pstack model configuration. One line per role. Delete a line to fall back to the skill default.\n# A value is `\u003Cmodel> \u003Ceffort>`, passed as the Agent tool's `model` and `effort`.\n# `inherit-parent` or `auto` as a value: the role runs on the parent chat model (omit Agent `model` and `effort`). Alias entries in a panel list still count toward its fan-out.\n# budget: large\nfeature, refactoring: sonnet high\nbug-fix: sonnet high\nperf-issue: sonnet high\nhillclimb: sonnet high\njudgment and prose: opus xhigh\nhardest tasks: opus xhigh\nhow explorer: haiku high\nhow explainer: opus xhigh\nwhy investigators: haiku high\nwhy synthesizer: opus xhigh\nreflect tooling: sonnet high\nreflect judgment, divergent, synthesizer: opus xhigh\narena runners: opus xhigh, sonnet high\narena cross-judge pool: opus xhigh, sonnet xhigh\nswarm workers: haiku high\narchitect runners: opus xhigh, sonnet high\ninterrogate reviewers: opus xhigh, sonnet xhigh\n```\n\n### 6. Confirm\n\nTell the user which file was written and that pstack skills read it at their next spawn. Re-running this skill updates it.\n\n### 7. Offer a verification skill (optional)\n\nCheck whether the project has a way to drive the real app for proof (a `verify-*` skill, or an existing harness). If not, offer once: \"want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with \u002Fpstack:create-verification-skill.\" On yes, invoke `\u002Fpstack:create-verification-skill`. On no, move on without pushing.\n","# Setup pstack\n\nWrite `pstack-models.md`, the file that sets pstack's model and effort per role. pstack skills read the project file `.claude\u002Fpstack-models.md` when it exists, otherwise the user file `~\u002F.claude\u002Fpstack-models.md`, otherwise their defaults. The project file replaces the user file, with no per-line merge.\n\n## Steps\n\n### 1. Detect available models\n\nEnumerate the models you can pass to the Agent tool's `model` parameter in this session, and the levels its `effort` parameter accepts. That is the dependable source. The models are Claude Code aliases (`opus`, `sonnet`, `haiku`, `fable`). The effort ladder is `max` > `xhigh` > `high` > `medium` > `low`. If you cannot detect them, ask the user which models their plan includes. Never write a model you have not confirmed is available. The aliases `inherit-parent` and `auto` are always valid even though they are not detected models.\n\n### 2. Load current state\n\nThe default role-to-model mapping is the file shape shown in step 5 below. Ask once whether to write the user file `~\u002F.claude\u002Fpstack-models.md` (every project, the default) or the project file `.claude\u002Fpstack-models.md` (this repository only, and it overrides the user file). If the chosen file already exists, read it and treat its `# budget` line and its role values as the current choices. Otherwise start from those defaults. A line whose role is not in step 5, such as `how critics`, is from a retired role. Drop it.\n\n### 3. Budget, map, and confirm\n\n**(a) Ask for a budget.** Prefer AskUserQuestion over free text. Offer these four options with these exact labels, and name the current budget when the file records one. With no file, say that `large` matches the skill defaults.\n\n- `unlimited — one step above the defaults`\n- `large — the defaults`\n- `medium — one step below the defaults`\n- `small — two steps below the defaults, never below medium`\n\n**(b) Apply it.** Build the working table from the skill defaults, and on a re-run keep any role you changed by model, list, or alias (`inherit-parent`, `auto`). A budget moves the effort of every real entry, panel entries included, along the ladder `low` \u003C `medium` \u003C `high` \u003C `xhigh` \u003C `max`. `unlimited` moves each one step up, `large` keeps it, `medium` moves it one step down, and `small` moves it two steps down. Stop at `max` at the top and at `medium` at the bottom, as upstream's `small` did. If a model rejects the resulting effort, use the highest effort it accepts below the target, else mark the role as needing a choice. `inherit-parent` and `auto` do not change. So `unlimited` turns `opus xhigh` into `opus max` and `sonnet high` into `sonnet xhigh`. `small` turns them into `opus medium` and `sonnet medium`.\n\n**(c) Show the roles and confirm.** Show every role with its model and effort, marking any model not in the detected set as needing a choice. Also list each line step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected models plus `inherit-parent` and `auto` (both mean: this role runs on the parent chat model) as the options. Prefer AskUserQuestion over free text. For panel roles (arena runners, architect runners, interrogate reviewers) the value is a list, and one subagent runs per entry, alias entries included, so the list length sets the count. `arena cross-judge pool` is also a list, but Arena selects one value from it whose model tier differs from the parent's when possible. `swarm workers` is the default model for every worker unless a race or comparison assigns another model per arm. `fable` is an escalation, so offer it but never put it in a default.\n\n### 4. Validate\n\nEvery model written must be in the detected set, and every effort must be on the ladder. `inherit-parent` and `auto` always pass. If a chosen model is not available, stop and ask again.\n\n### 5. Write the file\n\nWrite the chosen file with a `# budget` line with the chosen label, and one line per role, using the same labels poteto-mode uses. A line is `\u003Crole>: \u003Cmodel> \u003Ceffort>`, and a panel role separates its entries with commas. Overwrite the whole file so re-runs stay idempotent. Shape:\n\n```\n# pstack model configuration. One line per role. Delete a line to fall back to the skill default.\n# A value is `\u003Cmodel> \u003Ceffort>`, passed as the Agent tool's `model` and `effort`.\n# `inherit-parent` or `auto` as a value: the role runs on the parent chat model (omit Agent `model` and `effort`). Alias entries in a panel list still count toward its fan-out.\n# budget: large\nfeature, refactoring: sonnet high\nbug-fix: sonnet high\nperf-issue: sonnet high\nhillclimb: sonnet high\njudgment and prose: opus xhigh\nhardest tasks: opus xhigh\nhow explorer: haiku high\nhow explainer: opus xhigh\nwhy investigators: haiku high\nwhy synthesizer: opus xhigh\nreflect tooling: sonnet high\nreflect judgment, divergent, synthesizer: opus xhigh\narena runners: opus xhigh, sonnet high\narena cross-judge pool: opus xhigh, sonnet xhigh\nswarm workers: haiku high\narchitect runners: opus xhigh, sonnet high\ninterrogate reviewers: opus xhigh, sonnet xhigh\n```\n\n### 6. Confirm\n\nTell the user which file was written and that pstack skills read it at their next spawn. Re-running this skill updates it.\n\n### 7. Offer a verification skill (optional)\n\nCheck whether the project has a way to drive the real app for proof (a `verify-*` skill, or an existing harness). If not, offer once: \"want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with \u002Fpstack:create-verification-skill.\" On yes, invoke `\u002Fpstack:create-verification-skill`. On no, move on without pushing.\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","583cb36363b11545f389fa22000a98fc84ae8692","skills\u002Fsetup-pstack","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude","https:\u002F\u002Fgithub.com\u002Fanas-yousef","2026-10-14 11:57:47",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":23},[32,35,38],{"tool":33,"command":34},"npx","npx skills add anas-yousef\u002Fpstack-claude --skill setup-pstack",{"tool":36,"command":37},"bunx","bunx skills add anas-yousef\u002Fpstack-claude --skill setup-pstack",{"tool":39,"command":40},"pnpm","pnpm dlx skills add anas-yousef\u002Fpstack-claude --skill setup-pstack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-pstack\u002FSKILL.md",[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7EM8H03WR2E8E9B31AG8YQE","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\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7EM8E8WV7GVW3JHBRGPC3EC","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7EM8AHBT0QTDXQ8FAGKB9V0","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EM85R63HJ6QBQG3W4X28YG","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7EM83CFA42BZF9K6F4H3GYG","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\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EM80V499CGYA0CFC9PMFEW","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\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]