Capability Graph Builder
This tool quickly constructs capability graphs to visualize and understand complex systems, streamlining analysis & decision-making.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add capability-graph-builder npx -- -y @trustedskills/capability-graph-builder
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"capability-graph-builder": {
"command": "npx",
"args": [
"-y",
"@trustedskills/capability-graph-builder"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Capability Graph Builder constructs a queryable graph representing capabilities and their relationships, using information from capability manifests. It leverages OpenAI Codex to infer missing relationships and validate compatibility declarations between skills, MCPs (Model Context Protocol), or tools. The resulting graph allows for analysis of dependencies and facilitates orchestration planning.
When to use it
- After generating manifests for skills/MCPs/tools.
- When building the orchestration system's knowledge base.
- To discover capability relationships and dependencies.
- To validate manifest consistency across resources.
- To enable graph-based queries for orchestration planning.
Key capabilities
- Graph Construction: Builds nodes (capabilities) and edges (relationships) from manifests.
- Relationship Inference: Uses Codex to discover implicit relationships based on descriptions.
- Consistency Validation: Validates bidirectional relationships (e.g., if A enables B, does B require A?).
- Path Finding: Supports queries like "what skills are needed to achieve X?".
- Subgraph Extraction: Finds all capabilities within a specific domain or with particular effects.
Example prompts
- "Build a capability graph from the manifests in the
SKILLS/directory and save it ascapability-graph.json." - "Generate a graph, using Codex to infer missing relationships, and validate consistency between manifests located in the
TOOLS/directory." - βWhat skills are needed to achieve [specific goal]?β
Tips & gotchas
- This skill requires capability manifests (in YAML format) as input. These are typically generated by a separate manifest generator tool.
- The skill utilizes OpenAI Codex for relationship inference and validation, so access to the OpenAI API is necessary.
- Ensure the
manifest_dircontains valid manifest files; otherwise, graph construction will fail.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.