Capability Graph Mapper
/install capability-graph-mapper
\r \r
Your Agent Has 12 Skills — Do You Know What They Can Do Together?\r
\r
Helps map composite permission surfaces across skill dependency chains, revealing emergent capabilities that no single skill declares.\r \r
Problem\r
\r
Individual skill permissions look reasonable in isolation. A file-reader skill reads files. An HTTP client skill sends requests. A JSON parser skill transforms data. Each one passes a security review on its own.\r
\r
But install all three in the same agent, and you've built a data exfiltration pipeline — read sensitive files, parse out credentials, send them to an external endpoint. Nobody approved that combination. Nobody even noticed it exists.\r
\r
In traditional software, tools like npm audit map dependency trees and flag known vulnerabilities. In agent ecosystems, the risk isn't in individual dependencies — it's in the composite capability surface that emerges when skills combine. There is no npm audit for emergent agent capabilities.\r
\r
What This Maps\r
\r This mapper traces the permission graph across an agent's installed skills:\r \r
- Permission enumeration — For each skill, extract declared capabilities: file access, network requests, shell execution, environment variable reads, credential access\r
- Pairwise composition — For every pair of skills, check if their combined capabilities create a new emergent capability (e.g., read + send = exfiltrate)\r
- Transitive chains — Trace three-hop and deeper composition paths where skill A feeds skill B feeds skill C, creating capabilities invisible at any single hop\r
- Privilege surface score — Compute a single metric: how many distinct dangerous capability combinations exist in this agent's skill set?\r
- Delta analysis — When a new skill is added, show what new composite capabilities it introduces to the existing set\r \r
How to Use\r
\r Input: Provide one of:\r
- A list of skill names/slugs installed in an agent\r
- A skill manifest or configuration file\r
- A single skill to evaluate against a known agent profile\r \r Output: A capability graph report containing:\r
- Permission matrix (skills × capabilities)\r
- Emergent capability combinations flagged as risky\r
- Privilege surface score (0-100)\r
- Recommendation: which skill combinations to review manually\r
- Delta report if evaluating a new addition\r \r
Example\r
\r
Input: Map capability surface for agent with skills: log-analyzer, http-poster, env-reader, markdown-formatter\r
\r
🕸️ CAPABILITY GRAPH — 3 emergent risks detected\r
\r
Permission matrix:\r
read_files send_http read_env exec_shell write_files\r
log-analyzer ✓\r
http-poster ✓\r
env-reader ✓ ✓\r
markdown-formatter ✓ ✓\r
\r
Emergent capability combinations:\r
\r
⚠️ RISK 1: Data exfiltration path\r
env-reader (read .env) → http-poster (send HTTP)\r
Combined: Can read credentials and transmit them externally\r
Severity: HIGH\r
\r
⚠️ RISK 2: Sensitive file relay\r
log-analyzer (read logs) → http-poster (send HTTP)\r
Combined: Can read application logs and send contents externally\r
Severity: MODERATE\r
\r
⚠️ RISK 3: Three-hop chain\r
env-reader (read secrets) → markdown-formatter (transform data)\r
→ http-poster (send HTTP)\r
Combined: Read, obfuscate, and exfiltrate in one pipeline\r
Severity: HIGH\r
\r
Privilege surface score: 67/100 (elevated)\r
\r
Recommendation:\r
- Review whether http-poster needs to coexist with env-reader\r
- Consider sandboxing env-reader's file access scope\r
- The markdown-formatter → http-poster chain enables obfuscation;\r
audit what markdown-formatter can output\r
```\r
\r
## Related Tools\r
\r
- **blast-radius-estimator** — estimates downstream impact when a skill turns malicious; capability-graph-mapper helps quantify *what* a compromised skill could do\r
- **permission-creep-scanner** — checks individual skills for over-permission; this mapper checks what happens when multiple over-permissioned skills combine\r
- **supply-chain-poison-detector** — detects poisoned individual skills; this mapper shows why a poisoned skill with network access is more dangerous in agents that also have file-read skills\r
\r
## Limitations\r
\r
Capability graph mapping depends on accurately extracting each skill's actual permissions, which may not always match declared permissions. Skills that dynamically request capabilities at runtime may not be fully captured through static analysis. The composition risk model uses known dangerous patterns (read+send, parse+execute) but novel attack chains may not be in the pattern library. This tool helps surface emergent risks for human review — it does not guarantee detection of all possible capability combinations. Privilege surface scores are relative, not absolute measures of risk.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install capability-graph-mapper - 安装完成后,直接呼叫该 Skill 的名称或使用
/capability-graph-mapper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Capability Graph Mapper 是什么?
Helps map the composite permission surface across AI agent skill dependency chains. Traces what each skill can do individually, then computes what they can d... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 666 次。
如何安装 Capability Graph Mapper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install capability-graph-mapper」即可一键安装,无需额外配置。
Capability Graph Mapper 是免费的吗?
是的,Capability Graph Mapper 完全免费(开源免费),可自由下载、安装和使用。
Capability Graph Mapper 支持哪些平台?
Capability Graph Mapper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Capability Graph Mapper?
由 andyxinweiminicloud(@andyxinweiminicloud)开发并维护,当前版本 v1.0.0。