plans-in-workspace

plans-in-workspace is a cursor rule for Cursor from xc404/kiwi. It costs 483 tokens per session, scanned A, original, MIT.

A rule for saving structured work plans inside the project. Plans go in `.cursor/plans/` with a descriptive filename.

In plain words
What is it for?
Recording implementation plans, roadmaps, and design outlines in a workspace.
Why use it?
It keeps plans with the project so they can be found, reviewed, and updated instead of existing only in chat.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Recording implementation plans, roadmaps, and design outlines in a workspace.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/xc404/kiwi/plans-in-workspace
View source ↗ xc404/kiwi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/xc404/kiwi

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plans-in-workspace

README.md
[![agentmods](https://agentmods.dev/badge/rules/xc404/kiwi/plans-in-workspace/github.svg)](https://agentmods.dev/rules/xc404/kiwi/plans-in-workspace)
Your own site
<a href="https://agentmods.dev/rules/xc404/kiwi/plans-in-workspace"><img src="https://agentmods.dev/badge/rules/xc404/kiwi/plans-in-workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plans-in-workspace

Your own site · 80×15
<a href="https://agentmods.dev/rules/xc404/kiwi/plans-in-workspace"><img src="https://agentmods.dev/badge/rules/xc404/kiwi/plans-in-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 483 This file is loaded in full into every session.
When invoked 483 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00483 $0.00483
Opus 5.5 $0.00193 $0.00193
Sonnet 5.5 $0.00097 $0.00097
Haiku 4.5 $0.00048 $0.00048

Measured 3mo ago against content hash e94bfbfec889, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plans-in-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/plans-in-workspace.mdc · 41 lines

What it actually says

计划文件自动保存规则

强制行为

凡生成或修订 plan(实施计划、路线图、设计草案等结构化规划文档),必须在同一次回复中用 Write 工具写入磁盘,禁止仅在对话中输出而不落盘。

保存位置

  • 路径:<工作区根目录>/.cursor/plans/
  • 命名:<功能描述>_<8位短哈希>.plan.md(如 frontend_intermediate_catch_event_82ba8a18.plan.md)
  • 短哈希:对功能描述或日期取稳定片段即可,保证同主题不重复覆盖已有文件
  • 目录不存在时:写入前确保 .cursor/plans/ 存在(Write 失败则用 Shell 创建)

禁止的位置

  • ❌ 用户主目录(C:\Users\<用户名>\ 等)
  • ❌ 系统临时目录(%TEMP%)
  • ❌ 其他工作区根目录
  • ❌ Cursor 全局目录(~/.cursor/,非 <workspace>/.cursor/)

工作流

  1. 拟定 plan 内容
  2. 立即 Write 到 .cursor/plans/<name>.plan.md
  3. 在回复中附上已保存文件的工作区相对路径(如 .cursor/plans/xxx.plan.md),便于打开
  4. 后续修订 plan 时,更新同一文件(或按主题新建带新哈希的文件),不要只改对话文本

多工作区

同时打开多个工作区时,将 plan 保存到主要涉及的那个工作区的 .cursor/plans/;跨工作区变更保存到改动最多的工作区。

与 OpenSpec 的关系

  • OpenSpec change(openspec/changes/)走规格驱动流程,与 plan 互补,不互相替代
  • 用户未要求 OpenSpec 时,复杂任务仍应写 plan 并落盘
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 41 lines · 483 tokens per session scan A e94bfbfec889

Subscribe to this mod's changes

plans-in-workspace is a cursor rule published in the GitHub repository xc404/kiwi (7 stars, last pushed 21d ago), licensed MIT. It adds 483 tokens to every session, about $0.0019 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

plans-in-workspace compared with cursor rules from other repositories

plans-in-workspace next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plans-in-workspacexc404/kiwiCursor rule721d agoMITA483Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76kyesterdayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor