JStack is a local skills workflow for Claude Code and OpenAI Codex. It is inspired by Garry Tan's gstack and Jesse Vincent's Superpowers: gstack's product/strategy and cross-model review ideas, plus Superpowers' disciplined planning, TDD, debugging, and subagent workflows.
This is a personal fork and working system, not an upstream Superpowers release.
JStack turns vague coding requests into an evidence-driven workflow:
brainstormingframes the real problem, scope, owner boundary, smallest useful wedge, and success evidence before implementation.peer-reviewsends specs and plans to the opposite primary agent for read-only review: Codex asks Claude, Claude asks Codex.writing-planscreates concrete TDD implementation plans underdocs/jstack/plans/.subagent-driven-developmentorexecuting-plansimplements the plan with review gates.peer-review challengeruns an adversarial final review only for live/security/money/state-risk changes.verification-before-completionkeeps completion claims tied to fresh evidence.
The intended high-level flow is:
brainstorming
-> peer-review plan/spec
-> writing-plans
-> peer-review plan
-> implementation
-> risk-based peer-review challenge
-> verification
- Problem Framing Gate: early office-hours-style check for bottleneck, scope, repo ownership, assumptions, smallest evidence-producing wedge, and success evidence.
- Host-aware peer review: Codex sessions use Claude as reviewer; Claude sessions use Codex as reviewer.
- Adversarial challenge mode: production-failure review for live trading, transfers, signers, callbacks, exchange state, migrations, and release blockers.
- Domain/architecture references: optional
CONTEXT.md, ADR, tracer-bullet, agent-brief, and architecture-deepening templates keep long plans from carrying repeated vocabulary and stale instructions. - JSTACK REVIEW REPORT: specs/plans/CURRENT files can track review status, findings, artifacts, verification, and live evidence.
- Claude/Codex sync: both primary hosts point at the same local skills source.
Canonical checkout:
~/.codex/jstackCompatibility alias:
~/.codex/superpowers -> ~/.codex/jstackCodex skill discovery:
~/.codex/skills/jstack -> ~/.codex/jstack/skills
~/.agents/skills/jstack -> ~/.codex/jstack/skillsClaude Code plugin:
jstack@jstack-dev enabled
superpowers@claude-plugins-official disabled
Check local sync status:
scripts/sync-local-hosts.sh --dry-runApply Codex/Agents symlinks:
scripts/sync-local-hosts.sh --applyClone:
git clone https://github.com/jungsooyun/jstack.git ~/.codex/jstackCodex:
mkdir -p ~/.codex/skills ~/.agents/skills
ln -s ~/.codex/jstack/skills ~/.codex/skills/jstack
ln -s ~/.codex/jstack/skills ~/.agents/skills/jstackClaude Code:
claude plugin marketplace add ~/.codex/jstack --scope user
claude plugin install jstack@jstack-dev --scope user
claude plugin disable superpowers@claude-plugins-officialValidate:
claude plugin validate ~/.codex/jstack
claude plugin validate ~/.codex/jstack/.claude-plugin/plugin.json
tests/jstack-static/run.shRestart Claude Code and Codex after installation so their skill/plugin discovery refreshes.
Workflow
using-jstack- startup discipline and skill routing. Renamed from upstreamusing-superpowersfor namespace consistency under thejstack:prefix.brainstorming- design/spec workflow with Problem Framing Gate and peer-review spec gate.writing-plans- concrete implementation plans with peer-review plan gate.subagent-driven-development- one task at a time with implementer, spec review, code-quality review, and risk-based final challenge.executing-plans- inline/batch execution for smaller or tightly coupled work.peer-review- opposite-agent review, adversarial challenge, artifacts, and triage.project-management- Linear-backed PM layer (capture/next/groom/plan-milestone); Linear is the source of truth for backlog, priorities, and goals. Workspace-level PM (projects/milestones/grooming) runs through the Linear MCP; issue-scoped mutations preferorca linearwhen the Orca app is running. Fork-only.
Engineering discipline
test-driven-development- red/green/refactor discipline.simplest-thing- simplicity ladder, test qualification gate, anddebt:markers.systematic-debugging- root-cause debugging before fixes.architecture-deepening- architecture review vocabulary for deeper modules, interface design, seams, adapters, leverage, and locality.verification-before-completion- evidence before completion claims.using-git-worktrees- isolated workspaces, Orca-first when it manages the repo (monitorable board card per worktree) then native tools, then a git fallback.finishing-a-development-branch- final branch/PR/merge/cleanup choices; reads the linked Linear issue from Orca worktree metadata and removes Orca worktrees viaorca worktree rm.
Review handling
peer-review— requesting and receiving review are consolidated here (6.0.0)ask-clauderemains available as a legacy direct-Claude helper in the wider local skills set, butpeer-reviewis the preferred cross-agent path.
Use:
Use jstack:peer-review plan on docs/jstack/plans/<file>.md.
Use jstack:peer-review review for the current diff.
Use jstack:peer-review challenge focusing on replay/idempotency bugs.
Routing:
- In Codex: reviewer is Claude Code CLI.
- In Claude Code: reviewer is Codex CLI.
Review output should be saved under:
.jstack/artifacts/peer-review-<reviewer>-<mode>-<timestamp>.md
External findings are not orders. The active agent verifies each finding against code, tests, docs, logs, or live evidence before accepting it.
Run local contract checks:
tests/jstack-static/run.sh
git diff --checkValidate Claude manifests:
claude plugin validate ~/.codex/jstack
claude plugin validate ~/.codex/jstack/.claude-plugin/plugin.jsonCheck plugin state:
claude plugin listcd ~/.codex/jstack
git pull
scripts/sync-local-hosts.sh --applyRestart Claude Code and Codex after updates that change plugin manifests or skill metadata.
JStack is built from a local fork of Superpowers and borrows workflow ideas from gstack. Attribution:
- gstack: https://github.com/garrytan/gstack
- Superpowers: https://github.com/obra/superpowers
MIT License. See LICENSE.