Skills
The Context Agent plugin contains nine Skills. Four are entries you invoke, one is an authoring assistant you start in plain language, and four are Indexers the workflow selects. All of them leave workspace state and lifecycle decisions to the context CLI. For a short tour aimed at first-time users, see Commands and Skills.
Entries
| Skill | Activates when | Does | Hands off to |
|---|---|---|---|
context | You invoke Context explicitly, ask to reorganize an existing knowledge map or site navigation, or continue an active Context workflow to build, inspect, update, recover or package knowledge | Creates or continues a Context knowledge workspace and follows the CLI's current Route through production, review, update and build | The CLI; Indexers selected for each stage |
context-plan | You ask for project planning or continue a PLAN-*.md, or an authorized Context task involves more than 30 source documents or substantive investigation of at least two repositories | Researches in temporary storage and writes a root PLAN-YYYYMMDD-topic.md for review, then runs the project one stage at a time | context, which performs each stage |
context-inspect-search | You ask a knowledge question, or a host or Bot configuration routes questions here | Answers from knowledge packages or approved knowledge and traces answers to their sources; read-only, no workspace required | context for accepted improvement suggestions |
context-repo-content | You ask to create, edit or register documentation and authored Skills in the same repository | Maintains repo-content.yaml and its symlink view, keeping one original in its project directory; never starts production, builds, publishes or commits | — |
None of them starts on its own for ordinary planning, design or coding.
Authoring assistant
| Skill | Activates when | Does |
|---|---|---|
context-indexer-create | You explicitly ask to create a new Indexer Skill for code, documents, notes or session summaries | Writes a reusable Skill into the directory you choose; does not initialize a workspace or start production. It has no menu command — ask in plain language. See Creating an Indexer. |
Indexers
| Skill | Interprets | Selected |
|---|---|---|
context-code-indexer | Code skeletons of an authorized module, to write source-grounded articles | For the current planning or writing task — not as a standalone repository audit |
context-markdown-indexer | Outlines of captured documents | For the current authorized planning or writing task — not as an import workflow |
context-note-indexer | Saved notes, excerpts and observations | When the current authorized task selects it — not for importing sources or scanning conversation history |
context-sessions-indexer | Saved conversation summaries | When the current authorized task selects it — same limits as notes |
Installing an Indexer makes it discoverable, not enabled for every workspace: the Agent chooses Indexers for the current sources and requirements, and the CLI supplies task directories and checks every source reference. Indexers are installed without a plugin namespace, so their names are the same in every host. See Community Indexers.
Host spelling
| Host | Entries |
|---|---|
| Claude Code | /c4a:context, /c4a:context-plan, /c4a:context-inspect-search, /c4a:context-repo-content |
| Cursor | /c4a-context, /c4a-context-plan, /c4a-context-inspect-search, /c4a-context-repo-content |
| Codex | Skills by name: context, context-plan, context-inspect-search, context-repo-content |
A local install into one repository with context plugin install --local has no plugin namespace; the host discovers the entries in its own directory. Restart the Agent session after installing or updating the plugin.
技能清单
Context Agent 插件包含九个 Skill。其中四个是由你调用的入口,一个是用自然语言启动的创作助手,另外四个是由工作流选用的 Indexer。它们都把知识工作区状态和生命周期决策交给 context CLI。面向初次使用者的简要介绍见命令与技能。
入口
| Skill | 何时激活 | 作用 | 交给 |
|---|---|---|---|
context | 你显式调用 Context,要求重新组织已有的知识地图或站点导航,或继续进行中的 Context 工作流以构建、检查、更新、恢复或打包知识 | 创建或继续 Context 知识工作区,并按照 CLI 的当前 Route 完成生产、审核、更新和构建 | CLI;每个阶段选用的 Indexer |
context-plan | 你要求做项目规划或继续某个 PLAN-*.md,或某个已授权的 Context 任务涉及 30 份以上来源文档,或需要实质性调查至少两个仓库 | 在临时存储中调研,并在根目录写出 PLAN-YYYYMMDD-topic.md 供审核,然后逐个阶段运行项目 | context,由它执行每个阶段 |
context-inspect-search | 你提出知识问题,或宿主或 Bot 配置把问题路由到这里 | 基于知识包或已批准的知识回答,并把答案追溯到来源;只读,不需要知识工作区 | 对于被接受的改进建议,交给 context |
context-repo-content | 你要求创建、编辑或登记同一仓库中的文档和自编 Skill | 维护 repo-content.yaml 及其符号链接视图,在项目目录中只保留一份原件;绝不启动生产、构建、发布或提交 | — |
在普通的规划、设计或编码中,它们都不会自行启动。
创作助手
| Skill | 何时激活 | 作用 |
|---|---|---|
context-indexer-create | 你明确要求为代码、文档、笔记或会话摘要创建新的 Indexer Skill | 把一个可复用的 Skill 写入你选择的目录;不会初始化知识工作区,也不会启动生产。它没有菜单命令——用自然语言提出即可。参见创建 Indexer。 |
Indexer
| Skill | 解读对象 | 选用时机 |
|---|---|---|
context-code-indexer | 已授权模块的代码骨架,用于撰写基于来源的文章 | 用于当前的规划或写作任务——不作为独立的仓库审计 |
context-markdown-indexer | 已采集文档的大纲 | 用于当前已授权的规划或写作任务——不作为导入工作流 |
context-note-indexer | 已保存的笔记、摘录和观察记录 | 当前已授权的任务选用它时——不用于导入来源或扫描对话历史 |
context-sessions-indexer | 已保存的对话摘要 | 当前已授权的任务选用它时——限制与笔记相同 |
安装某个 Indexer 只是让它可被发现,并不会在每个知识工作区中启用:Agent 根据当前的来源和需求选择 Indexer,CLI 提供任务目录并检查每一处来源引用。Indexer 安装时不带插件命名空间,因此在每个宿主中名称都相同。参见社区 Indexer。
各宿主中的写法
| 宿主 | 入口 |
|---|---|
| Claude Code | /c4a:context、/c4a:context-plan、/c4a:context-inspect-search、/c4a:context-repo-content |
| Cursor | /c4a-context、/c4a-context-plan、/c4a-context-inspect-search、/c4a-context-repo-content |
| Codex | 按名称调用的 Skill:context、context-plan、context-inspect-search、context-repo-content |
通过 context plugin install --local 只安装到单个仓库时,没有插件命名空间;宿主会在该仓库自己的目录中发现这些入口。安装或更新插件后,请重启 Agent 会话。