agentprism-workflow-authoring

agentprism-workflow-authoring is a skill for Claude Code, Codex from agentprism/agentprism-workflows. It costs 136 tokens per session (1,484 once invoked), scanned A, original, Apache-2.0.

A guide for writing and running AgentPrism workflow scripts. These scripts coordinate coding agents such as Claude Code, OpenAI Codex, OpenCode, or pi through stages, parallel tasks, and pipelines.

In plain words
What is it for?
Use it to build workflow scripts, run them through the AgentPrism MCP tool, combine agents in parallel or sequence, and validate their outputs.
Why use it?
It explains how to route work to different agent backends and handle structured results, failures, retries, checks, and workflow phases. Agent backends are separate coding-agent systems that execute assigned work.

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/agentprism/agentprism-workflows/agentprism-workflow-authoring
Any agent
npx skills add agentprism/agentprism-workflows --skill agentprism-workflow-authoring
Clone the repo
git clone --depth 1 https://github.com/agentprism/agentprism-workflows

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 agentprism-workflow-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentprism/agentprism-workflows/agentprism-workflow-authoring.svg)](https://agentmods.dev/skills/agentprism/agentprism-workflows/agentprism-workflow-authoring)
Your own site
<a href="https://agentmods.dev/skills/agentprism/agentprism-workflows/agentprism-workflow-authoring"><img src="https://agentmods.dev/badge/skills/agentprism/agentprism-workflows/agentprism-workflow-authoring.svg" alt="Measured on agentmods" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,484 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.00136 $0.01484
Opus 5 $0.00068 $0.00742
Sonnet 5 $0.00027 $0.00297
Haiku 4.5 $0.00014 $0.00148

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

Security

Grade A, and why

agentprism-workflow-authoring 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 4d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/quick-wins.workflow.js, examples/repo-triage.workflow.js, examples/resume-loop-cap.workflow.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/agentprism-workflow-authoring/SKILL.md · 69 lines

How it starts

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

Writing AgentPrism workflow scripts

A workflow script is plain JavaScript, passed around as a string, not a module. The engine runs it in a deterministic sandboxed realm. Each agent() call opens a session on an Agent Client Protocol (ACP) backend — Claude Code, OpenAI Codex, OpenCode, pi, or a custom ACP agent server. The backend runs its own tool loop to completion and returns final text or a schema-validated object. One script can mix backends per call.

reference.md (same directory) holds the exhaustive option tables, routing grammar, and error codes.

The guide, by task

Read the section your task needs — each is a separate document in this skill directory:

  1. Running workflows — register @automatalabs/mcp-server; the workflow tool's run/await/inspect/stop actions; background runs; execution logs through the events resource.
  2. Backends and structured output — per-call model routing, configOptions, and schema-validated outputs on every backend.
  3. Composition and failure — the meta header, parallel and pipeline, null semantics, and phases.
  4. Quality helpers and checkpointsgate, retry, verify, judgePanel, loopUntilDry, completenessCheck, and the human checkpoint() gate.
  5. Execution environment — working directories, worktree isolation, session modes, per-call MCP servers, custom ACP backends.
  6. Determinism and resume — what is identity-hashed, content-addressed replay, and how to keep a script resumable.
  7. Examples and validation — worked examples, the full scripts in examples/, and the zero-token validator.

The mental model

  • The script is the orchestrator; agents are workers. All control flow — loops, fan-out, dedup, aggregation, conditionals — lives in script code. Agents cannot spawn agents and cannot see each other. Give each agent one self-contained task.
  • Each agent() call opens a fresh session with no memory. Interpolate everything a later call needs into its prompt. (Sole exception: resume can continue the same usage/auth-interrupted occurrence — see Determinism and resume.)
  • Agents are real coding agents, not chat completions. They have file access, shells, and tools, rooted at the run's working directory. "Read the failing test and fix it" is a valid prompt; the agent will edit files.
  • The DSL primitives are realm globals, not imports. There is nothing to importagent, parallel, pipeline, gate, checkpoint, args, … are injected. Top-level await and a top-level return are valid. The script's return value becomes the run's result.
  • Scripts are plain JavaScript, not TypeScript. Type annotations fail to parse. The realm has no Node APIs (no require, import, fs, fetch, timers). All side effects happen through agents.
  • Live observability needs no script annotations. Journaling runs publish redacted progress and transcript upserts at workflow://runs/{runId}/events. Author labels for human correlation, not to enable this behavior.

Read the full file on GitHub · 69 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. 4d ago First seen · 69 lines · 136 tokens per session scan A fea2f76803a4

Subscribe to this mod's changes

agentprism-workflow-authoring is a skill published in the GitHub repository agentprism/agentprism-workflows (3 stars, last pushed 6d ago), licensed Apache-2.0. It adds 136 tokens to every session and 1,484 once invoked, about $0.0007 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

mcp-acp-bridge

Orchestrate multiple ACP agents (Gemini, Claude, etc.) using a stateful tool-based bridge. Use when you need to manage background generations, run agents in different directories, or track real-time tool logs across multiple connections.

theorionic/mcp-acp-bridge · 54 tokens

copilot-pr-review-loop

Drive a GitHub pull request through repeated rounds of Copilot code review until convergence. Use when the user asks to "request Copilot review", "run a Copilot review loop", iterate on Copilot feedback, or wants automated triage-and-respond on Copilot PR comments. Covers re-request mechanics, open-thread filtering…

microsoft/intelligent-terminal · 91 tokens

upstream-sync

Periodically sync new commits from microsoft/terminal into this manually-forked intelligent-terminal repo by cherry-picking commit-by-commit onto a dated sync branch, auto-skipping revert pairs and empty commits, auto-resolving known take-upstream files, and stopping cleanly on genuine conflicts. The agent (you…

microsoft/intelligent-terminal · 139 tokens

release-notes

Generate user-facing release notes for Intelligent Terminal. Use when asked to write release notes, changelog, what-is-new summary, or prepare a release. Compares git commits between releases, looks up PR-linked issues and community contributors, then outputs formatted notes with "Verbed + Impact + Scenario" style…

microsoft/intelligent-terminal · 73 tokens

opentag

Deploy or operate OpenTag's supported paired setup when a user needs to bootstrap the self-hosted Docker Compose Control Plane and Slack Source App, configure or pair a local ACP Runner with a GitHub Project Target, start the Runner service, verify readiness, or diagnose a Slack mention that did not complete.

amplifthq/opentag · 64 tokens

add-acp-agent-support

Add first-class support for an ACP-compatible agent CLI to Intelligent Terminal. Use when integrating a new built-in AI agent, ACP server command, authentication flow, model selection, interactive delegation, session hooks, onboarding, Settings, branding, GPO policy, documentation, tests, build, deployment, or live…

microsoft/intelligent-terminal · 72 tokens