AI Business Hierarchies - Autonomous Agent Companies
by @miknasbh-stack
Build and operate autonomous AI businesses using hierarchical agent systems. Implements folder-based company structures with CEO, Managers, Supervisors, and...
clawhub install miknas-ai-business-hierarchiesπ About This Skill
name: "ai-business-hierarchies" description: "Build and operate autonomous AI businesses using hierarchical agent systems. Implements folder-based company structures with CEO, Managers, Supervisors, and Workers that run 24/7 with daily tracking, auto-optimization, and self-healing capabilities. Perfect for building AI-powered businesses that scale without human intervention." version: "1.0.0" tags: ["business", "automation", "agents", "hierarchy", "management", "scaling", "autonomous"] author: "miknasbh-stack"
AI Business Hierarchies
Autonomous AI business systems using hierarchical agent orchestration.
When to Use This Skill
Use this skill when you want to:
Core Concept
Replace traditional human management with AI agent hierarchies:
Human Owner β AI Advisor β CEO Agent β Managers β Supervisors β Workers
Key Benefits:
5-Layer Hierarchy Structure
Layer 1: Human Owner (You)
Layer 2: AI Advisor (Miknas)
Layer 3: CEO Agent
Layer 4: Department Managers
Layer 5: Team Supervisors
Layer 6: Workers
Quick Start: 4-Step Implementation
Step 1: Define Your Business
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
Step 2: Create CEO Agent
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"
Step 3: Spawn Department Managers
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...
Step 4: Spawn Workers Under Supervisors
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 truesessions_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
Folder-Based Company Structure
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
Automation Features
1. Daily Tracking System
All agents report progress daily using cron jobs:
# Setup daily reporting (runs every morning)
scripts/setup-daily-reporting.sh
Each agent reports:
2. Auto-Optimization
Agents self-optimize weekly:
3. Self-Healing
Agents detect and fix issues:
4. Goal Alignment
Every agent:
Agent Skills Configuration
Each agent has configurable skills:
CEO Agent Skills
Manager Skills (Domain-Specific)
Supervisor Skills
Worker Skills (Specialized)
Department Templates
Sales Department
# Sales Manager ConfigurationPrimary 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 Department
# Marketing Manager ConfigurationPrimary 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 Department
# Operations Manager ConfigurationPrimary 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
Monitoring & Reporting
Daily Report Structure
Each supervisor submits daily:
# Daily Report - Sales Supervisor - 2026-03-15Completed 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
Weekly CEO Report
CEO reports weekly to AI Advisor:
# Weekly CEO Report - Week of 2026-03-15Revenue
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
Cron Job Setup
Use the setup script to automate reporting:
# Install daily reporting automation
./scripts/setup-daily-reporting.shThis creates:
- Daily supervisor reports (8 AM)
- Daily manager reports (10 AM)
- Weekly CEO report (Monday 9 AM)
- Monthly strategy review (1st of month)
Integration with Other Skills
This skill works perfectly with:
Scalability
From Solo to AI-Managed Company
Solo Stage (Month 1):
Small Stage (Months 2-3):
Growth Stage (Months 4-6):
Scale Stage (Month 7+):
Best Practices
1. Start Small
Begin with 1 department, prove the model, then expand2. Clear Metrics
Define KPIs for every agent before spawning3. Regular Reviews
Weekly CEO reviews, monthly strategy sessions4. Human Oversight
Never fully automate critical decisions - you stay involved5. Continuous Training
Update agent skills as your business evolvesIndustry Trends (2026)
This skill is built for the future:
Troubleshooting
Agents Not Working
sessions_listsessions_history subagents kill Poor Performance
Communication Issues
Success Stories
Use this skill for:
Resources
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