Skip to content

Multi-step agent workflow plugin that chains headless ai-cli runs with branching and Linear integration.

CCM score
58 of 100
version
1.2.3
GitHub stars
25
View on GitHub

Own this plugin? Claim it

What it does

  • Adds the workflow command and a require-submit.py hook wired through hooks.json for chained agent runs
  • Covers sequential agent steps with branching between runs, driven by a single workflow definition
  • Enforces a submit requirement through the require-submit.py hook before a workflow step can finish
  • Designed for teams that want repeatable agent pipelines tied to Linear issues

Add marketplace

/plugin marketplace add CaptainCrouton89/crouton-kit

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install ai-workflow@crouton-kit

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

ai-workflow orchestrates multi-step headless Claude Code sessions — triage, planning, implementation, and validation — driven by Linear tickets.

CLI

!`ai-workflow --help`

Workflows

!`ai-workflow list`

Config

Requires .claude/workflow.json with Linear team and state mappings.

Your job

Interpret the user's request and translate it into ai-workflow commands. Extract ticket IDs, workflow names, and intent yourself.

  • Multiple tickets → run the workflow for each (sequentially or note they'll run in parallel via dispatch)
  • Ambiguous ticket references → use linear issue list to find them
  • "triage these" → ai-workflow run triage <ticketId> per ticket
  • "implement DEV-123" → ai-workflow run implement DEV-123
  • "what's running" → ai-workflow runs
  • "status on that last run" → ai-workflow runs --last 1 then ai-workflow status <id>

Ticket quality gate

Before running a workflow, read the ticket. If it's too sparse to act on (no description, vague one-liner, missing acceptance criteria for non-trivial work), stop and discuss with the user instead of blindly running. Call out what's missing and ask whether to proceed anyway or flesh it out first.

Subtask rules

When breaking a ticket into smaller tasks/subtasks:

  • Keep subtasks on the same project as the parent ticket
  • Assign subtasks to me if not already assigned

User request: $ARGUMENTS

From the CaptainCrouton89/crouton-kit README

crouton-kit — a Claude Code plugin marketplace: slash commands, agents, hooks and skills for development workflows

crouton-kit

plugins license

crouton-kit is a marketplace of plugins for Claude Code. The registry is .claude-plugin/marketplace.json, and each plugin is a directory under plugins/. A plugin is made of slash commands, background agents, auto-applied rules, lifecycle hooks and skills, in whatever mix it needs.

The plugins cover day-to-day development work: committing and opening pull requests (git-smart), code review and debugging (devcore), a requirements-to-review feature workflow (rpi), frontend design (web), Linear issues (linear), and guides for writing Claude Code artifacts such as hooks, rules and skills (authoring). A few wrap other Crouton Labs tools: crtr routes slash commands to the crouter CLI, grove manages parallel project instances, capture takes screenshots and HAR files through the Chrome DevTools Protocol, and humanloop covers the hl decision TUI and termrender.

Install

Inside Claude Code, add the marketplace, then install the plugins you want:

/plugin marketplace add crouton-labs/crouton-kit
/plugin install git-smart@crouton-kit

Commands are namespaced by plugin, so the one above gives you /git-smart:commit, /git-smart:pr, /git-smart:push, /git-smart:rebase and /git-smart:save. After the marketplace updates, run /reload-plugins to pick up the new version.

Some plugins need tools outside Claude Code. crtr needs the crtr binary on your PATH, and ai-cli runs a bundled script that calls the Claude Code SDK (see below). Each plugin's plugin.json says what it requires.

Plugins

PluginWhat it does
devcoreCore development agents and code quality hooks
git-smartSmart git commits with security and quality review
rpiFeature development workflow: arch → plan → implement → review → fix
learnInteractive commands to help you understand code
knowledge-captureRequirements gathering, interviews, and learning commands
dev-utilitiesDeveloper utilities (notifications, command creation)
webWeb development tools including frontend design workflows
hookifyCreate configurable hooks from markdown rule files
linearLinear CLI integration: context injection, skill reference, issue management
authoringGuides for authoring CLAUDE.md, hooks, rules, skills, commands and scripts
ai-cliCLI for running Claude Code SDK sessions with configurable modes
ai-workflowMulti-step agent workflows: chain headless ai-cli runs with branching
captureApp state capture (screenshots, HAR, console, logs) via CDP
socialX (Twitter) posting, engagement and growth tools
humanloopHuman-in-the-loop decision TUI (hl) and terminal rendering (termrender)
groveManage parallel project instances: plant, adopt, uproot, monitor
crtrRouting-only slash commands that bridge Claude Code to the crtr CLI

Develop

git clone git@github.com:crouton-labs/crouton-kit.git
cd crouton-kit
claude --plugin-dir ./plugins/devcore --plugin-dir ./plugins/web   # load plugins from the checkout

A new plugin needs two files: plugins/<name>/.claude-plugin/plugin.json and an entry for it in .claude-plugin/marketplace.json. Without the registry entry Claude Code does not see the plugin. Do not edit versions by hand: a GitHub Actions workflow bumps the version in both files on every push to main, based on the conventional commit prefix (feat: is minor, fix: and the rest are patch, feat!: is major). The authoring guide is plugins/CLAUDE.md, and bin/new-worktree creates a sibling git worktree for a new branch.

ai-cli is the one plugin with a build step. From plugins/ai-cli/, npm run build bundles src/cli.ts into bin/ai (a built copy is committed), and node bin/ai -m <mode> -p "<prompt>" runs a Claude Code session in one of the modes in modes/*.md. node bin/ai --list shows the modes.

Details

Marketplace
CaptainCrouton89/crouton-kit
Source
plugins/ai-workflow
Category
Community
Keywords
workflow, agents, automation, linear
Listed since
Apr 7, 2026

Questions

What is the ai-workflow plugin for Claude Code?

The ai-workflow plugin runs multi-step agent workflows by chaining headless ai-cli runs with branching, and it also offers Linear integration. Its /workflow command runs or inspects automated pipelines. It uses a Stop hook event.

How do I install the ai-workflow plugin?

Inside Claude Code, run /plugin marketplace add CaptainCrouton89/crouton-kit first, then run /plugin install ai-workflow@crouton-kit. These two steps add the crouton-kit marketplace and install the ai-workflow plugin from it.

Which other plugins are in the Workflow Automation category?

ai-workflow sits in the Workflow Automation category on Claude Marketplaces. The other plugins listed there include ruflo-loop-workers, ruflo-workflows, -21risk-automation, -2chat-automation and ably-automation.

More from CaptainCrouton89/crouton-kit

All 19

Similar to ai-workflow

More Workflow Automation