agentweaver-api-harness

agentweaver-api-harness is a skill for Claude Code, Codex from sabbour/agentweaver. It costs 46 tokens per session (376 once invoked), scanned A, original, MIT.

A testing skill for Agentweaver’s REST API, the web interface used by programs to send requests to the application. It supports structured test scenarios and exploratory investigations.

In plain words
What is it for?
Use it to run or repeat API persona scenarios, investigate failures in plain language, inspect verdicts, and save test transcripts.
Why use it?
It helps reproduce backend problems and preserves the test result, transcript, and evidence instead of relying on an incomplete command exit status.

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/sabbour/agentweaver/agentweaver-api-harness
Any agent
npx skills add sabbour/agentweaver --skill agentweaver-api-harness
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-api-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/sabbour/agentweaver/agentweaver-api-harness.svg)](https://agentmods.dev/skills/sabbour/agentweaver/agentweaver-api-harness)
Your own site
<a href="https://agentmods.dev/skills/sabbour/agentweaver/agentweaver-api-harness"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/agentweaver-api-harness.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 376 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00046 $0.00376
Opus 5 $0.00023 $0.00188
Sonnet 5 $0.00009 $0.00075
Haiku 4.5 $0.00005 $0.00038

Measured 5d ago against content hash 40611eb4f4af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentweaver-api-harness 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 5d 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.

.github/skills/agentweaver-api-harness/SKILL.md · 31 lines

What it actually says

API harness

Read scripts/api-harness/SKILL.md before running the harness. It is the source of truth for its real CLI, flags, safety controls, exit codes, evidence artifacts, and both supported modes:

  • For a structured scenario or a re-test from a reproManifest, invoke node scripts/api-harness/run-persona.mjs with a fresh scenario run. A manifest is provenance for a new comparable run—not an old runId replay.
  • For a free-text or exploratory persona investigation, invoke node scripts/api-harness/agent-driver/tools.mjs in its session-based sequence and call finish to persist the transcript.

Use the actual commands in that contract. Capture the output path, inspect the verdict/transcript JSON, and report the outcome with its evidence path and whether it is pass, fail, or inconclusive. Do not claim that a zero driver exit establishes subjective output quality.

Before running, check scripts/harness-shared/learnings.md (surface: api or all) for already-known bugs, environment facts, and scenario-design notes so they aren't rediscovered from source each run.

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. 5d ago First seen · 31 lines · 46 tokens per session scan A 40611eb4f4af

Subscribe to this mod's changes

agentweaver-api-harness is a skill published in the GitHub repository sabbour/agentweaver (5 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 376 once invoked, about $0.0002 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.

Related

Other skills, from other repositories