project-info

project-info is a cursor rule for Cursor from xuliang2024/cutcli-cookbook. It costs 982 tokens per session, scanned A, original, MIT.

A project guide and example library for cutcli, a command-line tool for working with CapCut or Jianying video-editing drafts. It contains runnable examples, JSON templates, AI prompts, documentation source, and contribution information.

In plain words
What is it for?
Use it to study or run cutcli examples, create draft templates, find AI prompts, update the documentation site, and contribute changes.
Why use it?
It gives contributors one place to find working examples and project instructions instead of piecing them together from scattered files. It also separates the public cookbook from the closed-source cutcli core.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/xuliang2024/cutcli-cookbook/project-info
Clone the repo
git clone --depth 1 https://github.com/xuliang2024/cutcli-cookbook

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 project-info

README.md
[![agentmods](https://agentmods.dev/badge/rules/xuliang2024/cutcli-cookbook/project-info.svg)](https://agentmods.dev/rules/xuliang2024/cutcli-cookbook/project-info)
Your own site
<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>
Per session 982 This file is loaded in full into every session.
When invoked 982 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00982 $0.00982
Opus 5 $0.00491 $0.00491
Sonnet 5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

Measured 4d ago against content hash 005151ff6e29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.cursor/rules/project-info.mdc · 82 lines

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

仓内/仓外铁律

  1. 绝不jy_cli/src/jy_cli/dist/jy_cli/binaries/、闭源 jy_cli/worker/ 的内容复制进本仓。
  2. 案例只调用 公开 CLI 命令 cutcli xxx,不引用 npm 包 cut_cli 的内部 API。
  3. 闭源 → 公开的内容流动只能通过 jy_cli/scripts/sync-to-cookbook.mjs(单向、带 sanitizer)。
  4. 命令名严格用 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 &#x2192; cutcli.com]
  end
  subgraph pub [Public cutcli-cookbook]
    examples[examples/]
    pubDocs[docs/]
    pubWorker[worker docs-cutcli &#x2192; docs.cutcli.com]
  end
  privDocs -->|"sync (sanitized)"| syncScript
  syncScript -->|"writes docs/reference/"| pubDocs
  pubDocs -->|"vitepress build &#x2192; 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

Read the full file on GitHub · 82 lines

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. 4d ago First seen · 82 lines · 982 tokens per session scan A 005151ff6e29

Subscribe to this mod's changes

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.