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/zhagqn/agentwork/agentwork-bootstrapgit clone --depth 1 https://github.com/zhagqn/agentworkWhat 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.00525 | $0.00525 |
| Opus 5 | $0.00262 | $0.00262 |
| Sonnet 5 | $0.00105 | $0.00105 |
| Haiku 4.5 | $0.00052 | $0.00052 |
Grade A, and why
agentwork-bootstrap 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 2d 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.
What it actually says
description: agentwork 启动规则(Cursor) globs: [] alwaysApply: true
agentwork-bootstrap
Cursor 项目规则,来自 agentwork bootstrap 单一源模板。
本仓库协作规范集中在 .shared/,此文件为启动时必读的引导规则。
Cursor 官方更推荐
.cursor/rules/*.mdc项目规则;AGENTS.md 也可用,agentwork 优先生成 rule 文件。
基本规则
- 默认使用简体中文沟通
- 仅在用户明确要求或必须原样输出代码/命令时使用其他语言
- 高风险操作必须确认
- 不自动加载
.shared/session/* - 不要预读全部
.shared/project/*.md;当任务涉及具体项目或目录时,先根据.shared/project/index.md读取对应的轻量 project 文档 - 当第一次确定将读取或修改的目标路径后,必须立即对照
.shared/project/index.md的读取映射;若命中条目,先读取对应project/*.md再继续工作;若目标路径扩大,重新对照一次 - 预览未知或可能很大的命令输出时,优先使用
.shared/scripts/command-preview.sh -- COMMAND ...,避免直接把大段输出送入上下文 - 临时工件统一写入
.tmp/ - 可选工具默认不预装,按项目约定单独引入
- Git index(staged 区)是用户的提交和 review 边界;未经明确要求,不改变 staged 区
- 优先写项目级配置,避免污染全局配置
工作流起步建议
- 需求不清晰、边界模糊:先
/brain - 已有方向、需要拆执行步骤:先
/plan - 开始做当前批次工作:用
/exec - 一轮工作完成后:先
/review,再决定是否/commit
代码导航默认策略
- 处理当前项目内的代码任务时,优先遵循:
.shared/patterns/semantic-navigation.md - 对 definition / references / symbols / rename-preview / diagnostics 这类语义查询,助手应默认使用对应语义导航能力
- 路径默认使用当前项目内的相对路径,不写用户目录或绝对工程路径示例
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.
- 2d ago First seen · 41 lines · 525 tokens per session scan A 73cfe3e9c39f
agentwork-bootstrap is a cursor rule published in the GitHub repository zhagqn/agentwork (57 stars, last pushed 11d ago), licensed MIT. It adds 525 tokens to every session, about $0.0026 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
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.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.
coolify-ai-docs
Master reference to all Coolify AI documentation in .ai/ directory.
python_lib
Tips and guidelines specific to the development of the Streamlit Python library, not applicable to scripts and e2e tests.
specs
This directory contains product and tech specs for Streamlit features.