Repository navigation
🤖 docs: Cursor plugin support - #7847
Conversation
… cursor-plugins/docs
… cursor-plugins/docs
… cursor-plugins/docs
…ields The merge of cursor-plugins/marketplace into a branch with cursor-plugins/hooks leaves this PR 8 fixture without readonlyAgents and notApplied, which PR 2 made part of AgentPluginInstallPreview, so make typecheck fails. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
Document what Xum does with a Cursor plugin, from the code of PRs 1-8: - agents/agent-skills: Cursor plugins (manifest precedence, components, folder paths, the Not applied in Xum list), Cursor rules as skills and their labels, Cursor marketplaces and the merged list, install order. - agents/index: model: fast (Explore settings base, lookup order, cache), is_background hint, readonly prompt and tools, ai.settingsBase and subagent.background_hint, re-review after the mapping change. - config/mcp-servers: Cursor plugin servers (mcp.json, plugin-root placeholders, needs values, auth and placement not applied). - hooks/plugins: Cursor hooks (where they run, trust and file review, events, command, environment, input, output and failures), the stop notice that a newer notice replaces, last_assistant_message, and .cursor-plugin packages getting no hooks.js. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
… cursor-plugins/docs
- hooks/plugins: a file review row whose text Xum does not show says
"(contents not shown: binary or larger than 64 KiB)", and Xum marks
control characters in paths, texts and preview warnings as <U+XXXX>.
- config/mcp-servers: ${CURSOR_PLUGIN_DATA} and ${CLAUDE_PLUGIN_DATA},
in a cwd too, count as needs values (PR 3 final).
---
_Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_
<!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
…gnored PR 4 final (eabac10) ignores such a settings base in runs too. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
Verdict PR9-42322fe3d3: correct the fixed-headers reason and what the not-applied list names, kill switches only at 1, when the hook failure notice shows again, which Cursor hooks run, rule files only directly in a rules folder, the mapping-change review, the reawaken model, the env: reason, prompt hooks, PATH, stop-only followup_message, and failClosed. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
PR 8 final: while no command hook of a Cursor plugin is trusted, the Hooks panel lists every file and Trust waits for each cut text; a hook that the parser drops is listed under Not applied in Xum, at most 50. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
Verifier PR9-0f270da2c1 row 20: removing and restoring project trust also rebuilds the hook registration, so the notice shows again then too. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
🟢 e2e stories (Haiku): 14 passed22 agent steps · 7 replayed from cache · 15 model calls · 47.1k tokens (23% cached) All 14 tests in 9 files
e2e 0.20.0 · 1m 15s · web · run artifacts 🟢 e2e Electron stories (Haiku): 3 passed3 agent steps · 3 model calls · 7.9k tokens (22% cached) All 3 tests in 3 files
e2e 0.20.0 · 18.4s · electron · run artifacts 🟢 e2e agent repros (Haiku): no tests selectedSpend: $0.00 of the $1.00 cap (proxy ledger) e2e 0.20.0 · 5.8s · 2 targets (web, phone) · run artifacts |
Trust of a Cursor command hook is bound to the reviewed commit; the first-trust review covers content and mode; review rows name symlinks and mode changes; workspace_roots per project in a local multi-project workspace; the trust prompt text; a session shutdown kills running turn-stop hooks. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$3.17`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=3.17 -->
|
@codex review |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…quests skill (coder#7885) ## Summary The `pull-requests` skill now explains the Codex security review receipt that the `Codex Comments` check needs, when `wait_pr_codex.sh` requests it, and why each pushed head costs two Codex review rounds. ## Background During the Cursor plugin stack (coder#7833 to coder#7847, follow-ups in coder#7858), agents on nine PRs hit the same stop: Codex approved the head, but `Codex Comments` exited 10 with "No Codex security review was requested for <head>: request one". Owners did not know the gate needed a comment-triggered security review, or that `wait_pr_codex.sh` posts that request only after a person has asked Codex for a review in a PR comment. Each pushed head also used two of the six allowed rounds, which owners did not budget for. ## Implementation A new subsection under "Handling Codex Comments" states three facts, each read from the current scripts: 1. Codex posts a security receipt only for a comment-triggered review (`scripts/wait_pr_codex.sh` cites coder#7731). 2. `request_security_review_if_needed` posts a Codex security review request that names the head, once per head. `CHECK_CODEX_STATUS_ONCE` stops before that when no person has asked Codex for a review in a PR comment. 3. So each pushed head costs two rounds. Batch fixes per push. --- _Generated with `xum` • Model: `anthropic:claude-opus-5-5` • Thinking: `high` • Cost: `$125.78`_ <!-- mux-attribution: model=anthropic:claude-opus-5-5 thinking=high costs=125.78 -->
Summary
User docs for Cursor plugin support, written from the code of PRs 1-8 of the Cursor plugin stack. They say what Xum loads from a Cursor plugin, what it lists as not applied, how Cursor rules, agents, MCP servers and hooks behave, and where Xum differs from Cursor.
Background
ThomasK33 asked for the Cursor plugin RFC as a reviewed, mergeable PR stack. This is PR 9 of
rfc/20261030_cursor-plugin-support.md("PR 9: Docs"). Where the RFC and the code differ, the docs follow the code.Implementation
docs/agents/agent-skills.mdx: Cursor plugins (manifest precedence, components, folder paths, the Not applied in Xum list), Cursor rules as skills with their install-review labels, Cursor marketplaces and the merged list, the install-method order.docs/agents/index.mdx:model: fast(Explore as the settings base, lookup order, prompt cache), theis_background: truehint,readonlyprompt and tools,ai.settingsBaseandsubagent.background_hintin the frontmatter reference, the one review after the mapping change.docs/config/mcp-servers.mdx: Cursor plugin servers (mcp.json, the plugin-root placeholders, "needs values",authandplacementnot applied).docs/hooks/plugins.mdx: Cursor hooks (where they run, trust, the file review and the first-trust file review, events, the command, environment and input, output and failures). Also the stop-loop notice (a newer notice replaces one still waiting),last_assistant_message, and.cursor-pluginpackages getting nohooks.js.builtInSkillContent.generated.ts: regenerated from the docs.Deviations from RFC section 9:
docs/agents/index.mdx, where the plugin-agent mapping table already is, not inagent-skills.mdx.PreToolUsefail-closed change is documented by PR 6 itself, which is not in this stack.Validation
make fmt-checkandmake static-check-full(which runsmintlify broken-links) pass.Risks
Docs only. The risk is a sentence that drifts from the code if a later PR in the stack changes behavior. The base PRs are final at the time of this PR.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$3.17