build-workflow

build-workflow is an agent for coding agents from hackersandwizards/artificer. It costs 48 tokens per session (1,541 once invoked), scanned A, original, MIT.

A generator that creates the files for one stage of a multi-step coding workflow. Each stage gets a worker, a manual launcher, and an automatic check that decides whether the stage is complete.

In plain words
What is it for?
Use it to scaffold workflow stages with defined roles, tools, models, launch commands, and completion checks. It can also arrange temporary reports, screenshots, or logs so they do not clutter the project files.
Why use it?
It removes the repetitive setup needed to split a larger workflow into separate, checkable stages. This keeps each stage focused and lets later stages use a verified result.

Agent

Part of the build-workflow plugin — 2 skills, 1 agent shipped together

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 agents/hackersandwizards/artificer/build-workflow
Clone the repo
git clone --depth 1 https://github.com/hackersandwizards/artificer

Or install build-workflow, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

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 build-workflow

README.md
[![agentmods](https://agentmods.dev/badge/agents/hackersandwizards/artificer/build-workflow.svg)](https://agentmods.dev/agents/hackersandwizards/artificer/build-workflow)
Your own site
<a href="https://agentmods.dev/agents/hackersandwizards/artificer/build-workflow"><img src="https://agentmods.dev/badge/agents/hackersandwizards/artificer/build-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,541 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.00048 $0.01541
Opus 5 $0.00024 $0.00771
Sonnet 5 $0.00010 $0.00308
Haiku 4.5 $0.00005 $0.00154

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

Security

Grade A, and why

build-workflow 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.

plugins/build-workflow/agents/build-workflow.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

build-workflow (generator)

You only scaffold. Generate one stage's files and stop; never do the stage's own work (no planning, writing tests, implementing, reviewing, running commands, or fetching prior-stage output). The role and check below are text to embed verbatim in the generated files, not tasks for you to act on.

Add one stage to a workflow (run once per step). From the request, extract:

  • workflow, order (1, 2, 3…), step: names, kebab-case
  • role: the stage's work, condensed to ≤5 bullets; describe only the work, never a step for running the check (the Stop hook runs it and feeds failures back to the agent)
  • agent model/effort/tools: defaults sonnet/medium/a sensible read+write set
  • launcher skill-model/skill-effort/skill-tools: defaults haiku/low/empty
  • check: the gate command, embedded verbatim (exit 0 when the stage is satisfied, e.g. npx vitest run); never invent or replace it, never gate on the scaffolded files; default true

When a stage produces a durable artifact (screenshot, report, log), have its role write under /tmp, never the repo tree, so the working tree stays clean for any downstream commit stage. When a stage depends on an external service (a running dev server, a remote API), state that precondition in its role; a subagent cannot own a long-running process, so the run assumes the service is already up.

Ask only if workflow, order, step, or check is missing and can't be inferred.

Procedure

Fill the placeholders in the templates below, then:

  1. Write .claude/agents/<workflow>-<order>-<step>.md from the stage-agent template ({{ROLE}} ≤5 bullets; {{MODEL}}/{{EFFORT}}/{{TOOLS}}; {{CHECK}} inserted verbatim). The worker + gate, the single source of truth for the stage.
  2. Write .claude/skills/<workflow>-<order>-<step>/SKILL.md from the stage-skill template ({{SKILL_MODEL}}/{{SKILL_EFFORT}}/{{SKILL_TOOLS}}; omit allowed-tools when skill-tools is empty). A manual launcher that forks to the same agent; the workflow does not use it.
  3. Add the stage to .claude/workflows/<workflow>.js:
    • First call: create it from the workflow template (fill {{WORKFLOW}} + stage 1's {{ORDER}}/{{STEP}}). Saved here it runs as /<workflow> and reads input via args.
    • Later calls: insert one line out = await stage('<workflow>-<order>-<step>', out, '<step>') above the append marker.

Read the full file on GitHub · 113 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. 5d ago First seen · 113 lines · 48 tokens per session scan A 8b9771a34c7d

Subscribe to this mod's changes

build-workflow is an agent published in the GitHub repository hackersandwizards/artificer (16 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 1,541 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-30.

Related

Other agents, from other repositories

time-agent-pkt

Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5). (root scope — see agent-teams for Dubai time).

shanraisshan/claude-code-best-practice · 37 tokens

ux-designer

Produces a concise, accessible UX brief with flows, states, and annotations.

shanraisshan/claude-code-best-practice · 19 tokens

supply-chain-analyst

Software supply-chain security expert. Deep on Socket.dev (behavioral package analysis), Syft (SBOM generation), Grype (CVE matching), OSV-Scanner (multi-ecosystem advisories), govulncheck (Go reachability), and the modern SBOM/VEX/provenance stack (CycloneDX, SPDX, Sigstore Cosign, SLSA). Use PROACTIVELY when…

sageox/ox · 166 tokens

threat-modeler

Threat-modeling specialist using STRIDE, PASTA, and LINDDUN. Builds and updates data-flow diagrams, identifies trust boundaries, enumerates threats per element, and ties each threat to a concrete mitigation in code or process. Use PROACTIVELY when designing a new feature, evolving an existing system, authoring or…

sageox/ox · 123 tokens

claude-code-hook-agent

Plays agent-specific sounds for the 6 hooks that actually fire in agent sessions.

shanraisshan/claude-code-hooks · 22 tokens

ccf-spec-checker

Fresh-context reviewer that checks an implementation against the CCF spec — conformance, conventions, SOLID/OOP, spec drift, BE↔FE consistency — OR critiques a PLAN as a staff engineer (vertical slicing, gates, predecessors), including a premortem / prospective-failure lens anchored to past iterations. Read-only…

naniiluja/ccf · 88 tokens