phatblat/dotfiles
Multi-agent shared harness, nushell function and tool configs.
field: Developer tools workflow: Git & commitsPlanning & specsPR / code reviewDebuggingTesting & TDD
stack: Python
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · Sandbox or ask-first rules · details
Quality 6/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add --transport http todoist https://ai.todoist.net/mcp $ claude mcp add --transport http todoist-automations https://ai.todoist.net/mcp/automations $ claude mcp add --transport http openaiDeveloperDocs https://developers.openai.com/mcp $ npx degit phatblat/dotfiles/.claude ./rig-dotfiles # 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.
$ claude mcp add --transport http todoist https://ai.todoist.net/mcp $ claude mcp add --transport http todoist-automations https://ai.todoist.net/mcp/automations $ claude mcp add --transport http openaiDeveloperDocs https://developers.openai.com/mcp
$ npx degit phatblat/dotfiles/.<redacted>-message-bus .claude/skills/artifact-message-bus $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/aven .claude/skills/aven $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/boris $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/brainstorm $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/cmux-workspace-status .claude/skills/cmux-workspace-status $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/container $ npx degit phatblat/dotfiles/.<redacted>-parallel-agents .claude/skills/dispatching-parallel-agents $ npx degit phatblat/dotfiles/.<redacted>-plans .claude/skills/executing-plans $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/find-docs .claude/skills/find-docs $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/find-skills .claude/skills/find-skills $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/flywheel $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/git-resolve-conflicts .claude/skills/git-resolve-conflicts $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/git-value-scrubbing .claude/skills/git-value-scrubbing $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/graphify $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/grilling $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/homebrew $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/justfile $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/ocr .claude/skills/ocr $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/omp-hooks .claude/skills/omp-hooks $ npx degit phatblat/dotfiles/.<redacted>-committee .claude/skills/paseo-committee $ npx degit phatblat/dotfiles/.<redacted>-help .claude/skills/paseo-help $ npx degit phatblat/dotfiles/.<redacted>-plugin .claude/skills/paseo-plugin $ npx degit phatblat/dotfiles/.<redacted> .claude/skills/paseo $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/pr-style .claude/skills/pr-style $ npx degit phatblat/dotfiles/.<redacted>-code-review .claude/skills/receiving-code-review $ npx degit phatblat/dotfiles/.<redacted>-code-review .claude/skills/requesting-code-review $ npx degit phatblat/dotfiles/.<redacted>-driven-development .claude/skills/subagent-driven-development $ npx degit phatblat/dotfiles/.agents/harness/adapters/antigravity/skills/test-driven-development .claude/skills/test-driven-development $ npx degit phatblat/dotfiles/.<redacted>-ai .claude/skills/typesafe-ai $ npx degit phatblat/dotfiles/.<redacted>-git-worktrees .claude/skills/using-git-worktrees $ npx degit phatblat/dotfiles/.<redacted>-plans .claude/skills/writing-plans $ npx degit phatblat/dotfiles/.agents/skills/2ndbrain .claude/skills/2ndbrain $ npx degit phatblat/dotfiles/.agents/skills/backlog-batch-delivery .claude/skills/backlog-batch-delivery $ npx degit phatblat/dotfiles/.agents/skills/branch-finish .claude/skills/branch-finish $ npx degit phatblat/dotfiles/.agents/skills/ci-fix .claude/skills/ci-fix $ npx degit phatblat/dotfiles/.agents/skills/dupe .claude/skills/dupe $ npx degit phatblat/dotfiles/.agents/skills/gh-stack .claude/skills/gh-stack $ npx degit phatblat/dotfiles/.agents/skills/gha-checks .claude/skills/gha-checks $ npx degit phatblat/dotfiles/.agents/skills/gha-log-reader .claude/skills/gha-log-reader $ npx degit phatblat/dotfiles/.agents/skills/git-cleanup .claude/skills/git-cleanup
$ curl -fsSL --create-dirs -o .claude/agents/ai-sdk-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/ai-sdk-expert.md $ curl -fsSL --create-dirs -o .claude/agents/cli-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/cli-expert.md $ curl -fsSL --create-dirs -o .claude/agents/code-quality-linting-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/code-quality/code-quality-linting-expert.md $ curl -fsSL --create-dirs -o .claude/agents/code-review-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/code-review-expert.md $ curl -fsSL --create-dirs -o .claude/agents/database-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/database/database-expert.md $ curl -fsSL --create-dirs -o .claude/agents/database-postgres-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/database/database-postgres-expert.md $ curl -fsSL --create-dirs -o .claude/agents/devops-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/devops/devops-expert.md $ curl -fsSL --create-dirs -o .claude/agents/frontend-accessibility-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/frontend/frontend-accessibility-expert.md $ curl -fsSL --create-dirs -o .claude/agents/infrastructure-docker-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/infrastructure/infrastructure-docker-expert.md $ curl -fsSL --create-dirs -o .claude/agents/infrastructure-github-actions-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/infrastructure/infrastructure-github-actions-expert.md $ curl -fsSL --create-dirs -o .claude/agents/nestjs-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/nestjs-expert.md $ curl -fsSL --create-dirs -o .claude/agents/nodejs-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/nodejs/nodejs-expert.md $ curl -fsSL --create-dirs -o .claude/agents/refactoring-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/refactoring/refactoring-expert.md $ curl -fsSL --create-dirs -o .claude/agents/research-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/research-expert.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-fact-checker.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-fact-checker.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-final-reviewer.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-final-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-implementer.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-implementer.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-plan-diligence.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-plan-diligence.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-plan-reviewer.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-plan-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-plan-standards.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-plan-standards.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-standards-enforcer.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-standards-enforcer.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-step-breakdown.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-step-breakdown.md $ curl -fsSL --create-dirs -o .claude/agents/sdd-step-hardener.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/sdd-step-hardener.md $ curl -fsSL --create-dirs -o .claude/agents/triage-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/triage-expert.md $ curl -fsSL --create-dirs -o .claude/agents/typescript-build-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/typescript/typescript-build-expert.md $ curl -fsSL --create-dirs -o .claude/agents/typescript-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/typescript/typescript-expert.md $ curl -fsSL --create-dirs -o .claude/agents/typescript-type-expert.md https://raw.githubusercontent.com/phatblat/dotfiles/main/.claude/agents/typescript/typescript-type-expert.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"ask": [
"Bash(gh api * --field *)",
"Bash(gh api * --input *)",
"Bash(gh api * --method *)",
"Bash(gh api * --method=*)",
"Bash(gh api * --raw-field *)",
"Bash(gh api * -F *)",
"Bash(gh api * -X *)",
"Bash(gh api * -X?*)",
"Bash(gh api * -f *)",
"Bash(gh api --field *)",
"Bash(gh api --input *)",
"Bash(gh api --method *)",
"Bash(gh api --method=*)",
"Bash(gh api --raw-field *)",
"Bash(gh api -F *)",
"Bash(gh api -X *)",
"Bash(gh api -X?*)",
"Bash(gh api -f *)",
"Bash(git checkout * -- *)",
"Bash(git checkout -- *)",
"Bash(git checkout .)",
"Bash(git commit * --amend*)",
"Bash(git commit --amend*)",
"Bash(git push * --force *)",
"Bash(git push * --force)",
"Bash(git push * -f *)",
"Bash(git push * -f)",
"Bash(git push --force *)",
"Bash(git push --force)",
"Bash(git push -f *)",
"Bash(git push -f)",
"Bash(git push * +*)",
"Bash(git push +*)",
"Bash(git stash clear*)",
"Bash(git stash drop*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "bash ~/.claude/hooks/scripts/write-guard.sh"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash ~/.claude/hooks/scripts/bash-guard.sh"
},
{
"type": "command",
"command": "bash ~/.claude/hooks/scripts/pre-commit-format.sh"
},
{
"type": "command",
"command": "bash ~/.claude/hooks/scripts/pre-commit-format.sh"
}
]
}
]
}
} MCP servers (5)
| server | source | est. tokens |
|---|---|---|
| Todoist | remote · remote | 3.0k |
| Todoist · "todoist-automations" | remote · remote | 3.0k |
| computer-use | local / custom | 2.5k |
| node_repl env: BROWSER_USE_AVAILABLE_BACKENDS, BROWSER_USE_CODEX_APP_BUILD_FLAVOR, BROWSER_USE_CODEX_APP_VERSION, BROWSER_USE_TINYSKY_ENABLED, CODEX_CLI_PATH +10 | local / custom | 2.5k |
| OpenAI Developer Docs · "openaiDeveloperDocs" | remote · remote | 1.0k |
Skills (80)
artifact-message-busavenborisbrainstormcmux-workspace-statuscontainerdispatching-parallel-agentsexecuting-plansfind-docsfind-skillsflywheelgit-resolve-conflictsgit-value-scrubbinggraphifygrillinghomebrewjustfileocromp-hookspaseo-committeepaseo-helppaseo-pluginpaseopr-stylereceiving-code-reviewrequesting-code-reviewsubagent-driven-developmenttest-driven-developmenttypesafe-aiusing-git-worktreeswriting-plans2ndbrainbacklog-batch-deliverybranch-finishci-fixdupegh-stackgha-checksgha-log-readergit-cleanupgit-commitgit-pushgit-rebasegit-splitgit-stackgit-statusgit-worktreegrill-mehandoffharness-researchimplement-planios-device-qalinear-plannew-projectoptimize-harnesspaseo-advisorpaseo-handoffplan-design-reviewplan-worktreepr-approvepr-createpr-dailypr-mergepr-open-for-reviewpr-post-review-findingspr-resolve-review-feedbackpr-update-descresolve-review-feedbackretroreview-prsecurity-auditsession-savesmall-changewayfinderwork-end-daywork-runnerswork-start-daywork-track-itemwrite-planexa-search
Subagents (27)
| ai-sdk-expert | Expert in Vercel AI SDK v5 handling streaming, model integration, tool calling, hooks, state management, edge runtime, prompt engineering, and production patterns. Use PROACTIVELY for any AI SDK imple |
| cli-expert | Expert in building npm package CLIs with Unix philosophy, automatic project root detection, argument parsing, interactive/non-interactive modes, and CLI library ecosystems. Use PROACTIVELY for CLI too |
| linting-expert | Code linting, formatting, static analysis, and coding standards enforcement across multiple languages and tools |
| code-review-expert model: sonnet | Comprehensive code review specialist covering 6 focused aspects - architecture & design, code quality, security & dependencies, performance & scalability, testing coverage, and documentation & API des |
| database-expert | Use PROACTIVELY for database performance optimization, schema design issues, query performance problems, connection management, and transaction handling across PostgreSQL, MySQL, MongoDB, and SQLite w |
| postgres-expert | Use PROACTIVELY for PostgreSQL query optimization, JSONB operations, advanced indexing strategies, partitioning, connection management, and database administration with deep PostgreSQL-specific expert |
| devops-expert | DevOps and Infrastructure expert with comprehensive knowledge of CI/CD pipelines, containerization, orchestration, infrastructure as code, monitoring, security, and performance optimization. Use PROAC |
| accessibility-expert | WCAG 2.1/2.2 compliance, WAI-ARIA implementation, screen reader optimization, keyboard navigation, and accessibility testing expert. Use PROACTIVELY for accessibility violations, ARIA errors, keyboard |
| docker-expert | Docker containerization expert with deep knowledge of multi-stage builds, image optimization, container security, Docker Compose orchestration, and production deployment patterns. Use PROACTIVELY for |
| github-actions-expert | GitHub Actions CI/CD pipeline optimization, workflow automation, custom actions development, and security best practices for scalable software delivery |
| nestjs-expert | Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js authent |
| nodejs-expert | Node.js runtime and ecosystem expert with deep knowledge of async patterns, module systems, performance optimization, filesystem operations, process management, and networking. Use PROACTIVELY for any |
| refactoring-expert | Expert in systematic code refactoring, code smell detection, and structural optimization. Use PROACTIVELY when encountering duplicated code, long methods, complex conditionals, or any code quality iss |
| research-expert model: sonnet | Specialized research expert for parallel information gathering. Use for focused research tasks with clear objectives and structured output requirements. |
| sdd-fact-checker model: opus | Verify the diff's external facts against live sources; fix what is wrong, flag what needs judgment |
| sdd-final-reviewer model: opus | Post-implementation review of full diff against plan or intent; fix obvious issues, flag trade-offs |
| sdd-implementer model: opus | Execute a single implementation step with verification; does not commit |
| sdd-plan-diligence model: opus | Final due-diligence on a plan; web-verify external facts, surface risks and decisions that need human judgment |
| sdd-plan-reviewer model: opus | Review implementation plan for gaps, wrong assumptions, and integration risks, fix issues directly |
| sdd-plan-standards model: opus | Check plan against project coding and testing standards, fix violations directly |
| sdd-standards-enforcer model: opus | Review changed files against project coding standards, fix violations, and commit |
| sdd-step-breakdown model: opus | Break implementation plan into the fewest possible steps for step-by-step execution |
| sdd-step-hardener model: opus | Verify step completeness, catch emergent issues, and fix what's needed; harden each step before moving on |
| triage-expert | Context gathering and initial problem diagnosis specialist. Use PROACTIVELY when encountering errors, performance issues, or unexpected behavior before engaging specialized experts. |
| typescript-build-expert | TypeScript Build Expert - Compiler configuration, build optimization, module resolution, and build tool integration specialist |
| typescript-expert | >- |
| typescript-type-expert | Advanced TypeScript type system specialist for complex generics, conditional types, template literals, type inference, performance optimization, and type-level programming. Use for intricate type syst |
Hooks (15)
| event | matcher | runs |
|---|---|---|
| Notification | * | if [ -n "$PASEO_TERMINAL_ID" ]; then "${PASEO_HOOK_CLI:-paseo}" hooks claude Notification; fi |
| PostToolUse | Write|Edit | bash ~/.claude/hooks/scripts/auto-format.sh |
| PostToolUseFailure | * | bash ~/.claude/hooks/scripts/posttooluse-failure.sh |
| PreCompact | * | bash ~/.claude/hooks/scripts/pre-compact.sh |
| PreToolUse | Write|Edit | bash ~/.claude/hooks/scripts/write-guard.sh |
| PreToolUse | Bash | bash ~/.claude/hooks/scripts/bash-guard.sh |
| PreToolUse | Bash | bash ~/.claude/hooks/scripts/pre-commit-format.sh |
| PreToolUse | Bash | bash ~/.claude/hooks/scripts/pre-commit-format.sh |
| SessionEnd | * | bash ~/.claude/hooks/scripts/flywheel-outcome.sh success |
| SessionEnd | * | if [ -n "$PASEO_TERMINAL_ID" ]; then "${PASEO_HOOK_CLI:-paseo}" hooks claude SessionEnd; fi |
| Stop | * | if [ -n "$PASEO_TERMINAL_ID" ]; then "${PASEO_HOOK_CLI:-paseo}" hooks claude Stop; fi |
| StopFailure | * | bash ~/.claude/hooks/scripts/flywheel-outcome.sh failed |
| StopFailure | * | if [ -n "$PASEO_TERMINAL_ID" ]; then "${PASEO_HOOK_CLI:-paseo}" hooks claude StopFailure; fi |
| UserPromptSubmit | * | bash ~/.claude/hooks/scripts/user-prompt-secrets.sh |
| UserPromptSubmit | * | if [ -n "$PASEO_TERMINAL_ID" ]; then "${PASEO_HOOK_CLI:-paseo}" hooks claude UserPromptSubmit; fi |
Slash commands (29)
/2ndbrain/ci/fix/dupe/git/cleanup/git/commit/git/push/git/rebase/git/split/git/stack/git/status/git/worktree/linear/plan/linear/progress/optimize-harness/plan/worktree/pr/approve/pr/create/pr/daily/pr/merge/pr/open-for-review/pr/post-review-findings/pr/resolve-review-feedback/pr/update-desc/retro/session-save/work/end-day/work/runners/work/start-day/work/track-item
Plugins (13)
clangd-lsp@claude-plugins-officialcode-review@claude-plugins-officialcsharp-lsp@claude-plugins-officialgopls-lsp@claude-plugins-officialjdtls-lsp@claude-plugins-officialkotlin-lsp@claude-plugins-officiallinear-cli@linear-clilua-lsp@claude-plugins-officialpyright-lsp@claude-plugins-officialruby-lsp@claude-plugins-officialrust-analyzer-lsp@claude-plugins-officialswift-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-official
Permissions
deny (0)
—
ask (35)
Bash(gh api * --field *)
Bash(gh api * --input *)
Bash(gh api * --method *)
Bash(gh api * --method=*)
Bash(gh api * --raw-field *)
Bash(gh api * -F *)
Bash(gh api * -X *)
Bash(gh api * -X?*)
Bash(gh api * -f *)
Bash(gh api --field *)
Bash(gh api --input *)
Bash(gh api --method *)
Bash(gh api --method=*)
Bash(gh api --raw-field *)
Bash(gh api -F *)
Bash(gh api -X *)
Bash(gh api -X?*)
Bash(gh api -f *)
Bash(git checkout * -- *)
Bash(git checkout -- *)
Bash(git checkout .)
Bash(git commit * --amend*)
Bash(git commit --amend*)
Bash(git push * --force *)
Bash(git push * --force)
Bash(git push * -f *)
Bash(git push * -f)
Bash(git push --force *)
Bash(git push --force)
Bash(git push -f *)
Bash(git push -f)
Bash(git push * +*)
Bash(git push +*)
Bash(git stash clear*)
Bash(git stash drop*)
allow (105)
WebSearch
WebFetch(domain:github.com)
WebFetch(domain:docs.basedpyright.com)
Bash(claude mcp list)
Bash(git status:*)
Bash(git branch:*)
Bash(git log:*)
Bash(git diff:*)
Bash(git fetch:*)
Bash(git checkout:*)
Bash(git check-ignore:*)
Bash(git switch:*)
Bash(git rev-list:*)
Bash(git ls-remote:*)
Bash(git rev-parse:*)
Bash(git show:*)
Bash(git remote:*)
Bash(git symbolic-ref:*)
Bash(git merge --ff-only:*)
Bash(git add:*)
Bash(git push:*)
Bash(git commit:*)
Bash(git pull:*)
Bash(git stash:*)
Bash(git worktree:*)
Bash(git rebase:*)
Bash(git tag:*)
Bash(gh pr list:*)
Bash(gh pr create:*)
Bash(gh pr view:*)
Bash(gh pr edit:*)
Bash(gh api:*)
Bash(gh run:*)
Bash(gh search:*)
Bash(gh issue:*)
Bash(gh stack:*)
Bash(linear:*)
Bash(sg:*)
Bash(just:*)
Bash(mise ls:*)
Bash(mise search:*)
Bash(mise use:*)
Bash(mise install:*)
Bash(mise current:*)
Bash(mise self-update:*)
Bash(mise upgrade:*)
Bash(brew update:*)
Bash(brew outdated:*)
Bash(brew upgrade:*)
Bash(uv tool upgrade:*)
Bash(ctx7:*)
Bash(date:*)
Bash(echo:*)
Bash(wc:*)
Bash(find:*)
Bash(ls:*)
Bash(ps:*)
Bash(jq:*)
Bash(sort:*)
Bash(uniq:*)
Similar rigs
xcxxyz/claude-dotfiles
—
Skill Collector 9.9k tok · · Q15
Richicinschi/studio-os
An adoption kit for Claude Code: your own Claude interviews you, then installs only the practices and skills that fit your work, on your yes.
Skill Collector 1.2k tok · · Q5
RichardBray/dotfiles
My personal configuration files and settings
Skill Collector 671 tok · · Q0
izyanrajwani/agent-skills-library
🛠️ Enhance programming workflows with a curated library of agent skills for tasks like code review, debugging, and planning for efficient project execution.
Skill Collector 854 tok · · Q0