Skip to main content
Workflows allow you to define a series of steps to guide Sixth through a repetitive set of tasks, such as deploying a service or submitting a PR. To invoke a workflow, type /[workflow-name.md] in the chat.

How to Create and Use Workflows

Workflows live alongside Sixth Rules. Creating one is straightforward:
Workflows tab in Sixth
  1. Create a markdown file with clear instructions for the steps Sixth should take
  2. Save it with a .md extension in your workflows directory
  3. To trigger a workflow, just type / followed by the workflow filename
  4. Provide any required parameters when prompted
The real power comes from how you structure your workflow files. You can:
  • Leverage Sixth’s built-in tools like ask_followup_question, read_file, search_files, and new_task
  • Use command-line tools you already have installed like gh or docker
  • Reference external MCP tool calls like Slack or Whatsapp
  • Chain multiple actions together in a specific sequence

Real-world Example

I created a PR Review workflow that’s already saving me tons of time.
pr-review.md
When I get a new PR to review, I used to manually gather context: checking the PR description, examining the diff, looking at surrounding files, and finally forming an opinion. Now I just:
  1. Type /pr-review.md in chat
  2. Paste in the PR number
  3. Let Sixth handle everything else
My workflow uses the gh command-line tool and Sixth’s built in ask_followup_question to:
  • Pull the PR description and comments
  • Examine the diff
  • Check surrounding files for context
  • Analyze potential issues
  • Asks me if it’s cool approve it if everything looks good, with justification for why it should be approved
  • If I say “yes,” Sixth automatically approves the PR with the gh command
This has taken my PR review process from a manual, multi-step operation to a single command that gives me everything I need to make an informed decision.
This is just one example of a workflow file. You can find more in our prompts repository for inspiration.

Building Your Own Workflows

The beauty of workflows is they’re completely customizable to your needs. You might create workflows for all kinds of repetitive tasks:
  • For releases, you could have a workflow that grabs all merged PRs, builds a changelog, and handles version bumps.
  • Setting up new projects is perfect for workflows. Just run one command to create your folder structure, install dependencies, and set up configs.
  • Need to create a report? Create a workflow that grabs stats from different sources and formats them exactly how you like. You can even visualize them with a charting library and then make a presentation out of it with a library like slidev.
  • You can even use workflows to draft messages to your team using an MCP server like Slack or Whatsapp after you submit a PR.
With Workflows, your imagination is the limit. The true potential comes from spotting those annoying repetitive tasks you do all the time. If you can describe something as “first I do X, then Y, then Z” - that’s a perfect workflow candidate. Start with something small that bugs you, turn it into a workflow, and keep refining it. You’ll be shocked how much of your day can be automated this way.