pstack: Claude Code and Codex mapping for Cursor-specific instructions

Open
#601 1 comment 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown
Domain
tooling

Research direction

The proposal lives in an external fork: diff the upstream and main branches of MaxFabian25/pstack-harness-adaptations to see the harness map and skill changes. The central file is skills/poteto-mode/references/harnesses.md, and the multi-model panels and /setup-pstack are the other touchpoints. Done means a maintainer chooses an upstream shape (separate map, conditional sections, or a build step), and that decision comes before any patch.

Written by the indexing model from the issue text.

Description

I run pstack in Claude Code and Codex rather than Cursor. #537 adds Codex packaging but deliberately leaves Cursor-specific tools and agent orchestration alone. I adapted those, and the result is public in case any of it is useful upstream:

https://github.com/MaxFabian25/pstack-harness-adaptations (branch upstream is pstack 0.15.19 as released; main is the adapted tree, so git diff upstream main shows every change).

What it does:

  • Adds one map, skills/poteto-mode/references/harnesses.md, with the Claude Code and Codex equivalent of each Cursor concept: the Task parameters (readonly, environment: "cloud", model slugs), pstack-models.mdc, agent-transcripts/, AskQuestion, /loop, custom modes, cursor-team-kit skills, routines and webhooks. Skills point to the map instead of repeating harness details.
  • Keeps the multi-model panels (interrogate, arena, architect) cross-family by running the second seat through the other harness's CLI (codex exec from Claude Code, claude -p from Codex).
  • Replaces the .mdc rule with a shared ~/.config/pstack/models.md that has one section per harness, written by /setup-pstack.
  • Ships Codex custom agents for poteto-agent, comment-sicko and a read-only reviewer.

Verified: /interrogate ran end to end in both harnesses with a native reviewer plus a cross-family seat. make-bot-ui was exercised against a Claude Code routine API trigger and a local codex exec server. Nothing in the adaptation is removed, and it touches about 70 files.

No PR here because it changes a lot of Cursor-facing prose, and the right shape for upstream (a separate map, conditional sections, or a per-harness build step) is your call. Happy to open a PR in whatever shape you prefer, or to keep it as an external adaptation.

Dominant language
TypeScript
Stars
18.2k
Forks
2k
Avg merge
3h 56m
Merged PRs (30d)
96

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cursor/plugins

All issues in cursor/plugins

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.