ME

meta-automation-architect

This skill analyzes project structures to design subagent teams, custom commands, and communication protocols for specific workflows.

Install

mkdir -p .claude/skills/meta-automation-architect && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/314" && unzip -o skill.zip -d .claude/skills/meta-automation-architect && rm skill.zip

Installs to .claude/skills/meta-automation-architect

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when user wants to set up comprehensive automation for their project. Generates custom subagents, skills, commands, and hooks tailored to project needs. Creates a multi-agent system with robust communication protocol.
221 chars✓ has a “when” trigger
Advanced

Key capabilities

  • Project structure analysis
  • Custom subagent team generation
  • Multi-agent communication protocol setup
  • Automation artifact creation
  • System validation and documentation

How it works

The architect analyzes the project structure to generate a coordinated team of specialized subagents that communicate via a structured file system protocol.

Inputs & outputs

You give it
Project directory and user-defined automation goals
You get back
A suite of custom agents, skills, and communication hooks

When to use meta-automation-architect

  • Setting up a custom agent team for a project
  • Architecting automated workflows
  • Creating project-specific agent skills and commands
  • Designing multi-agent communication protocols

About this skill

Meta-Automation Architect

You are the Meta-Automation Architect, responsible for analyzing projects and generating comprehensive, subagent-based automation systems.

Core Philosophy

Communication is Everything. You create systems where:

  • Subagents run in parallel with isolated contexts
  • Agents communicate via structured file system protocol
  • All findings are discoverable and actionable
  • Coordination happens through explicit status tracking
  • The primary coordinator orchestrates the entire workflow

Your Mission

  1. Understand the project through interactive questioning
  2. Analyze project structure and identify automation opportunities
  3. Design a custom subagent team with communication protocol
  4. Generate all automation artifacts (agents, skills, commands, hooks)
  5. Validate the system works correctly
  6. Document everything comprehensively

Execution Workflow

Phase 0: Choose Automation Mode

CRITICAL FIRST STEP: Ask user what level of automation they want.

Use AskUserQuestion:

"What level of automation would you like?

a) ⚡ Quick Analysis (RECOMMENDED for first time)
   - Launch 2-3 smart agents to analyze your project
   - See findings in 5-10 minutes
   - Then decide if you want full automation
   - Cost: ~$0.03, Time: ~10 min

b) 🔧 Focused Automation
   - Tell me specific pain points
   - I'll create targeted automation
   - Cost: ~$0.10, Time: ~20 min

c) 🏗️ Comprehensive System
   - Full agent suite, skills, commands, hooks
   - Complete automation infrastructure
   - Cost: ~$0.15, Time: ~30 min

I recommend (a) to start - you can always expand later."

If user chooses Quick Analysis, go to "Simple Mode Workflow" below. If user chooses Focused or Comprehensive, go to "Full Mode Workflow" below.


Simple Mode Workflow (Quick Analysis)

This is the default recommended path for first-time users.

Phase 1: Intelligent Project Analysis

Step 1: Collect Basic Metrics

# Quick structural scan (no decision-making)
python scripts/collect_project_metrics.py > /tmp/project-metrics.json

This just collects data:

  • File counts by type
  • Directory structure
  • Key files found (package.json, .tex, etc.)
  • Basic stats (size, depth)

Step 2: Launch Project Analyzer Agent

# Generate session ID
SESSION_ID=$(python3 -c "import uuid; print(str(uuid.uuid4()))")

# Create minimal context directory
mkdir -p ".claude/agents/context/${SESSION_ID}"

# Launch intelligent project analyzer

Use the Task tool to launch the project-analyzer agent:

Launch "project-analyzer" agent with these instructions:

"Analyze this project intelligently. I've collected basic metrics (see /tmp/project-metrics.json),
but I need you to:

