# ai-automation-workflows

ai-automation-workflows — a skill that writes automated AI workflows out of belt calls: batches, chained models, cron runs, retries with a fallback model.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 246 installs · ★ 31 repo stars
- Author: 101-skills
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/101-skills/superpowers/tree/HEAD/guides/content/ai-automation-workflows/SKILL.md
- Updated: 2026-08-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ai-automation-workflows

## What it does

The skill hands the agent bash templates built around the inference.sh CLI (`belt`). The set covers batch runs over a prompt list, a chained flow from search to article to image to a social post, and parallel jobs joined with `wait`. It also shows branching on a classifier's answer and retries with growing delays that fall back to another model.

Scripts come as ready files: `batch_images.sh`, `content_pipeline.sh`, `parallel_generation.sh`, `conditional_workflow.sh`, `retry_workflow.sh`. There is a logging wrapper with a webhook alert sent by `curl`, plus a `crontab -e` section for scheduled runs.

Nothing runs before the CLI is on the machine and the session is open: install with `npx skills add belt-sh/cli`, then `belt login`. The skill grants itself a single permission, `Bash(belt *)`, so the `curl`, `crontab` and `sleep` calls in the samples go through only after you approve them.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill ai-automation-workflows -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ai-automation-workflows/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ai-automation-workflows/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill ai-automation-workflows -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ai-automation-workflows/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill ai-automation-workflows -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ai-automation-workflows/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install 101-skills/superpowers guides/content/ai-automation-workflows
```

2. **Manually: put the files in place**
- File: `.github/skills/ai-automation-workflows/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill ai-automation-workflows -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/101-skills/superpowers --path guides/content/ai-automation-workflows
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ai-automation-workflows/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill ai-automation-workflows -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/101-skills/superpowers/tree/HEAD/guides/content/ai-automation-workflows/SKILL.md

## When to use it
- generate a batch of images from a prompt list
- chain search, drafting, illustration and a social post
- schedule a daily generation run with cron
- add retries and a fallback model for failed calls
- branch a workflow on the sentiment of the text

## Example prompts
- Write a daily script that calls `belt app run falai/flux-dev` and drops each result into a folder named after the date.
- Run `falai/flux-dev` over every prompt in `prompts.txt` and save each response as its own json file.
- Chain `tavily/search-assistant` into an article draft, then generate a header image for it.

## Similar
- [n8n-workflow-patterns](https://affpapa.org/en/nevibecode/skills/czlonkowski-n8n-workflow-patterns.md) — skill · 12400 installs
- [n8n-trigger-testing-strategies](https://affpapa.org/en/nevibecode/skills/n8n-trigger-testing-strategies.md) — skill · 128 installs
- [scenario-zbrush-automation](https://affpapa.org/en/nevibecode/skills/scenario-zbrush-automation.md) — skill · 430 installs
- [crontap-schedule-http-job](https://affpapa.org/en/nevibecode/skills/crontap-schedule-http-job.md) — skill · 1300 installs
- [blender-pipeline-automation](https://affpapa.org/en/nevibecode/skills/blender-pipeline-automation.md) — skill · 509 installs
- [Webhook Automation](https://affpapa.org/en/nevibecode/skills/webhook-automation.md) — skill · 4800 installs

From the same set: [101-skills/superpowers](https://affpapa.org/en/nevibecode/by/101-skills/superpowers.md) — 81 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
