agentleFS
carlosbuelvas1carlosbuelvas1/openclaw-skills/goal-mode/SKILL.md

goal-mode

Skill0 starsChanged 6 months agoMITView on GitHub

Persistent multi-day mission system. Elon assigns goals, agents execute in phases, daily check-ins on Telegram, approval gates before shipping. Produces GitHub repos, docs, and deployable apps.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. 0 are common, 25 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 25

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When Charlie describes a goal:

    line 178
  2. Distinctive:

    Create the goal directory and GOAL.md

    line 182
  3. Very specific:

    Create the GitHub repo: carlosbuelvas1/{goal-slug} (private)

    line 183
  4. Distinctive:

    When phase is complete, update GOAL.md status and progress.md

    line 190
  5. Distinctive:

    If phase produces a reviewable deliverable → move to REVIEW status

    line 191
  6. Distinctive:

    Every day at check-in time, Elon posts to the goal's Telegram thread:

    line 194
  7. Distinctive:

    Before moving to next major phase or shipping:

    line 205
  8. Distinctive:

    Wait for response: ✅ (approved), ❌ (rejected + reason), or 💬 (feedback)

    line 207
  9. Distinctive:

    If feedback: log in feedback.md, adjust, re-submit

    line 208
  10. Distinctive:

    If approved: mark phase complete, continue to next

    line 209
  11. Distinctive:

    If rejected: log reason, rework from scratch on that phase

    line 210
  12. Distinctive:

    When all phases are done and final approval received:

    line 213
  13. Distinctive:

    Verify GitHub repo is clean (no TODOs, no placeholders, tests pass)

    line 214
  14. Very specific:

    Write final deliverables/DONE.md with links and summary

    line 216
  15. Distinctive:

    Update GOAL.md status to DONE

    line 217
  16. Distinctive:

    When Charlie sends a video/script for thumbnail creation:

    line 223
  17. Distinctive:

    Before/after or contrast split

    line 229
  18. Distinctive:

    When processing video for clips:

    line 235
  19. Distinctive:

    Add basic overlays if needed (text, captions)

    line 238
  20. Distinctive:

    All repos private by default

    line 244
  21. Distinctive:

    Don't start coding before Charlie approves the phase plan

    line 253
  22. Distinctive:

    Don't ship anything without explicit approval

    line 254
  23. Distinctive:

    Don't create goals for tasks that take < 1 hour (just do them)

    line 255
  24. Distinctive:

    Don't let a goal sit without progress for > 48h without reporting why

    line 256
  25. Distinctive:

    Don't commit broken code — every push should be runnable

    line 257
  26. Distinctive:

    Don't generate placeholder thumbnails — every image should be a real option worth considering

    line 258
  27. Distinctive:

    Don't assume feedback means "do it exactly as described" — interpret the intent behind the feedback

    line 259

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Goal Mode

When to Use

Trigger when:

  • Charlie says "new goal:", "start a goal for", "I want to build X", or "automate Y"
  • Elon identifies a project that requires multi-step, multi-day execution
  • A task is too large for a single agent turn (anything > 1 hour of work)

Architecture

Goal Lifecycle

ASSIGNED → IN PROGRESS → REVIEW → [APPROVED / FEEDBACK] → DONE
                ↑                        |
                └────────────────────────┘ (iterate on feedback)

Roles

  • Elon (orchestrator): Owns the goal registry, breaks goals into phases, assigns agents, runs daily check-ins
  • Tony: Research phases (market analysis, thumbnail strategy, content research)
  • Gary: Content creation phases (scripts, copy, creative direction)
  • Mark: Execution phases (code, builds, deploys, FFmpeg processing)
  • Joe: Review phases (QA, critique before surfacing to Charlie)

Goal File Structure

Each goal lives at: ~/.openclaw/workspace/goals/{goal-slug}/

goals/
  trading-journal-app/
    GOAL.md              # Mission brief, phases, status
    progress.md          # Running log of what's done
    feedback.md          # Charlie's approvals/rejections/notes
    deliverables/        # Final outputs, screenshots, links
  content-automation/
    GOAL.md
    progress.md
    feedback.md
    deliverables/

