Agent skill

Pstack

by Sma1lboy in Sma1lboy/rove

Rigorous engineering mode for nontrivial work in this repo — a set of named principles plus the leaf skills that apply them.

MITAuto-check passedDevelopment

Install Pstack

skills CLI
$ npx skills add Sma1lboy/rove --skill pstack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Sma1lboy/rove pstack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Sma1lboy/rove.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pstack .claude/skills/pstack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pstack
GitHub stars
146
Token cost
~2k tokens
SKILL.md length
985 words
Files
4
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Rigorous engineering mode for nontrivial work in this repo — a set of named principles plus the leaf skills that apply them.

  • The user says pstack
  • SKILL.md covers How to use it, Principles, Triggers and This repo's rules win, plus 2 more sections
  • Calls bun
  • A task involves architecture

What it does

Pstack is an agent skill from Sma1lboy/rove. Rigorous engineering mode for nontrivial work in this repo — a set of named principles plus the leaf skills that apply them. Use when the user says "pstack", "go deep", "be rigorous", "认真做", or when a task involves architecture, a real bug, a refactor, or anything the user will not be watching. Ported from cursor/plugins pstack by Lauren Tan (MIT); see ATTRIBUTION.md.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `ATTRIBUTION.md`).

It sits in Development, covering Refactoring. The repository describes itself as: Rove — the agent multiplexer for your terminal. Run coding agents on parallel tasks with isolated worktrees and persistent sessions. The licence is MIT.

When your agent uses it

  • The user says pstack
  • A task involves architecture
  • Anything the user will not be watching

Example prompts

  • “pstack”
  • “go deep”
  • “be rigorous”
  • “/pstack”

What it can do on your machine

Read from SKILL.md and the folder at commit 8b9f22c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pstack loads about 2k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 985 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Sma1lboy/rove at commit 8b9f22c, republished under its MIT licence (© Sma1lboy). 985 words, ~1,994 tokens.

Download SKILL.mdSave it as .claude/skills/pstack/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
pstack
description
Rigorous engineering mode for nontrivial work in this repo — a set of named principles plus the leaf skills that apply them. Use when the user says "pstack", "go deep", "be rigorous", "认真做", or when a task involves architecture, a real bug, a refactor, or anything the user will not be watching. Ported from cursor/plugins pstack by Lauren Tan (MIT); see ATTRIBUTION.md.
metadata.internal
true
metadata.upstream
pstack

pstack

Rigor over throughput. The point is to write less code, and to be able to prove the code you wrote works.

Original by Lauren Tan (poteto), MIT, from the Cursor plugin marketplace. This is a port: the principles and general skills are upstream's, the orchestration around them is rewritten for Claude Code and this repo. What changed and why: ATTRIBUTION.md.

How to use it

Read the principles below. Name the ones that shaped a decision, and say which choice each one changed. A citation with no decision behind it means you did not actually apply it — that is worse than not citing, because it reads as rigor without being rigor.

For any principle you actually apply, read its leaf skill in full (skills/principle-<name>/SKILL.md). The one-liners here are an index, not the content.

Principles

Core

  • Laziness Protocol (principle-laziness-protocol). Refactoring, sizing a diff, or tempted to add abstractions, layers, or signal threading. Bias to deletion and the smallest change that solves the problem.
  • Foundational Thinking (principle-foundational-thinking). Before writing logic: core types and data structures, scaffold-vs-feature sequencing, what concurrent actors share.
  • Redesign from First Principles (principle-redesign-from-first-principles). Integrating a new requirement into an existing design. Redesign as if it had been foundational from day one.
  • Subtract Before You Add (principle-subtract-before-you-add). Sequencing an addition, refactor, or rewrite. Remove dead weight first, then build on the simpler base.
  • Minimize Reader Load (principle-minimize-reader-load). Reviewing or shaping code that's hard to trace. Count layers and hidden state, collapse one-caller wrappers, shrink mutable scope.
  • Outcome-Oriented Execution (principle-outcome-oriented-execution). Planned rewrites and migrations with explicit phase boundaries. Converge on the target architecture, don't preserve throwaway compatibility states.
  • Experience First (principle-experience-first). Product, UX, or feature-scope tradeoffs. Choose user delight over implementation convenience.
  • Exhaust the Design Space (principle-exhaust-the-design-space). A novel interaction or architectural decision with no precedent. Build 2-3 competing prototypes and compare before committing.
  • Build the Lever (principle-build-the-lever). Any non-trivial work. Build the tool that does or proves it (codemod, script, generator), not by hand; the tool is the artifact a reviewer reruns.

