# cursor/plugins — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `skills`
- Overall score: `4.1/5`
- Implementation check: `verified`
- Maturity: `active`
- Audited commit: `43fc4fd50d73` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-12-02T05:51:29Z
- Repository: https://github.com/cursor/plugins
- Radar entry: https://radar.alplab.co/#repo/cursor/plugins
- CI workflows: `.github/workflows`
- Tags: `cursor`, `plugins`, `agent-skills`, `mcp`, `marketplace`, `developer-tools`

## Summary

The official Cursor plugin marketplace: ~170 plugin directories that are either markdown agent-skill packs with real helper scripts (pstack, orchestrate, advisor, ralph-loop) or thin mcp.json connectors pointing at vendor-hosted MCP servers, all validated by schema checks in CI.

## Implementation Check

README's plugin table matches the code: .cursor-plugin/marketplace.json lists every advertised plugin, spot-checked manifests like third_party/gmail/.cursor-plugin/plugin.json and pstack/plugin.json exist as described, and the heavier claims (orchestrate, pstack) are backed by working scripts in orchestrate/skills/orchestrate/scripts/cli.ts and pstack/skills/poteto-mode/scripts/watch-pr/cli.ts rather than stubs.

## When to Use

Use it to install Cursor plugins (/add-plugin, or /plugin marketplace add for Claude Code) and as the reference scaffold for authoring your own skill or MCP plugin. Not useful outside Cursor/Claude Code, and the third_party connectors' actual behavior lives in vendor-hosted MCP servers that this repo neither ships nor controls.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.5/5 |
| usability | 4.5/5 |
| reliability | 3.0/5 |
| security | 4.0/5 |
| integration | 4.5/5 |

## Code Evidence

scripts/validate-plugins.mjs Ajv-compiles schemas/plugin.schema.json and schemas/marketplace.schema.json, then fail-closes on name mismatches, missing directories, and divergent manifest versions; .github/workflows/validate-plugins.yml runs it plus node --test pstack/skills/*/scripts/test/*.test.ts and a harness-tree drift check. pstack/skills/poteto-mode/scripts/watch-pr/github.ts implements GhGitHubReader with strict parsePullRequest/parseReviewThreadPage parsers that throw on unexpected enum values, and policy.test.ts truth-tables every mergeState/rollup row. orchestrate/skills/orchestrate/scripts/measurements.ts runs planner-authored bash -c commands against a cloned worker branch with a hardcoded env allowlist (buildMeasurementEnv) plus a fresh scratch HOME to avoid leaking operator credentials, and scripts/__tests__/redact-body.test.ts verifies paths/SHAs/log dumps are redacted before Slack. advisor/hooks/lib.sh advisor_bind_conversation binds state.json to the first conversation and drops markers on re-bind. Third-party plugins are config-only: third_party/gmail/mcp.json is a 4-line HTTP pointer to gmailmcp.googleapis.com, third_party/github/mcp.json substitutes ${GITHUB_PERSONAL_ACCESS_TOKEN}, third_party/xero/mcp.json runs npx -y @xeroapi/xero-mcp-server@latest with ${XERO_CLIENT_ID}/${XERO_CLIENT_SECRET}. scripts/generate-pstack-harness-trees.mjs and scripts/check-pstack-docs.mjs keep the Claude Code harness copy and README claims (skill/playbook counts, model names, link targets) in sync with the tree.

## Issues Found

third_party/xero/mcp.json (and third_party/playwright/mcp.json) launch `npx -y <pkg>@latest`, executing unpinned latest npm code on every start — a standing supply-chain surface; .github/workflows/validate-plugins.yml installs ajv/ajv-formats unpinned via `npm install --no-save` (no lockfile) and uses major-tag-only actions (actions/checkout@v4, actions/setup-node@v4); orchestrate/skills/orchestrate/scripts/__tests__ contains 29 bun test files but the single CI workflow only runs pstack's node --test suite, so orchestrate's tests are not wired into CI.

## Key Risks

Nothing was executed; plugin behavior depends on the Cursor client (minClientVersions fields) and on vendor MCP servers outside this repo. Licensing is per-plugin MIT (advisor/LICENSE etc.) with no root LICENSE file and no releases/tags. Most first-party plugins are prompt/skill content whose effectiveness is not statically measurable, and ~150 third_party directories are thin wrappers around external endpoints. Repo requires git, gh CLI, bun/node, and jq for various first-party scripts.

## Reviewed Files

- `README.md`
- `.github/workflows/validate-plugins.yml`
- `.cursor-plugin/marketplace.json`
- `.claude-plugin/marketplace.json`
- `scripts/validate-plugins.mjs`
- `scripts/generate-pstack-harness-trees.mjs`
- `scripts/check-pstack-docs.mjs`
- `third_party/gmail/mcp.json`
- `third_party/gmail/README.md`
- `third_party/gmail/.cursor-plugin/plugin.json`
- `third_party/xero/mcp.json`
- `third_party/playwright/mcp.json`
- `third_party/github/mcp.json`
- `third_party/hubspot/mcp.json`
- `pstack/README.md`
- `pstack/skills/poteto-mode/scripts/watch-pr/github.ts`
- `pstack/skills/poteto-mode/scripts/watch-pr/cli.ts`
- `pstack/skills/poteto-mode/scripts/watch-pr/policy.test.ts`
- `pstack/skills/poteto-mode/scripts/bootstrap.ts`
- `pstack/skills/poteto-mode/scripts/worktree-audit.sh`
- `pstack/skills/statechart/scripts/test/cli.test.ts`
- `orchestrate/skills/orchestrate/SKILL.md`
- `orchestrate/skills/orchestrate/scripts/cli.ts`
- `orchestrate/skills/orchestrate/scripts/package.json`
- `orchestrate/skills/orchestrate/scripts/measurements.ts`
- `orchestrate/skills/orchestrate/scripts/__tests__/redact-body.test.ts`
- `advisor/hooks/lib.sh`
- `advisor/hooks/hooks.json`
- `advisor/hooks/record-consult.sh`
- `advisor/hooks/stop-hook.sh`
- `ralph-loop/hooks/stop-hook.sh`
- `cursor-sdk/skills/cursor-sdk/references/auth.md`
- `grok-voice/skills/add-voice/SKILL.md`
- `teaching/README.md`
- `agent-compatibility/README.md`
- `create-plugin/README.md`
