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 agentmods add skills/lab2a/metalworks/demand-reportnpx skills add Lab2A/metalworks --skill demand-reportgit clone --depth 1 https://github.com/Lab2A/metalworksWrote 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/lab2a/metalworks/demand-report)<a href="https://agentmods.dev/skills/lab2a/metalworks/demand-report"><img src="https://agentmods.dev/badge/skills/lab2a/metalworks/demand-report.svg" alt="Measured on agentmods" 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 | $0.00104 | $0.01111 |
| Opus 5 | $0.00052 | $0.00556 |
| Sonnet 5 | $0.00021 | $0.00222 |
| Haiku 4.5 | $0.00010 | $0.00111 |
Grade A, and why
demand-report 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.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Preamble (run first)
Before any other tool, run the preflight MCP tool (or metalworks preflight on
the CLI). If it reports setup issues or that an update is available, surface that
to the user in one line and help them resolve it (install the missing extra/key,
or pip install -U metalworks) before continuing. Skip only if the user has
already passed preflight this session.
No provider key? You're in Claude Code — run keyless. If preflight shows no chat
key but claude-code as the resolved provider, the full clustered pipeline runs
keyless on the user's Claude Code login (web research included). If metalworks[claude-code]
isn't installed, offer pip install "metalworks[claude-code]" as the no-key path before
falling back to the sampled here-synthesis route. It's slower (~5–7s/LLM call) but needs no key.
Read the reference; never reverse-engineer the source. The moment you need to know how
metalworks behaves — provider/model resolution, which source/reader runs, config precedence,
an error you hit, or the async run loop — STOP and read docs/operating-metalworks.md
(bundled with this plugin) before opening any file under src/. It is the source of truth;
do not derive behavior from source. (Full docs: https://metalworks.lab2a.ai/docs.) For a
long-running run, poll status with the Monitor tool or a bounded loop — never a blind sleep.
You are running the metalworks demand-report flow. The goal is a report grounded in real conversations across the web, never in your own assumptions.
Step 1: Frame the question
Ask the user (or infer from their message) the research question, the decision it informs, and 1-3 candidate subreddits. Keep it to a short exchange. If they gave enough already, skip ahead.
Step 2: Pick the path
Check whether the full pipeline is available by calling research_plan_brief
with the user's idea.
- If it returns a brief (an LLM key is configured): run the real pipeline.
Call
research_startwith that brief — it returns arun_idand runs asynchronously. Watch it with the Monitor tool, or pollresearch_status(run_id)on a bounded loop (~15–30s cadence, never a blind or indefinitesleep), until it reaches a terminal state.research_statusreports fine-grained progress — readstage,stage_index/stage_total, andupdated_at(e.g. "stage 4/6: analyzing · updated 3s ago") so you can tell the run is grinding, not hung, and surface that to the user. Onready, callresearch_resultto fetch theDemandReport(onfailed, see the resume step below). Present the ranked clusters with their distinct-author counts and quoted permalinks, the verdict, and any web findings. Every quote is exact-matched to a real comment; do not paraphrase them as if they were your own.
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.
- 5d ago First seen · 75 lines · 104 tokens per session scan A ec5d2dd736f6
demand-report is a skill published in the GitHub repository Lab2A/metalworks (6 stars, last pushed 2mo ago), licensed MIT. It adds 104 tokens to every session and 1,111 once invoked, about $0.0005 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…