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/hexianweb/third-person-mc/git-linear-automationgit clone --depth 1 https://github.com/hexianWeb/Third-Person-MCWhat 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.00033 | $0.00355 |
| Opus 5 | $0.00016 | $0.00178 |
| Sonnet 5 | $0.00007 | $0.00071 |
| Haiku 4.5 | $0.00003 | $0.00036 |
Grade A, and why
git-linear-automation 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 3d 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
自动化 git 操作与 Linear issue 相关操作标准流程
适用范围
- 本规则适用于所有涉及 git 版本管理与 Linear issue 协同的开发流程。
- 适用于团队成员与 AI 助手自动化操作。
1. git 操作
- 有 staged 文件时,优先将其作为一次 commit。
- 仅有 unstaged 文件时,需分批 git add,确保每次提交内容与 Linear issue 关联合理,粒度清晰。
- commit message 必须通过 Linear MCP 获取 issue 详细内容,按 commitizen 规范撰写,结尾加上 Linear issue 及其 GitHub issue 编号。
- 自动执行 git add、git commit。
2. Linear issue 操作
- 创建 issue 时自动分配 hexianweb,状态 📝 To Do,优先级中等,label 智能分配。
- issue 描述自动引用并提取 docs/PRD.md、docs/TD.md 相关内容,丰富 issue 信息,多用 emoji。
- 支持自动添加评论、子任务、变更状态、调整优先级等。
- 支持 issue 与 GitHub PR/commit 自动关联。
3. 操作指令
- 只需告知要提交的文件、关联的 Linear issue(HX-编号)、是否自动生成/更新 issue、评论、子任务等,AI 助手自动完成剩余操作。
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.
- 3d ago First seen · 24 lines · 33 tokens per session scan A f2efbc71f2b2
git-linear-automation is a cursor rule published in the GitHub repository hexianWeb/Third-Person-MC (189 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 355 once invoked, about $0.0002 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
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.
config-validation-and-normalization
Config validation and normalization responsibilities (defineConfig normalizes, loader validates into section diagnostics).
directory-layout
Directory layout rules for SQL family vs concrete targets.
no-contract-data-patching-in-tests
Never patch raw contract data in tests; use real emitted fixtures or a user-facing authoring surface.
no-family-vocabulary-in-framework
The framework domain (packages/1-framework) carries no family- or target-specific vocabulary — types, fields, hooks, or strategy values. Enforced by the no-family-vocabulary Biome plugin plus lint:framework-vocabulary.