From openclaw-cc
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly. Run: node scripts/gen-skill-docs.mjs -->
How this skill is triggered — by the user, by Claude, or both
Slash command
/openclaw-cc:autonomous-opsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly. Run: node scripts/gen-skill-docs.mjs -->
Before executing this skill:
Load context from memory:
memory_search(query: "{skill-relevant-query}", associative: true, limit: 5)
memory_search(tag: "{skill-name}", limit: 3)
Review returned memories for relevant past context, decisions, and patterns.
Check OMC state for active work:
state_get_status()
If conflicting active tasks exist, warn the user before proceeding.
Detect current branch (for git-related skills):
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "not-a-git-repo"
Check proactive mode:
state_read("occ-proactive")
If "false": do NOT proactively suggest other OpenClaw-CC skills during this session.
Only run skills the user explicitly invokes.
Log skill activation:
memory_daily_log(type: "note", entry: "Skill activated: /{skill-name}")
Operate autonomously as a 24/7 AI agent. Poll for user requests via Discord/Telegram, analyze and execute them using OMC multi-agent teams, persist all results to permanent memory, and report back. Schedule recurring polls to maintain continuous operation.
messenger_poll(platform: "all") → Check for new user messages
messenger_read(platform: "all", limit: 5) → Read recent if poll empty
Parse user messages for actionable requests:
Before starting work, load relevant context from the 3-layer memory system:
# Search for related past work
memory_search(query: "{task description}", associative: true, limit: 5)
# Search by relevant tags
memory_search(tag: "{relevant-tag}", limit: 3)
# Check for recent related daily logs
memory_search_date(start: "{7 days ago}", end: "{today}", category: "daily-logs", limit: 5)
Use retrieved context to:
If critical related memories exist, summarize them before proceeding:
Found {N} related memories:
- {memory_1 title}: {brief relevance}
- {memory_2 title}: {brief relevance}
memory_search(associative: true, context: {
tags: ["{extracted_topic}"],
date: "{today}"
}) → Load relevant past context
Invoke /task-analyzer internally:
Simple tasks (1-2 subtasks):
Agent(subagent_type: "oh-my-claudecode:executor", prompt: "{task}")
Complex tasks (3+ subtasks):
TeamCreate(name: "auto-{timestamp}", members: ["executor", "verifier"])
SendMessage(to: "executor", prompt: "{decomposed_subtasks}")
SendMessage(to: "verifier", prompt: "verify results of {task}")
Research tasks:
Agent(subagent_type: "research-agent", prompt: "{research_query}")
After completing the workflow, persist results to the 3-layer memory system:
Log completion to daily log:
memory_daily_log(type: "done", entry: "{skill-name}: {brief result summary}")
Store significant findings (importance ≥ 6):
memory_store(
category: "{appropriate category}",
title: "{descriptive title}",
content: "{structured result content}",
tags: ["{skill-name}", "{project}", "{relevant-tags}"],
importance: {6-10 based on significance}
)
Link to related memories (if applicable):
memory_link(source: "{new_memory_id}", target: "{related_id}", relation: "{related|derived|refines}")
| Content Type | Category | Subcategory |
|---|---|---|
| Bug fix / debugging | knowledge | debugging |
| Code review results | projects | {project-name} |
| Design decisions | projects | {project-name} |
| Research findings | knowledge | {topic} |
| Release / deploy | projects | {project-name} |
| Person-related info | people | — |
| Task / action item | tasks | — |
memory_store(
category: "{appropriate}",
title: "Auto: {task_summary}",
tags: ["autonomous", "{topic}"],
importance: 5,
content: "{results}"
)
memory_daily_log(type: "done", entry: "Autonomous: {one-line}")
Send notifications for significant events via messenger:
| Event | Platform | Priority |
|---|---|---|
| Task/pipeline completed | telegram | Normal |
| Verification failed | telegram | High |
| Long-running task done (10+ min) | telegram | Normal |
| Critical error or blocker | telegram | High |
| PR created / release shipped | all | Normal |
| Importance ≥ 8 memory created | telegram | Normal |
messenger_send(
platform: "telegram",
message: "[{skill-name}] {status_emoji} {brief description}\n\n{details if relevant}"
)
Status Emojis:
messenger_send(platform: "{original_platform}", message: "
✅ **Task Complete**: {task_summary}
📋 Results: {brief_results}
💾 Memory: #{memory_id}
⏱ Duration: {duration}
Full details: memory_get(id: {memory_id})
")
task_create(
name: "auto-poll-{timestamp}",
prompt: "Run autonomous-ops: poll messenger and execute pending requests",
cron: "*/15 * * * *",
allowedTools: ["messenger_poll", "messenger_read", "messenger_send",
"memory_search", "memory_store", "memory_daily_log", "task_list"],
tags: ["autonomous", "polling"],
enabled: true
)
| Situation | Action |
|---|---|
| No new messages | Log idle, skip execution, wait for next poll |
| Task fails | Retry once with different strategy; report failure to user |
| Messenger offline | Log to memory, retry notification on next poll |
| Ambiguous request | Send clarification question via messenger |
| Rate limit | Back off 5 minutes, log warning |
memory_daily_log| Code | Meaning |
|---|---|
| DONE | All pending requests processed and reported |
| IDLE | No pending requests found |
| BLOCKED | Request requires user confirmation |
| ERROR | Execution failed after retry |
Every skill must end with one of these status codes:
| Code | Meaning | When to Use |
|---|---|---|
| DONE | All steps completed, evidence provided | Root cause found + fix verified, PR created, review finished |
| DONE_WITH_CONCERNS | Completed with warnings or caveats | Tests pass but coverage dropped, fix applied but can't fully verify |
| BLOCKED | Cannot proceed, requires user intervention | 3 failed attempts, missing permissions, external dependency down |
| NEEDS_CONTEXT | Missing information to continue | Unclear requirements, need user clarification |
3-strike rule: After 3 failed attempts at any step, STOP and escalate to user. Do not continue guessing. Present what was tried and ask for direction.
Scope escalation: If fix/change touches 5+ files unexpectedly, pause and confirm with the user before proceeding.
Security uncertainty: If you are unsure about a security implication, STOP and escalate. Never guess on security.
Verification requirement: Never claim DONE without evidence.
═══════════════════════════════════════
Status: {DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT}
Summary: {one-line description of outcome}
Evidence: {test output, verification results, or blocking reason}
═══════════════════════════════════════
npx claudepluginhub kit4some/oh-my-claudeclaw --plugin openclaw-ccTransforms Claude Code into a fully autonomous agent with persistent memory, scheduled tasks, computer use, and task queuing.
Turns Claude Code into a persistent autonomous agent with scheduled tasks, computer use, and cross-session memory. Use for continuous automation, scheduled monitoring, or replicating Hermes/AutoGPT capabilities.
Runs autonomy system with Conservative, Balanced, Aggressive profiles using planner, verifier, reviewer agents for task execution, memory integration, and context management in Claude Code.