Cortex Agent — AI skill for Claude Code
Cortex Agent 框架:为 AI 编程助手(Cursor / Claude Code / Windsurf 等)设计的治理与指令框架.
How to install Cortex Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Kucell/cortex-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cortex Agent does
Cortex Agent 框架:为 AI 编程助手(Cursor / Claude Code / Windsurf 等)设计的治理与指令框架。规则、工作流、技能、Sub-agent 一站式。
Alternatives in AI
- Multi Workflow — 工作流 - 多模型协同开发 (Multi-Model Collaborative Development) 1.9k ★
- Skilldock — SkillDock is an AI skill manager and skill management desktop app for Claude Code, Cursor, Codex, Windsurf, Ge 490 ★
- Memtrace Public — Structural memory for AI coding agents 466 ★
README
🧠 Cortex Agent Framework
**Cortex Agent** 是一个为 AI 编程助手(Cursor、Claude Code、Windsurf、Gemini CLI 等)设计的治理与指令框架。它通过一套结构化的**规则 (Rules)**、**工作流 (Workflows)** 和**技能 (Skills)**,将 AI 从简单的代码生成器提升为具有架构意识和工程规范的"资深工程师"。
核心价值
- 架构一致性:强制 AI 遵循项目预定义的架构模式(六边形、分层、微服务等)。
- 专业化委托:核心执行 Sub-agent(planner / implementer / researcher / code-reviewer / documenter)与治理型 Sub-agent 分工协作,职责隔离。
- 上下文预算控制:
context-budgetskill 按 Tier 0-3 分级裁剪上下文,将有效负载控制在窗口 40% 以内。 - 推理三明治:
/ship按 规划(premium) → 执行(standard) → 验证(standard) 分配模型算力,兼顾质量与成本。 - 结构化交接:
/handoff为跨 Agent、跨会话和 sub-agent 接力生成轻量交接文档,避免依赖对话记忆。 - 提案包共享:
/proposal-share将提案组(proposals + missions + topology + 双仓 peer 卷)打包为自包含 tar.gz,跨开发者/跨仓库共享提案目录;绝对路径 token 化 + 符号链接重建,与/handoff(运行时状态)互补。 - 长周期任务编排:
/mission通过 milestone、验证契约和命令日志支撑多阶段任务稳定推进。 - 协作运行时 (Communication Runtime):
management-api提供 inbox / decisions / waitpoints 三个通信对象,所有写入受 workflow gate(mission/user/owner/requester/recipient/workflow)约束;Dashboard、CLI 与可选的 MCP 只读适配器共享同一查询投影。详见 协作运行时设计。 - 熵治理闭环:
entropy-scanner周期扫描知识库漂移,PostCommit Hook 自动修复,保持.agent/长期健康。 - 工具无关:同一套
.agent/配置通过符号链接和指令文件适配 11 个主流 AI 平台。
知识层理念 / Knowledge Layer Philosophy
cortex-agent 的 `.agent/references/`、`.agent/workflows/`、`.agent/rules/` 和 `.agent/decisions/` 共同构成项目级的**可验证知识层**,对标 **OKF (Open Knowledge Format) V0.2** 的陈述性知识可信度机制。这不是一个静态 Wiki,而是一套 agent-first 的知识工程基础设施:知识必须有生命周期、可以被自动校验、可以追溯到决策,并且通过 frontmatter 元数据实现程序化消费。
四层知识栈 / 4-Layer Knowledge Stack
| 层 | 目录 | 知识类型 | 约束 | 消费方 |
|---|---|---|---|---|
| L0 源代码 | lib/ src/ 等 |
可执行事实 | lint / test / type-check | 人类 + Agent |
| L1 程序性知识 | .agent/workflows/ .agent/scripts/ |
工作流(怎么做事) | validate-frontmatter.js 强制必填字段 |
Agent 调度器 |
| L2 约束性知识 | .agent/rules/ |
规则(什么能做、什么不能做) | knowledge-lint R-LINT 系列规则 |
Agent 上下文注入 |
| L3 陈述性知识 | .agent/references/ |
模块参考文档(现状是什么) | `knowled |
Related Skills
Gks QianLV UiSkill
从旅行类 App 设计稿提炼的可主题切换移动端 UI 设计范式 —— 一套为 AI 编程助手(WorkBuddy / Claude Code / Cursor)打造的 Agent Skill。源于一次真实的 UI 设计还
Agent Add
Install MCP, Skills, slash commands, sub-agents and more into any AI tool like Claude Code, Cursor, etc.
AgentHarbor
🚢 One native app for all your AI coding agents - live rate limits, session usage, deep analysis of your & mon
Turing Coding Agent
一个类似 Claude Code 的 AI 编程助手,提供命令行 CLI 和 Electron 桌面端两种形态。用自然语言提问或下达修改指令,后台自动调用 AI 模型回答并直接操作代码文件。
CCode
开源多模型 AI 编程 CLI 助手 — 对标 Claude Code 的交互体验,不绑定单一 LLM 提供商。 C = CodeYang(作者)、China(中国开发者出品)、Code(编程助手) License:
Gem To Agent Kit
讓任何 AI agent 化身升級顧問,把 Google Gemini 的 Gem 升級成 Agent 工作流(主打 Antigravity)
Related Agents
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
Windsurf
Windsurf Entry Template
Arm Cortex Expert
Deliver complete, compilable firmware and driver modules for ARM Cortex-M platforms. - Impleme... inherit wsho