Skip to Content
πŸŽ‰ AI Workflow is now open source! Star us on GitHub
DocumentationCreating Workflows

Creating Workflows

Workflows are curated collections of skills designed for specific use cases. This guide shows you how to create your own workflows.

The easiest way to create a workflow is to let your AI assistant do it for you.

Step 1: Clone the Repository

git clone https://github.com/nicepkg/ai-workflow.git cd ai-workflow

Step 2: Open with AI Coding Assistant

Open the project with any AI tool that supports skills:

  • Claude Code: claude in terminal
  • Cursor: Open folder in Cursor
  • Codex: codex in terminal
  • OpenCode: opencode in terminal

Step 3: Ask AI to Create Your Workflow

Simply describe what you need:

"Create a researcher workflow for academic paper writing" "Create a devops workflow for kubernetes management" "Create a data-scientist workflow for ML projects"

The AI will automatically:

  1. Create the workflow directory structure
  2. Find and download relevant skills from skill sources
  3. Create custom skills as needed
  4. Generate documentation (README.md, AGENTS.md)
  5. Set up symlinks for all AI tools

Method 2: Manual Creation

For full control over the workflow structure.

Workflow Structure

workflows/my-workflow/ β”œβ”€β”€ README.md # User documentation β”œβ”€β”€ AGENTS.md # AI instructions β”œβ”€β”€ .claude/ β”‚ β”œβ”€β”€ settings.json β”‚ └── skills/ # Primary skill storage β”‚ β”œβ”€β”€ skill-1/ β”‚ β”‚ └── SKILL.md β”‚ └── skill-2/ β”‚ └── SKILL.md β”œβ”€β”€ .cursor/ β”‚ └── skills -> ../.claude/skills β”œβ”€β”€ .codex/ β”‚ └── skills -> ../.claude/skills └── ... (other AI tool symlinks)

Create Directory Structure

# Create workflow directory mkdir -p workflows/my-workflow/.claude/skills # Create settings file echo '{"permissions": {}}' > workflows/my-workflow/.claude/settings.json # Create documentation files touch workflows/my-workflow/README.md touch workflows/my-workflow/AGENTS.md
cd workflows/my-workflow # Create directories for each AI tool mkdir -p .cursor .codex .opencode .agents .kilocode .roo .goose .gemini .agent .github .factory .windsurf # Create symlinks ln -s ../.claude/skills .cursor/skills ln -s ../.claude/skills .codex/skills ln -s ../.claude/skills .opencode/skill ln -s ../.claude/skills .agents/skills ln -s ../.claude/skills .kilocode/skills ln -s ../.claude/skills .roo/skills ln -s ../.claude/skills .goose/skills ln -s ../.claude/skills .gemini/skills ln -s ../.claude/skills .agent/skills ln -s ../.claude/skills .github/skills ln -s ../.claude/skills .factory/skills ln -s ../.claude/skills .windsurf/skills ln -s .claude/skills skills

Adding Skills

Option 1: Download from Skill Sources

Skills can be sourced from:

Option 2: Create Custom Skills

Create a new skill in .claude/skills/:

mkdir -p .claude/skills/my-skill

Create SKILL.md:

--- name: my-skill description: What this skill does and when AI should use it --- # My Skill Instructions for the AI to follow...

See Creating Skills for detailed guidance.

Documentation

README.md

Should include:

  • Workflow purpose and target users
  • List of included skills with descriptions
  • Installation command
  • Usage examples

AGENTS.md

Provides context for AI assistants:

  • Workflow overview
  • Available skills and when to use them
  • Output standards and best practices

Publishing Your Workflow

  1. Fork the ai-workflow repositoryΒ 
  2. Add your workflow to the workflows/ directory
  3. Update the main README.md with your workflow
  4. Submit a pull request

Your workflow will be installable via:

npx add-skill nicepkg/ai-workflow/workflows/your-workflow
Last updated on