Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

pstack for Muse Personal (Unofficial Port)

This is an UNOFFICIAL port of pstack for the personal Muse agent — the Muse app at muse.ai, whose agent is extended with custom skills. It is NOT for Muse Code and NOT for Claude Code, and it is not affiliated with or endorsed by Cursor, Lauren Tan, Anthropic, or Meta. If you use a terminal coding harness, use the official pstack or one of the existing harness ports instead.

pstack is Lauren Tan's (poteto's) skill stack for rigorous agent-assisted engineering: route a task to a playbook, copy its steps into the todo list verbatim, and require real evidence before claiming the work is done. This repository ports that stack, from the official source, to the personal Muse agent.

  • Upstream: https://github.com/cursor/plugins/tree/main/pstack
  • Author: Lauren Tan (poteto)
  • License: MIT, Copyright (c) 2026 Lauren Tan — see LICENSE
  • Pinned upstream version and commit: see UPSTREAM.md and upstream.lock
  • Modifications by this port: see NOTICE.md

Why a separate port

Existing ports target terminal coding harnesses (Claude Code, Codex, Copilot, Muse Code, and similar). The personal Muse agent is a different surface: no plugin system, no slash commands, no session hooks, and a single model. Its extension mechanism is a custom skill — a folder holding SKILL.md and skill.yaml under ~/workspace/custom-skills/. This port is built for that mechanism, from the official upstream tree, with the translation rules kept as data so the port can be regenerated instead of hand-edited.

What the port looks like

Everything ships as one umbrella skill, not one skill per upstream item:

  • dist/custom-skills/pstack-poteto-mode/SKILL.md — the entry point. It applies only to development and coding tasks, routes the task to a playbook, and enforces evidence before completion.
  • dist/custom-skills/pstack-poteto-mode/skill.yaml — the skill descriptor, with include_in_prompt: false, so the skill never appears in everyday conversations and is found only through skill search.
  • dist/custom-skills/pstack-poteto-mode/references/ — the upstream playbooks in full, the principles, the other upstream skills as reference files, the agent definitions as spawn briefs, and INDEX.md, an inventory of every upstream item with its disposition in this port (ported / reference / adapted / dropped, with the reason).

Main adaptations, all defined as data in transform/mapping.json:

  • Tool names are mapped to Muse personal tools (todo.write, subagent.spawn, muse.exec, muse.read / muse.write / muse.edit, muse.create_options, browser.search / browser.open, muse.skill_search).
  • Per-role model assignment collapses to the single session model. Roles survive as subagent briefs. Upstream setup-pstack is dropped, with the reason recorded.
  • Cursor-only material is dropped (Bugbot triage). Graphite-dependent playbooks (shipping, babysit) are kept as adapted references with the dependency stated.
  • An approval gate is added: playbooks stop before pushing, opening or merging a pull request, deploying, force-pushing, or deleting data, and ask the user first.

Install (for a Muse user)

Give your Muse this repository's link and ask it to install the skill:

Install the pstack port from https://github.com/mofusoft/pstack-for-muse

That is all. Your Muse fetches the repository, copies dist/custom-skills/pstack-poteto-mode/ into ~/workspace/custom-skills/ in its workspace, and the skill becomes discoverable through skill search from the next session. In a development session, ask for poteto-mode by name, or ask Muse to use the pstack playbook for the task.

Regenerate

sh scripts/fetch-upstream.sh          # sparse clone into /tmp (outside the repo)
python3 scripts/generate.py           # reads transform/mapping.json, writes dist/

generate.py takes --upstream PATH (or the PSTACK_UPSTREAM environment variable) pointing at the pstack/ folder of a cursor/plugins checkout. Generation is deterministic: running it twice over the same checkout produces no diff.

Maintenance model

  1. Pin upstream in upstream.lock (commit + plugin.json version).
  2. Regenerate from the pinned tree. Never hand-edit anything under dist/.
  3. Review the generated diff like any other change.
  4. A human merges. Upstream updates are adopted by moving the pin, not by editing generated files.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages