alstonhuang

command_center_reporter

0
0
# Install this skill:
npx skills add alstonhuang/shared-agent-skills --skill "command_center_reporter"

Install specific skill from multi-skill repository

# Description

Enables AI agents to report status to the central AI Command Center via GitHub API.

# SKILL.md


name: command_center_reporter
description: Enables AI agents to report status to the central AI Command Center via GitHub API.


Command Center Reporter Skill

🚨🚨🚨 CRITICAL: DO NOT USE GIT CLONE 🚨🚨🚨

NEVER do this:

❌ git clone https://github.com/.../AI_Command_Center.git /tmp/...
❌ cd /tmp/AI_Command_Center && git add . && git commit && git push

ALWAYS do this:

βœ… reporter.log("ProjectName", "Message")
βœ… reporter.update_status("ProjectName", "Status")

The GitHub API method is:
- Faster (no clone/pull needed)
- Cleaner (no temp files)
- Conflict-free (atomic operations)


🎯 Purpose

Report your work status back to the central "AI Command Center" dashboard.

πŸ“‹ Standard Operating Procedure

Step 1: One-time Setup

!pip install PyGithub pytz

from github import Github

# Get token from user or .gh_token file
TOKEN = "user_provides_this"
REPO = "alstonhuang/AI_Command_Center"

# Dynamic load the reporter (ALWAYS fetch latest from GitHub!)
g = Github(TOKEN)
r = g.get_repo(REPO)
code = r.get_contents(".agent/skills/command_center_reporter/reporter_client.py")
exec(code.decoded_content.decode("utf-8"))

reporter = ProjectReporter(TOKEN, REPO)

Step 2: Register (First time for new project)

reporter.register("YourProjectName")

Step 3: Report (Every time you have progress)

# Log detailed activity
reporter.log("YourProjectName", "Completed feature X", level="INFO")

# Update dashboard status (only when phase changes)
reporter.update_status("YourProjectName", "🚧 Working")

πŸ”„ For /cc-report Command (Namespaced)

When user says /cc-report or /report (legacy alias):
1. Auto-summarize your work in this session
2. Fetch previous STATUS.md to see what was already reported
3. Report only NEW accomplishments
4. DO NOT ask user what to report - figure it out yourself!


⚠️ Common Mistakes to Avoid

❌ Wrong βœ… Correct
git clone the Command Center Use reporter.log() API
Ask user "what do you want to report?" Auto-summarize from conversation
Report everything every time Read previous log, report only new items
Create temp folders No local files needed

πŸ“ File Locations (on GitHub, not local!)

  • Dashboard: DASHBOARD.md
  • Project logs: projects/{ProjectName}/STATUS.md
  • Config: config.json

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.