open-pstack README

README проекта с github.com/ericlitman/open-pstack. Одним файлом markdown: README.md.

open-pstack

CI Latest release MIT license

Open Pstack brings Lauren Tan (@poteto)'s pstack to Claude Code, Codex and Grok, and to T3 Code running Claude Code or Codex. Its job is to stay as close to her original work as possible while translating the parts that depend on Cursor.

Lauren built pstack from the skills she uses to ship code at Cursor. In a 55-minute interview with Denis Labelle, she says that she shipped 1,000 pull requests in one month after steadily improving how her agents work and verify their results.

If you want to go fast, go deep first.

Open Pstack is an unofficial community project. In Cursor, use Lauren's original pstack. In Codex, use Open Pstack. In Claude Code, you have two choices. Lauren's pstack@cursor-plugins has Claude models only and runs the Grok and GPT roles on the session's Claude model. Open Pstack also runs in Codex, and runs other providers' models through their own command-line tools. Install only one of the two in Claude Code, because both use the pstack: prefix.

What Open Pstack adds

Compared with Lauren's pstack, Open Pstack adds:

What pstack does

pstack is a plugin for coding agents. It is not a new model or a hosted service. It gives your agent engineering rules, step-by-step workflows for different kinds of work, focused skills, and small local tools.

The normal entry point is poteto-mode. You give it a task in plain language. It then:

How pstack routes a task through focused skills, real-app proof, and a review-ready pull request

pstack does not ask you to trust an agent on day one. It helps the agent leave evidence you can inspect. Start with supervised work. Let it run more work in parallel only after its checks have earned that trust in your own repositories.

Install

You need a current Claude Code or Codex installation. For the default three-model review, install and authenticate the Claude Code, Codex, and Grok command-line tools. Bun runs the small local tool that starts models outside the app you are using. You can still use the core workflows with fewer models. You need another provider's command-line tool only when your model sheet assigns that provider.

Claude Code

Run these commands inside Claude Code:

/plugin marketplace add ericlitman/open-pstack
/plugin install pstack@open-pstack
/reload-plugins

Claude Code leaves auto-update off for third-party marketplaces, so Open Pstack stays on the version you installed. To turn it on, run /plugin, open the Marketplaces tab, select open-pstack, and choose Enable auto-update. To update once by hand, run claude plugin update pstack@open-pstack.

Codex

Run these commands in your shell:

codex plugin marketplace add ericlitman/open-pstack --ref main
codex plugin add pstack@open-pstack

Turn on Codex subagents in ~/.codex/config.toml so pstack can compare work in parallel:

[features]
multi_agent = true

Start a new Codex task after installation so it can discover the new skills and setting.

Get started

Lauren's original setup has two steps. Open Pstack keeps the same flow.

1. Set up the models

In Claude Code, run:

/pstack:setup-pstack

In Codex, ask:

Use pstack:setup-pstack to configure pstack.

Setup checks the role assignments, shows how each model will start, and probes each assigned model before saving. The default review panel uses Opus, Sol and Grok. The model catalog lists every other choice.

The first run asks before saving. A rerun also asks when you name a change, or when it finds an invalid sheet or a choice only you can make. A failed probe stops setup before it saves anything. A rerun that changes nothing prints what it kept and saves without asking. After its smoke test, setup offers to generate a verification skill when the project has no way to drive the real app for proof, and a formal verification skill when it has none. A rerun that changes nothing only mentions each offer.

2. Use poteto-mode

Start any task that needs careful engineering with poteto-mode.

In Claude Code:

/pstack:poteto-mode Add saved filters to search. Keep the design simple, verify it in the real app, and open a pull request.

In Codex:

Use pstack:poteto-mode. Add saved filters to search. Keep the design simple, verify it in the real app, and open a pull request.

For that feature, poteto-mode should first understand how search works today. It should decide how the data should be represented before writing code, implement the smallest complete version, run the feature the way a user would, review the result, and prepare the pull request.

That is the main workflow. The other skills are there when poteto-mode needs them or when you want to call one directly.

Useful skills

Skill Use it when
how You want a clear explanation of how part of the system works.
why You want evidence for why the system was built that way.
architect A change crosses a function or module boundary and the design needs to be settled first.
arena You want several complete attempts, followed by a comparison of their best parts.
interrogate You want different models to try to break a design or diff.
create-verification-skill Your project has no repeatable way for an agent to prove real behavior.
maintain-verification-skill The project's verification instructions no longer match the product.
create-formal-verification-skill A race, an invariant, or another property needs a proof that tests rarely reach.
maintain-formal-verification-skill The code a formal verification covers has changed, and you need to know whether a failure is drift or a bug.
babysit A pull request needs CI failures and review comments handled until it is ready.
reflect A hard task is finished and its lessons should improve the next run.
correct Agents keep making the same mistake in a repository and you want a check that stops it.
poteto-help You want to know which skill, playbook, or principle fits a question.
in-your-own-words You want the agent to restate your goal and the problem before it starts.
sharpen You want a prompt rewritten deeper, not bigger, before you send it. It returns the rewritten prompt and does not do the task.

Plugin skills include pstack: in their name. In Claude Code, invoke a native skill such as /pstack:architect. In Codex, ask for the skill, such as Use pstack:architect for this design. See the technical reference for the full list.

Models and token use

Some pstack workflows use one model. Skills such as architect, arena, and interrogate can run several models in parallel. Each model run uses the account and allowance of the tool that runs it.

