Docs: plugin install vs disable vs uninstall lifecycle and enabled-state ground truth
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- sqlite
- 领域
- cli, documentation
调研方向
首先找到插件文档,并结合 ~/.config/Cursor/User/globalStorage/state.vscdb 和 ~/.cursor/cli-config.json,检查 /plugins 和 /plugin uninstall 入口。记录安装、禁用和卸载的生命周期,确定启用状态键,并包含所请求的 CLI 以及新会话故障排除指南。
由索引模型根据 Issue 内容生成。
描述
Summary
There is no single doc that explains install vs disable vs uninstall for Cursor marketplace plugins, or where enabled state actually lives on disk. This causes repeated misdiagnosis (especially CLI-first users) when disabled plugins still appear under /plugins or when slash commands from a disabled plugin persist in autocomplete.
Related: #130 (opt-out / deactivate skills globally).
Problem
Users (and agents troubleshooting plugin state) commonly assume:
- If
~/.cursor/plugins/cache/cursor-public/<slug>/exists → plugin is enabled - If
/pluginslists a plugin → plugin is enabled - Moving/deleting cache dirs → valid way to disable
None of these match observed behavior on Cursor CLI (agent 2026.06.19, Linux).
Observed semantics
| Action | Disk effect | Agent effect |
|---|---|---|
| Install (marketplace) | Creates/updates cache under ~/.cursor/plugins/cache/cursor-public/<slug>/ |
Plugin ID added to enabled list |
Disable (toggle in /plugins detail or Settings) |
Cache retained | Plugin ID removed from enabled list |
Uninstall (/plugin uninstall <name>) |
Removed from installed scope | Must reinstall from marketplace |
Ground truth for enabled plugins
SQLite: ~/.config/Cursor/User/globalStorage/state.vscdb
cursor.plugins.installedIds.no-team
cursor.plugins.installedIds.no-workspace # workspace-scoped overrides
Value is a JSON array of numeric marketplace plugin IDs.
Naming confusion: key says installedIds but value represents enabled IDs only — not "all plugins ever installed."
CLI ~/.cursor/cli-config.json does not store plugin enable state.
UX gaps (product — filing on forum too)
- CLI
/pluginsmixes marketplace browse + installed list; disabled (cached-off) plugins appear without an ENABLED / DISABLED badge. - Slash menu can retain stale entries in
agentData.cacheStorage.agentEnvironment.slashMenuItems.*(same vscdb); staff track this class of bug on forum #161008. /resumesessions may keep prior plugin context; new session required after toggling plugins.
Requested doc changes (this repo or cursor.com/docs)
- Lifecycle table (install / disable / uninstall) with filesystem + vscdb effects.
- Explicit note:
plugins/cache/= downloaded artifacts; not enable state. - CLI section:
/pluginsis browse + manage; verify enable state via Settings or vscdb keys above. - Troubleshooting: after disable, start new agent session; slash menu cache may need fresh session (not
/resume). - Link to forum threads for product UX bugs (uninstall button redirect, slash menu cache).
Environment
- OS: Linux (Ubuntu)
- CLI:
agent2026.06.19-20-24-33 - Example:
compound-engineering(ID 680) CACHED-OFF but cache present;cursor-team-kit(677) ENABLED — only distinguishable via vscdb, not/pluginsUI.
Note
cursor/cursor has issues disabled; forum is the right channel for IDE/CLI product bugs. This issue is scoped to documentation / plugin-spec clarity so plugin authors and power users stop fighting the cache directory.
- 主要语言
- TypeScript
- 星标
- 9.7k
- 派生
- 919
- 平均合并
- 14 小时 37 分钟
- 30 天内合并 PR
- 66
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cursor/plugins 的其他 Issue
-
pstack: Comment Sicko agent name has a space and Grok rejects the spawn可能已有人在做 @lab1207 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
create-plugin README documents a /create-plugin command that does not exist可能已有人在做 @lab1207 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
principle-test-behavior-not-implementation: listed matchers do not all pass when imports return undefined可能已有人在做 @Yi-111-a 于 4 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
cursor-sdk auth.md: non-null assertion described as a runtime missing-variable check可能已有人在做 @lab1207 于 3 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
watch-pr: review threads are fetched without pagination (first 100 only)可能已有人在做 @Yi-111-a 于 3 天前认领。 未关闭
难度 2/5 半天 新手友好度 84/100
维护者通常 1 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
solana-foundation/solana-com#2245 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
`document.cookie` with `max-age=0` does not delete the cookie可能已有人在做 @BartInTheField 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
capricorn86/happy-dom#2460 ·
维护者通常 2 天内回复