Skip to content

kashyab12/uni-pstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uni-pstack

Portable pstack skill package for Codex and Claude Code.

This ports the Cursor pstack workflow into a portable skill suite:

  • pstack/SKILL.md is the entry point.
  • skills/ contains the upstream pstack subskills, including architect, arena, how, why, interrogate, reflect, tdd, typescript-best-practices, unslop, and the principle skills.
  • agents/poteto-agent.md keeps the upstream agent shape as a portable reference. The installed pstack/agents/poteto-agent.md copy travels with the pstack skill.
  • automations/benny/ preserves the upstream Benny automation pack and adds a native portable runner for Codex and Claude Code.
  • pstack/references/ contains principles, playbooks, delegation, writing, and install guidance.
  • pstack/references/automations.md maps Cursor automation concepts to Codex and Claude Code execution.
  • pstack/references/codex-cli.md contains direct Codex CLI examples for foreground, background, review, resume, and long-running work.
  • pstack/scripts/spawn-codex-worker.sh lets Claude Code launch Codex CLI workers for pstack subagent work.
  • automations/benny/scripts/run.sh runs native Benny triage/repro workflows through Codex CLI with durable prompt, output, and JSONL log files.
  • scripts/update-from-upstream.sh refreshes upstream Cursor pstack/Benny source material into this port.
  • install.sh installs the full suite into Codex, Claude Code, or both.
  • scripts/validate.sh runs the repeatable repo validation: upstream skill parity, skill frontmatter validation, shell parse checks, and install smoke tests.

Install locally. In a human terminal this shows Codex and Claude Code as options with both selected by default:

./install.sh

Automation:

./install.sh --all --yes

Install only one target:

./install.sh --codex
./install.sh --claude

Use it:

Use $pstack to fix this bug with Codex subagents.

You can also invoke routed subskills directly after install:

Use $architect to design this boundary before implementation.
Use $arena to compare three approaches.
Use $interrogate to pressure-test this diff.

Claude Code should delegate pstack subagent work through Codex CLI workers:

~/.claude/skills/pstack/scripts/spawn-codex-worker.sh --cwd "$PWD" --output ".pstack/workers/worker.md" -- "Task prompt"

Run Benny natively after install. The runner is bundled under the installed pstack skill:

~/.codex/skills/pstack/automations/benny/scripts/run.sh triage \
  --repo "$PWD" \
  --config .cursor/benny/configuration.yaml \
  --source-channel C123 \
  --message-ts 1712345678.000100 \
  --dry-run

For Claude Code, use the same runner from ~/.claude/skills/pstack/automations/benny/scripts/run.sh; it launches Codex CLI instead of Claude subagents.

Update this repo from upstream Cursor pstack source:

scripts/update-from-upstream.sh

Update installed Codex and Claude Code copies from this repo:

./install.sh --update

From an installed pstack skill, update itself through the bundled helper:

${CODEX_HOME:-$HOME/.codex}/skills/pstack/scripts/update-self.sh
~/.claude/skills/pstack/scripts/update-self.sh

Source inspiration: Cursor's MIT-licensed pstack plugin at https://github.com/cursor/plugins/tree/main/pstack.

About

Portable pstack skill package for Codex and Claude Code

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages