setup-pstack
Set up pstack in the current coding environment. Detect available coding harnesses, use native agents by default, and configure optional local providers without servers, tunnels or remote laptop access.
- License 许可
- MIT
- 最近更新
- 2026-10-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- setup-pstack
- description
- Set up pstack in the current coding environment. Detect available coding harnesses, use native agents by default, and configure optional local providers without servers, tunnels or remote laptop access.
03 SKILL.md 正文
Setup pstack
Read the runtime contract. Resolve this skill's plugin root; never assume a path on the user's other machines.
- Determine the actual execution location from the current host context. Run
python3 <plugin-root>/runtime/pstack.py setup --host localin a local desktop/CLI task, or--host cloudin a cloud task. If the location is unknown, use--host auto: native execution remains the safe default. This detects known coding harness executables without invoking them, inspecting login credentials, or starting services. A listed executable is a candidate, not authenticated model access. Unsupported adapters remain disabled. - Use the current host's native agent, model, shell and browser tools by default. Cloud execution always uses the available native OpenAI models and cloud workspace. Do not create a server, tunnel, public URL, laptop connection, API key, or OAuth application. No MCP setup is needed. Install/load the plugin in the actual cloud host; a desktop install alone does not establish cloud availability.
- Read
pstack_environment preferencesthrough the helper. A fresh user hasbudget: nullandrequires_budget_choice: true; never interpret missing state as unlimited. Ask for small (medium effort), medium (high), large (xhigh), or unlimited (max), and wait for the user's answer. Preserve an existing explicit choice unless the user requests a change. Save the actual choice throughpstack_environment budgetwithbudgetand the user'sconfirmation, orsetup --budget <choice>after that choice. Explain that reasoning level is not a spending cap or an execution-time budget. Native model planning refuses an unconfigured budget. Do not import a maintainer's configuration, role IDs, catalog or login state. - Read the current host's actual model catalog/tool metadata. When exact OpenAI models and supported efforts are exposed, record them with
pstack_environment catalog, including the real evidence source. Usepstack_environment planfor each role and panel. If the user specifies per-role models, persist all 17 roles throughpstack_environment configurewith model IDs from that host catalog and their actual confirmation. It retains compatible saved OpenAI preferences and clamps the selected budget to advertised supported efforts. If the host cannot select subagent models, inherit its current model and disclose that limitation. Separate reviewers on one model are different perspectives, not model diversity. All-OpenAI panels are not cross-provider panels. - Optional local harnesses: show the detected candidates only if useful to the user. Keep them disabled unless the user chooses them. An explicit prior choice applies on the same machine; do not ask twice. Enable selected supported adapters with
setup --host local --enable-cli <id> --confirmation <user choice>. Discover only those selected providers and live-probe exact models before storing their role choices. Missing login or unsupported tools leave that adapter unavailable; native execution is still usable. Cloud tasks never import this local selection, credentials, sockets or sessions. - Read back
pstack_environment scanfrom a fresh process. Verify one real project command and save a scoped checkpoint. Report execution location, selected host/harness, model visibility, budget, and any reduced behavior in plain language. A harness scan or model catalog is not an inference or end-to-end verification result.
pstack_* names here are helper operations, not required MCP tools. Invoke them through the host's ordinary shell tool:
python3 <plugin-root>/runtime/pstack.py call pstack_environment scan '{}'
The retained original setup procedure is at ../../upstream/pstack/skills/setup-pstack/SKILL.md. Current environment policy overrides its Cursor-specific defaults and automatic provider substitutions.
04 同仓库更多 Skills
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.
unslop
Cut AI tells from any writing. Must always apply.
typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
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.
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'.
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.