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 agentmods add skills/tyox-all/weave_protocol/wardnpx skills add Tyox-all/Weave_Protocol --skill wardgit clone --depth 1 https://github.com/Tyox-all/Weave_ProtocolWhat 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 | $0.00102 | $0.01037 |
| Opus 5 | $0.00051 | $0.00518 |
| Sonnet 5 | $0.00020 | $0.00207 |
| Haiku 4.5 | $0.00010 | $0.00104 |
Grade A, and why
ward 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 2d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WARD.md — Agent Security Policy Standard
The @weave_protocol/ward package provides the parser, validator, and runtime check primitives for WARD.md files — the standard for declaring AI agent security policies as version-controlled markdown.
When to use
- User has an agent (LangChain, MCP server, Antigravity, Claude Code, MDASH) and wants to lock down what it can/can't do
- User has AGENTS.md or SKILL.md files in their repo and needs to add security guardrails
- User asks "how do I prevent this agent from accessing X" or "how do I limit cost"
- User wants a portable, declarative security policy that survives across harness platforms
- User is reviewing an agent project and notices there's no declared policy
Commands
npx @weave_protocol/ward init # Create a starter WARD.md (basic template)
npx @weave_protocol/ward init --strict # Create a strict, default-deny WARD.md
npx @weave_protocol/ward validate WARD.md # Validate a file
npx @weave_protocol/ward explain WARD.md # Human-readable policy summary
npx @weave_protocol/ward parse WARD.md # Print parsed policy as JSON
Programmatic use
import { parseWard, checkFilesystem, checkNetwork, checkCapability } from "@weave_protocol/ward";
const policy = parseWard(wardSource);
const decision = checkFilesystem(policy, "read", path);
// decision.decision: "allow" | "deny" | "require_approval"
What a WARD.md contains
Section headings (H2) define the policy:
## Filesystem— read/write/execute/delete/list rules with glob patterns## Network— outbound URL allowlist## Capabilities— tools the agent may invoke (with approval gating)## Data Boundaries— egress classifications (PII, PHI, credentials)## Behavioral Limits— iterations, runtime, cost, tokens## Multi-Agent— trust chain, isolation, semantic drift threshold## Compliance— SOC2 / HIPAA / GDPR / etc.## Verification— attestation backend, blockchain, frequency## Threat Model— in-scope / out-of-scope threats## Incident Response— what to do on violation
What ships with it
16 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.
- .gitignore 36 B
- examples/basic.WARD.md 1.0 KB
- examples/compliance.WARD.md 1.7 KB
- examples/strict.WARD.md 2.0 KB
- package-lock.json 41 KB
- package.json 1.4 KB
- README.md 6.2 KB
- SPEC.md 6.7 KB
- src/cli.ts 15 KB runs code
- src/enforcer/index.ts 9.8 KB runs code
- src/index.ts 1.2 KB runs code
- src/parser/index.ts 12 KB runs code
- src/parser/markdown.ts 2.0 KB runs code
- src/parser/yaml.ts 3.8 KB runs code
- src/types.ts 11 KB runs code
- tsconfig.json 487 B
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.
- 2d ago First seen · 85 lines · 102 tokens per session scan A cf08c4c8a0d1
ward is a skill published in the GitHub repository Tyox-all/Weave_Protocol (0 stars, last pushed 9d ago), licensed Apache-2.0. It adds 102 tokens to every session and 1,037 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
rtc-balance
Check RustChain wallet balance, epoch info, and network status via the public RPC.
panguard
AI agent security platform — audit skills, scan for threats, and run 24/7 protection with 9,700+ detection rules.
lictor-security-check
Pre-release security audit for ANY project — AI-built or hand-written, web or mobile. Scans the codebase for the full range of real-world risks that get apps breached: leaked API & AI-provider keys, exposed configs/secrets, broken auth & access control (IDOR), injection (SQL/XSS/command), SSRF, open databases & cloud…
lictor-rotate
Walks the user through rotating a leaked API key — step by step, provider-specific. Knows the exact URL to visit, the exact button to click, and how to verify the rotation worked. Supports Stripe, OpenAI, Anthropic, Google Cloud / AI Studio, GitHub, AWS, Slack, Supabase, Firebase, Postmark, and generic OAuth providers.
alchemy-agentic-gateway
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features. Also use when the user mentions "SIWE", "SIWS", "x402", "MPP", "mppx", or "agentic gateway" — this skill covers wallet-based auth flows for Alchemy's x402 and MPP…
alchemy-api
Integrates Alchemy blockchain APIs using an API key. Requires $ALCHEMYAPIKEY to be set; if unavailable, use the alchemy-agentic-gateway skill instead. Use when user asks about EVM JSON-RPC calls, token balances, NFT ownership or metadata, transfer history, token prices, portfolio data, transaction simulation…