Repository navigation
Conversation
Package pstack as a Claude Code plugin and make the skills work there without changing Cursor behavior. Cursor fields, paths, and agent names stay as written; a single Harness reference in docs/model-routing.md translates them for other harnesses (subagent fields, agent frontmatter, plugin and skill paths, transcript locations and slugs). - Add pstack/.claude-plugin/plugin.json and a pstack marketplace entry. - poteto-agent: add background: true and the Claude Code plugin root; poteto-mode passes delegates the absolute SKILL.md path. - Point transcript, skill-path, and subagent-field instructions at the Harness reference. - worktree-audit.sh also reads Claude Code transcripts. - README: Claude Code install and /pstack: prefix; benny stays Cursor-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- validate-plugins.mjs checks Claude marketplace entries and that every manifest of a plugin carries the same version. - The workflow runs `claude plugin validate .` and triggers on the Claude marketplace, the validator, and the workflow itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 8543ac8. Configure here.
…r#455 - how: restore the spawn contract (generalPurpose, readonly: true, explorer and explainer roles, rule lines and defaults). - why: restore the rule-line fallback and the readonly: false contract ahead of the per-spawn model lines. - setup-pstack: rebuild roles from defaults before applying the budget, overlay only family, list, or alias customizations, and write `# budget: <label> (<target effort>)` to the Cursor rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Running it needs maintainer approval on a fork PR. The step is kept on a separate branch to add later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Builds on #455 (harness-aware model routing). Until #455 merges, this PR also shows its commit
f721e2e; review the last two commits.Summary
Makes pstack installable and working in Claude Code without changing Cursor behavior.
pstack/docs/model-routing.mdtranslates Cursor's subagent fields, agent frontmatter, plugin and skill paths, and transcript locations for Claude Code. Skills keep their Cursor text as written and add a pointer to it, so Cursor agents read the same instructions as before.pstack/.claude-plugin/plugin.jsonand a pstack entry in.claude-plugin/marketplace.json.poteto-agentgetsbackground: truenext tois_background: trueand searches the Claude Code plugin root.poteto-modepasses delegates the absoluteSKILL.mdpath and usespstack:poteto-agentin Claude Code.recall,reflect,show-me-your-work,automate-me,session-pickup,eval), project skill paths (create-/maintain-verification-skill,automate-me), and subagent fields (swarm,arena,interrogate,reflect,no-comments,orchestrate,why) point to the reference.worktree-audit.shalso reads Claude Code transcripts (~/.claude/projects/<slug>).validate-plugins.mjschecks Claude marketplace entries and that all of a plugin's manifests carry the same version; the workflow runsclaude plugin validate ..automations/bennystays Cursor-only.No version bump. It follows the separate
chore(pstack): bumpconvention. The next bump must update all three manifests, and CI now enforces that.Test plan
Claude Code 2.1.299,
claude -p --plugin-dir ./pstack:pstack:poteto-agent,pstack:comment-sicko, 53/pstack:*commands/pstack:poteto-helpanswers with Claude Code names/pstack:poteto-modespawnspstack:poteto-agentwith the skill path; the delegate readsSKILL.md/pstack:recallresolves~/.claude/projects/<slug>//pstack:interrogatespawns read-onlyExplorereviewers, with no rejected calls and no editsworktree-audit.shwith Claude-only, Cursor-only, and empty transcript homesnode scripts/validate-plugins.mjsandclaude plugin validate .pass; each fails on version drift, name mismatch, missing manifest, or a badagentsfield/pstack:setup-pstackwrites aclaude-codeprofile (manual)/poteto-modeand/recallunchanged, and Cursor accepts the extrabackgroundkey🤖 Generated with Claude Code
Note
Low Risk
Changes are mostly plugin packaging, documentation, and agent instructions; Cursor keeps the legacy rule export, with CI guarding manifest consistency rather than touching runtime product code.
Overview
pstack can be installed and run in Claude Code while keeping Cursor instructions as the canonical text. Packaging adds
pstack/.claude-plugin/plugin.jsonand a pstack entry in.claude-plugin/marketplace.json; the README documents Claude install (/pstack:poteto-mode, etc.) and notes Benny automations stay Cursor-only.Harness-aware behavior centers on new
pstack/docs/model-routing.md:~/.config/pstack/models.jsonprofiles per harness (cursor,claude-code, …), runner/model/effort resolution, and a Harness reference that maps CursorTaskfields, agent frontmatter, paths, and transcript locations to Claude Code./setup-pstackis rewritten to detect the active harness, confirm runnable models/runners, write the JSON profile, and still exportpstack-models.mdcin Cursor only.Skills and agents are updated to read profiles via model routing instead of relying solely on
pstack-models.mdc: arena/interrogate/swarm/reflect/how/why, playbooks, transcript mining (recall,reflect,automate-me, …), and verification skill paths.poteto-agentgainsbackground: true, Claude plugin discovery, and delegates get explicitSKILL.mdpaths /pstack:-prefixed agent names where needed.Tooling:
worktree-audit.shalso searches Claude Code transcript dirs;validate-plugins.mjsvalidates Claude marketplace manifests and fails when manifest versions diverge across harnesses.Reviewed by Cursor Bugbot for commit 6bcc06b. Bugbot is set up for automated code reviews on this repo. Configure here.