leoyeai/openclaw-master-skills/tsu-mission-control
Claude Code and agent skill by leoyeai/openclaw-master-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Integrate with Mission Control dashboard to report task progress, publish documents to the Library, request approvals, and submit project requests. Use this skill whenever you start, complete, or fail a task, need human approval, want to publish research/reports/documentation, or need to submit a new project request. This skill provides the HTTP endpoints and event formats for communicating with the Mission Control backend.
Install
npx vskill@latest install leoyeai/openclaw-master-skills/tsu-mission-controlSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/tsu-mission-control.
Mission Control Integration Skill
You are connected to a Mission Control dashboard that tracks your work, manages projects and tasks, handles approvals, and stores documents in a Library. This skill tells you how to communicate with it.
Overview
Mission Control is a database-backed dashboard running at $MISSION_CONTROL_URL (default: http://localhost:8000). It provides:
- Pipeline: Tasks flow through stages: backlog → todo → doing → review → done
- Inbox: A unified queue where humans review requests, approve work, and handle workflow gates
- Library: A curated document store for research, reports, documentation, and reference material
- Costs: Token spend tracking per session
- Activity: A chronological feed of all events
Your job is to report your progress so the dashboard stays accurate.
Reporting Task Progress
When you are assigned a task (you'll see a task ID like t_abc123), report your progress at each stage by sending HTTP POST requests to the hooks endpoint.
Endpoint
When Starting a Task
When Making Progress
When Submitting for Review
Use this when your work is done and ready for human review. This automatically creates a review record in the Inbox with your deliverables and checklist.
When a Task is Complete (after human approval)
When a Task Fails
Publishing to the Library
When you produce research, reports, documentation, analysis, or any reference material, publish it to the Library so it's organized and searchable.
Publishing a New Document
Document types: research, report, documentation, reference, template, note, analysis, brief, guide, other
Formats: markdown, html, code, json, text, csv
Default collections (use these IDs):
col_research— Research findings, competitive analysis, market datacol_reports— Status reports, weekly summaries, metricscol_docs— Technical documentation, API docs, guidescol_reference— Reference material, specifications, standardscol_templates— Reusable templates and boilerplatecol_notes— Meeting notes, scratch work, ideas
Updating an Existing Document
Requesting Approvals
When you need human approval before proceeding (deploying to production, making purchases, deleting data, etc.), create a workflow gate:
The human will see this in their Inbox and can approve or reject. If you provided a resumeToken, the backend stores it so you can check whether approval was granted.
Urgency levels: critical, urgent, normal, low
Submitting Project Requests
When you identify new work that should be done (a bug you found, an improvement idea, research that's needed), submit a project request:
Categories: feature, bug, research, content, ops, automation, general
Reporting Session Lifecycle
When a Session Starts
Report session creation so Mission Control tracks active sessions:
When a Session Ends (Reporting Costs)
When your session ends, report token usage so the Costs dashboard stays accurate:
Reporting Agent Status
When Idle (no more tasks)
When an Error Occurs
Using the /mc Shorthand
If your session supports slash commands, you can use these shortcuts instead of crafting full HTTP requests:
The lifecycle hook translates these into the proper API calls automatically.
Polling for Pending Events
Mission Control pushes events to you via the gateway, but delivery isn't guaranteed (gateway might be down, session might have restarted). At the start of each session, check if any events are waiting for you:
Response:
Calling this endpoint marks the events as delivered. Process each one according to the event type (see the outbound events section below).
To check without consuming: GET /api/dispatch/pending/YOUR_AGENT_ID?peek=true
To explicitly acknowledge after processing: POST /api/dispatch/ack with { "ids": [1, 2, 3] }
Best practice: Check for pending events at session start and after each heartbeat.
Best Practices
- Always report task:started when you begin work — this moves the task to "In Progress" on the dashboard
- Use task:review when work is done — don't use task:completed directly. Let the human review first.
- Include deliverables in your review submission — list every file you created or modified
- Publish to the Library when you create lasting content — reports, research, documentation
- Pick the right collection — don't dump everything in "Notes". Research goes in Research, docs go in Documentation.
- Request approval for risky actions — deployments, deletions, purchases, external API calls with side effects
- Report failures honestly — include what went wrong and what you tried. The human needs context to help.
- Include a work_summary in reviews — explain what you did, what choices you made, and what the human should focus on when reviewing.
Quick Reference
| Event | When to Use | |
|---|---|---|
task:started | You begin working on an assigned task | |
task:progress | You want to report incremental progress (0-100%) | |
task:review | Work is done, ready for human review | |
task:completed | Task is approved and fully done | |
task:failed | Something went wrong, task can't be completed | |
library:publish | You produced a document worth keeping | |
library:update | You revised an existing Library document | |
approval:needed | You need human permission before proceeding | |
request:submit | You identified new work that should be done | |
session:created | Your session just started | |
session:ended | Your session is closing, report token usage | |
agent:idle | You have no more tasks | |
agent:error | You hit a system-level error |
Events You Will RECEIVE from Mission Control
Mission Control sends events back to you when a human makes a decision. These arrive as messages in your session with type: "mc:event". When you receive one, act on it.
mc:review_approved
Your work was approved. The task is now "done". Look for the next task.
Fields: taskId, taskTitle, projectId, projectName, round, qualityScore, notes, nextAction
What to do: Check if the project has more tasks in "todo" stage. If so, pick the next one and start it.
mc:changes_requested
Your work needs revisions. The task has been moved back to "doing". Read the feedback and fix the issues.
Fields: taskId, taskTitle, round, feedback, currentStage
What to do: Read the feedback field carefully. It contains the human's specific concerns. Revise your work, then resubmit with task:review.
mc:review_rejected
Your work was rejected. The task is back in "todo" and may be reassigned.
Fields: taskId, taskTitle, round, reason, currentStage
What to do: Read the reason. If you can address it, pick the task back up. If not, move on to other work.
mc:approval_granted
A workflow gate you requested was approved. Resume your paused work.
Fields: approvalId, approvalType, title, resumeToken, entityType, entityId, notes, nextAction
What to do: If resumeToken is present, use it to resume the paused workflow. If nextAction is "resume_workflow", continue from where you stopped.
mc:approval_denied
A workflow gate you requested was denied.
Fields: approvalId, approvalType, title, entityType, entityId, reason, nextAction
What to do: Read the reason. You may need to take a different approach or abandon the action.
mc:project_kickoff
A new project was created (from an approved request or directly). You are the owner agent. Start planning.
Fields: projectId, projectName, description, priority, fromRequest, requestTitle, hint
What to do: Break the project down into tasks. Create them via POST /api/tasks with project_id set. Put tasks in "backlog" or "todo" stage. Then start working on the highest-priority one.
mc:task_assigned
A task was assigned to you.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tsu-mission-control/SKILL.md
Popularity
- Repository stars
- 2,157
- Repository forks
- 324
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/tsu-mission-control)