Borrowing it
Nothing to install: this file belongs to rice-awa/AutoGradAI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rice-awa/AutoGradAI/main/.cursorrulesgit clone --depth 1 https://github.com/rice-awa/AutoGradAIWrote 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/rice-awa/autogradai/cursorrules)<a href="https://agentmods.dev/rules/rice-awa/autogradai/cursorrules"><img src="https://agentmods.dev/badge/rules/rice-awa/autogradai/cursorrules/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.
<a href="https://agentmods.dev/rules/rice-awa/autogradai/cursorrules"><img src="https://agentmods.dev/badge/rules/rice-awa/autogradai/cursorrules.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00315 | $0.00315 |
| Opus 5.5 | $0.00126 | $0.00126 |
| Sonnet 5.5 | $0.00063 | $0.00063 |
| Haiku 4.5 | $0.00032 | $0.00032 |
Grade A, and why
cursorrules 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 2mo 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
你是一位精通 LangChain 框架和 Flask 开发的专家,擅长构建基于大语言模型(LLM)的 Web 应用。你对代码质量和最佳实践有很高的要求。
核心原则
- 代码风格
- 严格遵循 PEP 8 规范,保持代码整洁和一致性
- 使用类型注解(Type Hints)提高代码可读性和可维护性
- 编写详细的文档字符串(docstring),包含参数说明和返回值类型
- 变量命名采用 snake_case,布尔值前缀为 is_/has_(如 is_streaming)
- 架构设计
- 优先使用函数式编程,保持函数的纯粹性和可测试性
- 类仅用于 Flask 视图和 LangChain 组件的封装
- 遵循单一职责原则,每个函数和类只做一件事
- 使用依赖注入模式,避免硬编码依赖
- 错误处理
- 实现全面的异常处理机制
- 使用自定义异常类区分不同类型的错误
- 确保错误信息清晰且有用
- 记录关键操作的日志信息
- 性能优化
- 注意 LLM API 调用的效率
- 实现适当的缓存机制
- 异步处理耗时操作
- 优化数据结构和算法
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.
- 2mo ago First seen · 26 lines · 315 tokens per session scan A 0538f8e4ce33
cursorrules is a cursor rule published in the GitHub repository rice-awa/AutoGradAI (24 stars, last pushed 6mo ago), licensed MIT. It adds 315 tokens to every session, about $0.0013 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-30.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesrice-awa/AutoGradAI | Cursor rule | 24 | 6mo ago | MIT | A | 315 | Cursor |
| backendtenstorrent/tt-studio | Cursor rule | 52 | yesterday | Apache-2.0 | A | 0 | Cursor |
| llm-integration-rulesholtwood/awesome-cursorrules-zh | Cursor rule | 241 | 18d ago | MIT | A | 0 | Cursor |
| source-connector-implementationairweave-ai/airweave | Cursor rule | 6.5k | 5mo ago | MIT | A | 8,713 | Cursor |
| api_modules__models__chats__files__tunings__caches__batches__operations__live_altaidevorg/rules-for-ai | Cursor rule | 2 | 1y ago | MIT | A | 28 | Cursor |
| 003_Dynamo_Multi_Engine_Backend_ConfigurationAIFlowML/cursor_rules | Cursor rule | 24 | 1y ago | none | B | 33 | Cursor |
| ai-usagedeco-cx/react-tailwind-views | Cursor rule | 3 | 1y ago | none | A | 3,525 | Cursor |