Borrowing it
Nothing to install: this file belongs to SuperdeMan/cockpit-agent. 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/SuperdeMan/cockpit-agent/main/CLAUDE.mdgit clone --depth 1 https://github.com/SuperdeMan/cockpit-agentWrote 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/instructions/superdeman/cockpit-agent/claude-md)<a href="https://agentmods.dev/instructions/superdeman/cockpit-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/superdeman/cockpit-agent/claude-md/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/instructions/superdeman/cockpit-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/superdeman/cockpit-agent/claude-md.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.03610 | $0.03610 |
| Opus 5.5 | $0.01444 | $0.01444 |
| Sonnet 5.5 | $0.00722 | $0.00722 |
| Haiku 4.5 | $0.00361 | $0.00361 |
Grade A, and why
cockpit-agent CLAUDE.md 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 19d 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — 智能座舱 Multi-Agent 项目规则
本文件是由
AGENTS.md引用的项目工程细则;全局规则遵循当前生效的 canonical AGENTS.md。 调整项目规则时同步主入口和相关契约,避免两处互相宣称最高权威。 架构唯一真相源:docs/architecture/cockpit-agent-architecture.md。
1. 项目是什么
云边协同的智能座舱 Agent 系统:端侧快系统处理高频、确定、安全敏感指令;云侧 Planner 编排复杂、多域、多轮任务。Agent 统一使用 gRPC 契约 + Manifest,经 Registry 发现。
2. 技术栈
| 层 | 主要技术 |
|---|---|
| Gateway | Go,grpc-go,WebSocket |
| Orchestrator / Agent / AI 服务 | Python 3.11(镜像与 CI 基线;CI 另测 3.12),grpcio,FastAPI |
| HMI | React + TypeScript + Vite |
| Mobile | React Native + Expo + TypeScript |
| 服务通信 | gRPC;proto/ 是唯一契约源 |
| 广播 / 存储 | NATS;Redis;PostgreSQL + pgvector |
3. 目录约定与能力流程
| 目录 | 职责 |
|---|---|
proto/ |
gRPC 真相源;先改 proto,再 codegen |
gateway/ |
edge/cloud 接入网关 |
orchestrator/edge/ |
FastIntent、端侧编排、VAL 与车控知识库 |
orchestrator/cloud/ |
Planner、Context、Loop、Executor、Aggregator |
llm-gateway/ |
所有 LLM/ASR/TTS/S2S/视觉调用出口 |
registry/ |
Agent 注册、发现与 PostgreSQL round-trip |
memory/ |
记忆、画像、关系与建议准入 |
agents/ |
各领域 Agent;agents/_sdk 是公共 SDK |
skills/ |
Planner guides、policies、exemplars |
runtime/ |
跨服务唯一判据与运行时公共件 |
security/ |
权限、scope、审核、注入防护 |
payment-gateway/ |
支付网关;Agent 不持支付凭证 |
proactive/ |
主动消息全局治理 |
observability/ |
事件、collector、trace、日志、指标 |
hmi/ / mobile/ / dashboard/ |
三个客户端/观测界面 |
deploy/ |
Compose、Helm、K8s;deploy/host/ 是共用云主机的维护;不是 .env 真相源 |
scripts/ |
codegen、构建、部署、迁移、探针 |
test/ |
E2E、评测基线、旅程、CDP |
docs/ |
架构、设计、review、指南、历史 |
gen/ / certs/ / models/ |
生成物或本地资产,均 gitignore,不手改/提交 |
关键声明只允许一份权威:
- 车控对象/操作/风险/端侧意图:
orchestrator/edge/knowledge/commands.yaml; - 重试规则:
orchestrator/cloud/retry_policy.py; - D0/T2 流式状态:
orchestrator/cloud/stream_state.py; - 槽值形状:
orchestrator/cloud/slot_shape.py; - 候选集问答:
orchestrator/cloud/candidate_query.py; - 时间、极性、问句、安全信号等跨服务判据:
runtime/; - Planner 软知识:
skills/; - 商户能力/工具:
agents/mcp_bridge/servers.yaml; - 前端视觉 token 与图标:HMI
hmi/src/aurora.css,mobilemobile/src/ui/theme.ts+tokens.ts, 图标hmi/src/components/icons.*.ts;Figma 落稿规则见docs/guides/figma-design-system-rules.md。
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.
- 19d ago Changed · +2 lines · +81 tokens per session 69372fa9c0f9
- 27d ago Changed · +16 tokens per session 4d84de7e322f
- 28d ago Changed · +6 tokens per session 9b8c23957dff
- 1mo ago Changed · +2 lines · +71 tokens per session a13292d8e04c
- 1mo ago Changed · +6 lines · +235 tokens per session ad1302e8aaca
- 1mo ago Changed · +3 lines · +137 tokens per session 8a8c182fd83b
- 1mo ago Changed · +6 lines · +205 tokens per session a2922d1bf57a
- 2mo ago Changed · +39 tokens per session 3cd94752446d
- 2mo ago First seen · 188 lines · 2,820 tokens per session scan A af6197a00660
cockpit-agent CLAUDE.md is an instructions file published in the GitHub repository SuperdeMan/cockpit-agent (28 stars, last pushed 18d ago), licensed Apache-2.0. It adds 3,610 tokens to every session, about $0.0144 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.
cockpit-agent CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cockpit-agent CLAUDE.mdSuperdeMan/cockpit-agent | Instructions file | 28 | 18d ago | Apache-2.0 | A | 3,610 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |