Skip to main content

Workflows

Workflows allow you to save and share component installation configurations. Instead of typing long commands with many flags, you can create a workflow once and share it as a short hash or YAML file.

What are Workflows?

A workflow is a saved configuration that includes:
  • Components - Agents, commands, MCPs, settings, hooks
  • Properties - Name, description, tags
  • Metadata - Author, version, installation instructions
Workflows can be:
  • Shared via short hash URLs (#abc123def456)
  • Saved as YAML files for version control
  • Generated from the workflow builder UI
  • Created manually in any text editor

Why Use Workflows?

Shareable

Share entire component setups with a single hash

Reproducible

Ensure consistent installations across environments

Documentable

Version control your Claude Code configurations

Discoverable

Browse community workflows for common setups

Workflow Hash Installation

Workflow hashes are short identifiers (12 characters) that reference saved workflows.
Hash Storage: Workflow hashes are stored in your browser’s localStorage when created on aitmpl.com. The CLI can only install workflows you’ve created on your machine or workflows shared via YAML.

YAML Workflow Format

YAML workflows are more flexible and can be version-controlled.

Basic YAML Structure

workflow.yaml

YAML Field Reference

Installing from YAML

Method 1: File Path

Save your workflow as a YAML file and reference it:
Current Directory: The CLI looks for the YAML file relative to your current directory. Use absolute paths if needed:

Method 2: Base64 Encoded

For remote installations or CI/CD:

Method 3: Inline YAML

For short workflows:

Workflow Examples

Security-Focused Workflow

Data Science Workflow

data-science-workflow.yaml

DevOps Workflow

devops-workflow.yaml

Creating Workflows

Visual Workflow Builder

The easiest way to create workflows:

Manual YAML Creation

Create workflows directly in your editor:
Add your workflow structure following the YAML format above.

Workflow Best Practices

1. Name Workflows Descriptively

✅ Good:
❌ Bad:

2. Add Comprehensive Descriptions

3. Use Meaningful Tags

Tags help others discover your workflow.

4. Order Components Logically

5. Version Control Workflows

Store workflows in your repo:
Document in README:

Combining Workflows with Other Flags

Workflows can be combined with additional flags:

Add Extra Components

The workflow installs first, then additional components.

Set Installation Directory

Auto-Confirm

Skips all confirmation prompts.

Sharing Workflows

Share Hash URLs

After creating a workflow on aitmpl.com:
Share this URL. Others can:
  1. View workflow details
  2. Copy the installation command
  3. Install with one command

Share YAML Files

Via GitHub Gist

Via Git Repository

Via Package Registry

Publish workflows as npm packages:
package.json

Workflow Collections

Create multiple related workflows:
Install progressively:

Troubleshooting Workflows

Workflow Hash Not Found

Solution: Workflow hashes are browser-specific. Use YAML format for sharing:

Invalid YAML Syntax

Solution: Validate YAML syntax:
Common issues:
  • Incorrect indentation (use 2 spaces)
  • Missing quotes around names with special characters
  • Trailing whitespace

Component Not Found

Solution: Check component names:
  1. Visit aitmpl.com
  2. Search for the component
  3. Use exact name from search results
  4. Update workflow YAML

Step Order Matters

Some components depend on others:

Next Steps

Global Agents

Create globally accessible agents

Batch Installation

Install multiple components at once

Workflow Builder

Visual workflow creation tool

Component Browser

Browse all available components