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
đ 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.

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
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:
Built-in commands - these ship with the tool itself and handle session mechanics.
Custom/user-defined commands - markdown files you write yourself that expand into a prompt when invoked.
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



