Slash Commands & Skills
DAIV responds to slash commands in issue and merge/pull request comments. Some are built-in commands with fixed behavior, others are skills — modular capabilities that give DAIV specialized expertise for specific tasks.
From your perspective, both work the same way:
| Text Only | |
|---|---|
Use /help to see everything available in the current context.
Built-in commands
These commands have fixed behavior and are always available:
| Command | Scopes | Description |
|---|---|---|
/help |
Issues, MRs/PRs | Lists all available commands and skills |
/agents |
Issues, MRs/PRs | Lists available subagents with descriptions |
/clear |
Issues, MRs/PRs | Resets the conversation context to start fresh |
/clone-to-topics <topics> |
Issues only | Clones the issue to all repositories matching the specified topics |
/help
| Text Only | |
|---|---|
Shows all available slash commands and skills for the current scope. The output includes both built-in commands and any skills (built-in or custom) available in the repository.
/agents
| Text Only | |
|---|---|
Lists the available subagents with their names and descriptions. See Subagents for details.
/clear
| Text Only | |
|---|---|
Clears the conversation history for the current issue or merge/pull request. Useful when DAIV's context becomes stale or it starts drifting.
/clone-to-topics
| Text Only | |
|---|---|
Clones the current issue (title, description, and labels) to all repositories matching the specified topics. The current repository is excluded. Only available on issues.
Topic matching is platform-dependent
On GitLab, a repository must carry all the listed topics to be included. On GitHub, a repository is included if it matches any of the listed topics.
Built-in skills
Skills are invoked the same way as commands. DAIV ships with the following built-in skills:
| Skill | Description |
|---|---|
/plan |
Explores the codebase in read-only mode and produces an implementation plan |
/code-review |
Reviews a merge/pull request for correctness, security, performance, structure, and your repository's custom review rules |
/security-audit |
Audits code for security vulnerabilities, injection flaws, hardcoded secrets, and risks |
/init |
Analyzes the repository and generates or updates an AGENTS.md guidance file |
/skill-creator |
Guides you through creating a new custom skill |
/plan
| Text Only | |
|---|---|
DAIV explores the codebase without making any changes and posts a detailed implementation plan. This is what runs automatically when an issue is addressed without the daiv-auto label (see Issue Addressing).
/code-review
| Text Only | |
|---|---|
Reviews the current merge/pull request diff for correctness, security, performance, structure, and your repository's custom review rules. Posts numbered findings grouped by severity, as a single report comment.
/security-audit
| Text Only | |
|---|---|
Performs a dedicated security scan of the code changes, looking for injection flaws, hardcoded secrets, authentication issues, and data handling risks.
/init
| Text Only | |
|---|---|
Analyzes the repository structure and generates an AGENTS.md file with short, repo-specific, high-leverage guidance for AI coding agents (verified commands, repo map, invariants and footguns, and where changes usually go). If one already exists, it updates it to reduce duplication and remove low-signal text.
/skill-creator
| Text Only | |
|---|---|
Walks you through creating a new custom skill for your repository. See Agent Skills for more on custom skills.
Custom commands (skills)
Custom slash commands are implemented as skills. Creating a skill automatically registers it as a command — there is no separate registration step.
To create a custom command like /my-command:
- Create
.agents/skills/my-command/SKILL.mdwith YAML frontmatter - Invoke it with
@daiv /my-command
Custom commands appear alongside built-in ones in /help and are invoked the same way. For the full guide on creating skills, see Agent Skills.