pstack
English · 简体中文
This is a multi-harness reference port of official Cursor pstack. Canonical principles, skills and playbook intent remain upstream-owned; host profiles, native adapters and package projections are maintained here. Grok Build is one host adapter, not the shared execution model.
Architecture and support
The source-of-truth boundary and outstanding conformance gaps are documented in Harness-neutral authority and verification. The implementation map records the current schemas, adapters, optional JEV decision boundary and independently verified evidence.
The package descriptor currently targets Grok, Codex, OMP (oh-my-pi), OpenCode, Antigravity and Droid. A declared target or projected manifest is not proof of native execution; Droid remains a candidate and evidence differs by host. Read profiles/<host>.json and the matching host-owned tool reference before executing any harness-specific step. An unsupported capability must be labelled GAP and must not borrow Grok's invocation method. Claude/Copilot mappings are not automatically shipped host targets.
The installation, first-session, model defaults and CLI command examples below are Grok Build-specific unless a heading explicitly says otherwise. They do not define portable routing or model policy.
Credits
The upstream playbooks and principles are poteto's, from official pstack. This repository is tommy-ca/pstack, adapted from aa2246740/pstack-grokbuild. The Grok Build adapter uses the native tools in grok-tools.md; other hosts use their own profiles and references. This port did not author those playbooks or principles.
poteto's idea is less slop, go deep first, and parallelize only after one agent can be trusted to write verifiable code. That philosophy is theirs. This README does not speak as poteto.
Grok Build installation
grok plugin install tommy-ca/pstack --trust
grok plugin enable pstack
xAI Official also lists a plugin named pstack that points at cursor/plugins. Use owner/repo. Do not treat bare grok plugin install pstack as this port. This repo is a single-plugin tree. Do not nest it as plugins/pstack. Do not move it into grok-build-plugins as pstack/. Optional catalog: tommy-ca/grok-build-plugins.
A local checkout also works:
grok plugin install /path/to/pstack --trust
grok plugin enable pstack
Droid
This checkout also projects a native Factory Droid package: .factory-plugin/ plus generated droids/. Install from a local checkout into your own Droid config:
droid plugin marketplace add /path/to/pstack
droid plugin list # the registered marketplace name follows the directory basename
droid plugin install pstack@<basename> --scope user
Droid roles are pstack-<role> (pstack-feature, not pstack:feature). The spawn contract, inverted skill precedence (personal and project skills shadow plugin skills), and capability gaps are in droid-tools.md. Offline checks (droid doctor, plugin lifecycle) prove packaging and the tool surface only. Custom-role serving and model selection are untested.
Grok Build first session
-
Enable from a host shell if grok plugin enable pstack hits EROFS on config.toml:
grok --sandbox off plugin enable pstack
Or press Space in the Plugins tab. inspect "enabled" is trust. Skills and pstack:<role> agents load only when pstack is in [plugins].enabled.
-
Reload: Plugins tab r, or start a new session. This session will not grow pstack:how-explorer after enable.
-
Spawn pstack:how-explorer, not how-explorer. Type /poteto-mode …. It does not auto-enter. /setup-pstack is optional.
-
Do not run grok plugin marketplace add from a sandboxed agent. That also rewrites config.toml and hits EROFS. Owner/repo install still works in-session.
Tool mapping is in grok-tools.md.
Get started
Two steps.