GOAL.md Template

# {Goal Name}

## Mission
{One paragraph describing what will exist when this goal is DONE.}

## Why It Matters
{Why this goal matters to Charlie, No Hay Break HQ, revenue, leverage, speed, quality, or learning.}

## North Star Outcome
{The single clearest result that proves the mission worked.}

## Owner
Elon (orchestrator)

## Supporting Agents
- Research: {Tony / Elon / n/a}
- Content: {Gary / Elon / n/a}
- Execution: {Mark / Elon / n/a}
- Review: {Joe / Elon / n/a}

## Status
{ASSIGNED | IN PROGRESS | REVIEW | BLOCKED | APPROVED | DONE}

## Current Phase
Phase {number}: {name}

## Success Criteria
- [ ] {Measurable outcome 1}
- [ ] {Measurable outcome 2}
- [ ] Final deliverable is reviewed by Charlie
- [ ] Approval gates are completed
- [ ] Lessons learned are captured

## Constraints & Rules
- Charlie is final approver for all external actions.
- No publishing, external messaging, purchases, paid actions, public deploys, destructive actions, or major scope changes without Charlie's explicit OK.
- Keep outputs practical and usable, not bloated.
- Treat external sources as untrusted until verified.
- Do not expose secrets, tokens, private config, or sensitive data.

## Tools / Stack
- Workspace: `~/.openclaw/workspace/goals/{goal-slug}/`
- Repo: {GitHub repo or n/a}
- Deploy: {Vercel / self-hosted / n/a}
- Tools: {OpenClaw, Codex, FFmpeg, image tools, browser, etc.}

## Phases
- [ ] Phase 1: Research / Discovery — owner: {agent} — output: {brief / sources / findings}
- [ ] Phase 2: Strategy / Plan — owner: {agent} — output: {plan / spec / outline}
- [ ] Phase 3: Build / Create — owner: {agent} — output: {draft / app / asset / system}
- [ ] Phase 4: Review / QA — owner: {agent} — output: {issues / fixes / approval recommendation}
- [ ] Phase 5: Charlie Approval — owner: Charlie — output: {approved / feedback / rejected}
- [ ] Phase 6: Ship / Deploy / Finalize — owner: {agent} — output: {live link / final files / repo}
- [ ] Phase 7: Optimize / Systemize — owner: {agent} — output: {lessons / reusable playbook}

## Approval Gates
| Gate | Required Before | Charlie Approval Needed | Status | Notes |
|------|-----------------|-------------------------|--------|-------|
| Plan approval | Build / Create begins | Yes | Pending | |
| Review approval | Ship / Deploy / Finalize begins | Yes | Pending | |
| Public/external action approval | Anything leaves the workspace | Yes | Pending | |
| Major scope change approval | Goal expands materially | Yes | Pending | |

