Department of Product

Department of Product

How to use /loops, /goals and other Powerful Slash Commands as a Non-Engineer

🧠 Your ultimate guide to Claude Code and Codex slash commands for Non-Engineers

Rich Holmes
Jul 21, 2026
∙ Paid

🔒 The Knowledge Series breaks down emerging AI technologies with practical playbooks designed specifically for product teams. Get 100+ guides and practical tutorials covering everything from Claude Code and MCP to agentic workflows, vibe coding, and more.


“You don’t even need to prompt models any more, you should tell them, this is what I’m doing, figure it out.”

This is the advice that OpenAI’s Katia Guzman gave to attendees at a recent event in Paris1 where she explained that this shift from traditional prompting to goal setting is one of the trends that she’s most excited about.

Other AI leaders seem to agree. Claude Code’s creator Boris Cherny said that “I don’t prompt Claude anymore. I have loops running that prompt Claude and figure out what to do. My job is to write loops” and ex-Google exec Addy Osmani says that loop engineering is “replacing yourself as the person who prompts the agent”.

So it’s fair to say that loops and goals are quickly becoming an essential part of AI workflows. And these new capabilities are now baked directly into Claude with dedicated /goal and /loop slash commands.

Understanding how slash commands like this work can make working inside AI tools a lot faster since they’re essentially shortcuts to getting stuff done quickly. But the trouble is, keeping up to date with the latest commands is proving to be increasingly difficult.

In the past few months alone, new commands like these have been added, some have been merged together and others have been deprecated entirely.

This makes keeping up with commands pretty difficult and so in this Knowledge Series, we’re going to take a look at some of the most powerful commands that are worth knowing about today as a PM, designer or non-engineer when working with Claude Code and Codex.

A preview of the interactive guide included with 100+ slash commands you can use in Claude Code and Codex

We’ll include an interactive guide of the full list of over 100+ currently supported commands as well as a deeper guide to some essential commands that are worth experimenting with right now to support your every day, non-engineering workflows.

Coming up:

  • What exactly are slash commands in Claude Code and Codex?

  • Essential slash commands worth knowing about today for non-engineers

  • Downloadable, interactive guide to 100+ slash commands with practical examples of each one, explained for PMs / non-engineers


Knowledge Series

What are /slash commands in Claude Code and Codex?

Before we dig into some practical examples together let’s first take a look at what slash commands are and the basic categories of commands.

For this, we’ll be using the Claude Code and ChatGPT / Codex desktop apps for reference.

Slash commands are typed shortcuts, starting with /, that control an AI coding agent's session. Rather than asking the model to do something in natural language, you're issuing a direct instruction to the tool itself.

Why is knowing about slash commands helpful?

When you know which commands to use, they can accelerate your workflows by setting up recurring schedules, reducing the need to constantly repeat yourself and potentially save you money on token spend, too. More on that later.

The 3 basic types of slash commands

There are 3 basic types of slash commands that you can use:

  1. Built-in commands - these ship with the tool itself and handle session mechanics.

  2. Custom/user-defined commands - markdown files you write yourself that expand into a prompt when invoked.

  3. Tool/connector-exposed commands - slash commands surfaced by connected MCP servers or plugins rather than defined locally.

For this Knowledge Series, we’re mainly going to focus on the native, built-in commands that come shipped with Claude Code and Codex and some custom commands you can build that work with those native ones.

Powerful slash commands worth knowing about - with practical examples of how to use them

Now let’s take a look at some examples powerful slash commands you can use in your every day workflows. These commands have been specifically chosen because they deliver the clearest everyday payoff for non-engineers: less time re-explaining context, fewer wasted tokens and greater visibility into how you’re using Claude / Codex so that you can improve how you work.

/goal

The /goal command sets a completion condition and Claude keeps working toward it across multiple turns without you having to prompt each step.

In other words, you run the /goal command followed by the outcome that you want and the work continues until that outcome is achieved. Instead of giving it Claude / Codex one task, you describe what "done" looks like, in a single sentence, and it just keeps working on its own until that's actually true.

This flips the traditional prompting playbook on its head a little and it can be helpful for scenarios where your task is well-defined and verifiable.

But it’s not suitable for scenarios which require human judgement (think important strategic decisions) or anything which is security sensitive where the cost of getting it wrong is too high.

Basic examples

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Department of Product · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture