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 Tyox-all/Weave_Protocol --skill adapter-msafgit clone --depth 1 https://github.com/Tyox-all/Weave_ProtocolWrote 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/tyox-all/weave_protocol/adapter-msaf)<a href="https://agentmods.dev/skills/tyox-all/weave_protocol/adapter-msaf"><img src="https://agentmods.dev/badge/skills/tyox-all/weave_protocol/adapter-msaf/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/tyox-all/weave_protocol/adapter-msaf"><img src="https://agentmods.dev/badge/skills/tyox-all/weave_protocol/adapter-msaf.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.00136 | $0.01348 |
| Opus 5.5 | $0.00054 | $0.00539 |
| Sonnet 5.5 | $0.00027 | $0.00270 |
| Haiku 4.5 | $0.00014 | $0.00135 |
Grade A, and why
adapter-msaf 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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft Agent Framework adapter for Weave Protocol
The @weave_protocol/adapter-msaf package enforces WARD.md policies inside Microsoft Agent Framework (MSAF) via its middleware pipeline. Unlike the Claude Code and Antigravity adapters which use config-file hooks, this adapter is a library that the user registers programmatically in their agent setup.
When to use
- User is building an MSAF agent and wants policy enforcement at the tool-call layer
- User wants the same WARD.md they use elsewhere (Claude Code, Antigravity, MCP) to apply to their MSAF agent
- User wants typed exceptions (
WardDeniedError) to catch and handle WARD denials in their code - User wants per-agent enforcement (not global, since one process may run multiple agents with different policies)
Architecture difference from claudecode / antigravity adapters
MSAF middleware is registered programmatically, not via a config file. So:
- No
initwrites to disk; instead it prints the integration snippet - Middleware is per-agent, not global
- Runs in-process (no subprocess invocation overhead)
The user must paste a small code snippet into their MSAF agent setup. The CLI helps with init (snippet generator), status (verify policy resolution), and test (dry-run a call).
Primary API
import { WardMiddleware } from '@weave_protocol/adapter-msaf';
const ward = new WardMiddleware({
// wardPath: './WARD.md' // or auto-resolve from cwd
// failMode: 'closed' // or 'open' (default)
// toolMappings: { ... } // custom tool name → capability
// onAllow: (call, result) => { ... }
// onDeny: (call, result) => { ... }
});
agent.useFunctionMiddleware(ward.functionMiddleware());
WARD resolution order
wardPathoption (explicit)wardSourceoption (raw markdown)$WEAVE_WARD_PATH<cwd>/WARD.md<cwd>/.weave/WARD.md<cwd>/.msaf/WARD.md
CLI
weave-msaf init [--language=ts|csharp|python] # print integration snippet
weave-msaf status # show active WARD + mappings
weave-msaf test <tool> [--input=JSON] # dry-run a tool call
What ships with it
10 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.
- 1mo ago First seen · 103 lines · 136 tokens per session scan A be8ba9963638
adapter-msaf is a skill published in the GitHub repository Tyox-all/Weave_Protocol (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 136 tokens to every session and 1,348 once invoked, about $0.0005 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.
Other skills, from other repositories
ui5wc-upgrade
Guide a complete UI5 Web Components version upgrade in the ui5-webcomponents-react monorepo. Updates root and peer dependencies, regenerates wrapper components, syncs theming parameters, updates version-info, detects new components and breaking changes, and verifies the build. Use when a new @ui5/webcomponents version…
openagentskill-registry
Discover, compare, audit, and safely install reusable AI Agent Skills with OpenAgentSkill. Use whenever an agent needs a capability it does not already have, must compare Skill alternatives, or needs evidence before installing third-party instructions.
cli-commands
MUST use when using the CLI, including debugging job failures and inspecting run history via wmill job.
write-script-bun
MUST use when writing TypeScript scripts. Bun is the default and preferred TypeScript runtime — pick it for TypeScript unless the script specifically needs Deno.
write-script-python3
MUST use when writing Python scripts.
raw-app
MUST use when creating raw apps.