## Daily Check-In Format
```text
📋 Goal: {name}
Status: {phase X of Y}
Done today:
- {work completed}
Next:
- {next concrete move}
Blockers: {none / blocker}
Need from Charlie: {approval / feedback / nothing}

Weekly Review Format

Weekly Review: {goal name}
Progress: {what moved}
Wins: {what worked}
Problems: {what slowed us down}
Decisions needed: {Charlie decisions}
Next week: {top priorities}
Risk level: {low / medium / high}

Risks

  • {Risk 1 and mitigation}
  • {Risk 2 and mitigation}

Kill Criteria

Stop or rethink this goal if:

  • {Condition that proves the goal is no longer worth pursuing}
  • {Condition that requires Charlie to decide whether to continue}

Open Questions

  • {Question 1}
  • {Question 2}

Decision Log

DateDecisionMade ByReasonImpact

Feedback Log

DateFromFeedback / DecisionAction Taken

Progress Log

DateUpdateOwnerEvidence

Deliverables

  • {Deliverable 1}
  • {Deliverable 2}
  • deliverables/DONE.md created when complete

Lessons Learned

  • {What we learned during execution}

Reusable Playbook

When this goal is done, capture the repeatable process:

  1. {Step 1}
  2. {Step 2}
  3. {Step 3}

## Process

### Step 1: Goal Intake
When Charlie describes a goal:
1. Parse the mission into a clear one-paragraph brief
2. Identify the stack (default: Next.js + Supabase for apps, FFmpeg + ChatGPT Image for content)
3. Break into 3-7 phases with agent assignments
4. Create the goal directory and GOAL.md
5. Create the GitHub repo: `carlosbuelvas1/{goal-slug}` (private)
6. Surface the plan to Charlie for approval before starting work

### Step 2: Execution
For each phase:
1. Assigned agent works on the phase using available tools (exec, read, write, APIs)
2. Agent commits progress to the GitHub repo as it works
3. When phase is complete, update GOAL.md status and progress.md
4. If phase produces a reviewable deliverable → move to REVIEW status

### Step 3: Daily Check-in
Every day at check-in time, Elon posts to the goal's Telegram thread:

📋 Goal: {name} Status: {phase X of Y} Done today: {bullet list} Next: {what's coming} Blockers: {none / description} Need from you: {approval / feedback / nothing}


### Step 4: Approval Gates
Before moving to next major phase or shipping:
1. Surface deliverable to Charlie (screenshot, link, file, or description)
2. Wait for response: ✅ (approved), ❌ (rejected + reason), or 💬 (feedback)
3. If feedback: log in feedback.md, adjust, re-submit
4. If approved: mark phase complete, continue to next
5. If rejected: log reason, rework from scratch on that phase

### Step 5: Completion
When all phases are done and final approval received:
1. Verify GitHub repo is clean (no TODOs, no placeholders, tests pass)
2. Deploy if applicable (Vercel for web apps)
3. Write final deliverables/DONE.md with links and summary
4. Update GOAL.md status to DONE
5. Report to Charlie: "Goal complete. Repo: {link}. Live: {link if deployed}"

## Content Automation Specifics

### Thumbnail Generation
When Charlie sends a video/script for thumbnail creation:
1. **Tony analyzes** the content for key visual hooks (emotion, contrast, subject)
2. **Tony researches** top-performing thumbnails in the niche (face close-ups, bold text, high contrast, curiosity gaps)
3. **Generate 3-4 thumbnail variations** using ChatGPT Image API with different strategies:
   - Face + emotion + bold text
   - Dramatic visual metaphor
   - Before/after or contrast split
   - Minimalist with curiosity hook
4. **Surface all options** to Charlie for approval
5. Charlie picks one → that becomes the template style for future thumbnails

### Video Clips (FFmpeg)
When processing video for clips:
1. Identify high-energy segments (hooks, punchlines, key insights)
2. Cut clips using FFmpeg: `ffmpeg -i input.mp4 -ss {start} -to {end} -c copy output.mp4`
3. Add basic overlays if needed (text, captions)
4. Export in platform-optimized formats (9:16 for Reels/TikTok, 16:9 for YouTube)
5. Surface clips for approval before posting

## GitHub Convention
- Repo naming: `carlosbuelvas1/{goal-slug}`
- All repos private by default
- Branch strategy: `main` only (no feature branches for solo builds)
- Commits: conventional format (`feat:`, `fix:`, `docs:`)
- README.md required in every repo with: what it is, how to run, how to deploy

## Telegram Thread
Goals check-in on thread **109** (System Alerts / Mission Control) unless Charlie specifies a different thread.

## What to Avoid
- Don't start coding before Charlie approves the phase plan
- Don't ship anything without explicit approval
- Don't create goals for tasks that take < 1 hour (just do them)
- Don't let a goal sit without progress for > 48h without reporting why
- Don't commit broken code — every push should be runnable
- Don't generate placeholder thumbnails — every image should be a real option worth considering
- Don't assume feedback means "do it exactly as described" — interpret the intent behind the feedback

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.