> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Slash Commands

> Start guided chat workflows for agents, detections, skills, and Hunt

Start a message with <code>/</code> to open Cotool's slash command menu. Slash
commands are the fastest way to switch chat into a guided workflow without
leaving the composer.

## What slash commands do

Cotool uses slash commands in two ways:

* **Guided workflows** start a chat that is optimized for one job, such as
  creating an agent or ingesting a threat report into Hunt.
* **In-place actions** operate on the current conversation, such as compacting
  it so you can keep going with a shorter context window.

## Available commands

| Command                        | What it does                                                         | Best when                                                                                |
| ------------------------------ | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| <code>/create-agent</code>     | Starts a guided conversation for creating a reusable agent           | You have a workflow in mind and want to turn it into an agent                            |
| <code>/create-detection</code> | Opens detection authoring for a connected SIEM or detection platform | You want to describe a detection in plain language and generate it in the right platform |
| <code>/create-skill</code>     | Packages instructions into a reusable skill                          | You want repeatable guidance that can be reused later                                    |
| <code>/hunt-intel</code>       | Sends a report URL, attachment, or pasted text into Hunt             | You already have an advisory, PDF, or report and want Hunt to process it immediately     |
| <code>/update-agent</code>     | Starts a guided workflow for editing an existing agent               | You need to change an agent's prompt, tools, or behavior                                 |
| <code>/update-skill</code>     | Starts a guided workflow for editing an existing skill               | You want to revise a shared or personal skill                                            |
| <code>/compact</code>          | Compacts the current conversation and keeps working in the same chat | The chat is long and you want to continue without starting over                          |

## How to use them

<Steps>
  <Step title="Start with /">
    In Chat, begin a message with <code>/</code> to open the command menu.
    Keep typing to filter the list.
  </Step>

  <Step title="Choose the workflow">
    Select the command that matches what you want to do.
  </Step>

  <Step title="Provide any extra context">
    Some commands ask for one more choice before you continue:

    <ul>
      <li>
        <code>/create-detection</code> asks you to choose a connected
        platform.
      </li>

      <li>
        <code>/update-agent</code> and <code>/update-skill</code> can
        show a picker of matching items, or you can skip the picker and
        describe the target in chat.
      </li>
    </ul>
  </Step>

  <Step title="Finish in chat">
    Continue the guided conversation, attach files if needed, and let Cotool
    drive the workflow from there.
  </Step>
</Steps>

## Tips

* Commands that require permissions can appear disabled until you have the
  right access.
* <code>/create-detection</code> is most useful after you have connected the
  destination platform you want to write into.
* <code>/hunt-intel</code> works with report URLs, pasted text, and chat
  attachments such as PDFs and Office documents.
* <code>/compact</code> stays in the current chat instead of opening a new one.

## Related guides

<CardGroup cols={2}>
  <Card title="Using Chat" href="/chat/using-chat" icon="messages">
    Learn the core chat workflow.
  </Card>

  <Card title="Creating Agents" href="/agents/creating-agents" icon="robot">
    See how guided agent creation fits into the broader setup flow.
  </Card>

  <Card title="Skills" href="/agents/skills" icon="copy">
    Learn when to create or update a reusable skill.
  </Card>

  <Card title="Hunt" href="/hunt/overview" icon="crosshairs">
    Learn what happens after <code>/hunt-intel</code> submits a report.
  </Card>
</CardGroup>
