@godmode-team/godmode 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/agent-roster/content-writer.md +58 -0
- package/assets/agent-roster/evidence-collector.md +48 -0
- package/assets/agent-roster/executive-briefer.md +31 -0
- package/assets/agent-roster/finance-admin.md +21 -0
- package/assets/agent-roster/godmode-builder.md +64 -0
- package/assets/agent-roster/icp-simulator.md +62 -0
- package/assets/agent-roster/life-admin.md +21 -0
- package/assets/agent-roster/meeting-prep.md +20 -0
- package/assets/agent-roster/ops-runner.md +28 -0
- package/assets/agent-roster/personal-assistant.md +20 -0
- package/assets/agent-roster/qa-copy-reviewer.md +49 -0
- package/assets/agent-roster/qa-fact-checker.md +44 -0
- package/assets/agent-roster/qa-reviewer.md +45 -0
- package/assets/agent-roster/researcher.md +29 -0
- package/assets/agent-roster/travel-planner.md +21 -0
- package/assets/agent-roster/weekly-reviewer.md +20 -0
- package/assets/skills/autoresearch.md +62 -0
- package/assets/skills/bug-hunt.md +88 -0
- package/assets/skills/code-review.md +68 -0
- package/assets/skills/code-simplify.md +56 -0
- package/assets/skills/competitor-scan.md +18 -0
- package/assets/skills/daily-standup-prep.md +21 -0
- package/assets/skills/inbox-sweep.md +17 -0
- package/assets/skills/monthly-bill-review.md +20 -0
- package/assets/skills/pattern-scout.md +94 -0
- package/assets/skills/quarterly-review.md +25 -0
- package/assets/skills/silent-failure-audit.md +57 -0
- package/assets/skills/weekly-content.md +18 -0
- package/assets/skills/weekly-life-admin.md +22 -0
- package/dist/assets/workspace-templates/godmode-dev/memory/README.md +24 -0
- package/dist/assets/workspace-templates/godmode-dev/skills/build-verify.md +16 -0
- package/dist/assets/workspace-templates/godmode-dev/skills/code-review.md +17 -0
- package/dist/assets/workspace-templates/godmode-dev/skills/create-skill.md +35 -0
- package/dist/assets/workspace-templates/godmode-dev.json +16 -0
- package/dist/godmode-ui/assets/dashboards-CrT3s0NG.js +1 -0
- package/dist/godmode-ui/assets/index-BtwTHiwI.js +9353 -0
- package/dist/godmode-ui/assets/index-xiAdnGJD.css +1 -0
- package/dist/godmode-ui/assets/second-brain-ghSM5E6X.js +1 -0
- package/dist/godmode-ui/assets/setup-CWjMtnE4.js +1 -0
- package/dist/godmode-ui/index.html +2 -2
- package/dist/index.js +28078 -14511
- package/openclaw.plugin.json +1 -1
- package/package.json +17 -3
- package/dist/godmode-ui/assets/dashboards-BWn_hwxU.js +0 -1
- package/dist/godmode-ui/assets/index-C3h1x9Fk.css +0 -1
- package/dist/godmode-ui/assets/index-DY46dBuJ.js +0 -8501
- package/dist/godmode-ui/assets/second-brain-nWUdvmOD.js +0 -1
- package/dist/godmode-ui/assets/setup-DDvbMoK2.js +0 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Hunt — 3-Phase Adversarial Audit
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: godmode-builder
|
|
5
|
+
taskType: review
|
|
6
|
+
priority: high
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 3-Phase Adversarial Bug Hunt
|
|
10
|
+
|
|
11
|
+
Run a rigorous, adversarial bug-finding process on the specified target. Three competing passes find real bugs while filtering out false positives.
|
|
12
|
+
|
|
13
|
+
## Target
|
|
14
|
+
|
|
15
|
+
Audit the specified codebase, files, or system. If no target is specified, audit the GodMode plugin codebase (`~/Projects/godmode-plugin/src/`).
|
|
16
|
+
|
|
17
|
+
## Phase 1: Bug Finder
|
|
18
|
+
|
|
19
|
+
You are a ruthless bug hunter. Find REAL, SHIPPED bugs — not style nits, not theoretical concerns, not "could be improved" suggestions.
|
|
20
|
+
|
|
21
|
+
**Scoring — per confirmed bug:**
|
|
22
|
+
- LOW (cosmetic, docs, minor): +1 point
|
|
23
|
+
- MEDIUM (incorrect behavior, data loss risk, security weakness): +5 points
|
|
24
|
+
- CRITICAL (crash, data corruption, security bypass, blocks core flow): +10 points
|
|
25
|
+
|
|
26
|
+
**Rules:**
|
|
27
|
+
- Only count bugs in the CURRENT code (not hypothetical future issues)
|
|
28
|
+
- Read every relevant file thoroughly before claiming a bug
|
|
29
|
+
- Cite exact file paths and line numbers
|
|
30
|
+
- Explain what's wrong and the impact
|
|
31
|
+
- Duplicates of the same root cause count as ONE bug
|
|
32
|
+
|
|
33
|
+
**Output format — numbered list:**
|
|
34
|
+
```
|
|
35
|
+
BUG #N (SEVERITY Xpts): One-line title
|
|
36
|
+
File: path/to/file.ts:LINE
|
|
37
|
+
What: Detailed explanation
|
|
38
|
+
Impact: What breaks or goes wrong
|
|
39
|
+
Fix: Suggested fix (1-2 lines)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
End with: `TOTAL: X bugs found, Y points`
|
|
43
|
+
|
|
44
|
+
## Phase 2: Adversarial Defense
|
|
45
|
+
|
|
46
|
+
Now switch roles. You are a defense attorney for this codebase. DISPROVE false bugs from Phase 1.
|
|
47
|
+
|
|
48
|
+
**Scoring:**
|
|
49
|
+
- You EARN the bug's point value for every bug you successfully disprove with evidence
|
|
50
|
+
- You LOSE 2x the bug's point value for every bug you wrongly claim is false
|
|
51
|
+
|
|
52
|
+
Only disprove bugs you're CERTAIN are wrong. If a bug is real, leave it alone.
|
|
53
|
+
|
|
54
|
+
**For each bug, respond with one of:**
|
|
55
|
+
- **REAL** — You verified the bug exists. Don't fight it.
|
|
56
|
+
- **DISPROVED** — You have concrete evidence the bug doesn't exist. Cite the exact code that proves it.
|
|
57
|
+
- **PARTIALLY TRUE** — The bug exists but severity is wrong. Explain why and suggest correct severity.
|
|
58
|
+
|
|
59
|
+
**Rules:**
|
|
60
|
+
- Read the actual source files. Don't guess.
|
|
61
|
+
- "It's unlikely to happen" is NOT a disproof. The code must make it impossible.
|
|
62
|
+
- Check for guards, fallbacks, and error handling the finder may have missed.
|
|
63
|
+
|
|
64
|
+
End with: `DISPROVED: X bugs (Y points earned)`
|
|
65
|
+
|
|
66
|
+
## Phase 3: Final Ruling
|
|
67
|
+
|
|
68
|
+
Now make the CORRECT call on every bug, considering both Phase 1 and Phase 2.
|
|
69
|
+
|
|
70
|
+
**For each bug, rule:**
|
|
71
|
+
- **CONFIRMED REAL** — The bug exists. State severity (may differ from original claim).
|
|
72
|
+
- **NOT A BUG** — The defense is correct, or you found your own evidence it's not a bug.
|
|
73
|
+
- **DOWNGRADE** — Real but less severe than claimed. State new severity.
|
|
74
|
+
|
|
75
|
+
**Rules:**
|
|
76
|
+
- Re-read the actual source code for every ruling. Don't trust either phase blindly.
|
|
77
|
+
- Cite file paths and line numbers for every ruling.
|
|
78
|
+
- If both phases are wrong, say so.
|
|
79
|
+
|
|
80
|
+
**Output:**
|
|
81
|
+
1. Individual rulings for each bug
|
|
82
|
+
2. Summary table: Bug # | Claimed Severity | Ruling | Final Points
|
|
83
|
+
3. **MUST FIX** list: bugs that should be fixed before shipping
|
|
84
|
+
4. **DEFERRED** list: real but cosmetic/low-priority bugs
|
|
85
|
+
|
|
86
|
+
## Deliverable
|
|
87
|
+
|
|
88
|
+
Return the full scorecard with MUST FIX and DEFERRED lists. Include suggested fixes for every MUST FIX item with exact file paths and code snippets.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Code Review — Multi-Pass PR Audit
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: godmode-builder
|
|
5
|
+
taskType: review
|
|
6
|
+
priority: normal
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Code Review: Multi-Pass PR Audit
|
|
10
|
+
|
|
11
|
+
Perform a thorough code review of the specified PR, branch diff, or set of changed files.
|
|
12
|
+
|
|
13
|
+
## Target
|
|
14
|
+
|
|
15
|
+
Review the specified pull request or branch diff. Use `git diff main...HEAD` if no specific PR is given.
|
|
16
|
+
|
|
17
|
+
## Pass 1: CLAUDE.md Compliance
|
|
18
|
+
|
|
19
|
+
Read the project's CLAUDE.md and check all changes against it:
|
|
20
|
+
- Coding guardrails (TypeScript ESM, error objects, no `any`, path validation)
|
|
21
|
+
- Dependency policy (no monorepo imports, minimal runtime deps)
|
|
22
|
+
- Scope boundaries (never build CRM, calendar, etc.)
|
|
23
|
+
- Anti-bloat rule (no permanent context injection)
|
|
24
|
+
|
|
25
|
+
## Pass 2: Bug Scan
|
|
26
|
+
|
|
27
|
+
Shallow scan for obvious bugs in the changed code:
|
|
28
|
+
- Focus on LARGE bugs — skip nitpicks a linter would catch
|
|
29
|
+
- Check for data loss, security issues, incorrect logic, race conditions
|
|
30
|
+
- Ignore pre-existing issues (only flag what the diff introduced)
|
|
31
|
+
|
|
32
|
+
## Pass 3: Error Handling Audit
|
|
33
|
+
|
|
34
|
+
Check every error handler in the changed code:
|
|
35
|
+
- Empty catch blocks (forbidden)
|
|
36
|
+
- Catch blocks that silently swallow errors
|
|
37
|
+
- Missing error logging or user feedback
|
|
38
|
+
- Broad exception catching that hides unrelated errors
|
|
39
|
+
- Fallback logic that masks real problems
|
|
40
|
+
|
|
41
|
+
## Pass 4: Historical Context
|
|
42
|
+
|
|
43
|
+
Check git blame for the modified files:
|
|
44
|
+
- Are any changes reverting previous intentional fixes?
|
|
45
|
+
- Do comments in the code warn against the kind of change being made?
|
|
46
|
+
- Have previous PRs touching these files had issues?
|
|
47
|
+
|
|
48
|
+
## Pass 5: Confidence Filter
|
|
49
|
+
|
|
50
|
+
For each issue found in passes 1-4, score confidence 0-100:
|
|
51
|
+
- 0: False positive, doesn't hold up
|
|
52
|
+
- 25: Might be real, might not
|
|
53
|
+
- 50: Real but minor/nitpick
|
|
54
|
+
- 75: Verified real, important, will hit in practice
|
|
55
|
+
- 100: Definitely real, will happen frequently
|
|
56
|
+
|
|
57
|
+
**Filter out everything below 75.**
|
|
58
|
+
|
|
59
|
+
## Deliverable
|
|
60
|
+
|
|
61
|
+
For each surviving issue:
|
|
62
|
+
1. **File + line number**
|
|
63
|
+
2. **Severity**: CRITICAL / HIGH / MEDIUM
|
|
64
|
+
3. **Category**: compliance / bug / error-handling / regression
|
|
65
|
+
4. **Description**: What's wrong and why it matters
|
|
66
|
+
5. **Suggestion**: How to fix it
|
|
67
|
+
|
|
68
|
+
End with a summary: X issues found (Y critical, Z high, W medium).
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Code Simplify — Quality & Clarity Pass
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: godmode-builder
|
|
5
|
+
taskType: coding
|
|
6
|
+
priority: normal
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Code Simplify: Quality & Clarity Pass
|
|
10
|
+
|
|
11
|
+
Review recently changed code for reuse opportunities, quality issues, and unnecessary complexity — then fix what you find.
|
|
12
|
+
|
|
13
|
+
## Target
|
|
14
|
+
|
|
15
|
+
Simplify the specified files or the most recently changed files (use `git diff --name-only main...HEAD`).
|
|
16
|
+
|
|
17
|
+
## What to Look For
|
|
18
|
+
|
|
19
|
+
### Reduce Complexity
|
|
20
|
+
- Unnecessary nesting (flatten early returns)
|
|
21
|
+
- Redundant conditions or duplicate logic
|
|
22
|
+
- Over-engineered abstractions for one-time operations
|
|
23
|
+
- Dead code paths or unused variables/imports
|
|
24
|
+
|
|
25
|
+
### Improve Clarity
|
|
26
|
+
- Unclear variable or function names
|
|
27
|
+
- Dense one-liners that sacrifice readability
|
|
28
|
+
- Nested ternaries (prefer if/else or switch)
|
|
29
|
+
- Missing or misleading comments on non-obvious logic
|
|
30
|
+
|
|
31
|
+
### Consolidate
|
|
32
|
+
- Duplicated code blocks that should be a shared helper
|
|
33
|
+
- Copy-paste patterns across files
|
|
34
|
+
- Inconsistent approaches to the same problem
|
|
35
|
+
|
|
36
|
+
### Preserve
|
|
37
|
+
- NEVER change what the code does — only how it does it
|
|
38
|
+
- Don't remove helpful abstractions that aid organization
|
|
39
|
+
- Don't create premature abstractions (3 similar lines > 1 clever function)
|
|
40
|
+
- Don't add features, types, or docstrings beyond what's needed
|
|
41
|
+
|
|
42
|
+
## Process
|
|
43
|
+
|
|
44
|
+
1. Read the changed files and understand what they do
|
|
45
|
+
2. Identify simplification opportunities (list them)
|
|
46
|
+
3. Apply fixes — one logical change at a time
|
|
47
|
+
4. Run `pnpm build && pnpm typecheck` to verify nothing broke
|
|
48
|
+
|
|
49
|
+
## Deliverable
|
|
50
|
+
|
|
51
|
+
For each change made:
|
|
52
|
+
1. **File + line range**
|
|
53
|
+
2. **What changed**: before → after summary
|
|
54
|
+
3. **Why**: clarity / dedup / dead code / complexity reduction
|
|
55
|
+
|
|
56
|
+
End with: build status (pass/fail) and total changes made.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Weekly Competitor Scan
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: weekly monday 8am
|
|
5
|
+
persona: researcher
|
|
6
|
+
taskType: research
|
|
7
|
+
priority: low
|
|
8
|
+
---
|
|
9
|
+
Research the latest developments from competitors and the broader AI assistant market.
|
|
10
|
+
|
|
11
|
+
1. Search for news about: personal AI assistants, AI productivity tools, agent frameworks
|
|
12
|
+
2. Check for new product launches, feature updates, or funding announcements
|
|
13
|
+
3. Focus on: what they're doing that we should learn from, what they're missing that we do well
|
|
14
|
+
4. Summarize in 3 sections:
|
|
15
|
+
- Market Moves (what happened this week)
|
|
16
|
+
- Opportunities (gaps we could fill)
|
|
17
|
+
- Threats (things that could affect our positioning)
|
|
18
|
+
5. Keep it to 1 page. Cite all sources with URLs.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Daily Standup Prep
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: weekdays 8am
|
|
5
|
+
persona: meeting-prep
|
|
6
|
+
taskType: analysis
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Prepare a daily standup summary for the user's morning.
|
|
10
|
+
|
|
11
|
+
1. Review yesterday's activity:
|
|
12
|
+
- Completed tasks and queue items
|
|
13
|
+
- Meeting notes and action items from yesterday
|
|
14
|
+
- Any commits, PRs, or shipped work
|
|
15
|
+
2. Review today's calendar for scheduled meetings and deadlines
|
|
16
|
+
3. Check the task list for items due today or overdue
|
|
17
|
+
4. Prepare a concise standup format:
|
|
18
|
+
- **Yesterday:** 3-5 bullet points of what was accomplished
|
|
19
|
+
- **Today:** 3-5 bullet points of what's planned
|
|
20
|
+
- **Blockers:** Anything that needs attention or is stuck
|
|
21
|
+
5. Keep it tight — this should be readable in 30 seconds
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Daily Inbox Sweep
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: daily 7am
|
|
5
|
+
persona: ops-runner
|
|
6
|
+
taskType: ops
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Process the GodMode inbox and organize new items.
|
|
10
|
+
|
|
11
|
+
1. Check ~/godmode/memory/inbox/ for new files
|
|
12
|
+
2. For each file:
|
|
13
|
+
- Read the content and categorize (agent output, note, task, reference)
|
|
14
|
+
- If it's an agent output: check if it has a corresponding queue item, summarize the result
|
|
15
|
+
- If it's a note: move to appropriate vault folder based on content
|
|
16
|
+
3. Create a brief summary of what was processed
|
|
17
|
+
4. Flag any items that need user attention
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Monthly Bill Review
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: monthly 1st 9am
|
|
5
|
+
persona: finance-admin
|
|
6
|
+
taskType: analysis
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Review the past month's expenses and financial activity.
|
|
10
|
+
|
|
11
|
+
1. Gather all available financial data for the previous month
|
|
12
|
+
2. Categorize expenses: subscriptions, utilities, one-time purchases, business, personal
|
|
13
|
+
3. Flag:
|
|
14
|
+
- Any charges significantly higher than usual
|
|
15
|
+
- New subscriptions or recurring charges that started this month
|
|
16
|
+
- Duplicate or suspicious charges
|
|
17
|
+
- Subscriptions the user may have forgotten about
|
|
18
|
+
4. Compare total spend against the previous month and 3-month average
|
|
19
|
+
5. Summarize in a clean table with categories, amounts, and month-over-month change
|
|
20
|
+
6. End with action items: things to cancel, dispute, or investigate
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Pattern Scout
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: daily 6am
|
|
5
|
+
persona: researcher
|
|
6
|
+
taskType: research
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Scout the AI ecosystem for patterns worth absorbing into GodMode (P10: Absorb patterns, not tools).
|
|
10
|
+
|
|
11
|
+
## Mission
|
|
12
|
+
|
|
13
|
+
You are GodMode's pattern scout. Your job is to find new AI tools, frameworks, and techniques — then identify which **patterns** are worth absorbing. You never recommend integrating a tool directly. You recommend absorbing its core insight as a file or thin engine hook.
|
|
14
|
+
|
|
15
|
+
## Process
|
|
16
|
+
|
|
17
|
+
### 1. Gather signals
|
|
18
|
+
|
|
19
|
+
**Bookmarks** — Read the user's recent X bookmarks for AI-related saves:
|
|
20
|
+
- Use `x.bookmarks` to fetch recent bookmarks
|
|
21
|
+
- Filter for AI/ML/agents/LLM-related content
|
|
22
|
+
- Extract: tool name, what it does, why it's interesting
|
|
23
|
+
|
|
24
|
+
**X Intelligence** — Search for what's hot in AI right now:
|
|
25
|
+
- Use `x.search` with queries: "new AI tool", "open source AI", "AI agent framework", "LLM technique"
|
|
26
|
+
- Check timelines of key accounts: @kaboroevich, @karpathy, @swyx, @alexalbert__, @jxnlco, @simonw
|
|
27
|
+
- Look for tools/papers with high engagement (lots of replies, quotes)
|
|
28
|
+
|
|
29
|
+
**Vault context** — Check what GodMode already has:
|
|
30
|
+
- Use `secondBrain.search` for "pattern absorption", "session distiller", "skill cards"
|
|
31
|
+
- Understand current capabilities so you don't recommend patterns we already have
|
|
32
|
+
|
|
33
|
+
### 2. Evaluate each signal
|
|
34
|
+
|
|
35
|
+
For each interesting tool/technique found, answer:
|
|
36
|
+
|
|
37
|
+
1. **What is the core pattern?** (one sentence — the reusable insight, not the tool)
|
|
38
|
+
2. **Does GodMode already have this?** (check existing skill cards, services, architecture)
|
|
39
|
+
3. **How would it be absorbed?** (skill card? persona? engine hook? recipe?)
|
|
40
|
+
4. **What existing primitives would it use?** (heartbeat, vault-capture, queue, Mem0, identity graph, etc.)
|
|
41
|
+
5. **Effort estimate:** trivial (just a file) / small (file + thin wiring) / medium (new engine hook)
|
|
42
|
+
6. **Value:** How much better does GodMode get? (high / medium / low)
|
|
43
|
+
|
|
44
|
+
Only keep signals that score medium+ value AND aren't already covered.
|
|
45
|
+
|
|
46
|
+
### 3. Write the absorption plan
|
|
47
|
+
|
|
48
|
+
Create a markdown file at ~/godmode/memory/inbox/pattern-scout-{date}.md with:
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
---
|
|
52
|
+
type: pattern-scout
|
|
53
|
+
source: cron
|
|
54
|
+
status: inbox
|
|
55
|
+
scoutedAt: {ISO date}
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
# Pattern Scout Report — {date}
|
|
59
|
+
|
|
60
|
+
## Signals Scanned
|
|
61
|
+
- {N} bookmarks checked
|
|
62
|
+
- {N} X searches performed
|
|
63
|
+
- {N} timelines scanned
|
|
64
|
+
|
|
65
|
+
## Patterns Worth Absorbing
|
|
66
|
+
|
|
67
|
+
### 1. {Pattern Name}
|
|
68
|
+
- **Source:** {tool/paper name + link}
|
|
69
|
+
- **Core pattern:** {one sentence}
|
|
70
|
+
- **GodMode status:** Not yet absorbed / Partially covered by {existing thing}
|
|
71
|
+
- **Absorption plan:** {skill card / persona / engine hook}
|
|
72
|
+
- **Uses:** {existing primitives it would leverage}
|
|
73
|
+
- **Effort:** {trivial / small / medium}
|
|
74
|
+
- **Value:** {high / medium / low}
|
|
75
|
+
|
|
76
|
+
### 2. {Pattern Name}
|
|
77
|
+
...
|
|
78
|
+
|
|
79
|
+
## Already Covered (skip these)
|
|
80
|
+
- {Tool} → already absorbed as {existing feature}
|
|
81
|
+
|
|
82
|
+
## Recommendation
|
|
83
|
+
{1-2 sentences on what to build first and why}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 4. Rules
|
|
87
|
+
|
|
88
|
+
- **NEVER recommend integrating a tool directly.** Always extract the pattern.
|
|
89
|
+
- **NEVER recommend building something that violates the scope boundaries** (no CRM, no file explorer, no PM tool, no email client, etc.)
|
|
90
|
+
- **Prefer files over code.** If a pattern can be a skill card or persona, that's the answer.
|
|
91
|
+
- **Reference P10 explicitly** in every recommendation.
|
|
92
|
+
- **Be honest about effort.** Don't underestimate. If something needs real engine work, say so.
|
|
93
|
+
- **Max 5 patterns per report.** Quality over quantity. If nothing's worth absorbing today, say so.
|
|
94
|
+
- **Check the existing skill-drafts directory** (~/godmode/memory/skill-drafts/) — the session distiller may have already captured related patterns from conversations.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Quarterly Review
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: quarterly
|
|
5
|
+
persona: executive-briefer
|
|
6
|
+
taskType: analysis
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Prepare a comprehensive quarterly review of goals, metrics, and priorities.
|
|
10
|
+
|
|
11
|
+
1. Review goals set at the start of the quarter:
|
|
12
|
+
- Status of each goal: completed, in progress, abandoned, or missed
|
|
13
|
+
- Key milestones hit or missed with dates
|
|
14
|
+
2. Gather key metrics:
|
|
15
|
+
- Revenue or financial performance if available
|
|
16
|
+
- Productivity metrics: tasks completed, sessions logged, content shipped
|
|
17
|
+
- Health metrics if tracked: exercise frequency, sleep patterns, habits
|
|
18
|
+
3. Highlight the quarter's wins — what went well and why
|
|
19
|
+
4. Identify misses — what didn't happen and the root cause
|
|
20
|
+
5. Surface patterns: recurring blockers, consistently strong areas, emerging trends
|
|
21
|
+
6. Draft next quarter priorities:
|
|
22
|
+
- Top 3 goals with measurable targets
|
|
23
|
+
- Key risks to watch
|
|
24
|
+
- One habit to start, one to stop, one to continue
|
|
25
|
+
7. Format as a 1-page executive brief with sections, not a wall of text
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Silent Failure Audit — Error Handling Review
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: godmode-builder
|
|
5
|
+
taskType: review
|
|
6
|
+
priority: normal
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Silent Failure Audit
|
|
10
|
+
|
|
11
|
+
Hunt for silent failures, inadequate error handling, and dangerous fallback behavior in the specified code.
|
|
12
|
+
|
|
13
|
+
## Target
|
|
14
|
+
|
|
15
|
+
Audit the specified files, PR, or directory. If none given, audit `src/` in the GodMode plugin.
|
|
16
|
+
|
|
17
|
+
## What to Find
|
|
18
|
+
|
|
19
|
+
### Silent Failures (CRITICAL)
|
|
20
|
+
- Empty catch blocks
|
|
21
|
+
- Catch blocks that log but continue without surfacing the error
|
|
22
|
+
- Returning null/undefined/default on error without logging
|
|
23
|
+
- Optional chaining (`?.`) that silently skips operations that SHOULD fail loudly
|
|
24
|
+
- Retry logic that exhausts attempts without informing anyone
|
|
25
|
+
|
|
26
|
+
### Inadequate Error Handling (HIGH)
|
|
27
|
+
- Generic error messages ("Something went wrong") with no actionable detail
|
|
28
|
+
- Catch blocks that catch ALL exceptions when they should catch specific types
|
|
29
|
+
- Missing context in error logs (no operation name, no relevant IDs, no state)
|
|
30
|
+
- Errors logged at wrong severity (using debug for production issues)
|
|
31
|
+
|
|
32
|
+
### Dangerous Fallbacks (HIGH)
|
|
33
|
+
- Fallback behavior that masks the real problem
|
|
34
|
+
- Returning mock/stub data outside of test code
|
|
35
|
+
- Fallback chains that try multiple approaches without explaining why
|
|
36
|
+
- Default values on failure that could cause downstream confusion
|
|
37
|
+
|
|
38
|
+
### Error Propagation Issues (MEDIUM)
|
|
39
|
+
- Errors caught too early (should bubble up to a higher handler)
|
|
40
|
+
- Swallowed errors that prevent proper cleanup
|
|
41
|
+
- Error type information lost during re-throwing
|
|
42
|
+
|
|
43
|
+
## For Each Issue Found
|
|
44
|
+
|
|
45
|
+
1. **Location**: File path and line number(s)
|
|
46
|
+
2. **Severity**: CRITICAL / HIGH / MEDIUM
|
|
47
|
+
3. **Issue**: What's wrong and why it's dangerous
|
|
48
|
+
4. **Hidden errors**: What unexpected errors could be caught and suppressed here
|
|
49
|
+
5. **User impact**: How this affects debugging or user experience
|
|
50
|
+
6. **Fix**: Specific code change needed (show before → after)
|
|
51
|
+
|
|
52
|
+
## Deliverable
|
|
53
|
+
|
|
54
|
+
1. Numbered list of all issues with fixes
|
|
55
|
+
2. Summary: X issues (Y critical, Z high, W medium)
|
|
56
|
+
3. **MUST FIX** list: silent failures and dangerous fallbacks
|
|
57
|
+
4. **IMPROVE** list: inadequate but non-critical error handling
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Weekly Content Generation
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: weekly tuesday 9am
|
|
5
|
+
persona: content-writer
|
|
6
|
+
taskType: creative
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Generate this week's content based on the user's recent activity, meetings, and notes.
|
|
10
|
+
|
|
11
|
+
1. Review the past 7 days of daily notes in the vault
|
|
12
|
+
2. Identify 3-5 interesting topics, insights, or lessons learned
|
|
13
|
+
3. Create:
|
|
14
|
+
- 5 social media posts (Twitter/X format, punchy, authentic voice)
|
|
15
|
+
- 1 blog post outline with key points
|
|
16
|
+
- 1 newsletter draft (if the user has a newsletter)
|
|
17
|
+
4. All content should sound like the user, not like AI
|
|
18
|
+
5. Reference specific events, meetings, or insights from the week
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Weekly Life Admin Review
|
|
3
|
+
trigger: cron
|
|
4
|
+
schedule: weekly sunday 7pm
|
|
5
|
+
persona: life-admin
|
|
6
|
+
taskType: task
|
|
7
|
+
priority: normal
|
|
8
|
+
---
|
|
9
|
+
Review the upcoming week and flag any personal logistics that need attention.
|
|
10
|
+
|
|
11
|
+
1. Check the calendar for the next 7 days:
|
|
12
|
+
- Appointments that need preparation (documents, directions, items to bring)
|
|
13
|
+
- Scheduling conflicts or tight transitions between events
|
|
14
|
+
2. Review recurring obligations:
|
|
15
|
+
- Bills due this week
|
|
16
|
+
- Subscriptions renewing
|
|
17
|
+
- Registrations or licenses expiring within 30 days
|
|
18
|
+
3. Check for upcoming dates:
|
|
19
|
+
- Birthdays or anniversaries in the next 14 days
|
|
20
|
+
- Holidays or school closures that affect scheduling
|
|
21
|
+
4. Review any pending errands or tasks from the previous week
|
|
22
|
+
5. Summarize as a checklist organized by day, with the most time-sensitive items first
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# GodMode Development Workspace
|
|
2
|
+
|
|
3
|
+
## Architecture
|
|
4
|
+
Read `docs/GODMODE-META-ARCHITECTURE.md` — the definitive product blueprint.
|
|
5
|
+
|
|
6
|
+
## Golden Rules
|
|
7
|
+
1. Code as little as possible — can this be a file? If yes, don't write TypeScript.
|
|
8
|
+
2. Conduct, don't rebuild — GodMode connects to existing tools, never replaces them.
|
|
9
|
+
3. Meta-agent pattern — ally crafts prompts for sub-agents. Quality scales through prompt quality.
|
|
10
|
+
|
|
11
|
+
## Conventions
|
|
12
|
+
- TypeScript ESM only
|
|
13
|
+
- `pnpm build && pnpm typecheck` before committing
|
|
14
|
+
- Feature branches, never commit to main
|
|
15
|
+
- Update RECENT-CHANGES.md after every session
|
|
16
|
+
|
|
17
|
+
## Team Workflow
|
|
18
|
+
1. Pick an issue or task from the board
|
|
19
|
+
2. Create a feature branch
|
|
20
|
+
3. Have your ally scope the work
|
|
21
|
+
4. Implement with your ally's help
|
|
22
|
+
5. Build + typecheck pass
|
|
23
|
+
6. Create PR for review
|
|
24
|
+
7. Another team member's ally reviews the PR
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Build Verification
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: ops-runner
|
|
5
|
+
taskType: ops
|
|
6
|
+
priority: high
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Run full build verification on the current branch.
|
|
10
|
+
|
|
11
|
+
1. Run `pnpm build` — capture output
|
|
12
|
+
2. Run `pnpm typecheck` — capture output
|
|
13
|
+
3. Run `pnpm build:ui && pnpm ui:sync` — capture output
|
|
14
|
+
4. Search for forbidden imports: `rg "\.\./\.\./\.\./\.\./src/" -n`
|
|
15
|
+
5. Check for any uncommitted changes that should be staged
|
|
16
|
+
6. Report: PASS or FAIL with specific errors
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Code Review
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: evidence-collector
|
|
5
|
+
taskType: review
|
|
6
|
+
priority: normal
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Review the specified pull request or branch diff.
|
|
10
|
+
|
|
11
|
+
1. Read all changed files completely
|
|
12
|
+
2. Check against GodMode architecture rules (CLAUDE.md, META-ARCHITECTURE.md)
|
|
13
|
+
3. Check for: scope creep, missing error handling, type safety, path validation
|
|
14
|
+
4. Check the Three Golden Rules are not violated
|
|
15
|
+
5. Provide verdict: APPROVE, REQUEST CHANGES, or NEEDS DISCUSSION
|
|
16
|
+
6. List specific issues with file paths and line numbers
|
|
17
|
+
7. Note anything that could break the build or existing functionality
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Create GodMode Skill
|
|
3
|
+
trigger: manual
|
|
4
|
+
persona: ops-runner
|
|
5
|
+
taskType: ops
|
|
6
|
+
priority: normal
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Create a new GodMode skill file. Follow the Anthropic skill-creator methodology.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. **Capture intent** — What should this skill do? When should it trigger? What's the output?
|
|
14
|
+
2. **Research** — Check existing skills in `assets/skills/` for patterns. Check agent roster in `assets/agent-roster/` for the right persona.
|
|
15
|
+
3. **Write the skill** — Create a markdown file with YAML frontmatter:
|
|
16
|
+
- `name`: Human-readable name
|
|
17
|
+
- `trigger`: `manual`, `cron`, or `event`
|
|
18
|
+
- `schedule`: Cron expression if trigger is `cron` (e.g., "daily 9am", "weekly monday 9am", "every 4h")
|
|
19
|
+
- `persona`: Which agent-roster persona runs this (e.g., `researcher`, `content-writer`, `ops-runner`)
|
|
20
|
+
- `taskType`: Queue item type (e.g., `research`, `creative`, `ops`, `analysis`, `task`)
|
|
21
|
+
- `priority`: `high`, `normal`, or `low`
|
|
22
|
+
4. **Test** — Queue the skill manually and verify the output meets expectations.
|
|
23
|
+
5. **Iterate** — Refine the instructions based on agent output quality.
|
|
24
|
+
|
|
25
|
+
## Quality Checklist
|
|
26
|
+
|
|
27
|
+
- [ ] Instructions are specific enough that any agent can follow them without clarification
|
|
28
|
+
- [ ] Evidence requirements are defined (how do you know the output is good?)
|
|
29
|
+
- [ ] The right persona is assigned (check `assets/agent-roster/` for capabilities)
|
|
30
|
+
- [ ] Schedule makes sense for the task cadence
|
|
31
|
+
- [ ] No scope creep — if this needs TypeScript, it's not a skill, it's engine code
|
|
32
|
+
|
|
33
|
+
## Reference
|
|
34
|
+
|
|
35
|
+
Anthropic's official skill-creator methodology: `github.com/anthropics/skills/tree/main/skills/skill-creator`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "GodMode",
|
|
3
|
+
"slug": "godmode",
|
|
4
|
+
"type": "development",
|
|
5
|
+
"description": "GodMode plugin development — shared architecture, conventions, and dev tools",
|
|
6
|
+
"gitRemote": "git@github.com:godmode-team/godmode.git",
|
|
7
|
+
"syncEnabled": true,
|
|
8
|
+
"syncInterval": 300,
|
|
9
|
+
"paths": {
|
|
10
|
+
"root": "",
|
|
11
|
+
"memory": "~/godmode/workspaces/godmode/memory",
|
|
12
|
+
"skills": "~/godmode/workspaces/godmode/skills",
|
|
13
|
+
"personas": "~/godmode/workspaces/godmode/agent-roster",
|
|
14
|
+
"artifacts": "~/godmode/workspaces/godmode/artifacts"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
async function s(r,d){if(!r.client||!r.connected){r.dashboardsError="Not connected to gateway";return}r.dashboardsLoading=!0,r.dashboardsError=null;try{const a=await r.client.request("dashboards.list",d?{scope:d}:{});r.dashboardsList=a.dashboards,r.activeDashboardId=a.activeDashboard}catch(a){r.dashboardsError=a instanceof Error?a.message:"Failed to load dashboards"}finally{r.dashboardsLoading=!1}}async function i(r,d){if(!r.client||!r.connected){r.dashboardsError="Not connected to gateway";return}r.dashboardsLoading=!0,r.dashboardsError=null;try{const a=await r.client.request("dashboards.get",{id:d});r.activeDashboardId=d,r.activeDashboardManifest=a.manifest,r.activeDashboardHtml=a.html}catch(a){r.dashboardsError=a instanceof Error?a.message:"Failed to load dashboard"}finally{r.dashboardsLoading=!1}}async function e(r,d){if(!r.client||!r.connected)return;const a=(r.dashboardsList??[]).find(o=>o.id===d);if(!a)return;const n=!a.pinned;try{await r.client.request("dashboards.save",{id:a.id,title:a.title,description:a.description,scope:a.scope,pinned:n}),a.pinned=n,r.dashboardsList=[...r.dashboardsList??[]]}catch(o){r.dashboardsError=o instanceof Error?o.message:"Failed to toggle pin"}}async function c(r,d){if(!r.client||!r.connected)return!1;try{return await r.client.request("dashboards.remove",{id:d}),r.dashboardsList=(r.dashboardsList??[]).filter(a=>a.id!==d),r.activeDashboardId===d&&(r.activeDashboardId=null,r.activeDashboardHtml=null,r.activeDashboardManifest=null),!0}catch(a){return r.dashboardsError=a instanceof Error?a.message:"Failed to delete dashboard",!1}}export{c as deleteDashboard,i as loadDashboard,s as loadDashboards,e as toggleDashboardPin};
|