Skip to content

About

Lauren Tan's pstack engineering skills, re-derived for Devin — desktop, CLI, unattended, cloud.

Topics

Resources

Contributing

Security policy

Stars

40 stars

Watchers

0 watching

Forks

Repository files navigation

devin-pstack — the poteto otter

devin-pstack

Lauren Tan's pstack engineering skills, re-derived for Devin.
Install once — every Devin session works in her style: deliberate sub-agents, unslopped prose, verified claims.

release CI MIT license

Changelog · Verification matrix

Unofficial community port — not affiliated with Cognition or Cursor.


What is this?

pstack is Lauren Tan (@poteto)'s public set of agent skills for Cursor — 65 skills encoding how she works: fan-out sub-agents, adversarial review, slop removal, "prove it works" verification, and a set of named engineering principles.

devin-pstack is not a find-and-replace port. In a Cloud session it uses cloud-native tools unchanged. On Devin Desktop it is a full-local system: subagent fan-out with worktree isolation, launchd-scheduled headless sessions for unattended and overnight runs, Docker/seatbelt isolation, gh-driven PR loops, and local session recall — with no cloud dependency. blocked is reserved for physical impossibilities (lid-closed execution, Windows platform coverage) and cloud-resident resources (cloud session history, cloud agent modes), which only a cloud session itself can reach.

Why run pstack on Devin?

Devin gives these skills capabilities they never had on Cursor:

Capability devin-pstack on Devin Upstream Cursor shape
Same-machine inner loop run_subagent workers explore, edit, verify, and control local UI in Desktop Shared workspace subagents
Isolation Worktrees by default; seatbelt sandbox or Docker containers when stronger isolation is needed Manual worktree management
Cross-platform verification fleet covers macOS native plus Linux lanes in Docker; Windows is a stated coverage gap Single-machine only
PR watching Interactive gh loops in-session, or launchd-installed watchers that resume the session headlessly for unattended drive-to-merge watch-pr polling scripts
Review triage gh api review comments plus local triage loop Bugbot scraping heuristics
Long-running work launchd LaunchAgents running caffeinate devin -r <session> -p headlessly — real overnight autopilot while the Mac is awake /loop timer prompts
Local recall Read-only Desktop session database adapter, schema-probed and workspace-scoped Transcript globbing

See docs/harness/devin.md for the full adaptation table.

Install

Pick your surface. Every path is zero-config after install: skills appear as bare slash commands (/swarm, /poteto-mode, ...) and work inside the session with nothing else to connect.

Surface Install Notes
Devin Desktop bash scripts/install_local.sh from a clone, or tell Devin: install the plugin from github.com/Till3005/devin-pstack The script symlinks skills + subagent profiles into Devin's user scan paths — no CLI auth needed, edits apply live. The plugin route installs the GitHub release at account level.
Devin CLI Same bash scripts/install_local.sh Same scan paths serve CLI sessions. Running sessions themselves requires CLI auth; installing skills never does.
Devin Cloud In the webapp, add the plugin from github.com/Till3005/devin-pstack Cloud sessions load the managed plugin; cloud-native lane behavior is unchanged upstream semantics.
Webapp Same as Cloud — the webapp is where account plugins are managed One click, org- or account-scoped.

Verify any local install: devin skills list | grep swarm and bash scripts/install_local.sh --status.

Quick start

You say What happens
/poteto-mode ship this Runs the shipping playbook: draft-free PR, CI watch, review triage
/swarm refactor the auth layer Chooses local or cloud workers by capability, drains them, returns one report
/interrogate this design Multi-angle adversarial review before you commit to it
/deslop Strips agent slop (dead comments, hedged prose, churn) from the diff
"babysit PR 123" The babysit playbook (inside /poteto-mode): gh polling in the open turn, launchd watching unattended
/ketchup Plain-words recap of what changed since you last looked

What's inside

63 skills + 2 subagent profiles + 25 playbooks — skills in skills/, profiles in agents/, playbooks under skills/poteto-mode/playbooks/ — grouped by what they do for you:

Orchestration & fan-out — run many agents, one answer
Skill What it does
poteto-mode The flagship: her agent style — concise, deliberate sub-agents, verified claims. Playbook runner.
swarm Fan N workers at one task, drain, single report
arena N parallel candidates, pick a base, graft the best of the losers
interrogate Adversarial multi-angle review of a plan or diff
automate-me Turns your repeated instructions into a durable -mode skill
poteto-help Guide to picking the right skill, playbook, or principle
setup-pstack One-time cloud mode and local subagent profile mapping

Playbooks live under skills/poteto-mode/playbooks/: shipping, babysit, autopilot-full, opening-a-pr, bug-fix, fleet, autonomous-run, and more.

