npx claudepluginhub arbazkhan971/godmodeThis skill uses the workspace's default tool permissions.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
/godmode:onboard, "explain this codebase"ls package.json Cargo.toml go.mod pyproject.toml \
pom.xml Gemfile *.csproj 2>/dev/null
find . -name "*.ts" -o -name "*.py" -o -name "*.go" \
| grep -v node_modules | wc -l
git log --oneline -20
git log --since="30 days ago" --diff-filter=M \
--pretty=format:"%h %s" | head -10
Name: <from manifest>
Type: web app|API|CLI|library|monorepo|microservice
Language: <primary>
Framework: <detected>
Build: <webpack|vite|tsc|make|cargo>
Tests: <jest|pytest|go test>
LOC: <approximate>
Layer map:
| Layer | Responsibility |
| Routes | URL mapping, response formatting |
| Middleware | Auth, rate limiting, logging |
| Controllers | Validation, orchestration |
| Services | Business logic, domain rules |
| Repositories | Data access, caching |
| Models | Data shapes, relationships |
Data flow:
Client -> LB -> Middleware -> Router -> Controller
-> Service -> Repository -> Database
Read in this order:
1. README.md — setup instructions
2. <entry-point> — bootstrap (main.ts, app.py)
3. <router> — all endpoints
4. <config> — environment, feature flags
5. <core-service> — main business logic
6. <data-model> — primary schema
7. <middleware> — request pipeline
8. <test-example> — testing patterns
IF README missing: note as gap, generate from code. IF > 500 files: focus on 20 most-modified (git log).
Files: PascalCase (components), camelCase (utils)
Variables: camelCase locals, SCREAMING_SNAKE constants
Functions: camelCase, verb prefix (get, create, handle)
Types: PascalCase, I-prefix for interfaces (if TS)
Tests: <name>.test.ts / <name>.spec.ts
Internal: routes->controllers->services->repositories
Shared: utils, config, logger, types
Circular deps: <none | list with file paths>
External:
Critical: <pkg — purpose>
Dev-only: <pkg — purpose>
Stop 1: Entry Point — where everything starts
Stop 2: Configuration — env handling
Stop 3: Core Route — a typical request lifecycle
Stop 4: Data Model — primary entities
Stop 5: Test File — testing patterns and conventions
Project: <type> with <framework>
Size: ~<N> files, ~<N>K lines
Architecture: <monolith|microservices|monorepo>
Pattern: <MVC|Clean|Hexagonal>
Key files: <N> identified
Setup: <N> steps to first run
Append .godmode/onboard-results.tsv:
timestamp repo files_analyzed entry_points status
KEEP if: all claims verified against source code
AND output populated with real data.
DISCARD if: unverified claims OR placeholder text.
STOP when FIRST of:
- Architecture identified + key files documented
- Code tour has 5+ stops
- Dev setup verified (build + test from clean)
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action |
|---|---|
| Build fails | Check system deps, env vars, platform |
| Architecture ambiguous | Check manifest, entry points, infra |
| Monorepo detected | Repeat architecture per workspace |