Skip to content

OpenCloserOrg/Autensa-Mission-Control-OpenCloser-Skill

Repository files navigation

Autensa OpenCloser Mission Control Skill

🚀 New: REST API Integration Discovered!

Mission Control provides a working REST API at http://localhost:4000!

New API Features:

  • POST /api/tasks - Create tasks without stopping Mission Control
  • GET /api/agents - List available agents for assignment
  • Intelligent agent matching based on task content
  • Complete board setup when users say "fill up my board"
  • Real-time updates via natural language requests

Quick Start:

# Test API
node autensa-api.js test

# Setup complete project board
node autensa-api.js setup "Project Name" "Description"

# See README-API.md for full API documentation

What This Skill Actually Does

This skill manages real Mission Control coordination with dual-mode operation:

  1. API Mode (Recommended) - Uses REST API for real-time interaction
  2. Database Mode - Direct SQLite access with dynamic discovery

It works with:

  1. Markdown task files in ~/Documents/Shared/projects/[project-name]/
  2. Agent coordination with token limits (1 task/hour per agent)
  3. Natural language commands to create and manage projects
  4. Six Sigma DMAIC methodology for structured project management

How Mission Control Actually Works

File Structure

~/Documents/Shared/projects/
└── [project-slug]/
    ├── project-overview.md          # Project definition and goals
    ├── agent-definitions.md         # Agent roles and responsibilities
    ├── [task-name].md               # Individual task files
    ├── mission-control-dashboard.html  # Coordination dashboard
    └── [deliverable].md             # Agent outputs and reports

Agent Coordination

  • Each agent gets 1 substantial task per hour maximum
  • Token limits prevent API cost overruns
  • Scheduled coordination prevents agent conflicts
  • Real-time monitoring through dashboard files

Quick Start

Check Current Projects

# List all active projects
autensa projects list

# Show project status
autensa status "anniversarygifts-website-strategy"

# Check agent activity
autensa agents status

Create New Project

# Create project with Six Sigma DMAIC
autensa project create "New E-commerce Site" \
  --methodology six-sigma \
  --agents "seo,content,marketing" \
  --duration 30

# Create simple content project
autensa project create "Blog Launch" \
  --template content-project \
  --agents "writer,editor,seo"

Manage Tasks

# Add tasks to project
autensa tasks add "anniversarygifts-website-strategy" \
  --title "Keyword Research Phase 2" \
  --agent "Keyword Kelly" \
  --priority high

# Assign existing task
autensa tasks assign "Technical SEO Audit" \
  --agent "Technical Tom"

# Update task status
autensa tasks update "Buyer Personas" \
  --status completed \
  --progress 100

Control Workflow

# Pause agent work
autensa pause agent "Content Creator Carla"

# Resume specific task
autensa resume task "Content Calendar Creation"

# Emergency stop all work
autensa stop all --force

Natural Language Commands

Project Management

"Show me what projects are running"
"Create a new anniversary gifts project"
"Give me status on the website strategy"
"Make a workspace for e-commerce"

Task Management

"Add some SEO tasks to anniversary gifts"
"Create content tasks for the blog"
"Assign keyword research to Kelly"
"Update the technical audit status"

Agent Coordination

"Who is working right now?"
"Pause Carla's content work"
"Resume Tom's technical tasks"
"What agents are available?"

Status & Reporting

"What's the overall status?"
"Give me a progress summary"
"Show me token usage"
"Generate a project report"

Real Examples from Your System

Existing Project: anniversarygifts-website-strategy

Location: ~/Documents/Shared/projects/anniversarygifts-website-strategy/

Files:

  • project-overview.md - Project goals and timeline
  • agent-definitions.md - 3-agent team structure
  • keyword-research-database.md - SEO research
  • buyer-personas.md - Target audience analysis
  • content-calendar-communication.md - Content planning
  • technical-seo-audit.md - Technical improvements
  • mission-control-dashboard.html - Coordination interface
  • project-summary-report.md - Final deliverables

Agents:

  1. Content Creator Carla - Content creation and calendars
  2. Keyword Kelly - Keyword research and analysis
  3. Technical Tom - Technical SEO and implementation

How It Works Internally

1. Project Creation

// Creates directory structure
~/Documents/Shared/projects/[slug]/
├── project-overview.md
├── agent-definitions.md
└── mission-control-dashboard.html

// Sets up agent coordination
// Configures token limits (1 task/hour)
// Establishes communication channels

2. Task Management

// Each task is a markdown file
~/Documents/Shared/projects/[slug]/[task-name].md

// Contains:
// - Task description and requirements
// - Assigned agent and deadline
// - Status (planning, in-progress, completed)
// - Token budget and usage
// - Dependencies and blockers

3. Agent Coordination

// Token limit enforcement
agent.maxTokensPerHour = 4000;  // Tory
agent.maxTokensPerHour = 5000;  // Charlie Munger
agent.maxTokensPerHour = 3000;  // Mission Control

