Skip to content

Commands

Commands are thin routing prompts: they name an agent, declare required skills or injected context, and define the output shape. They are loaded from ~/.config/opencode/commands/.

CommandDescriptionAgent
/all-lit-skillsApply all Lit rendering skills in current git scopedefault
/all-ts-skillsApply all TypeScript-specific skills in current git scopedefault
/check-skill-updatesCheck imported skills for upstream updatesdefault
/code-reviewReview current branch work with the code-review skill and BranchContextPlugin contextreviewer
/commit-pushCommit current changes via the dot git-commit gateway, then push the branch for this explicit request onlydefault
/commitCommit current changes via the dot git-commit gateway in the maintainer’s one-line styledefault
/debug-frontendDebug browser-specific UI issues with Chrome DevTools tools firstask
/explore-codebaseExplore a codebase topic with the task explore subagentask
/fallow-auditAudit changed JavaScript or TypeScript code with Fallowfallow
/fallow-project-analyseAnalyse a JavaScript or TypeScript project with Fallowfallow
/fix-workflowsDiagnose and fix recent GitHub Actions failures, optionally scoped to a workflow or rundefault
/grillStress-test a proposed change with light or full one-question-at-a-time grillinggrill
/handoffWrite a handoff document for the next agent sessiondefault
/handoffs-listList handoff notes for the current repositorydefault
/home-assistant/all-frontend-skillsApply all Home Assistant frontend skills in current git scopedefault
/home-assistant/lazy-contextReview and fix Home Assistant frontend lazy-context and memoization usage in current git scopedefault
/home-assistant/list-componentsMigrate Home Assistant list components from MWC to new primitives in current git scopedefault
/home-assistant/lit-renderingReview and fix Home Assistant Lit rendering and picker callback-shape patterns in current git scopedefault
/home-assistant/replace-spacingReplace hardcoded spacing values with ha-space tokens from core.globals.tsdefault
/import-external-skillImport or review external skills for the local skill librarydefault
/improve-codebase-architectureReview a codebase area for architectural friction and focused structural improvementsplan
/inject-contextInject branch and codebase stack context and optionally execute an instructiondefault
/inject-stackInject codebase stack context and optionally execute an instructiondefault
/investigateInvestigate a topic, issue, or area without editing by defaultask
/note-appendAppend new notes to an existing note file for the current repositorydefault
/note-createCreate a new note for the current repository in your Obsidian notes vaultdefault
/note-referenceLoad one or more notes, relevant skills, and next steps for the current repositorydefault
/notes-listList notes for the current repository, optionally filtered by tagdefault
/notes-searchSearch notes for the current repository by topic, keyword, or tagdefault
/planManual entrypoint to native plan mode from the current conversation contextplan
/plannotator-annotateOpen interactive annotation UI for a file, folder, or URLdefault
/plannotator-lastAnnotate the last assistant messagedefault
/plannotator-reviewOpen interactive code review for current changes or a PR URL; pass —git to force Git in JJ workspacesdefault
/refactor-cleanup-variablesRefactor - inline and remove unnecessary variables from current git scoperefactorer
/refactor-current-workRefactor current branch work while preserving behaviourrefactorer
/refactor-enforce-typesRefactor - enforce TypeScript type safety in current git scoperefactorer
/refactor-remove-single-useRefactor - inline and remove safe single-use functions from current git scoperefactorer
/researchResearch a topic from primary sources and compare evidence where judgement is involvedresearcher
/reset-branch-reapplyReset branch to default and reapply current diff stagedbuild
/update-docsKeep documentation current with recent code changes, via Context MCP and delegated investigationdefault