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.
npx agentmods add rules/xuliang2024/cutcli-cookbook/project-infogit clone --depth 1 https://github.com/xuliang2024/cutcli-cookbookWrote 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.
[](https://agentmods.dev/rules/xuliang2024/cutcli-cookbook/project-info)<a href="https://agentmods.dev/rules/xuliang2024/cutcli-cookbook/project-info"><img src="https://agentmods.dev/badge/rules/xuliang2024/cutcli-cookbook/project-info.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00982 | $0.00982 |
| Opus 5 | $0.00491 | $0.00491 |
| Sonnet 5 | $0.00196 | $0.00196 |
| Haiku 4.5 | $0.00098 | $0.00098 |
Grade A, and why
project-info 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cutcli-cookbook · 项目元信息
这是一个开源项目,配套于闭源核心
cutcli(CapCut / 剪映 草稿命令行工具)。
一句话
收录 cutcli 的可一键运行案例、JSON 模板、AI 提示词、官方文档站源码与社区贡献入口。
核心地址
| 项 | 值 |
|---|---|
| GitHub | https://github.com/xuliang2024/cutcli-cookbook |
| 文档站 | https://docs.cutcli.com |
| 主站 | https://cutcli.com(cutcli 安装 + 落地页) |
| License | MIT |
| 默认分支 | main |
本地路径
| 仓库 | 路径 | 类型 |
|---|---|---|
cutcli-cookbook |
/Users/m007/codes/cutcli-cookbook/ |
开源(本仓) |
jy_cli |
/Users/m007/codes/jy_cli/ |
闭源(cutcli 源码 + cutcli.com worker) |
两个仓库同级摆放,便于 jy_cli/scripts/sync-to-cookbook.mjs 走相对路径 ../cutcli-cookbook/ 同步公开文档。
部署架构
docs.cutcli.com → Cloudflare DNS (proxied A 192.0.2.1)
→ Worker docs-cutcli (本仓 worker/)
→ R2 bucket cutcli-docs (VitePress build 产物)
| 资源 | 位置 |
|---|---|
| R2 bucket | cutcli-docs(账号 [email protected],account id 11c47779f0d4c3d0e69ccc6c484dc589) |
| Worker | docs-cutcli(路由 docs.cutcli.com/* + docs.cutcli.com) |
| Worker 源码 | worker/src/index.ts(R2 反代 + SPA 路径回退) |
| 域名 zone | cutcli.com(zone id 064059cb21d36956c11381995b964467) |
仓内/仓外铁律
- 绝不把
jy_cli/src/、jy_cli/dist/、jy_cli/binaries/、闭源jy_cli/worker/的内容复制进本仓。 - 案例只调用 公开 CLI 命令
cutcli xxx,不引用 npm 包cut_cli的内部 API。 - 闭源 → 公开的内容流动只能通过
jy_cli/scripts/sync-to-cookbook.mjs(单向、带 sanitizer)。 - 命令名严格用
cutcli,禁止cut(与 Unix util 冲突);CI 会 grep fail。
与闭源 jy_cli 的关系
flowchart LR
subgraph priv [Private jy_cli]
privDocs[docs/]
syncScript[scripts/sync-to-cookbook.mjs]
privWorker[worker cutcli → cutcli.com]
end
subgraph pub [Public cutcli-cookbook]
examples[examples/]
pubDocs[docs/]
pubWorker[worker docs-cutcli → docs.cutcli.com]
end
privDocs -->|"sync (sanitized)"| syncScript
syncScript -->|"writes docs/reference/"| pubDocs
pubDocs -->|"vitepress build → R2"| live[(docs.cutcli.com)]
想了解更多
- 目录索引:参见
.cursor/rules/directory-index.mdc - 提交流程:参见
.cursor/rules/commit-flow.mdc - 部署流程:参见
.cursor/rules/deploy.mdc - 案例规范:参见
.cursor/rules/example-spec.mdc(自动应用于 examples/**) - 闭源/开源边界:参见
.cursor/rules/open-source-boundary.mdc
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.
- 4d ago First seen · 82 lines · 982 tokens per session scan A 005151ff6e29
project-info is a cursor rule published in the GitHub repository xuliang2024/cutcli-cookbook (192 stars, last pushed 3mo ago), licensed MIT. It adds 982 tokens to every session, about $0.0049 per session on Opus 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-30.
Other cursor rules, from other repositories
generative-media-skills
Canonical instructions for generative-media-skills.
use-bun-instead-of-node-vite-npm-pnpm
../../CLAUDE.md.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.