cockpit-agent: Instructions file for Claude Code

CLAUDE.md

cockpit-agent CLAUDE.md is an instructions file for Claude Code from SuperdeMan/cockpit-agent. It costs 3,610 tokens per session, scanned A, original, Apache-2.0.

Project rules for a multi-agent smart-cockpit system, where vehicle-side agents handle quick safety-sensitive commands and cloud services coordinate more complex tasks.

In plain words
What is it for?
Use it when changing the system's protocols, gateway, agents, orchestration, memory, security, payment, or other listed components.
Why use it?
It gives contributors a shared architecture and directory map so new abilities use the correct communication, storage, security, and service boundaries.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is SuperdeMan/cockpit-agent's own configuration. It tells Claude Code how to work on cockpit-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cockpit-agent configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/SuperdeMan/cockpit-agent/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/SuperdeMan/cockpit-agent

Made for: Claude Code.

Wrote 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.

agentmods badge for cockpit-agent CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/superdeman/cockpit-agent/claude-md/github.svg)](https://agentmods.dev/instructions/superdeman/cockpit-agent/claude-md)
Your own site
<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.

agentmods 80×15 button for cockpit-agent CLAUDE.md

Your own site · 80×15
<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>
Per session 3,610 This file is loaded in full into every session.
When invoked 3,610 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 19d ago against content hash 69372fa9c0f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

CLAUDE.md · 207 lines

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,mobile mobile/src/ui/theme.ts + tokens.ts, 图标 hmi/src/components/icons.*.ts;Figma 落稿规则见 docs/guides/figma-design-system-rules.md。

Read the full file on GitHub · 207 lines

Changes

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.

  1. 19d ago Changed · +2 lines · +81 tokens per session 69372fa9c0f9
  2. 27d ago Changed · +16 tokens per session 4d84de7e322f
  3. 28d ago Changed · +6 tokens per session 9b8c23957dff
  4. 1mo ago Changed · +2 lines · +71 tokens per session a13292d8e04c
  5. 1mo ago Changed · +6 lines · +235 tokens per session ad1302e8aaca
  6. 1mo ago Changed · +3 lines · +137 tokens per session 8a8c182fd83b
  7. 1mo ago Changed · +6 lines · +205 tokens per session a2922d1bf57a
  8. 2mo ago Changed · +39 tokens per session 3cd94752446d
  9. 2mo ago First seen · 188 lines · 2,820 tokens per session scan A af6197a00660

Subscribe to this mod's changes

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.

Related

cockpit-agent CLAUDE.md compared with instructions from other repositories

cockpit-agent CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cockpit-agent CLAUDE.mdSuperdeMan/cockpit-agentInstructions file2818d agoApache-2.0A3,610Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode