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/loonghao/auroraview/08-architecturegit clone --depth 1 https://github.com/loonghao/auroraviewWrote 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/loonghao/auroraview/08-architecture)<a href="https://agentmods.dev/rules/loonghao/auroraview/08-architecture"><img src="https://agentmods.dev/badge/rules/loonghao/auroraview/08-architecture.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.1 | $0.03113 | $0.03113 |
| Opus 5 | $0.01556 | $0.01556 |
| Sonnet 5 | $0.00623 | $0.00623 |
| Haiku 4.5 | $0.00311 | $0.00311 |
Grade A, and why
08-architecture 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 6d 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 — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目结构
Submodules(独立仓库)
AuroraView 将部分功能模块拆分为独立的 Git submodules,便于独立维护、版本控制和复用:
submodules/
├── auroraview-pack/ # 应用打包系统
│ └── https://github.com/loonghao/auroraview-pack.git
├── auroraview-protect/ # Python 代码保护(字节码加密)
│ └── https://github.com/loonghao/auroraview-protect.git
├── auroraview-signals/ # 信号/槽系统(类 Qt Signals)
│ └── https://github.com/loonghao/auroraview-signals.git
└── auroraview-extensions/ # 扩展系统(Chrome 风格扩展)
└── https://github.com/loonghao/auroraview-extensions.git
各 Submodule 职责
| Submodule | 描述 | 主要功能 |
|---|---|---|
auroraview-pack |
应用打包系统 | 将前端 + Python 后端打包为单一 .exe,支持 overlay 模式、资源压缩、图标设置、Python 依赖收集 |
auroraview-protect |
代码保护 | Python 字节码编译 + X25519/AES-256-GCM 加密,保护源代码不被反编译 |
auroraview-signals |
信号系统 | 信号/槽机制,支持异步事件分发和跨组件通信 |
auroraview-extensions |
扩展系统 | Chrome 风格扩展架构,manifest.json 定义、权限管理、扩展生命周期 |
Submodule 使用规范
-
克隆项目:使用
--recurse-submodules确保 submodules 被正确初始化git clone --recurse-submodules https://github.com/loonghao/auroraview.git -
更新 Submodules:
git submodule update --init --recursive -
在 Cargo.toml 中引用:
[dependencies] auroraview-pack = { path = "submodules/auroraview-pack" } auroraview-protect = { path = "submodules/auroraview-protect" } -
独立开发:每个 submodule 可以独立开发、测试和发布,修改后需要在主仓库提交 submodule 引用更新
主仓库结构
auroraview/
├── crates/ # Rust crates(本地)
│ ├── auroraview-core/ # 核心功能
│ ├── auroraview-cli/ # CLI 工具
│ ├── auroraview-plugins/ # 插件系统
│ └── ...
├── python/ # Python 包
│ └── auroraview/
├── packages/ # TypeScript/JavaScript 包
│ └── auroraview-sdk/ # 前端 SDK (@auroraview/sdk)
├── gallery/ # Gallery 演示应用
├── examples/ # 示例代码
├── submodules/ # Git submodules(见上文)
└── docs/ # 文档
auroraview-pack 打包系统
架构概览
┌─────────────────────────────────────────────────────────────┐
│ PackManager │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Plugins │ │ Packers │ │ Targets │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
└─────────────────────────────────────────────────────────────┘
│
┌──────────────────┼──────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Desktop │ │ Mobile │ │ MiniProgram │
│ Win/Mac/Lin │ │ iOS/And │ │ WX/Ali/Byte │
└─────────────┘ └─────────────┘ └─────────────┘
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.
- 6d ago First seen · 307 lines · 3,113 tokens per session scan A 0b14b7e8880e
08-architecture is a cursor rule published in the GitHub repository loonghao/auroraview (44 stars, last pushed 1mo ago), licensed MIT. It adds 3,113 tokens to every session, about $0.0156 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
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
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.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.