Home / agentworkforce / relay · .agents/skills/writing-relayflows/SKILL.md · GitHub

writing-relayflows skillA

writing-relayflows is agent-read markdown (skill) from agentworkforce/relay: Use when authoring a Relayflows flow (@relayflows/surface / @relayflows/sdk, the journal-based v2 engine — the CLI is `flows`, package versions 2.0.x) in TypeScript or YAML/JSON. Covers the three-rung ladder (run/llm/agent), the resident verbs (human/dispatch/done), verification gates, TypeScript vs YAML authoring, per-step cli/model selection and its resolution order, flows.json, and `flows check`/`run`/`resume` with their real refusal shapes and exit codes. Not for the older, unrelated `@relay.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

### Overview

Relayflows turns a coding-agent task into steps a journal can inspect, verify, and resume. A flow is data (YAML/JSON) or code (TypeScript) that compiles to the same journal-backed kernel spec. Every effect is journaled before it's treated as real — a journal write that fails fails the step, with no silent fallback.

**Name collision warning.** This repo also has skills for an older, unrelated engine that is _also_ casually called "Relayflow" (singular) — `@relayflows/core`'s `WorkflowBuilder`, a chained builder (`workflow('name').pattern('dag').agent(...).step(...).run()`). That's `writing-agent-relay-workflows` and `migrating-persona-to-relayflow`'s territory. This skill is the **v2** engine: `@relayflows/surface`'s `flow()` function and the YAML/JSON dialect compiled by `@relayflows/sdk`. If you see `.pattern(`, `.agent(` as a chained builder call, or `ctx.workflow.run()`, you're in the other engine — stop and use one of those skills instead.

### When to use this skill

- Writing a new `.flow.ts` or `.flow.yaml`/`.flow.json` for the `flows` CLI (package `@relayflows/sdk`, binary name `flows`).
…

Read the whole file at its exact version.

How to install

Latest version
mdr add agentworkforce/relay/writing-relayflows@git:20260919.270f08c
Exact content
mdr add agentworkforce/relay/writing-relayflows@sha256:941cbfb54a6e4f7d

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6spwsyg5siahbtau.svg)](https://markdownregistry.com/a/art_6spwsyg5siahbtau)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260919.270f08c latest2026-09-19 270f08c 13,288 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13288 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

agentworkforce/relay · 849 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6spwsyg5siahbtau
GET https://markdownregistry.com/api/v1/resolve?ref=agentworkforce/relay/writing-relayflows
GET https://markdownregistry.com/api/v1/blob/941cbfb54a6e4f7d501728cbce12f83d0c17cad401cd3fc946914d7ff9a0acef

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from agentworkforce/relay

choosing-swarm-patterns skill
agentworkforce/relay · .agents/skills/choosing-swarm-patterns/SKILL.md · Use when coordinating multiple AI agents with Agent Relay's workflow engine and need to pick the right orchestration…
git:20260919.270f08c · audit A · 849 stars
creating-agent-skills skill
agentworkforce/relay · .agents/skills/creating-agent-skills-skill/SKILL.md · Use when creating Agent Skills packages (SKILL.md format) for Codex CLI, GitHub Copilot, or Amp - provides the…
git:20260919.270f08c · audit A · 849 stars
emil-design-eng skill
agentworkforce/relay · .agents/skills/emil-design-eng/SKILL.md · This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible…
git:20260619.f9a7ef7 · audit A · 849 stars
orchestrating-agent-relay skill
agentworkforce/relay · .agents/skills/orchestrating-agent-relay/SKILL.md · The canonical way to run agent-relay - self-bootstrap the local broker and autonomously spawn, monitor, and coordinate…
git:20260922.12ce647 · audit A · 849 stars
relay-80-100-workflow skill
agentworkforce/relay · .agents/skills/relay-80-100-workflow/SKILL.md · Use when writing agent-relay workflows that must fully validate features end-to-end before merging. Covers the…
git:20260919.270f08c · audit A · 849 stars
review-animations skill
agentworkforce/relay · .agents/skills/review-animations/SKILL.md · Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy…
git:20260619.f9a7ef7 · audit A · 849 stars
review-fix-signoff-loop skill
agentworkforce/relay · .agents/skills/review-fix-signoff-loop/SKILL.md · Use when writing Agent Relay or Ricky workflows that must loop review, fix, and validation with fresh agent context…
git:20260519.f5dd259 · audit A · 849 stars
setting-up-relayfile skill
agentworkforce/relay · .agents/skills/setting-up-relayfile/SKILL.md · Use when an agent or human needs to set up relayfile end-to-end so agents can read and write provider files through a…
git:20260919.270f08c · audit C · 849 stars
using-agent-relay skill
agentworkforce/relay · .agents/skills/using-agent-relay/SKILL.md · Use when you are a registered relay agent (a spawned worker, or a lead that called register_agent) coordinating with…
git:20260919.270f08c · audit A · 849 stars
browser-testing-with-screenshots skill
agentworkforce/relay · .claude/skills/browser-testing-with-screenshots/SKILL.md · Use when testing web applications with visual verification - automates Chrome browser interactions, element selection…
git:20260525.164e16b · audit A · 849 stars
choosing-swarm-patterns skill
agentworkforce/relay · .claude/skills/choosing-swarm-patterns/SKILL.md · Use when coordinating multiple AI agents with Agent Relay's workflow engine and need to pick the right orchestration…
git:20260919.270f08c · audit A · 849 stars
creating-claude-agents skill
agentworkforce/relay · .claude/skills/creating-claude-agents-skill/SKILL.md · Use when creating or improving Claude Code agents. Expert guidance on agent file structure, frontmatter, persona…
git:20260525.164e16b · audit A · 849 stars

Every file in agentworkforce/relay

Other files named writing-relayflows

writing-relayflows skill
agentworkforce/relay · .openskills/writing-relayflows/SKILL.md
git:20260919.270f08c · audit C · 849 stars

Browse by kind, by grade A, or by owner.