.claude/commands/
folder"] --> B["Create
summarise.md
file"]
B --> C["Paste in
your prompt
+ $ARGUMENTS"]
C --> D["Test it:
/summarise [URL]"]
D --> E["๐ Working
skill"]">
.claude/commands/
folder"] --> B["Create
summarise.md
file"]
B --> C["Paste in
your prompt
+ $ARGUMENTS"]
C --> D["Test it:
/summarise [URL]"]
D --> E["๐ Working
skill"]">
.claude/commands/
folder"] --> B["Create
summarise.md
file"]
B --> C["Paste in
your prompt
+ $ARGUMENTS"]
C --> D["Test it:
/summarise [URL]"]
D --> E["๐ Working
skill"]">
<aside> โก
Module 4 โ The Real Magic Sauce
We're going to build the /summarise skill together. It's the most universally useful one to start with โ and once you've built one, you can build any of them.
</aside>
<aside> ๐
Page 12 of 14 ยท Module 4 โ The Real Magic Sauce
</aside>
flowchart LR
A["Create<br>.claude/commands/<br>folder"] --> B["Create<br>summarise.md<br>file"]
B --> C["Paste in<br>your prompt<br>+ $ARGUMENTS"]
C --> D["Test it:<br>/summarise [URL]"]
D --> E["๐ Working<br>skill"]
<aside> 1๏ธโฃ
Create the Commands Folder
In VS Code, inside your Claude folder, create this folder structure if it doesn't exist already:
your-claude-folder/
โโโ .claude/
โโโ commands/
To do this:
.claude.claude, select New Folder, name it commands
</aside><aside> โน๏ธ
Note: Folders starting with a . are hidden by default on Mac. In VS Code they'll still show up in the sidebar.
</aside>
<aside> 2๏ธโฃ
Create the Skill File
commands foldersummarise.mdNow paste this into the file:
Summarise the following for me.
If I've given you a URL, fetch the page and read it first.
If I've pasted text, work from that directly.
Return:
- **What it's about** (1-2 sentences)
- **Key points** (bullet list, max 6)
- **Most important takeaway** (1 sentence)
- **Any action items** if relevant
Keep it concise. No filler. I want to walk away knowing exactly what mattered.
The content to summarise: $ARGUMENTS
Save the file.
</aside>
<aside> 3๏ธโฃ
Test It
Open Claude Code in your terminal (claude).
Then type:
"/summarise https://en.wikipedia.org/wiki/Model_Context_Protocol"
Claude will fetch the page and return a clean summary using your template.
Try it with a news article, a PDF link, or even some meeting notes you paste in.
</aside>
$ARGUMENTS WorksSee $ARGUMENTS at the end of the skill file? That's a placeholder. Whatever you type after /summarise gets dropped in there.
So when you type /summarise [URL or text], Claude sees your full prompt with the URL or text slotted in automatically.
Every skill you write can use $ARGUMENTS to pass in whatever is specific to that task.
Every skill follows the same pattern:
.md file in .claude/commands/