Capability Graph Builder

Capability Graph Builder is a skill for Claude Code, Codex from daffy0208/ai-dev-standards. It costs 25 tokens per session (2,831 once invoked), scanned A, original, MIT.

A tool for turning capability descriptions into a searchable map of skills, resources, and what they can do. It uses Codex to infer relationships and check whether declarations agree.

In plain words
What is it for?
Use it after generating manifests to build an orchestration knowledge base, validate relationships, find paths to a goal, or extract capabilities from a particular area.
Why use it?
It makes it easier to discover dependencies and determine which capabilities are needed for a goal instead of checking separate descriptions manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: runs codex exec; mentions Codex.

Good fit Use it after generating manifests to build an orchestration knowledge base, validate relationships, find paths to a goal, or extract capabilities from a particular area.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daffy0208/ai-dev-standards/capability-graph-builder
Install

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.

Any agent
npx skills add daffy0208/ai-dev-standards --skill capability-graph-builder
Clone the repo
git clone --depth 1 https://github.com/daffy0208/ai-dev-standards

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for Capability Graph Builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/capability-graph-builder/github.svg)](https://agentmods.dev/skills/daffy0208/ai-dev-standards/capability-graph-builder)
Your own site
<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.

agentmods 80×15 button for Capability Graph Builder

Your own site · 80×15
<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>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash ff26be3b269f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (build-graph.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/capability-graph-builder/SKILL.md · 434 lines

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)
  }
}

Read the full file on GitHub · 434 lines

Files

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.

Changes

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.

  1. 1mo ago First seen · 434 lines · 25 tokens per session scan A ff26be3b269f

Subscribe to this mod's changes

Capability Graph Builder is a skill published in the GitHub repository daffy0208/ai-dev-standards (38 stars, last pushed 9mo 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.

Related

Other skills, from other repositories

dale-proof

Verify an existing implementation, fix, migration, deployment, runtime behavior, compatibility boundary, or other technical claim by mapping atomic claims to direct, fresh, reproducible primary signals and returning scoped PROVEN, PARTIAL, UNPROVEN, or CONTRADICTED verdicts with a compact proof capsule. Use when the…

lubluniky/dale · 127 tokens

dale-lenses

Reframe an already bounded, difficult engineering, product, operational, or strategic question through one rigorous reasoning lens and at most one genuinely opposing lens, producing a falsifiable model, decision cruxes, and evidence needs instead of a tour of frameworks. Use when the user explicitly invokes…

lubluniky/dale · 135 tokens

dale-visualize

Create clear, polished, self-contained HTML visualizations by selecting and adapting task-relevant patterns from Anthropic's html-effectiveness examples. Use when the user invokes $dale-visualize, selects Dale Visualize through /skills, or asks to turn code, architecture, research, plans, comparisons, reports…

lubluniky/dale · 111 tokens

dale-graph

Decompose complex work into an adaptive graph of owned outcomes and evidence, using subagents by default. Use for $dale-graph, a requested task graph, or work with independent implementation or proof boundaries.

lubluniky/dale · 45 tokens

dale-index

Create or refresh evidence-backed REQ.md, CONTEXT.md, STATE.md, TDD.md, DESIGN.md, and DECISIONS.md repository primitives. Use for $dale-index, repository mapping, context recovery, or stale project documentation.

lubluniky/dale · 51 tokens

dale-coach

Review recent Codex task history and return evidence-backed workflow advice. Use only for explicit $dale-coach or a direct request to run Dale Coach on selected tasks or a recent time window.

lubluniky/dale · 42 tokens