pstack skills, Poteto Mode, and the bundled poteto-agent / comment-sicko
agents, adapted for omp (oh-my-pi). This is an omp-only fork of
@casualjim/pi-pstack, which is a fork
of Cursor's pstack.
From this repo's own marketplace:
omp plugin marketplace add SenCha930511/omp-pstack
omp plugin install omp-pstack@omp-pstackmarketplace add reads the catalog from the repository tree OMP fetches. It
does not track your working checkout, and "./" does not re-fetch latest
main on every install. To pick up catalog changes, update the marketplace
first:
omp plugin marketplace update omp-pstack
omp plugin upgrade omp-pstack@omp-pstackOMP compares version numbers. If the catalog head has new commits but
package.json still carries the installed version, upgrade treats it as
current. For an unreleased head, reinstall the same version explicitly:
omp plugin install omp-pstack@omp-pstack --forceThe marketplace path copies the whole catalog tree into OMP's plugin cache,
including tests, scripts, docs, and guide images. npm's files whitelist does
not apply to a marketplace install. The npm tarball still contains only the
published files.
The external catalog at
SenCha930511/omp-marketplace
and the published npm package remain supported:
omp plugin marketplace add SenCha930511/omp-marketplace
omp plugin install omp-pstack@sencha930511
omp plugin install npm:omp-pstackTo pin the npm version, use omp plugin install npm:omp-pstack@0.3.3.
One OMP install scope can have only one runtime package named omp-pstack.
npm, the sencha930511 marketplace entry, and the omp-pstack marketplace
entry cannot coexist there. OMP rejects the second install with:
Runtime package name "omp-pstack" conflicts with installed plugin "..."
Uninstall the current entry before installing from another source:
omp plugin uninstall omp-pstack@sencha930511
omp plugin install omp-pstack@omp-pstackFor an npm install, uninstall omp-pstack first. Restart OMP after the switch,
then check /skill:poteto-mode and the hide mode in
AGENT-INSTALL.md.
For local development:
omp plugin link /path/to/omp-pstackIf you are an agent installing this for a user, follow
AGENT-INSTALL.md. It covers the host check, the
skills.includeSkills allowlist, and verification.
/poteto-mode implement the retry fix and verify it
/poteto-mode <task> loads the full Poteto Mode skill for one task. The skill
matches the task to a playbook, copies its steps into the todo list, and
delegates through omp's task tool.
Use /poteto-mode sticky to keep the workflow on every later turn, or
/poteto-mode sticky <task> to enable sticky mode and run <task> right away,
and /poteto-mode off to stop it. /poteto-mode status shows the current state.
/skill:poteto-mode remains omp's native one-shot skill command and does not
enable sticky mode.
Other entry points:
/skill:no-comments review comments with comment-sicko
/skill:setup-pstack configure per-agent model routing
/skill:poteto-help pick a skill or debug a run
Every bundled skill is registered. A non-empty skills.includeSkills allowlist
filters skills out of the session, so include the pstack names or clear it. The
default empty allowlist loads them all.
- 58 skills under
skills/, adapted from upstream, includingreframe. They are registered; 57 are hidden from the model catalog andsetup-pstackstarts visible, then hides itself after it writes the routing. agents/poteto-agent.mdandagents/comment-sicko.md. omp discovers them from the plugin'sagents/directory; no role pack is needed.poteto-agentautoloadspoteto-modeand can spawn its own subagents;comment-sickodeletes bad comments witheditand inspects git history withbash, and cannot spawn.- A small extension that implements
/poteto-modeone-shot,/poteto-mode sticky [task], and/poteto-mode off. Sticky content is injected as a hiddencustom_message; off filters it.
Poteto Mode is scoped to the session that enabled it. Switching sessions,
branching, or navigating the session tree restores sticky state from that
branch's pstack-mode entries. /clear writes a reset boundary, so sticky
stays off until you run /poteto-mode sticky again. One-shot
/poteto-mode <task> affects one message only.
| Upstream (pi / pi-herdr-agents) | This fork (omp) |
|---|---|
subagent tool |
task tool |
subagents_write_task_models |
task.agentModelOverrides or pi-model-sync |
models.tasks / models.agents |
task.agentModelOverrides, or pi-model-sync presets |
set_tasks |
todo |
per-call role |
per-call model when task.perCallModel is on |
| pi-herdr role pack | omp's conventional agents/ discovery |
/poteto-mode extension command |
/poteto-mode <task> one-shot, /poteto-mode sticky [task], /poteto-mode off, /poteto-mode status |
/skill:poteto-mode |
omp native one-shot; does not enable sticky |
Every bundled skill is registered. All but setup-pstack are hidden from the
model catalog, so /skill:<name> and skill://<name> both resolve them. A
non-empty skills.includeSkills allowlist removes skills from the session;
include the pstack names or clear it. skills.ignoredSkills and
disabledExtensions can remove one too. The default empty allowlist needs no setup.
Prompt-level autonomy matches Cursor. Host-level approvals are controlled
separately by tools.approvalMode.
omp's task tool resolves a subagent model in this order:
task.agentModelOverrides[agent]- the agent's frontmatter
model - the parent session's model
To pin an agent globally, add it to task.agentModelOverrides in
~/.omp/agent/config.yml:
task:
agentModelOverrides:
poteto-agent: anthropic/claude-opus-5.5
comment-sicko: openai/gpt-5.4-miniIf you use pi-model-sync,
write the same mapping into its preset instead. Do not set both for one agent:
model-sync treats an override as an explicit per-call model and skips it.
swarm, arena, and interrogate can run each seat on a different model. That
requires omp's per-call model selection:
task:
perCallModel: "on"
perCallModelAllow:
- anthropic/claude-opus-5.5
- openai/gpt-5.4
- anthropic/claude-sonnet-5.5The models must also be granted through a configured chat role or an agent's
frontmatter model. Do not put an agent used by a panel in
task.agentModelOverrides; a per-call model and an override conflict.
Without per-call selection, every seat uses the agent's configured model.
This project is derived from:
The original MIT license is preserved in LICENSE. See NOTICE.md for the full provenance and the list of changes.
The extension and skills are TypeScript and Markdown; omp runs them directly.
npm install
npm run typecheck
npm test
npm run pack:check
npm run checknpm test checks skill and agent frontmatter, local
Markdown links, stale Cursor references, unsupported agent fields,
and extension behavior. npm run typecheck checks both the extension sources
and the test sources. npm run check runs all checks including version
consistency, extension load-graph verification, release and upstream-sync script
tests, and clean tarball installation against omp.
See CONTRIBUTING.md for local setup, the upstream sync rules, and the pull request checks.
.github/workflows/upstream-sync.yml runs daily to track
cursor/plugins/pstack.
upstream.json classifies every upstream file as verbatim,
local, or excluded, and .github/upstream-sync.json
records the baseline commit and the adapted skill list. npm run check:upstream
verifies the manifest offline and, when given a clone, against the real upstream
tree.
Unadapted files without Cursor-only syntax are copied automatically. A clean
sync updates the manifest pin and cursor.lastSyncedSha in the same PR. When
manual porting remains, the copied files and unresolved items are staged under
upstream.json pending, and the baseline pin stays put so the next run keeps
tracking them. After porting, run:
npm run sync:ack -- --cursor-dir <resolved-clone> [--cursor <sha>] [--adapt <skill> ...] [--reason <text>] [--tests <path>]The ack verifies the clone HEAD and skills tree, accepts the pending copies,
reclassifies the adapted skills, and advances the manifest and config together.
Use --adapt-only --adapt <skill> to record a partial port without advancing
the baseline.
The sync workflow and sync:ack refresh docs/skills.md and
proofs/install.json before npm run check, so the generated files match
the synced tree.