workflow-authoring

workflow-authoring is a skill for Claude Code, Codex from QwenLM/qwen-code. It costs 60 tokens per session (6,625 once invoked), scanned A, original, Apache-2.0.

A reference for writing scripts for an approved workflow tool. A workflow is a defined sequence of automated steps that can split work, run parts in parallel, check results, and combine the findings.

In plain words
What is it for?
Use it to author workflows for migrations, audits, broad code checks, or other tasks too large for one context. It covers agents, pipelines, parallel work, verification, resuming, and convergence.
Why use it?
It helps structure large tasks without running them automatically or granting permission to run them. It encourages discovering the work first, then using small, verifiable stages instead of one unattended script.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it to author workflows for migrations, audits, broad code checks, or other tasks too large for one context. It covers agents, pipelines, parallel work, verification, resuming, and convergence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qwenlm/qwen-code/workflow-authoring
About the project

Qwen Code is an open-source AI coding agent that runs in a terminal and helps developers work with code through language models. It supports multiple model providers and can also be used through IDEs, desktop software, SDKs, and messaging bots.

QwenLM/qwen-code · 28,759 stars · on GitHub · qwenlm.github.io

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 QwenLM/qwen-code --skill workflow-authoring
Clone the repo
git clone --depth 1 https://github.com/QwenLM/qwen-code

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qwenlm/qwen-code/workflow-authoring"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/workflow-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00060 $0.06625
Opus 5.5 $0.00024 $0.02650
Sonnet 5.5 $0.00012 $0.01325
Haiku 4.5 $0.00006 $0.00662

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

Security

Grade A, and why

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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (SKILL.test.ts), 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.

packages/core/src/skills/bundled/workflow-authoring/SKILL.md · 519 lines

How it starts

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

Workflow authoring reference

Everything below is about writing the script. Whether a workflow may run at all is decided by the Workflow tool's own opt-in rule — this reference does not authorize a run.

Reach for one to be comprehensive (decompose the work and cover every part in parallel), to be confident (independent perspectives and adversarial checks before an answer is committed to), or to take on scale a single context cannot hold — migrations, audits, broad sweeps. The script is where that structure is encoded: what fans out, what verifies, what synthesizes. Parallelism on its own is not a reason; work that is already one short sequence of edits belongs in the main loop.

Scout first, then orchestrate

The strongest pattern is hybrid: discover the work list in the main loop (list the files, scope the diff, read the failing test), then hand that list to a workflow. You do not need to know the shape of the work before the task — only before the orchestration step. When the work has distinct phases, run several small workflows across turns and read each result before choosing the next, rather than authoring one large script that runs unattended.

Common single-phase shapes: understand (parallel readers over subsystems, merged into one map), design (independent approaches, judged, then synthesized), review (dimensions, find, verify each finding), research (broad sweep, deep read, synthesis), migrate (discover sites, transform each under isolation: 'worktree', verify).

Script contract

The source is wrapped as an async IIFE, so top-level await and a top-level return are both legal — and a trailing expression is not a return value. End every successful path with an explicit return.

It is plain JavaScript, not TypeScript, and it cannot import anything. A script with a dynamic import() anywhere in it — even in a branch that never runs — is refused before it starts, so none of its agents runs first; do file, network, and package work inside an agent instead.

Read the full file on GitHub · 519 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago Changed · -1 lines b0fb6b662f3c
  2. 27d ago Changed · +21 lines d80cec207fd9
  3. 28d ago Changed · +2 lines 2ed0cc448c11
  4. 1mo ago Changed · +7 lines 99c5c1daae4b
  5. 1mo ago Changed · +6 lines 250c2320bd53
  6. 1mo ago Changed · +15 lines 3c4c32f31b0f
  7. 1mo ago Changed · +26 lines 6ac4d41d1b6c
  8. 1mo ago Changed · +32 lines 2d7d33f9ee1a
  9. 1mo ago First seen · 411 lines · 60 tokens per session scan A f45fd5de7df0

Subscribe to this mod's changes

workflow-authoring is a skill published in the GitHub repository QwenLM/qwen-code (28,759 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 6,625 once invoked, about $0.0002 per session on Opus 5.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-09-12.

Related

Other skills, from other repositories

sls-dashboard-builder

A tool for creating and modifying importable JSON dashboards for Alibaba Cloud SLS, a service for searching and monitoring logs. It maps checked queries and analysis needs to dashboard charts.

alibaba/loongsuite-pilot · 72 tokens

loongsuite-pilot-insight

A reporting workflow for turning LoongSuite Pilot and AI coding-agent logs into structured reports about events, teams, data quality, development efficiency, and AI use. It defines the meaning of the log fields and the measurements used in dashboards.

alibaba/loongsuite-pilot · 91 tokens

loongsuite-pilot-ops

Skill "loongsuite-pilot-ops" from alibaba/loongsuite-pilot, covering loongsuite-pilot-ops, quick start, todo: add quick start commands and usage.

alibaba/loongsuite-pilot · 15 tokens

proactive-agent

Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack 🦞.

MerkyorLynn/Lynn · 46 tokens

novel-workshop

A workspace for writing novels with an AI assistant, covering outlines, characters, chapters, multiple viewpoints, editing, and book assembly. It treats the author’s files and instructions as the source of truth.

MerkyorLynn/Lynn · 90 tokens

agent-personality

3-layer personality system for AI agents: Yuan (base persona), Ishiki (private self-awareness), Public Ishiki (external behavior rules). Give your agent a consistent character, emotional depth, and safe guest interaction boundaries. Use when: (1) Want agent to have a consistent personality, (2) Agent needs different…

MerkyorLynn/Lynn · 114 tokens