weave

A command for building and running API workflows, which are ordered sequences of requests that can pass data between steps.

In plain words
What is it for?
Use it to create and run API nodes, set flow variables, add checks, clone steps, and export requests as cURL or JSON.
Why use it?
It helps test multi-step API behavior, check responses, and repeat the same flow locally or in continuous integration.

Command

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 commands/d4rkninja/infynon-cli/weave
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/infynon-cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 870 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.00000 $0.00870
Opus 5 $0.00000 $0.00435
Sonnet 5 $0.00000 $0.00174
Haiku 4.5 $0.00000 $0.00087

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

Security

Grade A, and why

weave 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 3d 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.

Makes network callslowCapability

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

| `infynon weave node export <node-id>` | Export node as curl or JSON |
docs/commands/weave.md · 85 lines

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.

weave

Use weave to create, run, and replay API workflows.

When to use

Use this command when you need to test chained API behavior, pass values between requests, validate responses, or run API flows in CI.

Basic usage

infynon weave <subcommand>

Common commands

Command Description
infynon weave tui [flow-id] Open API flow TUI
infynon weave env list List flow environment variables
infynon weave env set <key> <value> Set environment variable
infynon weave env get <key> [--reveal] Get environment variable
infynon weave env delete <key> Delete environment variable
infynon weave node create Create API node interactively
infynon weave node create --ai <description> Create node from AI description
infynon weave node list List nodes
infynon weave node get <node-id> Show node
infynon weave node clone <node-id> <new-id> Clone node
infynon weave node run <node-id> Run one node
infynon weave node export <node-id> Export node as curl or JSON
infynon weave node remove <node-id> Remove node
infynon weave node assertion <node-id> list List node assertions
infynon weave node assertion <node-id> add <check> Add assertion
infynon weave node assertion <node-id> enable <index> Enable assertion
infynon weave node assertion <node-id> disable <index> Disable assertion
infynon weave node assertion <node-id> toggle <index> Toggle assertion
infynon weave node assertion <node-id> remove <index> Remove assertion
infynon weave node prompt <node-id> list List runtime prompts
infynon weave node prompt <node-id> add <var> Add runtime prompt
infynon weave node prompt <node-id> remove <index> Remove runtime prompt
infynon weave flow create <name> Create flow
infynon weave flow list List flows
infynon weave flow show <flow-id> Show flow
infynon weave flow run <flow-id> Run one flow
infynon weave flow run-all Run all flows
infynon weave flow merge <flow-a> <flow-b> --join-at <node-id> Merge flows
infynon weave flow remove <flow-id> Remove flow
infynon weave attach <from> <to> Attach node to node
infynon weave detach <from> <to> Detach node from node
infynon weave import <spec> Import OpenAPI or compatible spec
infynon weave validate Validate saved flow definitions
infynon weave ai probe <flow-id> Run AI-assisted probes
infynon weave ai explain <flow-id> Explain last flow run
infynon weave ai build-flow --nodes <nodes> Build flow from nodes

Read the full file on GitHub · 85 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. 3d ago First seen · 85 lines · 0 tokens per session scan A 97c5a99f2a44

Subscribe to this mod's changes

weave is a command published in the GitHub repository d4rkNinja/infynon-cli (8 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 870 tokens. 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.