// Schedule enforcement
agent.tasksPerHour = 1;  // Maximum 1 substantial task/hour
agent.recoveryTime = 30; // Minutes between tasks

4. Monitoring & Reporting

// Real-time dashboard updates
dashboard.update({
  agentStatus: 'working|idle|sleeping',
  tokenUsage: 'current/max',
  taskProgress: 'completed/total',
  scheduleAdherence: 'on-track|behind|ahead'
});

// Automated reports
report.generate({
  type: 'daily|weekly|project',
  format: 'markdown|html|json',
  destination: 'file|email|webhook'
});

Configuration

Environment Variables

# Base directory for projects
export MISSION_CONTROL_BASE="~/Documents/Shared"

# Default token limits
export DEFAULT_TOKENS_PER_HOUR=4000
export DEFAULT_TASKS_PER_HOUR=1

# Agent configurations
export AGENT_TORY_TOKENS=4000
export AGENT_CHARLIE_TOKENS=5000
export AGENT_MISSION_CONTROL_TOKENS=3000

# Monitoring settings
export MONITOR_INTERVAL=60  # seconds
export ALERT_THRESHOLD=0.8  # 80% token usage

Configuration File

{
  "basePath": "~/Documents/Shared",
  "projects": {
    "defaultTemplate": "six-sigma-dmaic",
    "autoCreateDashboard": true,
    "backupEnabled": true
  },
  "agents": {
    "tokensPerHour": {
      "tory": 4000,
      "charlie-munger": 5000,
      "mission-control": 3000,
      "planning-agent": 3500,
      "cron-agent": 2000
    },
    "tasksPerHour": 1,
    "recoveryMinutes": 30
  },
  "monitoring": {
    "interval": 60,
    "alerts": true,
    "logLevel": "info"
  }
}

Troubleshooting

Common Issues

Projects not showing up:

# Check if directory exists
ls -la ~/Documents/Shared/projects/

# Check for .md files
find ~/Documents/Shared/projects/ -name "*.md" | head -10

Agents not responding:

# Check agent token limits
autensa config show --agent tory

# Reset agent state
autensa agent reset "Content Creator Carla"

Tasks not progressing:

# Check task dependencies
autensa tasks dependencies "keyword-research"

# Force task assignment
autensa tasks assign --force "Technical Audit" --agent "Technical Tom"

Debug Mode

# Enable debug logging
export DEBUG_MISSION_CONTROL=true

# Verbose output
autensa status --verbose

# Detailed project analysis
autensa project analyze "anniversarygifts-website-strategy" --deep

Best Practices

1. Start Small

# Begin with 2-3 agents
autensa project create "Test Project" --agents 3

# Add more agents as needed
autensa agents add "New Specialist" --tokens 3000

2. Use Templates

# Six Sigma for process improvement
autensa project create "Process Optimization" --template six-sigma

# Content project for blogs
autensa project create "New Blog" --template content-project

# E-commerce for online stores
autensa project create "Online Store" --template ecommerce-project

3. Monitor Token Usage

# Daily token check
autensa tokens status

# Set up alerts
autensa alerts setup --threshold 0.8 --channel email

# Optimize schedules
autensa schedule optimize --efficiency

4. Regular Backups

# Backup project files
autensa backup create "anniversarygifts-website-strategy"

# Restore from backup
autensa backup restore backup-2026-03-10.tar.gz

# Automated backups
autensa backup schedule --daily --keep 7

Advanced Features

Custom Agent Types

# Create specialized agent
autensa agent create "Data Scientist" \
  --tokens 4500 \
  --skills "analysis,visualization,prediction" \
  --tools "python,r,statistics"

# Configure agent workflow
autensa agent configure "Data Scientist" \
  --tasks-per-hour 2 \
  --recovery-time 15 \
  --specialization "data-analysis"

Integration with OpenClaw

# Import OpenClaw agents
autensa agents import openclaw \
  --filter "seo,content,marketing"

# Export to OpenClaw format
autensa project export "anniversarygifts-website-strategy" \
  --format openclaw \
  --destination ./openclaw-config.json

API Access

# Get project data as JSON
curl "http://localhost:8080/api/projects/anniversarygifts-website-strategy"

# Create task via API
curl -X POST "http://localhost:8080/api/tasks" \
  -H "Content-Type: application/json" \
  -d '{
    "project": "anniversarygifts-website-strategy",
    "title": "New Task",
    "agent": "Keyword Kelly",
    "priority": "medium"
  }'

Ready to Start?

Begin with these commands:

# See what's already running
autensa projects list

# Check anniversary gifts project
autensa status "anniversarygifts-website-strategy"

# Add a new task
autensa tasks add "anniversarygifts-website-strategy" \
  --title "Mobile Optimization Review" \
  --agent "Technical Tom" \
  --priority high \
  --estimate "2 hours"

# Monitor progress
autensa monitor --project "anniversarygifts-website-strategy" --interval 30

This skill provides real Mission Control coordination for your AI agents, working with the actual file structure and coordination patterns you're already using.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors