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
/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 Fallowask
/fallow-project-analyseAnalyse a JavaScript or TypeScript project with Fallowask
/grillStress-test a proposed change with one-question-at-a-time planning questionsgrill
/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 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
/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
/reset-branch-reapplyReset branch to default and reapply current diff stagedbuild
/review-current-workReview current branch work with BranchContextPlugin contextreviewer