Architecture

  • Model the Domain (principle-model-the-domain). Writing stateful logic, or code that branches a lot or repeats a shape assumption across files. Encode the domain in a structure instead of scattered conditionals.
  • Boundary Discipline (principle-boundary-discipline). Wiring validation, error handling, or framework adapters. Guards at system boundaries, trust internal types, keep business logic pure.
  • Type System Discipline (principle-type-system-discipline). Designing types or a signature. Make illegal states unrepresentable, brand primitives, parse external data at boundaries.
  • Make Operations Idempotent (principle-make-operations-idempotent). Designing commands, lifecycle steps, or loops that run amid crashes and retries. Converge to the same end state.
  • Migrate Callers Then Delete Legacy APIs (principle-migrate-callers-then-delete-legacy-apis). Introducing a new internal API while old callers exist. Migrate and delete in one wave.
  • Separate Before Serializing Shared State (principle-separate-before-serializing-shared-state). Concurrent actors might write the same file, branch, key, or object. Eliminate the sharing first.

Verification

  • Prove It Works (principle-prove-it-works). After a task, before declaring done. Verify against the real artifact, not a proxy or "it compiles".
  • Fix Root Causes (principle-fix-root-causes). Debugging. Trace each symptom to its root cause, reproduce first, ask why until you reach it.
  • Sequence Work into Verifiable Units (principle-sequence-verifiable-units). Multi-step work and how you stack commits and PRs. Break work into units that each end in a check.

Delegation

  • Guard the Context Window (principle-guard-the-context-window). Context fills up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents, keep summaries in the main thread.
  • Never Block on the Human (principle-never-block-on-the-human). Tempted to ask "should I do X?" on reversible work. Proceed, present the result, let the human course-correct.

Meta

  • Encode Lessons in Structure (principle-encode-lessons-in-structure). You catch yourself writing the same instruction a second time. Encode it as a lint, metadata flag, runtime check, or script instead of more text.
Show full SKILL.md (367 more words)Show less

Triggers

  • Nontrivial change, architecture decision, or "are we sure?" → how.
  • "Why is it built this way?", a magic number with no comment, or a constraint nobody remembers → why. It fans out across this repo's decision record (ADRs, docs/design/, the issue store, the changelog, wisp) and git history in parallel, and cites or names the gap. how answers what the code does; why answers what forced its shape.
  • Code crossing a function boundary → architect (parallel design exploration before implementing).
  • Parallel fan-out → swarm. Design or code bakeoff → arena.
  • Contested design → interrogate (adversarial multi-reviewer) before shipping.
  • Any user-facing prose → unslop. Docs, RFCs, PR descriptions, commit messages → technical-writing.
  • Before review → no-comments.
  • Long or unattended work the user will review later → show-me-your-work.
  • About to ask "which approach?" → first check whether running something answers it. If the answer is observable (behavior, timing, output, perf), it is not the human's to answer. Probe it. Reserve the question for genuine product or preference calls.

This repo's rules win

AGENTS.md (symlinked as CLAUDE.md) is authoritative. Where pstack and it disagree, the repo wins. The conflicts that actually come up:

  • Deletion. pstack says bias to deletion. This repo requires the user to say "delete"/"删" in the same turn before you remove files, branches, or worktrees. Surface the deletion you want; do not take it.
  • Never Block on the Human. Scoped to reversible work. Direct pushes to main and new or moved keybindings need the owner's word in that turn regardless of what this principle says.
  • File size. Governed by AGENTS.md's file-size section.
  • Verification. "Prove It Works" here means the repo's real gates: bun run lint, bun run test:fast (vitest) or bun test test/render (bun's runner — picking the wrong one looks like a broken environment), and for visual work the browser /harness path, never a local screenshot.

Autonomy

Reversible work proceeds without asking. Always pause for irreversible writes AGENTS.md does not already authorize: force-push to shared branches, deploys, data deletion, messages to people.

What was left behind

Upstream's Graphite/bugbot workflows (shipping, babysit, autopilot-*, orchestrate) were not ported — this repo uses plain gh PRs, and a playbook that reaches for tools you do not have is worse than no playbook. The /pr skill covers that ground. Details in ATTRIBUTION.md.

© Sma1lboy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in .agents/skills/pstack of Sma1lboy/rove.

  • SKILL.md
  • ATTRIBUTION.md
  • LICENSE
  • skills

Open the folder on GitHubat commit 8b9f22c

Compare with similar skills