1. Read key files (README, package.json, main files) to UNDERSTAND the project
2. Identify the real project type (not just pattern matching)
3. Find actual pain points (not guessed ones)
4. Check what automation already exists (don't duplicate)
5. Recommend 2-3 high-value automations
6. ASK clarifying questions if needed

Be interactive. Don't guess. Ask the user to clarify anything unclear.

Write your analysis to: .claude/agents/context/${SESSION_ID}/project-analysis.json

Session ID: ${SESSION_ID}
Project root: ${PWD}"

Step 3: Review Analysis with User

After the project-analyzer agent completes, read its analysis and present to user:

# Read the analysis
cat ".claude/agents/context/${SESSION_ID}/project-analysis.json"

Present findings:

The project-analyzer found:

📊 Project Type: [type]
🔧 Tech Stack: [stack]
⚠️ Top Pain Points:
   1. [Issue] - Could save [X hours]
   2. [Issue] - Could improve [quality]

💡 Recommended Next Steps:

Option A: Run deeper analysis
   - Launch [agent-1], [agent-2] to validate findings
   - Time: ~10 min
   - Then get detailed automation plan

Option B: Go straight to full automation
   - Generate complete system based on these findings
   - Time: ~30 min

Option C: Stop here
   - You have the analysis, implement manually

What would you like to do?

If user wants deeper analysis: Launch 2-3 recommended agents, collect reports, then offer full automation.

If user wants full automation now: Switch to Full Mode Workflow.


Full Mode Workflow (Comprehensive Automation)

This creates the complete multi-agent automation system.

Phase 1: Interactive Discovery

CRITICAL: Never guess. Always ask with intelligent recommendations.

Step 1: Load Previous Analysis (if coming from Simple Mode)

# Check if we already have analysis
if [ -f ".claude/agents/context/${SESSION_ID}/project-analysis.json" ]; then
  # Use existing analysis
  cat ".claude/agents/context/${SESSION_ID}/project-analysis.json"
else
  # Run project-analyzer first (same as Simple Mode)
  # [Launch project-analyzer agent]
fi

Step 2: Confirm Key Details

Based on the intelligent analysis, confirm with user:

  1. Project Type Confirmation

    "The analyzer believes this is a [primary type] project with [secondary aspects].
     Is this accurate, or should I adjust my understanding?"
    
  2. Pain Points Confirmation

    "The top issues identified are:
     - [Issue 1] - [impact]
     - [Issue 2] - [impact]
    
     Do these match your experience? Any others I should know about?"
    
  3. Automation Scope

    "I can create automation for:
     ⭐ [High-value item 1]
     ⭐ [High-value item 2]
     - [Medium-value item 3]
    
     Should I focus on the starred items, or include everything?"
    
  4. Integration with Existing Tools

    "I see you already have [existing tools].
     Should I:
     a) Focus on gaps (RECOMMENDED)
     b) Enhance existing tools
     c) Create independent automation"
    

Phase 2: Initialize Communication Infrastructure

# Generate session ID
SESSION_ID=$(uuidgen | tr '[:upper:]' '[:lower:]')

# Create communication directory structure
mkdir -p ".claude/agents/context/${SESSION_ID}"/{reports,data}
touch ".claude/agents/context/${SESSION_ID}/messages.jsonl"

# Initialize coordination file
cat > ".claude/agents/context/${SESSION_ID}/coordination.json" << EOF
{
  "session_id": "${SESSION_ID}",
  "started_at": "$(date -u +%Y-%m-%dT%H:%M:%SZ)",
  "project_type": "...",
  "agents": {}
}
EOF

# Export for agents to use
export CLAUDE_SESSION_ID="${SESSION_ID}"

Phase 3: Generate Custom Subagent Team

Based on user responses, generate specialized agents.

Analysis Agents (Run in parallel):

  • Security Analyzer
  • Performance Analyzer
  • Code Quality Analyzer
  • Dependency Analyzer
  • Documentation Analyzer

Implementation Agents (Run after analysis):

  • Skill Generator Agent
  • Command Generator Agent
  • Hook Generator Agent
  • MCP Configuration Agent

Validation Agents (Run last):

  • Integration Test Agent
  • Documentation Validator Agent

For each agent:

# Use template
python scripts/generate_agents.py \
  --session-id "${SESSION_ID}" \
  --agent-type "security-analyzer" \
  --output ".claude/agents/security-analyzer.md"

Template ensures each agent:

  1. Knows how to read context directory
  2. Writes standardized reports
  3. Logs events to message bus
  4. Updates coordination status
  5. Shares data via artifacts

Phase 4: Generate Coordinator Agent

The coordinator orchestrates the entire workflow:

python scripts/generate_coordinator.py \
  --session-id "${SESSION_ID}" \
  --agents "security,performance,quality,skill-gen,command-gen,hook-gen" \
  --output ".claude/agents/automation-coordinator.md"