setup-pstack lets you choose the models, one requested effort per model family you assign, and how many run in parallel. A model from the app you are using runs inside that app. Other models run through their own command-line tools, as the routes table shows. Open Pstack does not quietly replace a failed model with a weaker one.

Claude Code, Codex and Grok

Both apps read the same pstack skills. Only the way they start those skills and models is different.

Claude Code Codex Grok
Start poteto-mode Claude loads a small startup instruction that can route non-trivial work into it. You can also run /pstack:poteto-mode yourself. Ask for pstack:poteto-mode by name. Codex does not load the Claude startup instruction. Run /pstack:poteto-mode by name. The Claude startup instruction does not fire in Grok.
Runs inside the app Claude models stay inside Claude Code. Codex models, such as Sol, stay inside Codex. inherit-parent and auto stay inside Grok.
Other models Codex, Grok and the other external providers run through their command-line tools (routes). Claude, Grok and the other external providers run through their command-line tools (routes). Every explicit model, including Grok models, runs through its command-line tool (routes).
Skills and workflows Shared with Codex and Grok. Shared with Claude Code and Grok. Shared with Claude Code and Codex.

The other providers take part only through the runner. Open Pstack itself runs inside Claude Code, Codex or Grok. In T3 Code, the app T3 runs loads the skills and the model sheet, and T3 starts each lane whose provider it offers.

Learn from the original

Lauren's pstack guide walks through a real task, verification, and longer unattended runs. It uses Cursor's interface, but the ideas are the same. Use the translated skill invocations above in Claude Code or Codex.

This repository also keeps:

Staying close to Lauren's pstack

Open Pstack 1.21.0 tracks pstack 0.15.36 at Cursor commit 2776ddd2355d6d6c8747d3964600f28daf62f049.

The two projects have separate version numbers. The pstack version identifies Lauren's upstream content. The Open Pstack version identifies the Claude Code and Codex package built from it.

In this repository, “upstream” means Lauren's original pstack. Open Pstack does not promise instant updates. It records the exact version it follows and each upstream change it leaves out in UPSTREAM.md, reviews new changes in order, and describes its adaptations in CHANGES.md. New pstack behavior belongs in Lauren's project first whenever possible.

Contributing

Fixes for Claude Code or Codex and help bringing over new pstack releases are welcome. Search GitHub Issues before opening a new issue. For larger behavior changes, explain why the change belongs in Open Pstack instead of Lauren's original project.

Read UPSTREAM.md before changing content brought over from Lauren's pstack. Pull requests must keep one shared skill tree for Claude Code, Codex, Grok and T3 Code and pass the repository's tests, type checks, plugin validation, and static checks.

License

MIT. pstack was created by Lauren Tan. Open Pstack builds on Michael Denyer's pstack-claude port and includes attributed MIT-licensed work from Cursor Team Kit and Superpowers. See NOTICE.md and the preserved license files for details.

open-pstack (ericlitman/open-pstack)

Ищем в базе…

Что это?Open Pstack портирует pstack Лорен Тан (@poteto) — инженерные правила, воркфлоу, скиллы и небольшие локальные инструменты для кодинг-агентов — с Cursor на Claude Code и Codex.
Это новая ИИ-модель или плагин для моего существующего кодинг-агента?Это набор плагинов/скиллов, надстраиваемый поверх Claude Code или Codex, а не новая модель и не хостинг-сервис.
Как его установить и начать пользоваться?Добавьте плагин внутри Claude Code или Codex командами установки для конкретного инструмента, один раз запустите setup-pstack, чтобы выбрать модели, затем запускайте задачи через poteto-mode.
Нужен ли уже установленный Claude Code или Codex?Да, требуется актуальная установка Claude Code или Codex; полный обзор с четырьмя моделями также требует входа в консольные инструменты Claude Code, Codex и Grok, плюс Bun для запуска небольшого локального инструмента, стартующего другие модели.
Может ли Grok работать моим основным кодинг-агентом вместо Claude Code или Codex?Нет. Grok может участвовать в мультимодельном обзоре, но не может быть основным приложением, запускающим pstack; он работает только через свой консольный инструмент, в котором выполнен вход.
Что такое poteto-mode?Это главная точка входа: дайте ему задачу простым языком, и он подберёт подходящий воркфлоу, изучит, как устроена текущая система, сравнит варианты дизайна, внесёт минимальное законченное изменение, проверит реальное поведение запуском и может довести работу через ревью до готового pull request.
Какие ещё скиллы идут в комплекте?Помимо poteto-mode, туда входят how, why, architect, arena, interrogate, create-verification-skill, maintain-verification-skill, babysit и reflect, каждый нацелен на конкретную инженерную ситуацию вроде обзора дизайна, верификации или извлечения уроков из завершённой задачи.
Какие модели он использует по умолчанию?Текущая группа по умолчанию использует Fable, GPT-5.6 Sol, Grok 4.6 и Opus; setup-pstack проверяет, какие модели вам реально доступны, и спрашивает перед сохранением выбора.
Насколько близко он следует за оригинальным pstack Лорен Тан?Open Pstack 1.4.0 следует за pstack 0.15.0 на конкретном коммите Cursor, сохраняя собственный номер версии и перенося лишь то, что реально нужно Claude Code и Codex, поэтому может отставать от новых апстрим-релизов.
Какие есть похожие проекты?pstack, pstack-claude, MiMo-Code, superpowers-zh, ruflo, gstack, oh-my-openagent, jev-browser-use
Автор
ericlitman
Размер
5.4 MB
Звёзды
587
Возраст
3 мес
Коммиты · 90 дней