weft-api

weft-api is a skill for Claude Code from WeaveMindAI/weft. It costs 89 tokens per session (11,075 once invoked), scanned B, original, no licence file.

Reference material for exposing a Weft program to outside callers through an HTTP route or a websocket. HTTP routes are web addresses that accept requests, while websockets support an ongoing connection.

In plain words
What is it for?
Use it when building an API for a page or service, including request bodies, image links, and streamed answers.
Why use it?
It clarifies how callers send data into the program and receive results before a frontend or another service is connected.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when building an API for a page or service, including request bodies, image links, and streamed answers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/weavemindai/weft/weft-api
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.

Any agent
npx skills add WeaveMindAI/weft --skill weft-api
Clone the repo
git clone --depth 1 https://github.com/WeaveMindAI/weft

Made for: Claude Code.

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 weft-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/weavemindai/weft/weft-api/github.svg)](https://agentmods.dev/skills/weavemindai/weft/weft-api)
Your own site
<a href="https://agentmods.dev/skills/weavemindai/weft/weft-api"><img src="https://agentmods.dev/badge/skills/weavemindai/weft/weft-api/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.

agentmods 80×15 button for weft-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/weavemindai/weft/weft-api"><img src="https://agentmods.dev/badge/skills/weavemindai/weft/weft-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00089 $0.11075
Opus 5.5 $0.00036 $0.04430
Sonnet 5.5 $0.00018 $0.02215
Haiku 4.5 $0.00009 $0.01107

Measured 4d ago against content hash db421ec3109b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

weft-api scanned grade B with 2 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 4d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

timeout 1 curl -N <url>/chat -d '{"prompt":"..."}' # leave a second in, before it finishes

Makes network callslowCapability

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

timeout 1 curl -N <url>/chat -d '{"prompt":"..."}' # leave a second in, before it finishes
tangle/claude-code/.claude/skills/weft-api/SKILL.md · 754 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 4d ago Changed · +2 lines db421ec3109b
  2. 27d ago Changed 8e9698003955
  3. 29d ago Changed · +2 lines cc0ddeb7fb6b
  4. 1mo ago Changed · +7 lines c6e2a562d954
  5. 1mo ago Changed · +4 lines 957ddc6d574d
  6. 1mo ago Changed d3ab48bd9818
  7. 1mo ago Changed · +95 lines db0c0f630bd4
  8. 1mo ago Changed · +16 lines 4e147c35d320
  9. 1mo ago Changed · +10 lines 64ea55e739f8
  10. 1mo ago First seen · 618 lines · 89 tokens per session scan B 4675f56d3872

Subscribe to this mod's changes

weft-api is a skill published in the GitHub repository WeaveMindAI/weft (2,027 stars, last pushed 5d ago), with no licence file. It adds 89 tokens to every session and 11,075 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

weft-api compared with skills from other repositories

weft-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
weft-apiWeaveMindAI/weftSkill2.0k5d agononeB89Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill6915d agoMITA105Claude Code, Codex