能力感知系统:自动化技能发现 - Openclaw Skills
作者:互联网
2026-04-14
什么是 能力感知系统?
能力感知系统解决了智能体对自定义安装缺乏了解的问题。通过实施技能优先的方法,它为智能体提供了一种结构化的方式来查看可用能力的更高层级描述,并且仅在特定任务需要时才加载完整的文档。这种架构确保了 Openclaw 技能始终是可发现的,而不会在不使用时让不必要的文档细节堆满智能体提示词。
该系统是构建强大本地生态系统的基础层,智能体可以通过在正确的时间引入正确的工具来处理复杂的工作流。它弥补了“安装了工具”与“智能体真正知道如何以及何时高效使用工具”之间的差距。
下载入口:https://github.com/openclaw/skills/tree/main/skills/pfaria32/capability-awareness
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install capability-awareness
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 capability-awareness。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
能力感知系统 应用场景
- 使智能体能够自我发现添加到工作区的各种新能力。
- 通过仅加载相关 Openclaw 技能的文档来优化 Token 使用。
- 在不同的开发团队之间标准化技能文档格式。
- 为智能体工具集和能力提供一个中心化的注册表。
- 为智能体提供一份包含可用技能简短摘要的能力卡列表。
- 当收到用户请求时,智能体扫描这些描述,以查看是否有任何 Openclaw 技能适用于当前上下文。
- 如果识别出匹配项,智能体执行读取命令以访问位于技能目录中的完整 SKILL.md 文件。
- 智能体将文档中的特定指令集成到其当前的推理链中。
- 智能体根据新获得的技能知识执行所需的操作。
能力感知系统 配置指南
要安装该系统,请导航到您的工作区并克隆仓库:
cd /home/node/.openclaw/workspace
git clone https://github.com/pfaria32/openclaw-capability-awareness.git projects/capability-awareness-system
确保您开发的任何新 Openclaw 技能都放置在 workspace/skills/ 目录中,并配有格式正确的 SKILL.md 文件供智能体读取。
能力感知系统 数据架构与分类体系
| 元素 | 来源 | 用途 |
|---|---|---|
| 技能目录 | workspace/skills/* |
所有已安装能力的根位置 |
| 元数据文件 | SKILL.md |
包含单个 Openclaw 技能的逻辑、用法和模式 |
| 注册表条目 | AGENTS.md |
定义智能体如何发现和扫描技能的工作流 |
| 能力卡 | 提示词注入 | 用于智能体扫描阶段初始发现的简短摘要 |
Capability Awareness System
Makes OpenClaw agents aware of custom skills and capabilities. Skills-first approach with on-demand documentation loading. Zero overhead when not in use. Foundation for skill marketplace discovery.
When to use: Skill discovery, capability documentation, agent self-awareness of available tools
What to know:
Repository: https://github.com/pfaria32/openclaw-capability-awareness
Problem
Default OpenClaw agents don't know about custom skills you've installed. They need to:
- Discover what capabilities exist
- Know when to use each skill
- Access skill documentation on demand
Solution
Skills-First Approach:
- Agent sees skill descriptions in prompt
- Reads full SKILL.md when topic is relevant
- Zero overhead when skills not in use
- Simple, proven, low-risk
Implementation Options
Option 1: Skills-First (Recommended for v1)
Add capability cards to agent prompt:
Available Skills:
- token-economy: Model routing and cost optimization
- health-tracking: Apple Health and Strava integration
- memory-system: RAG-based semantic search
Agent reads full SKILL.md when needed.
Option 2: Full Injection (Advanced)
- Router-gated skill loading
- Dynamic prompt injection
- Context-aware capability exposure
- Zero baseline cost (only loads when relevant)
Installation
cd /home/node/.openclaw/workspace
git clone https://github.com/pfaria32/openclaw-capability-awareness.git projects/capability-awareness-system
Usage
Current Implementation (Skills-First)
Skills are documented in workspace/skills/*/SKILL.md. The agent loads these automatically through the AGENTS.md workflow:
## Skills (mandatory)
Before replying: scan entries.
- If exactly one skill clearly applies: read its SKILL.md at with `read`, then follow it.
This is already working! Just add new skills to the workspace/skills directory.
Future Implementation (Full Injection)
See repository for:
- Router design and schema
- Embedding-based skill matching
- Dynamic prompt injection strategy
- Cost/token analysis
Status
? Skills-First approach — Deployed and working ?? Full Injection design — Documented, not yet implemented
Attribution
Built to support the emerging OpenClaw skill ecosystem. Simple beats clever.
Documentation
Implementation options, design decisions, and upgrade path documented in repository.
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
Polymarket 加密货币预测:实时市场赔率 - Openclaw Skills
经济通胀追踪器:实时 CPI 和 PPI 数据 - Openclaw Skills
Docker Compose 管理器:利用 Openclaw 技能编排容器
内容转播客:通过 NotebookLM 进行媒体转换 - Openclaw Skills
Claude Context Distiller:优化 Token 使用 - Openclaw Skills
币安止损管理器:自动化加密货币风险管理 - Openclaw Skills
币安价格提醒:实时加密货币监控 - Openclaw Skills
币安跟单交易:自动化社交交易代理 - Openclaw Skills
AI 研究分析师:市场调研与投资报告 - Openclaw Skills
AI代码解释器:快速掌握复杂逻辑 - Openclaw Skills
AI精选