Verification & review — prove it, don't claim it
Skill What it does
control-ui Drive and verify a real UI — browser, Electron, web app — as a user would
control-cli Same for CLIs and TUIs: flags, exit codes, output
deslop Remove agent slop from a diff before it ships
unslop Cut AI tells from any prose
correct Find mistakes agents keep repeating; make each structurally impossible
no-prose Audit agent-facing prose, encode enforceable rules as checks, prune the rest by blinded ablation
blast-radius What could this change break beyond the diff — with proof
benchmark-checklist Vet a perf measurement before trusting it
show-me-your-work Reviewable decision trail (TSV log) for unattended runs
no-comments Spawn Comment Sicko; fix accepted findings; encode real constraints
create-verification-skill / maintain-verification-skill Generate & keep honest a project-local verification skill
create-formal-verification-skill / maintain-formal-verification-skill Same, for formal methods where a bug costs the most
statechart Check a TLA+ model of a stateful system
tdd Disciplined failing-test-first flow, on request
typescript-best-practices TS standards applied while reading/editing .ts/.tsx
Understanding & explanation — know what you're touching
Skill What it does
how How does X work — walkthroughs, placement, ownership
why Design rationale, regressions, postmortems
architect Sketch types/signatures/structure before code
figure-it-out Design an auditable playbook for work with no narrower fit
recall Reconstruct working context from local Desktop history, cloud history, or both
reflect Mine the transcript for durable learnings; route each to a concrete edit
teach Explain a body of work so a person actually understands it
bro Restate the last message in plain human language
in-your-own-words Check alignment: restate the goal before doing the work
ketchup / ketchup-video Catch you up on what changed since your last message
technical-writing Diátaxis + Google-style + STE layered writing standard
sharpen Make a task deeper, not bigger; rewrite the prompt
reframe Learn the expert words for what you're building; get your description rewritten with them
Engineering principles — 24 named judgment calls

attack-the-premise, boundary-discipline, build-the-lever, encode-lessons-in-structure, exhaust-the-design-space, experience-first, explain-the-number, fix-root-causes, foundational-thinking, guard-the-context-window, laziness-protocol, make-operations-idempotent, migrate-callers-then-delete-legacy-apis, minimize-reader-load, model-the-domain, never-block-on-the-human, outcome-oriented-execution, prove-it-works, redesign-from-first-principles, separate-before-serializing-shared-state, sequence-verifiable-units, subtract-before-you-add, test-behavior-not-implementation, type-system-discipline.

Each is a skill that fires at the moment its judgment applies — e.g. laziness-protocol when you're tempted to add abstraction, explain-the-number before trusting any measurement.

Agents — local custom subagent profiles and cloud prompt briefs: agents/poteto-agent.md, agents/comment-sicko.md.

Automations — automations/benny/: a Slack bug-triage + reproduce-and-fix pack ported to devin_automation_manage, with its own 3 skills (setup-benny, triage-issue-reports, reproduce-and-fix-issues). Copy the pack into a target repo to use it.

Docs — start here:

Doc Contents
docs/guide/01-setup.md … 10-recipes-and-pitfalls.md Ten walkthroughs: setup → poteto-mode → understand → design → build → verify → overnight runs → principles → customization → recipes
docs/harness/devin.md Lane model, Cursor→Devin mapping, and cloud/local boundaries
docs/harness/local.md Desktop setup, probes, permissions, MCP connection, and troubleshooting
docs/harness/other-harnesses.md Notes for running these ideas on other agents
docs/harness/local-cloud-capability-matrix.md What each lane provides, verified live, and the physical limits
docs/harness/cli-auth.md CLI auth diagnosis: the TUN-proxy root cause and the working fix

Honest status

  • ✅ Plugin manifests, skill frontmatter, agent frontmatter, internal markdown links, execution-router data, and cloud-reference routing are validated by scripts/validate_plugin.py.
  • ✅ Unit tests cover the execution router and local session memory adapter. CI runs them on every push and pull request.
  • ✅ The local session adapter was smoke-tested against a real Desktop sessions.db schema and stayed inside the requested workspace.
  • ✅ In-session fan-out smoke-tested live: a read-only subagent verified plugin structure end-to-end in a Desktop session with zero setup.
  • ⚠️ The launchd scheduler is implemented and probed but has not run a live overnight job yet; CLI auth is the one-time activation prerequisite, and unattended modes degrade gracefully without it.
  • ⚠️ Background subagent permission behavior is documented from Devin docs but still needs a live foreground/background matrix on each installation.
  • ⚠️ The benny automation pack is documented and lane-gated but has not run a live Slack trigger yet.

Repository layout

.devin-plugin/plugin.json   # Native Devin plugin manifest
plugin.json                 # Agent Plugins compatibility manifest
scripts/local_schedule.py     # launchd durability layer for unattended local runs
scripts/                    # Probes, validator, router, local session adapter
tests/                      # stdlib unit tests
skills/                     # 63 skills (poteto-mode, swarm, principles, ...)
  poteto-mode/playbooks/    # shipping, babysit, autopilot, fleet, ...
agents/                     # poteto-agent, comment-sicko
automations/benny/          # Slack triage + reproduce-and-fix automation pack
assets/logo.png             # otter eating a sweet potato
docs/guide/                 # 10-part walkthrough
docs/harness/               # adaptation tables + verification matrix

FAQ

Is this official? No. Community port, MIT licensed like upstream. Cognition and Cursor are not affiliated.

Will it track upstream? pstack is Lauren's living skill set — upstream changes don't flow automatically. File an issue (or PR) with the upstream diff you want pulled in.

Does it work in Devin on the web/CLI or only Desktop? Yes. Cloud sessions use cloud-native tools unchanged. Desktop/CLI local sessions are fully self-contained: fan-out, unattended runs, PR watching, automations, isolation, and recall all run locally with no cloud dependency. Blocked cases are physical (lid-closed execution, Windows platform coverage) or cloud-resident (cloud history, cloud agent modes).

Contributing

Issues and PRs welcome — especially: upstream drift ports, more Devin-native playbooks, and verification reports on platforms you use. See CONTRIBUTING.md for the local gates and commit conventions.

Credits

License

MIT — same as upstream. Copyright (c) 2026 Lauren Tan.

About

Lauren Tan's pstack engineering skills, re-derived for Devin — desktop, CLI, unattended, cloud.

Topics

Resources

Contributing

Security policy

Stars

40 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages