6 min read 1380 words Updated Mar 24, 2026 Created Mar 24, 2026

Command Reference

All commands are prefixed with :Dwight. Most accept optional arguments and provide tab completion.


Inline Editing → Inline Editing

CommandArgsDescription
:DwightInvokeOpen prompt buffer for current selection or treesitter scope
:DwightMode<mode>Apply a built-in mode (tab-complete available)
:DwightRepeatReplay last operation on current selection
:DwightMultiUndoUndo last multi-file change set
:DwightCancel[all]Cancel nearest active job, or all jobs
:DwightLintClearClear dwight lint diagnostics from buffer

Agent Mode → Agent Mode

CommandArgsDescription
:DwightAgent[task] [--plan|--jump]Run autonomous agent. Accepts visual range
:DwightAgentStatusToggle live agent status buffer
:DwightAgentLogBrowse past agent sessions (Telescope)
:DwightDiffReviewOpen full diff of recent agent changes
:DwightLessons[consolidate|stats|clear]View or manage learned lessons
:DwightSessionLogView persistent session log

Auto Mode → Auto Mode

CommandArgsDescription
:DwightAuto[task]Plan and execute multi-step task. Accepts visual range
:DwightAutoStatusShow session progress
:DwightAutoCancelCancel the running session
:DwightAutoRetryRetry last failed sub-task
:DwightAutoResume[override prompt]Resume from next pending sub-task
:DwightAutoReviewReview plan before continuing
:DwightAutoSkipSkip current sub-task
:DwightPausePause after current sub-task
:DwightContinue[override prompt]Resume paused session

Swarm Mode → Swarm Mode

CommandArgsDescription
:DwightSwarm[task]Decompose and execute in parallel waves. Accepts visual range
:DwightSwarmResumeResume from a failed or paused wave
:DwightSwarmCancelCancel active session and cleanup worktrees
:DwightSwarmStatusShow wave progress and task status
:DwightSwarmPausePause after current wave completes

Bootstrap and Coverage → Bootstrap and Coverage

CommandArgsDescription
:DwightInitInitialize .dwight/ directory
:DwightBootstrap[--quick|--agentic] [--force|--incremental]Add feature pragmas to source files
:DwightCoverageShow pragma coverage stats
:DwightHealthRun diagnostic health check

Feature Management → Feature Management

CommandArgsDescription
:DwightFeaturesBrowse live features from pragmas
:DwightFeaturePreview[feature]Preview feature context (files, signatures, deps)
:DwightProjectContextPreview full JIT project context
:DwightMinimap[path]Treesitter signature map of file or directory
:DwightSplitFeature[feature] [--agentic]Split a large feature into sub-features
:DwightSplitPreview[feature]Preview a split without applying
:DwightSplitAuditCheck which features need splitting

Refactoring → Refactoring

CommandArgsDescription
:DwightRefactor[feature] [prompt]Refactor a feature with importer analysis

TDD → TDD

CommandArgsDescription
:DwightTDD[description]Start a TDD session
:DwightTDDStopStop the active TDD session
:DwightTestRunsBrowse test run history
:DwightRun[cmd]Run a build/test command
:DwightRunOutputShow last run output

Git Operations → Git Operations

CommandArgsDescription
:DwightGit[subcommand]Git workflow: status, commit, stash, pop, push, pull, cleanup, conflicts, resolve
:DwightCommitGenerate commit message from staged changes
:DwightSquashSquash dwight checkpoint commits into one
:DwightDiffReviewOpen full diff of recent changes
:DwightGitToggleToggle git diff/blame in prompts

GitHub Integration → GitHub Integration

CommandArgsDescription
:DwightIssue[number] [--agent|--auto|--analyze] [--label|--assignee|--milestone|--repo]Browse and solve GitHub issues
:DwightNewIssue[title] [--label|--milestone|--repo]Create a new GitHub issue
:DwightPRCreate PR for current branch
:DwightPRReview[number] [--repo]AI review of a pull request
:DwightCI[--fix [run_id]|--rerun] [--repo]CI status, auto-fix, and re-run

Skills and Marketplace → Skills and Marketplace

CommandArgsDescription
:DwightSkillsBrowse project skills (Telescope)
:DwightGenSkillAI-generate a new skill
:DwightInstallSkillsInstall built-in skills
:DwightMarketplace[install|suggest|export|import|detect]Browse and manage skill packs

Library References → Library References

CommandArgsDescription
:DwightAddLibAdd a library API reference
:DwightLibsBrowse library references
:DwightDocsFromURLGenerate a skill from a documentation URL

Docs Generation → Docs Generation

CommandArgsDescription
:DwightDocs[target] [--agentic|--update|--seo]Generate, update, or optimize docs
:DwightDocsBrowseBrowse generated public docs
:DwightDevDocs[target] [--agentic]Generate internal developer docs
:DwightDevDocsBrowseBrowse developer docs

Codebase Audit and Heal → Codebase Audit and Heal

CommandArgsDescription
:DwightAudit[feature] [--deep]Run codebase audit
:DwightHeal[feature]Rehabilitate: char tests, plan, execute

Codebase Digest → Codebase Digest

CommandArgsDescription
:DwightDigest[--status|--clear|--force]Build, inspect, or rebuild codebase digest

Session Replay → Session Replay

CommandArgsDescription
:DwightReplay[session]Step through a past session
:DwightSessionLogView persistent session log
:DwightLogView job log (all operations)

Replay Keybindings

KeyAction
j / l / SpaceNext step
k / hPrevious step
JJump to next tool call
KJump to previous tool call
gg / GFirst / last step
vToggle single/cumulative view
q / EscClose

Whiteboard → Whiteboard

CommandArgsDescription
:DwightWhiteboardOpen brainstorming scratchpad
:DwightWhiteboardSave[name]Save whiteboard (supports visual range)
:DwightBrainstormsBrowse saved brainstorms

Templates → Templates

CommandArgsDescription
:DwightTemplatePick a saved template (copies to clipboard)
:DwightSaveTemplate[prompt]Save a reusable prompt template

Workspace → Workspace

CommandArgsDescription
:DwightWorkspaceShow workspace status
:DwightWorkspaceAdd[path]Add a repo by path
:DwightWorkspaceRemove[name]Remove a repo
:DwightWorkspaceInitAuto-scan monorepo sub-directories
:DwightWorkspaceFeaturesList features across all repos
:DwightWorkspaceIssues[--label|--assignee|--milestone]Unified issue view

Telemetry and Stats → Telemetry and Stats

CommandArgsDescription
:DwightUsageQuick usage summary (floating window)
:DwightStats[features|export|csv|json]Full telemetry dashboard
:DwightLessons[consolidate|stats|clear]View or manage learned lessons

Providers and Models → Providers and Models

CommandArgsDescription
:DwightBackend[claude_code|codex|gemini|opencode]Get or set the CLI backend
:DwightSwitch<model>Switch model (filtered by backend)
:DwightProvidersShow current provider/model/key status
:DwightAddProviderAdd a custom API provider
:DwightAuthMaxAuthenticate with Anthropic Pro/Max
:DwightMCPShow MCP server status

Status and Health

CommandArgsDescription
:DwightStatusFull status overview
:DwightHealthRun health check