weave-api-calling

A REST API for Weave Protocol, a collection of services for AI-agent security, encryption, compliance, and governance.

In plain words
What is it for?
Use it to scan content or MCP servers, check secrets and personal data, encrypt data, create compliance reports, anchor records, and manage governance proposals.
Why use it?
It provides HTTP endpoints when MCP tools are unavailable or when a web application needs to call these services directly.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/tyox-all/weave_protocol/api
Any agent
npx skills add Tyox-all/Weave_Protocol --skill api
Clone the repo
git clone --depth 1 https://github.com/Tyox-all/Weave_Protocol

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00036 $0.00611
Opus 5 $0.00018 $0.00305
Sonnet 5 $0.00007 $0.00122
Haiku 4.5 $0.00004 $0.00061

Measured yesterday against content hash cd43dbc5a50a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

weave-api-calling scanned grade A with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 16 executable files (src/adapters/langchain.ts, src/adapters/openai.ts, src/dashboard-routes.ts, …), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:3000/mund/scan \
api/SKILL.md · 85 lines

What it actually says

Weave Protocol REST API

Overview

HTTP endpoints for all Mund, Hord, Domere, and Witan functionality. Use when MCP is unavailable or for web integration.

Start Server

npx @weave_protocol/api
# or
docker run -p 3000:3000 weave-protocol/api

Endpoints

Mund (Security)

Method Path Purpose
POST /mund/scan Scan content
POST /mund/scan-mcp-server Vet MCP server
POST /mund/check-secret Check for secret
POST /mund/check-pii Detect PII

Hord (Encryption)

Method Path Purpose
POST /hord/encrypt Encrypt data
POST /hord/decrypt Decrypt data
POST /hord/yoxallismus/lock Yoxallismus lock
POST /hord/yoxallismus/unlock Yoxallismus unlock

Domere (Compliance)

Method Path Purpose
POST /domere/checkpoint Create checkpoint
POST /domere/compliance/report Generate report
POST /domere/anchor Blockchain anchor

Witan (Governance)

Method Path Purpose
POST /witan/propose Create proposal
POST /witan/vote Cast vote
POST /witan/escalate Escalate decision

Quick Examples

Scan content

curl -X POST http://localhost:3000/mund/scan \
  -H "Content-Type: application/json" \
  -d '{"content": "sk-abc123..."}'

Encrypt data

curl -X POST http://localhost:3000/hord/encrypt \
  -H "Content-Type: application/json" \
  -d '{"data": "secret", "key": "my-key"}'

Create checkpoint

curl -X POST http://localhost:3000/domere/checkpoint \
  -H "Content-Type: application/json" \
  -d '{"action": "data_access", "actor": "agent-001"}'

When to Use

  1. Web application integration
  2. Environments without MCP support
  3. Microservice architectures
  4. CI/CD pipelines
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. yesterday First seen · 85 lines · 36 tokens per session scan A cd43dbc5a50a

Subscribe to this mod's changes

weave-api-calling is a skill published in the GitHub repository Tyox-all/Weave_Protocol (0 stars, last pushed 8d ago), licensed Apache-2.0. It adds 36 tokens to every session and 611 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.