agentweaver: Skill for Claude Code

.copilot/skills/agentweaver-docs-sync/SKILL.md

agentweaver-docs-sync is a skill for Claude Code, Codex from sabbour/agentweaver. It costs 40 tokens per session (999 once invoked), scanned A, original, MIT.

A procedure for keeping Agentweaver documentation aligned with the software's source code. Agentweaver is a multi-agent application whose documentation includes both generated reference pages and hand-written guides.

In plain words
What is it for?
Finding which documentation needs updates, regenerating derived pages, checking for documentation drift, and building the VitePress documentation site.
Why use it?
It reduces mismatches between changed features and the pages that explain them.

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 reads a path above its own folder, which exists only inside the repository. The line is **Companion skill.** This skill owns **drift detection** and **generated/derived docs** (the generator + CI check). To *author* a feature's docs across all face.

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/.copilot/skills/agentweaver-docs-sync/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 agentweaver-docs-sync

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sabbour/agentweaver/agentweaver-docs-sync"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/agentweaver-docs-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 999 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.00040 $0.00999
Opus 5.5 $0.00016 $0.00400
Sonnet 5.5 $0.00008 $0.00200
Haiku 4.5 $0.00004 $0.00100

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

Security

Grade A, and why

agentweaver-docs-sync 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.

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.

.copilot/skills/agentweaver-docs-sync/SKILL.md · 71 lines

How it starts

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

Context

Docs live in docs/ (a VitePress site) and drift from the code as features land. This skill is the repeatable playbook so doc updates are deterministic instead of a one-off prompt. See .github/DOCS_SYNC.md for the full strategy.

Companion skill. This skill owns drift detection and generated/derived docs (the generator + CI check). To author a feature's docs across all facets (deep-dive, reference, user guide, screenshots, landing card, nav, cross-links, diagrams), use the docs-feature skill. Use them together: docs-feature to write, docs-sync to keep generated docs in sync.

Docs are split into two kinds:

  • Generated — derived from source, never hand-edited (carry a GENERATED — DO NOT EDIT header).
  • Curated — hand-written prose.
Surface Doc Mode Source of truth
MCP tools docs/reference/mcp-tools.md Generated apps/Agentweaver.Mcp/Tools/*.cs
MCP tool params docs/reference/mcp.md Curated hand-written
API endpoints docs/reference/api.md Curated apps/Agentweaver.Api/**/*Endpoints.cs
Memory/decisions docs/reference/memory.md Curated apps/Agentweaver.Api/Endpoints/{Memory,Decisions}Endpoints.cs
Blueprints/workflows docs/guide/workflows.md, docs/reference/* Curated apps/Agentweaver.Api/{Blueprints,Workflows}/, packages/Agentweaver.Squad/Catalog/Resources/blueprints/

When to invoke

Invoke this skill whenever a change adds or alters: an MCP tool, an API endpoint, a blueprint, a workflow, or any user-facing feature. The CI workflow .github/workflows/docs-drift.yml also nudges PRs that change these paths without touching docs/**.

Playbook

  1. Identify the surface that changed and map it to its doc(s) using the table above.

  2. Regenerate generated docs if you touched a generated surface (e.g. MCP tools):

    node scripts/gen-docs.mjs          # writes docs/reference/mcp-tools.md
    node scripts/gen-docs.mjs --check  # verify in sync (what CI runs)
    

    Never hand-edit a generated file — edit the source attribute/route and regenerate.

Read the full file on GitHub · 71 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 · 71 lines · 40 tokens per session scan A 59fa81a733b1

Subscribe to this mod's changes

agentweaver-docs-sync is a skill published in the GitHub repository sabbour/agentweaver (7 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 999 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-08-31.

Related

Other skills, from other repositories

auditing-kubernetes-cluster-rbac

Auditing Kubernetes cluster RBAC configurations to identify overly permissive roles, wildcard permissions, dangerous ClusterRoleBindings, service account abuse, and privilege escalation paths using kubectl, rbac-tool, KubiScan, and Kubeaudit.

xalgorix/xalgorix · 56 tokens

agent-workflow-playbook

AI Agent Workflow & Skill Architecture Guide — turn expert work into measurable, reusable agent systems. Covers workflow discovery, skill decomposition, harness design, evaluation, human escalation, observability, cost control, and multi-agent orchestration. Includes a measured marketing-delivery case: 15 people × 3–4…

Gingiris-1031/gingiris-skills · 83 tokens

aks-mcp

Azure Kubernetes Service (AKS) official MCP server.

Friz-zy/ai-capability-registry · 14 tokens

auditing-kubernetes-cluster-rbac

Auditing Kubernetes cluster RBAC configurations to identify overly permissive roles, wildcard permissions, dangerous ClusterRoleBindings, service account abuse, and privilege escalation paths using kubectl, rbac-tool, KubiScan, and Kubeaudit.

26zl/cybersec-toolkit · 56 tokens

auditing-kubernetes-cluster-rbac

Auditing Kubernetes cluster RBAC configurations to identify overly permissive roles, wildcard permissions, dangerous ClusterRoleBindings, service account abuse, and privilege escalation paths using kubectl, rbac-tool, KubiScan, and Kubeaudit.

autohandai/community-skills · 56 tokens

auditing-kubernetes-cluster-rbac

Auditing Kubernetes cluster RBAC configurations to identify overly permissive roles, wildcard permissions, dangerous ClusterRoleBindings, service account abuse, and privilege escalation paths using kubectl, rbac-tool, KubiScan, and Kubeaudit.

Youngmaidainon/Agent-Level-Up · 56 tokens