Slash commands

Slash commands for opencode and claudecode agents — shortcuts for common workflows.

Structure

A command is a markdown file — name/description frontmatter plus an instruction body — living in a module’s commands/ dir: src/agentic/<module>/ for agentic modules, src/tools/<module>/ for tool modules.

Arguments reach the body two ways. $ARGUMENTS is the whole argument tail as one string — use it when the argument is free-form prose (devbot:auto-dev takes the task itself). $1, $2, … are positional, one per argument — use them when the argument has a fixed shape (a path, a branch, a PR URL).

Installation symlinks each file into .agents/commands/, flat, named after its full frontmatter name::

<devbot-install-path>/src/agentic/<module>/commands/<file>.md   — canonical source
<devbot-install-path>/src/tools/<module>/commands/<file>.md

<project-root>/.agents/commands/devbot:<id>.md   — symlink to the source file
<project-root>/.opencode/commands/               — symlink to .agents/commands/
<project-root>/.claude/commands/                 — symlink to .agents/commands/

The link name is what the hosts read, though they join it differently: opencode 2.x turns the path below commands/ into the name with / separators, claudecode joins the directory with :. A flat devbot:gh-release.md is therefore /devbot:gh-release on both, and a host that reads the frontmatter name: instead lands on the same id, because the link is named from that frontmatter. The retired category farm nested the file under devbot/, so opencode read devbot/gh-release before the two were aligned.

Commands

Module Command Description
atlassian create-jira-issue Create a Jira issue — epic, story, task or subtask — with a Problems/Solutions description.
autobot autobot-work Work an AutoBot ticket to a pull request, signing every comment.
aws aws-setup Set up AWS for dev-bot — install the prerequisites and declare connections with static credentials
dev full-review-loop Run the full review path unattended — local review, pull request, host review, squash — and stop at the publish
dev make-tests Write tests for the current changeset
devbot reload-datasources Re-evaluate the datasource catalogue and verify the shared gateway serves it — the recovery path for a database or data store that was unreachable when devbot started, such as one behind a VPN that was down.
devbot auto-dev Work a task autonomously to the last step before the merge — from a task given inline, a file path or a URL, resuming work already in progress.
devbot stats Report what is working, what can be improved and what is broken, from the tool and MCP usage stats of the harness running this session.
devteam code-review Review the current changeset against the default branch
devteam improve-planning Iterate on how we plan a story, to improve the process
explore create-project-report Create a report of the project in .agents/memory/active/project.md
explore gather-context Based on a few keywords, gather context from memories, git status, and codebase insights.
figma design-qa Compare a Figma frame with the implemented page and report differences (optionally fix High/Medium)
figma design-qa-all Run design QA for every mapped entry in design-map.json (all, changed, or one) and write design-qa-report.md
forensics forensics-report Generate a behavioral forensics report for a project — mine its history into one Markdown file, then add your own refactoring and bus-factor recommendations
git commit Commit the current changeset
git gh-release Make a GitHub release — tag the current branch, push it, and publish the release after showing you the plan
github gh-create-repo Create a GitHub repository with a README-only first commit and default-branch ruleset protection
github gh-address-review Review a GitHub PR and address its review comments locally
github gh-make-review Check out a GitHub PR and code-review its changeset locally
github gh-create-pr Open a pull request from a branch onto the default branch
github gh-review-loop Loop Copilot pull-request reviews and fixes until a review introduces no new findings
memory audit-memory Audit the memory vault — check folder placement, latent note quality, thinking/ hygiene, and issue folder consistency
memory prune-memories Prune the memory vault — remove stale entries, merge complementary notes, rewrite incomplete ones
memory remember-session Remember any worthwhile learnings from this session
rfp rfp Answer an RFP, tender or security questionnaire from a knowledge base.
security pentest-webapp Evaluate a project’s internet-facing web application against an external pentest baseline.
self-improvement find-automation-candidates Mine the agent’s session history for recurring command chains worth turning into a script
self-improvement improve-reviewing Iterate on how the @reviewer reviews change sets, to improve the process
sentry find-sentry-issues Find the production issues worth fixing — rank open Sentry issues by user impact, pull full context (stack trace, release, affected users, surrounding events), map each to the offending code, and produce a delegation-ready inventory
signoz find-db-performance-issues Find database issues (runaway/long-running queries, full table scans, slow queries, N+1, app anti-patterns, lock contention, hardware limitations) driving DB load — starting from a live processlist investigation of the database, then the observability platform
devbot-cli audit Audit the dev-bot system setup in the current project — verify devbot reinit wired things correctly and the local agent can use every dev-bot capability, regardless of which harness (opencode or claudecode) is running. Produces a markdown report of what did not work and why.
devbot-cli audit-fix Grab an audit report (produced by devbot:audit slash command) and address the flagged issues.
devbot-cli full-audit-and-fix-loop Audit, fix and locally review in a worktree, then open a PR and work the Copilot loop.