Pstack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pstack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pstack this skillSma1lboy/rove146—~2kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Filescope MCPadmica/FileScopeMCP302—~1.7kAutomated safety check: PassProprietary
Gograph Go Repository Intelligenceozgurcd/gograph227—~4.8kAutomated safety check: NotesMIT
Auto DevflowHuangPuStar/FenixAgent552—~3kAutomated safety check: PassApache-2.0
Skill Writingmillionco/expect3.6k—~1.8kAutomated safety check: PassCustom licence

Similar skills

  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Filescope MCP

    admica/FileScopeMCP

    Codebase intelligence via FileScopeMCP — symbol lookup, dependency mapping, importance ranking, and semantic search.

    302 GitHub stars~1.7k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Gives an agent working in a Go codebase a structural view through a local MCP server: call graphs, blast-radius and impact analysis, and bounded first-call exploration.

    227 GitHub stars~4.8k tokensUpdated today
    DevelopmentAuto-check: notes
  • Auto Devflow

    HuangPuStar/FenixAgent

    A skill your agent uses when starting an issue, bugfix, feature, or refactor that should be driven by multiple coordinated subagents: explore → plan → code → review, with the main agent acting as…

    552 GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Skill Writing

    millionco/expect

    Write and improve agent skills (SKILL.md files). An agent skill from millionco/expect.

    3.6k GitHub stars~1.8k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Ss Cpp Modern

    Serial-Studio/Serial-Studio

    Modern C++20 authoring guidance for Serial Studio (Qt 6.11, C++20): concepts, ranges, move/RAII, std smart pointers, constexpr, lock-free SPSC atomics.

    7.2k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed

More from Sma1lboy/rove

All 13 skills in this repo
  • Image Gen

    Sma1lboy/rove

    Generate a single image from a text prompt using the MiniMax image generation API.

    146 GitHub starsUsed in 1 repo~927 tokens
    Auto-check passed
  • Unslop

    Sma1lboy/rove

    Strip AI writing tells from Rove's user-facing prose — README, the docs/ pages that sync to docs.rove.run, landing copy, and release notes.

    146 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Hyperframes Design

    Sma1lboy/rove

    Non-animation creative direction for HyperFrames videos. An agent skill from Sma1lboy/rove.

    146 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Changelog Generator

    Sma1lboy/rove

    Draft Rove release notes as Changesets. An agent skill from Sma1lboy/rove.

    146 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • File Issue

    Sma1lboy/rove

    Turn a rough idea, a bug, or a batch of unsolved problems into well-structured GitHub issue(s) and file them with gh, auto-classifying type + labels from the content (recommend, then confirm) and…

    146 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Rove

    Sma1lboy/rove

    A skill your agent uses when controlling Rove tasks, parallel coding attempts, hosted agent sessions, task lifecycle, or the daemon-owned issue tracker from a shell.

    146 GitHub stars~8.8k tokensUpdated today
    Auto-check passed

Questions about Pstack

What does Pstack do?

Rigorous engineering mode for nontrivial work in this repo — a set of named principles plus the leaf skills that apply them. Pstack is an agent skill from Sma1lboy/rove. Rigorous engineering mode for nontrivial work in this repo — a set of named principles plus the leaf skills that apply them.

When should I use Pstack?

Pstack fits situations like: the user says pstack; A task involves architecture; anything the user will not be watching.

How do I install Pstack in Claude Code?

Run `npx skills add Sma1lboy/rove --skill pstack -a claude-code`. Or copy the skill folder (.agents/skills/pstack in Sma1lboy/rove) into .claude/skills/pstack in your project. Claude Code loads it when a task matches its description.

How do I install Pstack in Codex?

Run `npx skills add Sma1lboy/rove --skill pstack -a codex`. Or copy the skill folder (.agents/skills/pstack in Sma1lboy/rove) into .agents/skills/pstack in your project. Codex loads it when a task matches its description.

Can I use Pstack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Sma1lboy/rove --skill pstack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pstack, .gemini/skills/pstack, .github/skills/pstack and .opencode/skills/pstack in your project.

What does Pstack need to run?

Going by SKILL.md and its folder, Pstack needs the command-line tools its instructions call (bun).

Does Pstack access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pstack safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pstack use?

Pstack is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pstack use?

About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pstack?

Skills that share tags, products or a category with Pstack: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Filescope MCP (admica/FileScopeMCP, 302 stars), Gograph Go Repository Intelligence (ozgurcd/gograph, 227 stars) and Auto Devflow (HuangPuStar/FenixAgent, 552 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pstack?

Sma1lboy (a GitHub user) maintains it in Sma1lboy/rove, which has 146 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 7, 2026.

Source: Sma1lboy/rove on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.