Skip to content
Back to skills

Agent Workflow Design

ASecurity

Design reliable agent workflows: task decomposition, tools, context, checkpoints, verification and human approval

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsrustgorailsgit

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill agent-workflow-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Workflow Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Workflow Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-agent-workflow-design/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-agent-workflow-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Design reliable agent workflows: task decomposition, tools, context, checkpoints, verification and human approval
profile: standard
tags: agents, ai, planning, reliability
---

# Agent workflow design

Use when building a multi-step agent workflow (coding, research, ops) or when an agent keeps going off the rails.

## Decompose
1. Write the outcome and how you will check it before the steps. A workflow without a check cannot be trusted or improved.
2. Split work into steps that each end in an observable artefact: a plan file, a diff, a test run, a report.
3. Prefer a single agent with good tools until a measured failure shows you need more. Add subagents for isolation (large searches, reviews) rather than for show.

## Context
- Give each step only what it needs: the goal, constraints, relevant files and the last step's result. Summarize; do not forward whole transcripts.
- Put durable facts in project memory or skills, not in every prompt.
- Compact at milestones (after research, after a passing implementation), not mid-edit.

## Control
- Bound everything: iterations, time, tokens, files touched.
- Checkpoints before risky actions (git commit or a stash), so a bad step can be rolled back.
- Human approval for irreversible actions: deploys, deletes, payments, messages to people.
- Decide success by running checks yourself (`anvil loop`), never by the agent's summary.

## Failure handling
- Detect stalls (no new diff, same error twice) and stop rather than burn budget.
- Log each step with inputs, outputs and duration so failures can be replayed.
- Turn repeated failures into instincts or skills only after a person reviews them.

## Verify
Run the workflow on three real tasks, including one that should fail. Record pass/fail, cost and time, and compare against the previous version before shipping changes.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.