Coordinator responsibilities:

  • Launch agents in correct order (parallel where possible)
  • Monitor progress via coordination.json
  • Read all reports when complete
  • Synthesize findings
  • Make final decisions
  • Generate artifacts
  • Report to user

Phase 5: Launch Multi-Agent Workflow

IMPORTANT: Use Task tool to launch agents in parallel.

Launch the automation-coordinator agent:

"Use the automation-coordinator agent to set up the automation system for this ${PROJECT_TYPE} project"

The coordinator will:

  1. Launch analysis agents in parallel
  2. Wait for all to complete
  3. Synthesize findings
  4. Launch implementation agents
  5. Create all automation files
  6. Validate the system
  7. Generate documentation

Phase 6: Monitor & Report

While agents work, monitor progress:

# Watch coordination status
watch -n 2 'cat .claude/agents/context/${SESSION_ID}/coordination.json | jq ".agents"'

# Follow message log
tail -f .claude/agents/context/${SESSION_ID}/messages.jsonl

When coordinator finishes, it will have created:

  • .claude/agents/ - Custom agents
  • .claude/commands/ - Custom commands
  • .claude/skills/ - Custom skills
  • .claude/hooks/ - Hook scripts
  • .claude/settings.json - Updated configuration
  • .claude/AUTOMATION_README.md - Complete documentation

Agent Communication Protocol (ACP)

All generated agents follow this protocol:

Directory Structure

.claude/agents/context/{session-id}/
  ├── coordination.json       # Status tracking
  ├── messages.jsonl          # Event log (append-only)
  ├── reports/               # Agent outputs
  │   ├── security-agent.json
  │   ├── performance-agent.json
  │   └── ...
  └── data/                  # Shared artifacts
      ├── vulnerabilities.json
      ├── performance-metrics.json
      └── ...

Reading from Other Agents

# List available reports
ls .claude/agents/context/${SESSION_ID}/reports/

# Read specific agent's report
cat .claude/agents/context/${SESSION_ID}/reports/security-agent.json

# Read all reports
for report in .claude/agents/context/${SESSION_ID}/reports/*.json; do
  echo "=== $(basename $report) ==="
  cat "$report" | jq
done

Writing Your Report

# Create standardized report
cat > ".claude/agents/context/${SESSION_ID}/reports/${AGENT_NAME}.json" << 'EOF'
{
  "agent_name": "your

---

*Content truncated.*

When not to use it

  • For simple, single-task automation scripts
  • When the project lacks sufficient scale to justify a multi-agent system

Prerequisites

Bash environmentAccess to project file system

Limitations

  • Requires user input to define automation scope and pain points
  • System complexity scales with project size

How it compares

It generates a complete, project-specific multi-agent infrastructure rather than providing a single, general-purpose automation script.

Compared to similar skills

meta-automation-architect side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
meta-automation-architect (this skill)78moReviewAdvanced
hive-mind-advanced64moReviewAdvanced
babysitter:assimilate05moNo flagsAdvanced
loop-engineer01moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

hive-mind-advanced

ruvnet

Advanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory

694

babysitter:assimilate

MaTriXy

Assimilate an external methodology, harness, or specification into babysitter process definitions.

00

loop-engineer

PancrePal-xiaoyibao

Loop 系统工程师 — 从用户需求出发,设计并开发完整的多 skill 联动 package。扫描现有 skill 资产,识别可复用与缺失项,逐一开发后组包,编写主调度 skill 平滑层。也可用于对已有 package 进行联动完整性审计(格式合规+主调度逻辑+入口文档同步+命名一致性)。当用户说"我需要一个 XX 系统/loop/agent 包"、"帮我设计一个多技能联动方案"、"检查 package 联动完整性"时触发。不适用于单个 skill 开发。

00

mcp-builder

anthropics

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

136215

openspec-onboard

studyzy

Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.

10207

opencode-cli

SpillwaveSolutions

This skill should be used when configuring or using the OpenCode CLI for headless LLM automation. Use when the user asks to "configure opencode", "use opencode cli", "set up opencode", "opencode run command", "opencode model selection", "opencode providers", "opencode vertex ai", "opencode mcp servers", "opencode ollama", "opencode local models", "opencode deepseek", "opencode kimi", "opencode mistral", "fallback cli tool", or "headless llm cli". Covers command syntax, provider configuration, Vertex AI setup, MCP servers, local models, cloud providers, and subprocess integration patterns.

14174

Search skills

Search the agent skills registry