[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E6Z9GFTH95ERR7W9TR1TPW":3,"skill-same:01M7E6Z9GFTH95ERR7W9TR1TPW":47},{"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":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7E6Z9GFTH95ERR7W9TR1TPW","setup-pstack",null,"Configure which models pstack uses per role and at what reasoning budget. Detects your available models and writes pstack-models.json, which overrides the skill defaults. Use for \u002Fsetup-pstack, \"configure pstack models\", \"pstack budget\", or changing pstack's model choices.","paramcodes\u002Fostack","paramcodes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F190682747?v=4","01M7E6SGQX3X1GN8QHH9TPRN6Y","Paramveer Singh","01M7E6SGRXBACX52S3T6J2RGCX",1,"MIT","https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\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 pstack-models.json, which overrides the skill defaults. Use for \u002Fsetup-pstack, \"configure pstack models\", \"pstack budget\", or changing pstack's model choices.\n---\n\n# Setup pstack\n\nWrite `~\u002F.config\u002Fopencode\u002Fpstack-models.json`, a config file that sets pstack's model per role. This skill is invoked only via `\u002Fsetup-pstack` or an explicit user request.\n\n## Steps\n\n### 1. Detect available models\n\nRun `opencode models` and treat its output as the catalog of real model IDs. That list is the dependable source. Never write a real slug you have not seen there. The aliases `inherit-parent` and `auto` are always valid even though they are not detected slugs; both mean \"omit `model`, run on the parent chat model\".\n\nIf the command is unavailable or returns nothing, ask the user to paste their model IDs. Do not fall back to remembered or assumed slugs.\n\nA note to keep in mind: the detected catalog on this machine is a single provider family (`opencode\u002F*`), so any panel of \"diverse models\" collapses to near-identical candidates until more models are added.\n\n### 2. Load current state\n\nThe default role-to-model mapping is the shape shown in step 5 below. If `~\u002F.config\u002Fopencode\u002Fpstack-models.json` already exists, read it and treat its `budget` field and its `roles` values as the current choices. Otherwise start from those defaults. A key that is not in step 5, such as `how critics`, is from a retired role. Drop it.\n\nPreserve any role the user overrode: on a re-run, a role you did not ask about keeps its recorded value.\n\n### 3. Budget, map, and confirm\n\n**(a) Ask for a budget.** Prefer the harness's structured question tool over free text. Offer these four options with these exact labels, and name the current budget when the file records one.\n\n- `unlimited — keep max`\n- `large — xhigh reasoning`\n- `medium — high reasoning`\n- `small — medium reasoning`\n\n**(b) Apply it.** Record the chosen label; it is advisory metadata, not a slug transform. Upstream rewrote every real slug's trailing effort token on the ladder `max` > `xhigh` > `high` > `medium` > `low`. Those suffixed variants do not exist in the `opencode\u002F*` catalog, so this port does not do that arithmetic and never fabricates a suffixed slug. Instead:\n\n- Record the budget label in the `budget` field.\n- If the user asks for a specific effort variant and it is not present in the detected catalog, say so plainly and keep the slug unchanged.\n\n`inherit-parent` and `auto` never change.\n\n**(c) Show the roles and confirm.** Show every role with its model, marking any real slug not in the detected set as needing a choice. Also list each key step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected models plus `inherit-parent` and `auto` as the options. Prefer the structured question tool over free text.\n\nPanel roles (`arena runners`, `architect runners`, `interrogate reviewers`, `arena cross-judge pool`) hold arrays. One subagent runs per array entry, alias entries included, so the array length sets the fan-out count. `arena cross-judge pool` is a candidate pool from which Arena selects one value whose family differs from the parent's when possible. With a single-family catalog that selection usually cannot differentiate, so expect the pool to behave as a plain list.\n\n### 4. Validate\n\nEvery real slug written must appear in the detected `opencode models` output. `inherit-parent` and `auto` always pass. If a chosen real slug is not available, stop and ask again. Also validate the shape: `version` is `1`, `budget` is the chosen label, and every key in `roles` is one of the step 5 keys, with panels as arrays and single roles as scalars.\n\n### 5. Write the config\n\nWrite `~\u002F.config\u002Fopencode\u002Fpstack-models.json`. Overwrite the whole file so re-runs stay idempotent, preserving every role the user has overridden. Shape:\n\n```json\n{\n  \"version\": 1,\n  \"budget\": \"unlimited\",\n  \"roles\": {\n    \"feature, refactoring\": \"inherit-parent\",\n    \"bug-fix\": \"inherit-parent\",\n    \"perf-issue\": \"inherit-parent\",\n    \"hillclimb\": \"inherit-parent\",\n    \"judgment and prose\": \"inherit-parent\",\n    \"hardest tasks\": \"inherit-parent\",\n    \"how explorer\": \"inherit-parent\",\n    \"how explainer\": \"inherit-parent\",\n    \"why investigators\": \"inherit-parent\",\n    \"why synthesizer\": \"inherit-parent\",\n    \"reflect tooling\": \"inherit-parent\",\n    \"reflect judgment, divergent, synthesizer\": \"inherit-parent\",\n    \"arena runners\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"],\n    \"arena cross-judge pool\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"],\n    \"swarm workers\": \"inherit-parent\",\n    \"architect runners\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"],\n    \"interrogate reviewers\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"]\n  }\n}\n```\n\nThe `inherit-parent` defaults above are the shipped defaults here: the detected catalog is single-family `opencode\u002F*`, so any concrete slug would be a guess. Replace them with real catalog IDs once the user picks some — `opencode models` lists what you can set.\n\n### 6. Confirm\n\nTell the user the file was written and which skills read it. 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 \u002Fcreate-verification-skill.\" On yes, invoke `\u002Fcreate-verification-skill` (resolves wherever pstack is installed: workspace or user). On no, move on without pushing.","# Setup pstack\n\nWrite `~\u002F.config\u002Fopencode\u002Fpstack-models.json`, a config file that sets pstack's model per role. This skill is invoked only via `\u002Fsetup-pstack` or an explicit user request.\n\n## Steps\n\n### 1. Detect available models\n\nRun `opencode models` and treat its output as the catalog of real model IDs. That list is the dependable source. Never write a real slug you have not seen there. The aliases `inherit-parent` and `auto` are always valid even though they are not detected slugs; both mean \"omit `model`, run on the parent chat model\".\n\nIf the command is unavailable or returns nothing, ask the user to paste their model IDs. Do not fall back to remembered or assumed slugs.\n\nA note to keep in mind: the detected catalog on this machine is a single provider family (`opencode\u002F*`), so any panel of \"diverse models\" collapses to near-identical candidates until more models are added.\n\n### 2. Load current state\n\nThe default role-to-model mapping is the shape shown in step 5 below. If `~\u002F.config\u002Fopencode\u002Fpstack-models.json` already exists, read it and treat its `budget` field and its `roles` values as the current choices. Otherwise start from those defaults. A key that is not in step 5, such as `how critics`, is from a retired role. Drop it.\n\nPreserve any role the user overrode: on a re-run, a role you did not ask about keeps its recorded value.\n\n### 3. Budget, map, and confirm\n\n**(a) Ask for a budget.** Prefer the harness's structured question tool over free text. Offer these four options with these exact labels, and name the current budget when the file records one.\n\n- `unlimited — keep max`\n- `large — xhigh reasoning`\n- `medium — high reasoning`\n- `small — medium reasoning`\n\n**(b) Apply it.** Record the chosen label; it is advisory metadata, not a slug transform. Upstream rewrote every real slug's trailing effort token on the ladder `max` > `xhigh` > `high` > `medium` > `low`. Those suffixed variants do not exist in the `opencode\u002F*` catalog, so this port does not do that arithmetic and never fabricates a suffixed slug. Instead:\n\n- Record the budget label in the `budget` field.\n- If the user asks for a specific effort variant and it is not present in the detected catalog, say so plainly and keep the slug unchanged.\n\n`inherit-parent` and `auto` never change.\n\n**(c) Show the roles and confirm.** Show every role with its model, marking any real slug not in the detected set as needing a choice. Also list each key step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected models plus `inherit-parent` and `auto` as the options. Prefer the structured question tool over free text.\n\nPanel roles (`arena runners`, `architect runners`, `interrogate reviewers`, `arena cross-judge pool`) hold arrays. One subagent runs per array entry, alias entries included, so the array length sets the fan-out count. `arena cross-judge pool` is a candidate pool from which Arena selects one value whose family differs from the parent's when possible. With a single-family catalog that selection usually cannot differentiate, so expect the pool to behave as a plain list.\n\n### 4. Validate\n\nEvery real slug written must appear in the detected `opencode models` output. `inherit-parent` and `auto` always pass. If a chosen real slug is not available, stop and ask again. Also validate the shape: `version` is `1`, `budget` is the chosen label, and every key in `roles` is one of the step 5 keys, with panels as arrays and single roles as scalars.\n\n### 5. Write the config\n\nWrite `~\u002F.config\u002Fopencode\u002Fpstack-models.json`. Overwrite the whole file so re-runs stay idempotent, preserving every role the user has overridden. Shape:\n\n```json\n{\n  \"version\": 1,\n  \"budget\": \"unlimited\",\n  \"roles\": {\n    \"feature, refactoring\": \"inherit-parent\",\n    \"bug-fix\": \"inherit-parent\",\n    \"perf-issue\": \"inherit-parent\",\n    \"hillclimb\": \"inherit-parent\",\n    \"judgment and prose\": \"inherit-parent\",\n    \"hardest tasks\": \"inherit-parent\",\n    \"how explorer\": \"inherit-parent\",\n    \"how explainer\": \"inherit-parent\",\n    \"why investigators\": \"inherit-parent\",\n    \"why synthesizer\": \"inherit-parent\",\n    \"reflect tooling\": \"inherit-parent\",\n    \"reflect judgment, divergent, synthesizer\": \"inherit-parent\",\n    \"arena runners\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"],\n    \"arena cross-judge pool\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"],\n    \"swarm workers\": \"inherit-parent\",\n    \"architect runners\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"],\n    \"interrogate reviewers\": [\"inherit-parent\", \"inherit-parent\", \"inherit-parent\"]\n  }\n}\n```\n\nThe `inherit-parent` defaults above are the shipped defaults here: the detected catalog is single-family `opencode\u002F*`, so any concrete slug would be a guess. Replace them with real catalog IDs once the user picks some — `opencode models` lists what you can set.\n\n### 6. Confirm\n\nTell the user the file was written and which skills read it. 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 \u002Fcreate-verification-skill.\" On yes, invoke `\u002Fcreate-verification-skill` (resolves wherever pstack is installed: workspace or user). On no, move on without pushing.",{"name":5,"description":7},"main","6bfc4d0a61ace77dcf2857f34c360cd50ec78604","content\u002Fskills\u002Fsetup-pstack",0,"https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack","https:\u002F\u002Fgithub.com\u002Fparamcodes","paramveer.me","on my way to become 1000x engineer","2026-10-06 19:51:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add paramcodes\u002Fostack --skill setup-pstack",{"tool":39,"command":40},"bunx","bunx skills add paramcodes\u002Fostack --skill setup-pstack",{"tool":42,"command":43},"pnpm","pnpm dlx skills add paramcodes\u002Fostack --skill setup-pstack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fsetup-pstack\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7E70AA1SXNZ7MYB8Y5PJ1W0","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7E708BD5REN09DTH0AR2M8K","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7E706HRA328SZJPQBX333W5","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7E701YECJYA8SNV5VX35Z8F","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E6ZYXGM639ZFDP9Q5CEQW2","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7E6ZTGNBWCX5CZXASPN2GDG","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]