agentweaver: Skill for Claude Code

.github/skills/docs-diagram-pitch/SKILL.md

docs-diagram-pitch is a skill for Claude Code, Codex from sabbour/agentweaver. It costs 50 tokens per session (2,292 once invoked), scanned A, original, MIT.

A workflow for proposing a documentation diagram in an editable draw.io file and checking its rendered image. It researches the subject and prepares an evidence-backed first version, not a final published diagram.

In plain words
What is it for?
Use it to create or redesign an Agentweaver documentation diagram and prepare it for later review passes.
Why use it?
It prevents new diagrams from being created without checking existing documentation, ownership, and related diagrams. It also keeps the editable source and rendered image aligned.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is sabbour/agentweaver's own configuration. It tells Claude Code and Codex how to work on agentweaver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentweaver configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/docs/inventory-diagrams.mjs --set <name> --owner <agent-id>.

Reuse

Borrowing it

Nothing to install: this file belongs to sabbour/agentweaver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sabbour/agentweaver/dev/.github/skills/docs-diagram-pitch/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sabbour/agentweaver

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 docs-diagram-pitch

README.md
[![agentmods](https://agentmods.dev/badge/skills/sabbour/agentweaver/docs-diagram-pitch/github.svg)](https://agentmods.dev/skills/sabbour/agentweaver/docs-diagram-pitch)
Your own site
<a href="https://agentmods.dev/skills/sabbour/agentweaver/docs-diagram-pitch"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/docs-diagram-pitch/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 docs-diagram-pitch

Your own site · 80×15
<a href="https://agentmods.dev/skills/sabbour/agentweaver/docs-diagram-pitch"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/docs-diagram-pitch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,292 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.00050 $0.02292
Opus 5.5 $0.00020 $0.00917
Sonnet 5.5 $0.00010 $0.00458
Haiku 4.5 $0.00005 $0.00229

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

Security

Grade A, and why

docs-diagram-pitch 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 2 executable files (scripts/diagram_inventory.py, tests/test_diagram_inventory.py), 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.

.github/skills/docs-diagram-pitch/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pitch an Agentweaver documentation diagram

Create the initial evidence-backed visual proposal. Do not treat the pitch as publication-ready: hand it to docs-diagram-iterate for at least four post-pitch review passes.

Read references/pitch-checklist.md before drawing. Also read CONTRIBUTING.md, docs/diagrams/README.md, the target documentation, and the current Agentweaver diagram design-system assets.

Inventory and parallel-work protocol

The source of truth for catalog coordination is the area-sharded inventory under docs/diagrams/drawio/inventory/. Before researching or editing:

  1. Run node scripts/docs/inventory-diagrams.mjs --list --spec <name> and confirm the stable source, editable draw.io, PNG, and hash paths.

  2. Claim the diagram in its area shard:

    node scripts/docs/inventory-diagrams.mjs --set <name> --owner <agent-id>
    
  3. Work in one assigned inventory area. Independent agents may work in parallel only when they own different area shards or an explicitly disjoint set of names.

  4. Set the intended disposition with --disposition retain|reuse|merge|remove|redesign. reuse and merge also require --replacement <canonical-name>.

  5. Never rename the stable published PNG path. A replacement decision changes the inventory mapping and documentation references during the later catalog migration; it does not silently move or overwrite another diagram.

Use repeated --spec flags for a bounded batch, or --area <area> plus --disposition <value> for an area queue. Do not run an unfiltered catalog render while other area agents are active.

Hard repository boundary

This skill changes documentation authoring and rendering artifacts only. Treat shipped product code as read-only visual and factual reference:

  • do not edit the web coordinator topology, cluster topology, workflow editor/viewer, product routing helpers, runtime APIs, or any other shipped product surface;
  • do not change packages/Agentweaver.Squad workflow definitions or product workflow behavior;
  • do not remove root dependencies used by non-documentation tooling;
  • docs-only generation may change scripts/docs/workflows-to-graphspec.mjs or replace it with another docs-only generator, but that does not authorize product behavior changes.

Read the full file on GitHub · 207 lines

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 · 207 lines · 50 tokens per session scan A 355c0f6d95d9

Subscribe to this mod's changes

docs-diagram-pitch is a skill published in the GitHub repository sabbour/agentweaver (7 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 2,292 once invoked, about $0.0002 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-09-15.

Related

Other skills, from other repositories

ui-design-source

Use this skill when the user provides Figma material, design-export files, screenshots of design tools, PDFs, JSON, existing HTML or other UI source code, or asks for design-to-HTML/code fidelity. It adapts OpenDesign/Figma handoff discipline for UIDesigner without requiring a live source runtime.

Orkas-AI/Orkas · 3 tokens

design-system-importer

Use this when COMPOSE or an AUTO compose segment has any external reference media or style source: a reference image, reference video, DESIGN.md, brand guide, screenshot, existing website, design notes, or an explicit named visual direction.

Orkas-AI/Orkas · 4 tokens

ui-design-system

Use this skill when creating, extending, or auditing a product UI system. It adapts Better Design-style design-system discipline without requiring an external runtime package.

Orkas-AI/Orkas · 3 tokens

ui-controls-accessibility

Before rendering, turn every explicitly requested workflow outcome into a compact ledger: user outcome -> triggering control/event -> rendered state branch -> recovery/next action. Success and failure are separate outcomes. When a backend is unavailable but the outcome can be modeled locally, make both outcomes…

Orkas-AI/Orkas · 4 tokens

product-ui

Use this skill when UI design and UI implementation should happen together. It turns product context into usable frontend screens, components, layout decisions, design-system choices, accessibility rules, and visual polish.

Orkas-AI/Orkas · 2 tokens

image-canvas

Read this private ImageStudio skill only after route lock when the result has multiple meaningful visual regions, an explicit reading order, exact layout constraints, or references bound to regions. Skip it for a simple single-region image. If art direction is also needed, establish it with image-craft before…

Orkas-AI/Orkas · 3 tokens