Install
openclaw skills install miknas-ai-business-hierarchiesBuild and operate autonomous AI businesses using hierarchical agent systems. Implements folder-based company structures with CEO, Managers, Supervisors, and...
openclaw skills install miknas-ai-business-hierarchiesAutonomous AI business systems using hierarchical agent orchestration.
Use this skill when you want to:
Replace traditional human management with AI agent hierarchies:
Human Owner → AI Advisor → CEO Agent → Managers → Supervisors → Workers
Key Benefits:
Use the business template:
# Create business folder
mkdir -p ~/business/my-company/{departments/{sales,marketing,operations,hr,accounting}}
# Define strategic layer
cp assets/business-template.md departments/strategy.md
# Edit with: BOG, bottleneck, audience, positioning
Spawn CEO with strategic context:
# Create CEO agent
sessions_spawn \
--agent-id business-ceo \
--task "Manage complete business operations with strategy from departments/strategy.md" \
--mode session \
--thread true \
--label "CEO Agent"
For each department:
# Sales Manager
sessions_spawn \
--agent-id sales-manager \
--task "Manage Sales Department with CEO guidance. Oversee lead generation, outreach, and closing." \
--mode session \
--thread true \
--label "Sales Manager"
# Marketing Manager
sessions_spawn \
--agent-id marketing-manager \
--task "Manage Marketing Department with CEO guidance. Oversee content, SEO, and social media." \
--mode session \
--thread true \
--label "Marketing Manager"
# Repeat for other departments...
For each department team:
# Sales Supervisor + Workers
sessions_spawn \
--agent-id sales-supervisor \
--task "Supervise sales workers: track daily progress, ensure quality, report to Sales Manager" \
--mode session \
--thread true
sessions_spawn \
--agent-id lead-gen-worker \
--task "Generate leads daily for Sales Department using LinkedIn, outreach, and content marketing" \
--mode session
sessions_spawn \
--agent-id outreach-worker \
--task "Execute outreach campaigns daily: email sequences, cold calls, follow-ups" \
--mode session
sessions_spawn \
--agent-id closing-worker \
--task "Close leads into customers: handle objections, negotiate deals, onboard clients" \
--mode session
my-company/
├── strategy.md # Strategic layer (BOG, bottleneck, audience, positioning)
├── departments/
│ ├── sales/
│ │ ├── supervisor/
│ │ │ ├── workers/
│ │ │ │ ├── lead-generation/
│ │ │ │ ├── outreach/
│ │ │ │ └── closing/
│ │ │ └── supervisor.md # Supervisor config
│ │ ├── manager.md # Manager config
│ │ └── metrics/ # Department KPIs
│ ├── marketing/
│ │ ├── supervisor/
│ │ │ └── workers/
│ │ │ ├── content/
│ │ │ ├── seo/
│ │ │ └── social-media/
│ │ └── manager.md
│ ├── operations/
│ │ ├── supervisor/
│ │ │ └── workers/
│ │ │ ├── logistics/
│ │ │ ├── process-optimization/
│ │ │ └── quality-control/
│ │ └── manager.md
│ ├── hr/
│ │ ├── supervisor/
│ │ │ └── workers/
│ │ │ ├── recruitment/
│ │ │ ├── onboarding/
│ │ │ └── employee-relations/
│ │ └── manager.md
│ └── accounting/
│ ├── supervisor/
│ │ └── workers/
│ │ ├── bookkeeping/
│ │ ├── payroll/
│ │ └── tax-compliance/
│ └── manager.md
└── reports/ # Daily/weekly/monthly reports
All agents report progress daily using cron jobs:
# Setup daily reporting (runs every morning)
scripts/setup-daily-reporting.sh
Each agent reports:
Agents self-optimize weekly:
Agents detect and fix issues:
Every agent:
Each agent has configurable skills:
# Sales Manager Configuration
**Primary KPIs:**
- Monthly revenue: $50,000
- Lead conversion rate: 15%
- Average deal size: $5,000
**Team Structure:**
- 1 Supervisor
- 3 Workers (Lead Gen, Outreach, Closing)
**Workflow:**
1. Lead Gen → 100 leads/day
2. Outreach → 50 touches/day
3. Closing → 5 deals/week
# Marketing Manager Configuration
**Primary KPIs:**
- Website traffic: 10,000 visitors/month
- Lead generation: 500 leads/month
- Content published: 20 articles/month
**Team Structure:**
- 1 Supervisor
- 3 Workers (Content, SEO, Social Media)
**Workflow:**
1. Content → 5 articles/week
2. SEO → Keyword research + optimization
3. Social Media → 7 posts/week
# Operations Manager Configuration
**Primary KPIs:**
- Process efficiency: 95%
- Customer satisfaction: 4.8/5
- On-time delivery: 98%
**Team Structure:**
- 1 Supervisor
- 3 Workers (Logistics, Process Optimization, Quality Control)
**Workflow:**
1. Logistics → Order fulfillment, shipping
2. Process Optimization → Identify bottlenecks, automate
3. Quality Control → Audit outputs, ensure standards
Each supervisor submits daily:
# Daily Report - Sales Supervisor - 2026-03-15
## Completed Tasks
- Lead Gen: 120 leads generated (target: 100) ✅
- Outreach: 60 emails sent (target: 50) ✅
- Closing: 4 deals closed (target: 5) ⚠️
## Metrics
- Conversion rate: 3.3% (benchmark: 5%)
- Revenue today: $20,000
- Pipeline: $150,000
## Issues
- Closing worker struggling with objections
- Need objection handling training
## Requests
- Add second closing worker
- Implement objection handling scripts
CEO reports weekly to AI Advisor:
# Weekly CEO Report - Week of 2026-03-15
## Revenue
- Total: $150,000 (target: $200,000) ⚠️
- Growth: +15% from last week
## Department Performance
- Sales: 75% of target
- Marketing: 90% of target
- Operations: 95% of target
- HR: 100% of target
- Accounting: 100% of target
## Critical Issues
1. Sales missing targets (need more closers)
2. Marketing traffic plateau (need SEO boost)
## Strategic Decisions
1. Hire 2nd closing worker
2. Increase SEO budget by 20%
## Recommendations
- Focus on closing training
- Expand content marketing
- Consider upsell offers
Use the setup script to automate reporting:
# Install daily reporting automation
./scripts/setup-daily-reporting.sh
# This creates:
# - Daily supervisor reports (8 AM)
# - Daily manager reports (10 AM)
# - Weekly CEO report (Monday 9 AM)
# - Monthly strategy review (1st of month)
This skill works perfectly with:
Solo Stage (Month 1):
Small Stage (Months 2-3):
Growth Stage (Months 4-6):
Scale Stage (Month 7+):
Begin with 1 department, prove the model, then expand
Define KPIs for every agent before spawning
Weekly CEO reviews, monthly strategy sessions
Never fully automate critical decisions - you stay involved
Update agent skills as your business evolves
This skill is built for the future:
sessions_listsessions_history <sessionKey>subagents kill <target>Use this skill for:
assets/business-template.mdscripts/setup-business.shscripts/setup-daily-reporting.shtemplates/agent-config.mdAuthor: Fayez (Miknas) Vision: Build autonomous AI businesses that scale without human intervention Philosophy: Proactive Excellence — Elevate Everything