Skip to content

Remove the Claude Code adapter - #19

Merged
caelaxie merged 2 commits into
mainfrom
cursor/drop-claude-code-adapter-87ed
Oct 21, 2026
Merged

caelaxie merged 2 commits into
mainfrom
cursor/drop-claude-code-adapter-87ed

Conversation

@caelaxie

Copy link
Copy Markdown
Contributor

Removes the Cursor-to-Claude Code adapter from this grok-only port.

  • Deletes docs/harness/claude-code.md and the empty docs/harness/ directory.
  • Deletes the Claude Code install paragraph in docs/guide/01-setup.md.
  • Deletes the Claude Code install paragraph in skills/poteto-help/SKILL.md. The grok port paragraph above it stays.

CI does not reference the deleted file. It checks plugin.json, skill and agent frontmatter, the poteto-mode index, and grok plugin validate / grok inspect.

Closes #14

Open in Web Open in Cursor 

Delete the adapter file and the install paragraphs that point at it.

Co-authored-by: Kaitian Xie <[email protected]>

@caelaxie caelaxie left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verdict: changes requested (posted as a comment since author and reviewer share an account).

content is exactly the #14 smallest fix: adapter file gone, both claude code paragraphs gone, docs/harness/ empty, Closes #14 set, not a draft. two things before merge:

  1. each one-line delete leaves two blank lines in a row (see inline). drop one adjacent blank line in each file so the surrounding text reads as before.
  2. harness proof. skills/poteto-help/SKILL.md is skill content, so show at the final head sha: grok plugin install --trust + grok plugin list + grok plugin validate (or grok inspect) and the installed poteto-help/SKILL.md with the claude code paragraph gone. a green ci run that does validate + inspect at the final head also works for this text-only change; no check runs exist on 2751268 yet.

Comment thread docs/guide/01-setup.md
enabled = ["pstack"]
```

In Claude Code, run `/plugin marketplace add cursor/plugins`, then `/plugin install pstack@cursor-plugins`. Claude Code prefixes plugin commands, so each command in this guide takes a `pstack:` prefix there, such as `/pstack:setup-pstack`, which writes its model rule to `~/.claude/rules/pstack-models.md`. The [Claude Code adapter](../harness/claude-code.md) covers the other differences.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleting just this line leaves the blank line above and below it back to back. delete one of them too.


This checkout is the Grok Build port. Workflow skills spawn with `spawn_subagent`. Only the parent chat can spawn. `/loop` is a Grok Build built-in. There is no custom mode to pin. Type `/poteto-mode` per task.

pstack is built for Cursor, and it also installs in Claude Code with `/plugin marketplace add cursor/plugins`, then `/plugin install pstack@cursor-plugins`. There, each command takes a `pstack:` prefix, such as `/pstack:poteto-mode`. The [Claude Code adapter](../../docs/harness/claude-code.md) maps the Cursor names, and a step that needs a Cursor-only feature, such as Bugbot or Automations, is skipped with a one-line note.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here: lines 47 and 49 are both blank, so this leaves a double blank line between the grok port paragraph and ## Start a task. delete one.

@cursor

cursor Bot commented Oct 21, 2026

Copy link
Copy Markdown

Harness proof on head 3ef144e67e5d59b530466f72cd4fb884d5520b3f (grok 1.0.62). Checked out that sha, then ran the commands below in a fresh HOME. One of the two adjacent blank lines is gone in both files.

$ git rev-parse HEAD
3ef144e67e5d59b530466f72cd4fb884d5520b3f

$ grok --version
grok 1.0.62 (1474f9cbdd91)

$ grok plugin validate .
Plugin manifest is valid.
  name: pstack
  version: 0.15.29
  description: if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence.
  components: 1 skill dir(s), 0 command dir(s), 1 agent dir(s)

$ grok plugin install https://github.com/pstack-ports/grok-pstack@3ef144e67e5d59b530466f72cd4fb884d5520b3f --trust
Installed 1 plugin(s) from https://github.com/pstack-ports/grok-pstack@3ef144e67e5d59b530466f72cd4fb884d5520b3f: pstack

$ grok plugin list --json
[
  {
    "status": "installed",
    "name": "pstack",
    "repo_key": "grok-pstack-619a4a2c",
    "version": "0.15.29",
    "path": "/tmp/grok-pr19-m91eq2im/.grok/installed-plugins/grok-pstack-619a4a2c",
    "source": "https://github.com/pstack-ports/grok-pstack",
    "marketplace": null
  }
]

grok inspect --json (35388 bytes, 59 skills) loads poteto-help from that install:

{
  "name": "poteto-help",
  "description": "Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.",
  "source": {
    "type": "plugin",
    "plugin_name": "pstack",
    "path": "/tmp/grok-pr19-m91eq2im/.grok/installed-plugins/grok-pstack-619a4a2c/skills/poteto-help/SKILL.md"
  },
  "userInvocable": true
}

Installed skills/poteto-help/SKILL.md lines 44–48. The Claude Code paragraph is gone (grep -c 'Claude Code' is 0). One blank line, then the next heading:

$ sed -n '44,48p' "$PLUGIN/skills/poteto-help/SKILL.md"
If cost is the worry, say where the tokens go and how to spend fewer. pstack spends extra tokens on subagents and review panels. Rerun `/setup-pstack` and pick a smaller budget or cheaper models. A role set to `auto` or `inherit-parent` runs on the chat's model, which saves tokens when the chat runs on Auto or a cheaper model. A shorter panel list runs fewer subagents, one for each entry. Save `/poteto-mode` for work that needs rigor.

This checkout is the Grok Build port. Workflow skills spawn with `spawn_subagent`. Only the parent chat can spawn. `/loop` is a Grok Build built-in. There is no custom mode to pin. Type `/poteto-mode` per task.

## Start a task with `/poteto-mode`

Installed docs/guide/01-setup.md has no Claude Code paragraph. The fence is followed by one blank line, then ## Pick your models.

CI on this sha: https://github.com/pstack-ports/grok-pstack/actions/runs/39532457549 (Validate plugin, success).

@caelaxie caelaxie left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verdict: passes (comment review, same account). double blank lines are gone in docs/guide/01-setup.md and skills/poteto-help/SKILL.md; diff is now exactly #14's smallest fix. proof on head 3ef144e: grok 1.0.62 validate + install --trust + list, grok inspect loads poteto-help from the install, installed L44-48 show one blank line and no claude code paragraph. validate plugin ci green. squash-merging.

@caelaxie
caelaxie merged commit 521d8fe into main Oct 21, 2026
1 check passed
@caelaxie
caelaxie deleted the cursor/drop-claude-code-adapter-87ed branch October 21, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

audit: claude code adapter and install paragraphs kept in a grok-only port

2 participants