BhodiSea/next-expo-supabase-agent-harness
A CLI that scaffolds a Next.js and Expo (React Native) monorepo on Supabase, with Claude Code hooks and CI gates that block an agent turn or a merge until validation passes.
field: unknown workflow: PR / code reviewSecurity reviewFrontend & designTesting & TDDData / ETL runs claude in CI
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
up to ~11.1k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · Sandbox or ask-first rules · details
Quality 54/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit BhodiSea/next-expo-supabase-agent-harness/.claude ./rig-next-expo-supabase-agent-harness # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit BhodiSea/next-expo-supabase-agent-harness/plugin/skills/authoring-e2ee-feature .claude/skills/authoring-e2ee-feature $ npx degit BhodiSea/next-expo-supabase-agent-harness/plugin/skills/authoring-vertical-slice .claude/skills/authoring-vertical-slice $ npx degit BhodiSea/next-expo-supabase-agent-harness/plugin/skills/designing-mobile-ui .claude/skills/designing-mobile-ui
$ curl -fsSL --create-dirs -o .claude/agents/accessibility-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/accessibility-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/architecture-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/architecture-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/citation-verifier.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/citation-verifier.md $ curl -fsSL --create-dirs -o .claude/agents/dal-author.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/dal-author.md $ curl -fsSL --create-dirs -o .claude/agents/design-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/design-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/migration-rls-author.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/migration-rls-author.md $ curl -fsSL --create-dirs -o .claude/agents/mobile-security-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/mobile-security-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/security-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/test-author.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/test-author.md $ curl -fsSL --create-dirs -o .claude/agents/torvalds-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/torvalds-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/web-security-reviewer.md https://raw.githubusercontent.com/BhodiSea/next-expo-supabase-agent-harness/main/template/base/.claude/agents/web-security-reviewer.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git reset --hard:*)",
"Bash(sudo:*)",
"Read(./**/.env)",
"Read(./**/.env.*)",
"Read(./.dev-auth/**)",
"Read(~/.ssh/**)",
"Read(./**/*.keystore)",
"Read(./**/*.jks)",
"Read(./**/*.p8)",
"Read(./**/*.p12)",
"Read(./**/credentials.json)",
"Bash(curl:*)",
"Bash(wget:*)",
"Bash(rm -rf:*)",
"Bash(rm -fr:*)",
"Bash(rm -Rf:*)",
"Bash(rm -fR:*)",
"Bash(rm -r -f:*)",
"Bash(rm -R -f:*)",
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git reset --hard:*)",
"Bash(pnpm exec expo prebuild*)",
"Bash(eas credentials:*)",
"Read(./.env)",
"Read(./.env.local)",
"Read(./.env.*.local)",
"Read(./**/.env)",
"Read(./**/.env.local)",
"Read(./**/.env.*.local)",
"Read(./.dev-auth/**)",
"Read(./**/*.keystore)",
"Read(./**/*.jks)",
"Read(./**/*.p8)",
"Read(./**/*.p12)",
"Read(./**/*.mobileprovision)",
"Read(./**/google-services.json)",
"Read(./**/GoogleService-Info.plist)",
"Read(./**/credentials.json)",
"Read(~/.ssh/**)",
"Edit(~/.claude/settings.json)",
"Write(~/.claude/settings.json)",
"Edit(~/.claude/settings.local.json)",
"Write(~/.claude/settings.local.json)",
"Edit(./.claude/hooks/**)",
"Write(./.claude/hooks/**)",
"Edit(./.claude/settings.json)",
"Write(./.claude/settings.json)",
"Edit(./.claude/settings.local.json)",
"Write(./.claude/settings.local.json)",
"Edit(./.mcp.json)",
"Write(./.mcp.json)",
"Edit(./.harness/**)",
"Write(./.harness/**)",
"Edit(./apps/mobile/android/**)",
"Write(./apps/mobile/android/**)",
"Edit(./apps/mobile/ios/**)",
"Write(./apps/mobile/ios/**)"
],
"ask": [
"Bash(git push --force-with-lease:*)",
"Bash(git push --delete:*)",
"Bash(git tag -d:*)",
"Bash(git clean:*)",
"Bash(rm -rf ~:*)",
"Bash(rm -rf /Users:*)",
"Bash(rm -rf .:*)",
"Bash(rm -rf ..:*)",
"Bash(npm publish:*)",
"Bash(pnpm publish:*)",
"Bash(gh release delete:*)",
"Bash(gh repo delete:*)",
"Bash(docker compose down -v:*)",
"Bash(docker volume rm:*)",
"Bash(docker volume prune:*)",
"Bash(docker system prune:*)",
"Bash(git push --force-with-lease:*)",
"Bash(git push --delete:*)",
"Bash(git tag -d:*)",
"Bash(git clean:*)",
"Bash(docker compose down -v:*)",
"Bash(docker volume rm:*)",
"Bash(docker volume prune:*)",
"Bash(docker system prune:*)",
"Bash(pnpm publish:*)",
"Bash(npm publish:*)",
"Bash(sudo:*)",
"Bash(eas build:*)",
"Bash(eas submit:*)",
"Bash(eas update:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Monitor|PowerShell",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/pretool-bash-guard.mjs\""
},
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs\" pretool-bash-guard.mjs"
}
]
},
{
"matcher": "Edit|Write|MultiEdit|NotebookEdit",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/pretool-write-guard.mjs\""
},
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs\" pretool-write-guard.mjs"
}
]
},
{
"matcher": "mcp__.*",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs\" pretool-mcp-guard.mjs"
}
]
}
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| corpus_search | local / custom | 2.5k |
| rls_verify | local / custom | 2.5k |
Skills (3)
Subagents (11)
| accessibility-reviewer model: sonnet | > |
| architecture-reviewer model: fable | > |
| citation-verifier model: sonnet | > |
| dal-author model: opus | > |
| design-reviewer model: sonnet | > |
| migration-rls-author model: opus | > |
| mobile-security-reviewer model: opus | > |
| security-reviewer model: opus | > |
| test-author model: sonnet | > |
| torvalds-reviewer model: opus | > |
| web-security-reviewer model: opus | > |
Hooks (14)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash|Monitor|PowerShell | node "$CLAUDE_PROJECT_DIR/.claude/hooks/pretool-bash-guard.mjs" |
| PreToolUse | Edit|Write|MultiEdit|NotebookEdit | node "$CLAUDE_PROJECT_DIR/.claude/hooks/pretool-write-guard.mjs" |
| Stop | * | node "$CLAUDE_PROJECT_DIR/.claude/hooks/stop-factory-gate.mjs" |
| PostToolUse | Edit|Write|MultiEdit|NotebookEdit | node "$CLAUDE_PROJECT_DIR/.claude/hooks/posttool-factory-check.mjs" |
| SessionStart | startup|resume | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start-cloud.sh" |
| PostToolUse | Edit|Write|MultiEdit | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" posttool-fast-check.mjs |
| PostToolUse | Edit|Write|MultiEdit | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" posttool-source-check.mjs |
| PreToolUse | Bash|Monitor|PowerShell | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" pretool-bash-guard.mjs |
| PreToolUse | Edit|Write|MultiEdit|NotebookEdit | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" pretool-write-guard.mjs |
| PreToolUse | mcp__.* | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" pretool-mcp-guard.mjs |
| SessionStart | * | node "$CLAUDE_PROJECT_DIR/.claude/hooks/session-brief.mjs" |
| Stop | * | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" stop-validate-gate.mjs |
| SubagentStart | * | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" subagent-verdict.mjs |
| SubagentStop | * | node "$CLAUDE_PROJECT_DIR/.claude/hooks/launch.mjs" subagent-verdict.mjs |
Slash commands (7)
/adr/new-action/new-feature/new-migration/rls-check/verify-citations/verify-invariants
Permissions
deny (60)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git reset --hard:*)
Bash(sudo:*)
Read(./**/.env)
Read(./**/.env.*)
Read(./.dev-auth/**)
Read(~/.ssh/**)
Read(./**/*.keystore)
Read(./**/*.jks)
Read(./**/*.p8)
Read(./**/*.p12)
Read(./**/credentials.json)
Bash(curl:*)
Bash(wget:*)
Bash(rm -rf:*)
Bash(rm -fr:*)
Bash(rm -Rf:*)
Bash(rm -fR:*)
Bash(rm -r -f:*)
Bash(rm -R -f:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git reset --hard:*)
Bash(pnpm exec expo prebuild*)
Bash(eas credentials:*)
Read(./.env)
Read(./.env.local)
Read(./.env.*.local)
Read(./**/.env)
Read(./**/.env.local)
Read(./**/.env.*.local)
Read(./.dev-auth/**)
Read(./**/*.keystore)
Read(./**/*.jks)
Read(./**/*.p8)
Read(./**/*.p12)
Read(./**/*.mobileprovision)
Read(./**/google-services.json)
Read(./**/GoogleService-Info.plist)
Read(./**/credentials.json)
Read(~/.ssh/**)
Edit(~/.claude/settings.json)
Write(~/.claude/settings.json)
Edit(~/.claude/settings.local.json)
Write(~/.claude/settings.local.json)
Edit(./.claude/hooks/**)
Write(./.claude/hooks/**)
Edit(./.claude/settings.json)
Write(./.claude/settings.json)
Edit(./.claude/settings.local.json)
Write(./.claude/settings.local.json)
Edit(./.mcp.json)
Write(./.mcp.json)
Edit(./.harness/**)
Write(./.harness/**)
Edit(./apps/mobile/android/**)
Write(./apps/mobile/android/**)
Edit(./apps/mobile/ios/**)
Write(./apps/mobile/ios/**)
ask (30)
Bash(git push --force-with-lease:*)
Bash(git push --delete:*)
Bash(git tag -d:*)
Bash(git clean:*)
Bash(rm -rf ~:*)
Bash(rm -rf /Users:*)
Bash(rm -rf .:*)
Bash(rm -rf ..:*)
Bash(npm publish:*)
Bash(pnpm publish:*)
Bash(gh release delete:*)
Bash(gh repo delete:*)
Bash(docker compose down -v:*)
Bash(docker volume rm:*)
Bash(docker volume prune:*)
Bash(docker system prune:*)
Bash(git push --force-with-lease:*)
Bash(git push --delete:*)
Bash(git tag -d:*)
Bash(git clean:*)
Bash(docker compose down -v:*)
Bash(docker volume rm:*)
Bash(docker volume prune:*)
Bash(docker system prune:*)
Bash(pnpm publish:*)
Bash(npm publish:*)
Bash(sudo:*)
Bash(eas build:*)
Bash(eas submit:*)
Bash(eas update:*)
allow (85)
Bash
Read
WebFetch
WebSearch
Read(//**)
Grep
Glob
WebFetch(domain:supabase.com)
Bash(pnpm install --frozen-lockfile)
Bash(pnpm install --frozen-lockfile --prefer-offline)
Bash(pnpm test)
Bash(GITHUB_BASE_REF=main CI=true pnpm test)
Bash(pnpm exec eslint .)
Bash(pnpm exec eslint . --max-warnings 0)
Bash(pnpm exec tsc --noEmit)
Bash(pnpm exec knip)
Bash(node scripts/check-syntax.mjs)
Bash(node scripts/hygiene.mjs)
Bash(node scripts/check-reuse.mjs)
Bash(node scripts/check-claims.mjs)
Bash(node scripts/check-release-lockstep.mjs)
Bash(node scripts/check-plugin-manifest.mjs)
Bash(node scripts/check-canary-coverage.mjs)
Bash(node scripts/generate-floor.mjs --check)
Bash(node scripts/generate-skill-references.mjs --check)
Bash(node scripts/check-complexity-ratchet.mjs)
Bash(node scripts/check-rule-integrity.mjs)
Bash(node scripts/check-escape-registry.mjs)
Bash(node scripts/check-demo-index.mjs)
Bash(node scripts/check-tier-coverage.mjs)
Bash(node scripts/check-ramp-ledger.mjs)
Bash(node scripts/check-dependency-channel.mjs)
Bash(node scripts/check-obligations.mjs)
Bash(node scripts/check-essential-eight-evidence.mjs)
Bash(node scripts/check-conformance-evidence.mjs)
Bash(node scripts/check-ci-preconditions.mjs)
Bash(node scripts/check-seeded-migrations.mjs)
Bash(node scripts/check-eol-target.mjs)
Bash(node scripts/check-sbom-drift.mjs)
Bash(node scripts/check-released-shas.mjs --verify-tags)
Bash(node installer/cli.mjs init --dir /tmp/scratch --tier core --yes)
Bash(pnpm validate)
Bash(pnpm typecheck)
Bash(pnpm lint)
Bash(pnpm lint:fix)
Bash(pnpm knip)
Bash(pnpm arch)
Bash(pnpm format)
Bash(pnpm test)
Bash(pnpm test:*)
Bash(pnpm exec vitest*)
Bash(pnpm exec jest*)
Bash(pnpm exec biome:*)
Bash(pnpm exec tsc:*)
Bash(pnpm exec eslint*)
Bash(pnpm exec knip*)
Bash(pnpm exec depcruise*)
Bash(pnpm exec expo config*)
Bash(pnpm exec expo export*)
Bash(pnpm exec expo install --check*)
Similar rigs
cogvera-labs/next-expo-supabase-agent-harness
A CLI that scaffolds a Next.js and Expo monorepo on Supabase, with Claude Code hooks that send the agent back to work when a check fails.
YOLO Cowboy 11.1k tok · · Q54
codeverbojan/claude-code-kickstart
Production-grade agentic workflow template for Claude Code. 4-layer architecture, task playbooks, session memory, sub-agents, one-click install.
Orchestrator 10.2k tok · · Q15
Tamircohen28/tamirs-superpowers
A portable agent toolkit — 31 skills, 10 specialist agents, worktree hooks and MCP stubs — shipped from one canonical source to six agent surfaces across five platforms: Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI and OpenCode.
Orchestrator 7.0k tok · · Q18
atsuki-shirasawa/kairos
A personal web app for looking back on your Claude Code session history as a calendar of what you did
Orchestrator 4.1k tok · · Q24