Pstack's 56 engineering skills and 22 playbooks, packaged for
Amp, Antigravity, and
OpenCode V2. The Antigravity and OpenCode ports each add a
harness adapter and six native agent roles. The Amp port is a directory plugin
with an adapter, hidden principle skills, and a pstack_agent tool that routes
subagent roles to Claude models. No package dependencies
are needed to build or load these ports. Bundled helper scripts have their own
runtime dependencies.
Clone this repository, then follow the port's README:
- Install Amp: directory plugin, published to an Amp plugins
repository with
node scripts/publish-amp.mjs <clone>. - Install Antigravity: native directory plugin.
- Install OpenCode: native V2 JavaScript setup/transform plugin.
Nothing installs globally on its own. All ports load workflows on demand, without project-specific behavior. Existing user permissions remain authoritative. Cursor setup, webhook automation, and Cursor model configuration do not execute in any port.
Use Node 22 or newer. From this repository root:
npm run build
npm test
npm run lintEdit antigravity/ADAPTER.md, opencode/ADAPTER.md, agents.json, or the
hand-written Amp files (amp/index.ts, amp/adapter.md, amp/README.md,
amp/MAINTAINING.md), then rebuild.
Do not edit generated skills or generated agent definitions. Tests verify body
hashes, complete resources, model inheritance, and preservation of user settings.
upstream/ is the maintained source. The build makes three self-contained bundles,
without symlinks or runtime access to upstream/. Keeping a single runtime shared
directory was rejected because copying an Antigravity plugin must not break it.
The OpenCode plugin registers skills and agents in memory instead of copying
files into the user's configuration directory. V1 is not supported.
To upgrade from upstream, stage the last cursor/plugins commit that touched
pstack, then build from the staged copy:
node scripts/stage-upstream.mjs /path/to/cursor-plugins <commit> /tmp/empty-dir
node scripts/build.mjs /tmp/empty-dir/pstackReview the upstream changes first, including resource and script changes,
because the hash manifest verifies skill bodies, not every bundled script. The
staging script drops setup-pstack, make-bot-ui, docs/harness, and the
Benny automations, applies the safety patches in scripts/patches/, keeps each
skill's normalized frontmatter with upstream's new description, and rewrites
upstream-bodies.json. If a patch fails, merge the upstream change into the
patch rather than copying an old file over the new one. It stops when upstream
adds or removes a skill, so you can review it and update the counts. Then update
the pin below and run the checks above. amp/MAINTAINING.md
has the full procedure and the lessons from earlier updates.
Weekly updates run through an Amp schedule in the upstream maintenance thread. It reviews upstream changes, updates this checkout, rebuilds all three bundles, and reports verification. It does not push or publish the Amp plugin. The local runner must be available for the scheduled run.
Based on Lauren Tan's pstack 0.15.46 at cursor/plugins revision 0b46ec3, seeded from the reviewed Amp port at amp-plugins revision 620fcf1. The skill bodies remain verbatim. Resources retain that port's script safety adaptations and require explicit opt-in for statechart dependency downloads. The original guide describes Cursor; use each port's README and adapter for installation and harness behavior. MIT attribution is retained.
Guidelines consulted on 2026-10-19:
- Antigravity: plugins, skills, and custom subagents.
- OpenCode: V2 documentation.
- OpenCode V2 2.0.32 contracts: plugin definition, skill registration, agent configuration, and subagent parameters.
Antigravity CLI 1.4.1 passes strict plugin validation and discovers all 57 skills
and six agents after an isolated native install. Its validator also accepts
installed agents after applying flash and pro routing settings. These checks
do not invoke a model or prove App delegation. OpenCode V2 2.0.32 and 2.2.5 load
all 57 skills and six agents in an isolated server. Their native configuration
keeps model, variant, system prompt, disabled-agent, and permission overrides.
Run this check with OPENCODE_V2_BIN=/absolute/path/to/v2/opencode npm test.
On 2.2.5, a native per-agent model and variant override were applied to subagent
session records, so the override mechanism was observed end to end. Plugin and
settings-file routing were also observed: routed agents reported the configured
model, and native per-agent configuration still won. Out of the box the port
writes no model defaults; agents inherit the invoking parent's model until a
user opts into routing. Paid provider routing remains unverified. Configuration
checks alone do not prove model-driven workflows.