workflow-patterns SKILL.md skillA
workflow-patterns from dreadnode/capabilities is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dreadnode/capabilities/workflow-patterns@git:20261002.5d23421Pins git:20261002.5d23421 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dreadnode/capabilities
- Path
capabilities/ai-red-teaming/skills/workflow-patterns/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261002.5d23421, committed Oct 2, 2026
- First version recorded
- May 4, 2026
- Size
- 14,359 bytes
- Repository stars
- 21
- License
- MIT
Python workflow templates for common AIRT assessment scenarios using the Assessment API.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Workflow Patterns
Tested Python templates using the Assessment API (`assessment.run(factory)`).
## Pattern 1: Single Attack with Transforms
TAP attack with 3 transforms from different categories.
```python
import asyncio
import os
import dreadnode as dn
from litellm import acompletion
from dreadnode.airt import Assessment, tap_attack
from dreadnode.transforms.encoding import base64_encode
from dreadnode.transforms.persuasion import authority_appeal
from dreadnode.transforms.cipher import caesar_cipher
TARGET_MODEL = "openai/gpt-4o"
ATTACKER_MODEL = "anthropic/claude-sonnet-4-20250514"
JUDGE_MODEL = "anthropic/claude-sonnet-4-20250514"
@dn.task
async def target(prompt: str) -> str:
resp = await acompletion(
model=TARGET_MODEL,
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": prompt},
],
)
return resp.choices[0].message.content
async def main():
dn.configure(
api_key=os.environ["DREADNODE_API_KEY"],
server=os.environ["DREADNODE_URL"],
project="my-project",
)
assessment = Assessment(
name="TAP + Transforms",
…Read the whole file at its exact version.
How to install
mdr add dreadnode/capabilities/workflow-patterns@sha256:d87846eccf36bf5bThe line at the top of this page pins the label git:20261002.5d23421, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_aj5qy46j7cwwivz4)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between May 4, 2026 and Oct 2, 2026, about one every 75 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261002.5d23421 latest | 2026-10-02 | 5d23421 | 14,359 B | A | view · diff |
| git:20261002.5110f4b | 2026-10-02 | 5110f4b | 14,335 B | A | view · diff |
| git:20260504.2a64374 | 2026-05-04 | 2a64374 | 12,525 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14359 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
dreadnode/capabilities · 21 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_aj5qy46j7cwwivz4 GET https://markdownregistry.com/api/v1/resolve?ref=dreadnode/capabilities/workflow-patterns GET https://markdownregistry.com/api/v1/blob/d87846eccf36bf5bba5acc6f572f84ddb29fc5a2ec59743b98d1129449cb0041
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from dreadnode/capabilities
Every file in dreadnode/capabilities