Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add daffy0208/ai-dev-standards --skill capability-graph-buildergit clone --depth 1 https://github.com/daffy0208/ai-dev-standardsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/daffy0208/ai-dev-standards/capability-graph-builder)<a href="https://agentmods.dev/skills/daffy0208/ai-dev-standards/capability-graph-builder"><img src="https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/capability-graph-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/daffy0208/ai-dev-standards/capability-graph-builder"><img src="https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/capability-graph-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.02831 |
| Opus 5.5 | $0.00010 | $0.01132 |
| Sonnet 5.5 | $0.00005 | $0.00566 |
| Haiku 4.5 | $0.00003 | $0.00283 |
Grade A, and why
Capability Graph Builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 434 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Capability Graph Builder
Build queryable capability graphs from manifests using Codex for relationship inference
Purpose
Consumes capability manifests (generated by manifest-generator) and constructs a queryable graph structure representing all capabilities and their relationships. Uses OpenAI Codex to infer missing relationships and validate compatibility declarations.
When to Use
- 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 from descriptions
- Consistency Validation: Validates bidirectional relationships (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 in a domain or with specific effects
Inputs
inputs:
manifest_dir: string # Directory containing manifest.yaml files (e.g., SKILLS/)
output_path: string # Where to write capability-graph.json
validate_consistency: boolean # Run Codex validation on relationships
infer_missing: boolean # Use Codex to infer missing compatibility fields
Process
Step 1: Scan and Load Manifests
#!/bin/bash
# Find all manifest.yaml files
MANIFESTS=$(find SKILLS MCP-SERVERS TOOLS COMPONENTS INTEGRATIONS -name 'manifest.yaml' 2>/dev/null)
# Load each manifest
echo "Loading manifests..."
for manifest in $MANIFESTS; do
echo " - $manifest"
done
Step 2: Build Initial Graph
// Pseudocode for graph construction
const graph = {
nodes: [],
edges: [],
domains: {},
effects: {}
}
for (const manifest of manifests) {
// Add node
graph.nodes.push({
id: manifest.name,
kind: manifest.kind,
description: manifest.description,
preconditions: manifest.preconditions,
effects: manifest.effects,
domains: manifest.domains,
cost: manifest.cost,
latency: manifest.latency,
risk_level: manifest.risk_level
})
// Add edges from compatibility
if (manifest.compatibility) {
if (manifest.compatibility.requires) {
for (const required of manifest.compatibility.requires) {
graph.edges.push({
from: required,
to: manifest.name,
type: 'requires'
})
}
}
if (manifest.compatibility.enables) {
for (const enabled of manifest.compatibility.enables) {
graph.edges.push({
from: manifest.name,
to: enabled,
type: 'enables'
})
}
}
if (manifest.compatibility.conflicts_with) {
for (const conflict of manifest.compatibility.conflicts_with) {
graph.edges.push({
from: manifest.name,
to: conflict,
type: 'conflicts_with'
})
}
}
if (manifest.compatibility.composes_with) {
for (const compose of manifest.compatibility.composes_with) {
graph.edges.push({
from: manifest.name,
to: compose,
type: 'composes_with'
})
}
}
}
// Index by domain
for (const domain of manifest.domains) {
if (!graph.domains[domain]) graph.domains[domain] = []
graph.domains[domain].push(manifest.name)
}
// Index by effect
for (const effect of manifest.effects) {
if (!graph.effects[effect]) graph.effects[effect] = []
graph.effects[effect].push(manifest.name)
}
}
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 434 lines · 25 tokens per session scan A ff26be3b269f
Capability Graph Builder is a skill published in the GitHub repository daffy0208/ai-dev-standards (39 stars, last pushed 11mo ago), licensed MIT. It adds 25 tokens to every session and 2,831 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Capability Graph Builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Capability Graph Builderdaffy0208/ai-dev-standards | Skill | 39 | 11mo ago | MIT | A | 25 | Claude Code, Codex |
| dale-prooflubluniky/dale | Skill | 54 | 2mo ago | MPL-2.0 | A | 127 | Codex |
| dale-lenseslubluniky/dale | Skill | 54 | 2mo ago | MPL-2.0 | A | 135 | Codex |
| dale-visualizelubluniky/dale | Skill | 54 | 2mo ago | MPL-2.0 | A | 111 | Codex |
| dale-graphlubluniky/dale | Skill | 54 | 2mo ago | MPL-2.0 | A | 45 | Codex |
| dale-indexlubluniky/dale | Skill | 54 | 2mo ago | MPL-2.0 | A | 51 | Codex |
| dale-maxlubluniky/dale | Skill | 54 | 2mo ago | MPL-2.0 | A | 36 | Codex |