Home › All prompts › Claude Code Subagents and Skills for Beginners

Mini pack

Free

Claude Code Subagents and Skills for Beginners

If you only use Claude Code as a chat, you probably paste the same checklist again and again and watch long test output fill the conversation. These 10 free prompts help you tell skills, subagents, hooks, and CLAUDE.md apart, save a checklist as a skill, hand noisy jobs to a subagent, and keep a small set you trust.

Save your checklists as skills, hand noisy jobs to subagents, and keep a small set you trust.

10 prompts in 4 sections. Replace everything in [BRACKETS IN CAPS], then copy and paste into your AI tool.

Download the free PDF

PDF, 17 pages

Written for use with

  • Claude Code: the prompts are written for skills (SKILL.md in .claude/skills/ or ~/.claude/skills/, run with /skill-name, disable-model-invocation, context: fork) and custom subagents (Markdown files in .claude/agents/ or ~/.claude/agents/ with name, description, tools, and model), plus /skills, /skill-doctor, and /reload-skills. Hooks and CLAUDE.md are explained, and Claude Code Guardrails covers hooks in depth.

Written for use with Claude Code. Not yet tested against it.

All 10 prompts

  1. 1.1 Skill, Subagent, Hook, or CLAUDE.md? Explain It for My Project
  2. 1.2 Which of My Repeated Tasks Should Be a Skill or a Subagent?
  3. 2.1 Turn My Checklist Into a Skill Only I Can Run
  4. 2.2 A Skill Claude Loads On Its Own When It Fits
  5. 2.3 My Skill Isn't Triggering (or Triggers Too Often)
  6. 3.1 Create a Read-Only Reviewer Subagent
  7. 3.2 Create a Test-Runner Subagent That Reports Only Failures
  8. 3.3 A Skill That Runs in Its Own Subagent
  9. 4.1 Check My Skills and Subagents Before I Trust Them
  10. 4.2 Too Many? Merge, Trim, or Remove

Section 1: Know Which Is Which

1.1 Skill, Subagent, Hook, or CLAUDE.md? Explain It for My Project

Untested: not yet run against a model.

Use this when you've heard the words but don't know which one to reach for. It's for a plain explanation using your own project as the example, with nothing created yet.

Fill in: [WHAT MY PROJECT IS] (e.g. "a Next.js habit tracker with Supabase"), [THINGS I REPEAT] (e.g. "I paste the same pre-deploy checklist, I keep reminding Claude to use our button component, I run the tests and scroll through pages of output").

Don't create or change any files. Explain Claude Code skills, subagents, hooks, and CLAUDE.md to me like I'm new to this, using my project as the example.

My project: [WHAT MY PROJECT IS]
Things I repeat: [THINGS I REPEAT]

Please:
1. Explain each one in two plain sentences: what it is, where its file lives, and when it loads.
2. Make a table with these columns: the thing, best for, runs in my main conversation or separately, and one example from my project.
3. Explain the key difference in plain words: a skill adds instructions to my conversation, a subagent does a side job in its own conversation and hands back a summary, a hook runs every time no matter what, and CLAUDE.md is read at the start of every session.
4. For each item in "Things I repeat", say which one fits best and why, in one line each.
5. Tell me which single one to set up first.

Tips to customize: Claude Code's docs say CLAUDE.md is context, not enforced settings, and that hooks make certain actions always happen instead of relying on Claude to choose them. So if a rule must never be broken, it belongs in a hook or a permission rule, and Claude Code Guardrails walks you through those. This pack sticks to skills and subagents.

1.2 Which of My Repeated Tasks Should Be a Skill or a Subagent?

Untested: not yet run against a model.

Use this when you've been using Claude Code for a while and suspect you're doing the same work by hand over and over. It's for a short list of the best candidates, so you only build the ones that will actually save you time.

Fill in: [MY LAST FEW TASKS] (e.g. "fixed a login bug, added a settings page, ran tests three times, prepared a deploy"), [WHAT I'M TIRED OF TYPING] (e.g. "the same 6-step deploy checklist", "the same review instructions").

Don't create or change any files yet. Help me find which of my habits in this project should become a Claude Code skill or a subagent.

My last few tasks: [MY LAST FEW TASKS]
What I'm tired of typing: [WHAT I'M TIRED OF TYPING]

Please:
1. Look at my CLAUDE.md, any existing .claude/skills/ and .claude/agents/ folders, and my project's scripts (like package.json) to see what I already have.
2. List up to 5 candidates. For each one: a short name, skill or subagent, and one line on why.
3. Use these rules: a skill is for instructions or a checklist I want to reuse in my main conversation. A subagent is for a side job that makes a lot of output I don't need to read, or that should only have limited tools.
4. If a long section of my CLAUDE.md is really a step-by-step procedure, point it out as a skill candidate.
5. Rank them by time saved, and tell me which prompt in this pack to use for the top one.

Tips to customize: Claude Code's docs suggest making a skill when you keep pasting the same instructions, checklist, or multi-step procedure, or when part of CLAUDE.md has grown into a procedure. They suggest making a custom subagent when you keep starting the same kind of helper with the same instructions. If you mostly want your usage to last longer, Make Your Claude Code Limit Last has a prompt for moving CLAUDE.md procedures into skills.

Section 2: Your First Skills

2.1 Turn My Checklist Into a Skill Only I Can Run

Untested: not yet run against a model.

Use this when you have a checklist with real side effects, like getting ready to deploy, and you want to run it yourself with one command. It's for a skill that Claude won't start on its own.

Fill in: [SKILL NAME] (lowercase with dashes, e.g. deploy-check), [MY CHECKLIST] (paste your steps, e.g. "1. run the build 2. run the tests 3. check for secret keys in the code 4. list anything that failed"), [PROJECT OR PERSONAL] ("project" for this repo only, "personal" for all my projects).

Create a Claude Code skill from my checklist. Show me the file and wait for my OK before you save it.

Skill name: [SKILL NAME]
My checklist: [MY CHECKLIST]
Where it lives: [PROJECT OR PERSONAL]

Rules for the skill:
1. Save it as SKILL.md in a folder named [SKILL NAME], in .claude/skills/ for a project skill or ~/.claude/skills/ for a personal one.
2. In the frontmatter, add a one-line description of what it does, and set disable-model-invocation: true so only I can start it with /[SKILL NAME].
3. Write each step as a short, clear instruction. Say what "done" looks like for each one.
4. If a step fails, stop and tell me which one and why. Don't try to fix anything or move on unless I say so.
5. End with a short report: each step, passed or failed.
6. Don't add allowed-tools.

Then tell me exactly what to type to run it, and how to change it later.

Tips to customize: Claude Code's docs recommend disable-model-invocation: true for workflows with side effects, like deploys, so Claude doesn't decide to run one because your code looks ready. If you want to pass something in when you run it, like /deploy-check staging, ask Claude to use $ARGUMENTS in the skill. Claude Code picks up edits to skill files during a session, but if the skills folder didn't exist when you started, run /reload-skills. Older .claude/commands/ files still work and make slash commands too.

2.2 A Skill Claude Loads On Its Own When It Fits

Untested: not yet run against a model.

Use this when you keep reminding Claude about the same project rules, like "use our Button component" or "every API route checks the logged-in user". It's for a reference skill Claude pulls in by itself whenever the work matches, so you stop repeating yourself.

Fill in: [SKILL NAME] (e.g. ui-conventions), [MY RULES] (e.g. "use components from src/components/ui, never raw buttons; use Tailwind, no inline styles; every form shows an error message"), [WHEN IT APPLIES] (e.g. "any time you build or change a page or component").

Create a Claude Code reference skill for my project's rules. Show me the file and wait for my OK before you save it.

Skill name: [SKILL NAME]
My rules: [MY RULES]
When it applies: [WHEN IT APPLIES]

Please:
1. Save it at .claude/skills/[SKILL NAME]/SKILL.md.
2. Write the description so it starts with what the skill covers, then when to use it, using words I'd naturally say. Keep it to one or two sentences.
3. Keep the body short: a list of rules, each with a one-line example from this codebase. Check the real file paths and component names before you write them.
4. Don't set disable-model-invocation, so you can load it on your own.
5. After saving, tell me 3 requests I could type that should make you load it, and 2 that shouldn't.

Tips to customize: Claude Code's docs say a skill's description is always in context so Claude knows it's there, but the full instructions only load when it's used, so long reference material costs very little until you need it. The docs also say to keep SKILL.md under 500 lines and to put the key use case first in the description, because the listing is cut off after 1,536 characters. If a rule must hold every single time, a skill isn't enough: use a hook (see Claude Code Guardrails).

2.3 My Skill Isn't Triggering (or Triggers Too Often)

Untested: not yet run against a model.

Use this when Claude ignores a skill you made, or keeps loading it when you didn't want it. It's for finding the cause, usually the description or the frontmatter, and fixing just that.

Fill in: [SKILL NAME], [WHAT I TYPED] (e.g. "I asked 'add a settings page' and it didn't use ui-conventions"), [WHAT I EXPECTED] (e.g. "it should load the skill and use our components").

Don't change anything yet. Help me figure out why this skill isn't behaving the way I expect.

Skill: [SKILL NAME]
What I typed: [WHAT I TYPED]
What I expected: [WHAT I EXPECTED]

Please:
1. Find the skill's SKILL.md and show me its frontmatter.
2. Check that the opening --- is the very first line of the file, and that the frontmatter is valid YAML with field names spelled exactly right.
3. Check whether disable-model-invocation or user-invocable is set, and explain what each one does to who can start the skill.
4. Compare the description to what I typed. Does it use the words I'd naturally say? Is it too vague, or so broad it matches everything?
5. Check whether another skill or command has the same name.
6. Suggest one fix, show me the new frontmatter, and wait for my OK.

Tips to customize: Claude Code's docs list the usual fixes. If it doesn't trigger, add the keywords you'd naturally say to the description, ask "What skills are available?" to check it's listed, or run it yourself with /skill-name. If it triggers too often, make the description more specific, or add disable-model-invocation: true so it only runs when you start it. The docs say Claude Code ignores a misspelled field without an error, which is why step 2 matters. After any change, test in a fresh session, because leftover context can hide the problem.

Section 3: Your First Subagents

3.1 Create a Read-Only Reviewer Subagent

Untested: not yet run against a model.

Use this when you want a second opinion on every change before you commit it, from a helper that can read your code but can't change it. It's for your first custom subagent, with a short description and a limited tool list.

Fill in: [WHAT TO CHECK] (e.g. "bugs, missing error handling, secret keys in the code, pages anyone can open that should be private"), [PROJECT OR PERSONAL] ("project" for this repo only, "personal" for all my projects).

Create a Claude Code subagent called reviewer. Show me the file and wait for my OK before you save it.

What it should check: [WHAT TO CHECK]
Where it lives: [PROJECT OR PERSONAL]

Rules for the subagent:
1. Save it as reviewer.md in .claude/agents/ for a project subagent or ~/.claude/agents/ for a personal one.
2. In the frontmatter, set name: reviewer, a one-sentence description of when to use it, and tools: Read, Grep, Glob, Bash. That leaves out the Edit and Write tools but still lets it run git diff.
3. In the instructions, tell it to look at my recent changes with git diff first, then only the files that changed.
4. Have it sort findings into: must fix, should fix, and could improve. Each with the file, the line, and a plain-English fix.
5. Tell it never to change files, and to say clearly when it found nothing important.

Then tell me how to use it, and remind me it can still run commands through Bash, so I should read its report before acting on it.

Tips to customize: This is close to the code reviewer example in Claude Code's docs. Only name and description are required, and the description is how Claude decides when to hand work to the subagent. To use it, type "Use the reviewer subagent to look at my changes," or type @ and pick it from the list to make sure that exact one runs. If Claude can't find a new subagent, restart Claude Code: the docs say a running session doesn't notice a brand-new agents folder. For a deeper review pass, see the Let AI Review Your AI's Code pack.

3.2 Create a Test-Runner Subagent That Reports Only Failures

Untested: not yet run against a model.

Use this when running your tests fills the conversation with pages of output you never read. It's for a saved helper that runs the tests in its own space and sends back only what failed.

Fill in: [MY TEST COMMAND] (e.g. npm test, or "not sure, find it in package.json"), [MODEL] (haiku for a smaller, cheaper model, or inherit to use the same model as my main conversation).

Create a Claude Code project subagent called test-runner. Show me the file and wait for my OK before you save it.

My test command: [MY TEST COMMAND]
Model: [MODEL]

Rules for the subagent:
1. Save it at .claude/agents/test-runner.md.
2. In the frontmatter, set name: test-runner, a short description that says to use it whenever tests need to run, tools: Read, Grep, Glob, Bash, and model: [MODEL].
3. In the instructions: run the test command, then report only the number of tests that passed and failed, and for each failure, the test name, the file, and the key lines of the error.
4. Never edit files or try to fix anything. Just report.
5. If the test command itself won't start, say so plainly with the error.

Then show me one sentence I can type to use it.

Tips to customize: Claude Code's docs suggest exactly this: send test runs, logs, and docs lookups to a subagent so the long output stays in its own context and only the summary comes back. The docs also say a subagent's work counts toward the same usage limits as your main conversation, so this keeps your chat clean but isn't free. If you just want to do this once, Make Your Claude Code Limit Last has a one-off prompt for it. Ask "Use the test-runner subagent, then fix the first failure" to chain the report straight into a fix.

3.3 A Skill That Runs in Its Own Subagent

Untested: not yet run against a model.

Use this when you want a slash command that goes off, digs through the project, and comes back with a summary, without filling your main conversation. It's for a skill with context: fork, which runs it in a separate subagent.

Fill in: [SKILL NAME] (e.g. where-is), [THE JOB] (e.g. "find every place in the code that handles a topic I name, and list the files and what each one does").

Create a Claude Code project skill that runs in its own subagent. Show me the file and wait for my OK before you save it.

Skill name: [SKILL NAME]
The job: [THE JOB]

Rules for the skill:
1. Save it at .claude/skills/[SKILL NAME]/SKILL.md.
2. In the frontmatter, add a one-line description, context: fork, and agent: Explore so it runs in the built-in read-only Explore subagent.
3. Use $ARGUMENTS for the thing I type after the command, like /[SKILL NAME] login.
4. Write the instructions as a full, stand-alone task, because the subagent won't see our conversation: what to search for, what to read, and exactly what to report back.
5. Ask for a short report: a list of files with one line each on what they do, then a two-line summary.

Then tell me what to type to try it.

Tips to customize: Claude Code's docs say a skill with context: fork starts a new subagent that doesn't see your conversation history, so the instructions must stand on their own. They also warn that this only makes sense for a skill with a clear task, not a list of guidelines. The built-in Explore subagent is read-only and starts without your CLAUDE.md files, so put anything it needs in the skill itself. The forked skill runs in the background, and its result arrives in your conversation when it's done.

Section 4: Keep Them Tidy

4.1 Check My Skills and Subagents Before I Trust Them

Untested: not yet run against a model.

Use this when you've made a few skills and subagents, or copied some from a tutorial, and want to be sure each one can only do what it should. It's for a quick safety check of your own files.

Fill in: [WHERE TO LOOK] ("this project", "my personal folders", or "both").

Don't change anything. Check every skill and subagent I've made and tell me what each one is allowed to do.

Where to look: [WHERE TO LOOK]

Look in .claude/skills/ and .claude/agents/ for this project, and ~/.claude/skills/ and ~/.claude/agents/ for my personal ones. For each file, give me:
1. The name, the folder it's in, and the description in plain English.
2. For subagents: the tools it has. If there's no tools line, say that it gets every tool available to subagents. Flag any that can edit files, run commands, or use MCP servers when its job doesn't need it.
3. For skills: whether Claude can start it on its own, and whether it sets allowed-tools. Explain what allowed-tools lets Claude do without asking me.
4. Any skill that has side effects (deploys, deletes, sends, pushes) but doesn't set disable-model-invocation: true.
5. Any frontmatter field that looks misspelled or isn't a real field.
6. A short list of suggested fixes, most important first.

Tips to customize: Claude Code's docs say a subagent with no tools line inherits every tool available to subagents, and that allowed-tools in a skill lets Claude use those tools without asking during the turn you run it. The docs also say to check the allowed-tools of skills committed to a repo before you run Claude Code there. For skills, plugins, and MCP servers made by other people, use the Install Skills, Plugins and MCP Servers Without Getting Burned pack.

4.2 Too Many? Merge, Trim, or Remove

Untested: not yet run against a model.

Use this when your list of skills and subagents has grown and some overlap, some you never use, and some have long descriptions. It's for a short keep-merge-remove plan, so Claude picks the right one more often.

Fill in: [WHICH ONES I ACTUALLY USE] (e.g. "deploy-check every week, reviewer sometimes, the rest I forgot about"), [ANY I WANT TO KEEP NO MATTER WHAT].

Don't delete or change anything yet. Help me tidy up the skills and subagents I've made.

Which ones I actually use: [WHICH ONES I ACTUALLY USE]
Keep no matter what: [ANY I WANT TO KEEP NO MATTER WHAT]

Please:
1. List every skill and subagent in my project and personal folders, with its description.
2. Point out any that overlap or do nearly the same job, and suggest how to merge them.
3. Point out any descriptions that are long, vague, or too similar to another one, so it's hard to tell which should be used. Write a shorter, clearer version of each.
4. Point out any with the same name in two places, and tell me which one wins.
5. Make a table: name, keep / merge / shorten / remove, and why in one line.
6. Wait for my OK, then make only the changes I approve, and list every file you changed.

Tips to customize: Claude Code's docs say subagent descriptions take up room in your context, and show a warning when your custom subagents' descriptions add up to more than 15,000 tokens. They suggest keeping descriptions short and moving detail into the instructions, which only load when the subagent runs. Run /skills to see your skills, or /skill-doctor (Claude Code v2.1.252 or later) for a report of which skills cost the most room and which you've never used. To remove one of your own skills, delete its folder.

Get new free packs in your inbox

Optional. Every prompt here is free, and you don't need to sign up to use any of them. We email when we add new free packs. Unsubscribe anytime.

More free packs: Vibe Code Starter Pack Ship It Safe Fix My Bugs Ship It Live Make It Pretty Get Paid Signup Emails That Actually Arrive Lovable Credit Saver One Rules File for Every AI Tool Make Your Claude Code Limit Last Graduate From Lovable First App Store Submission Survive Your First Traffic Spike Get Found on Google First 100 Users Two AIs, One Project It Broke in Production Hit the Slop Wall? Refactor Without Breaking Everything Vibe Code From Your Phone AI Reverse Engineering Run Several AI Agents at Once Claude Code Guardrails Let AI Review Your AI's Code Make Your Cursor Usage Last Privacy Policy and Terms That Match Your App Install Skills, Plugins and MCP Servers Without Getting Burned Say What You Mean Prompt Injection: Don't Let a Web Page or a Strange File Hijack Your Agent Hit Your Limit Mid-Task? Switch AI Tools Without Losing Your Place Don't Let the AI Delete Your Data: Safe Database Changes Make the AI Teach You While It Builds Bolt Token Saver v0 to Production Logins, Tokens and JWTs in Plain English Put Your Web App on Their Phone Add AI Features in Lovable Is Anyone Using It? Simple Analytics for Vibe Coders Use the Cheap Model for the Easy Stuff: Claude Code Model Mixing Ship Updates Without Breaking the Live App: Preview Links, Checks and One-Click Rollback Try to Break It: Stress-Test Your App Before Strangers Do Claude Code Memory: Stop It Forgetting Your Decisions Fix Your Lovable Security Warnings Without Breaking the Live App What Will My App Cost to Run? A Monthly Bill You Can Predict Leave Claude Code Running Without It Getting Stuck Put Your Lovable App on Autopilot: Automations That Check and Report for You Spec and Tests First: Tell the Agent When It's Done Only Change What I Asked: Stop the AI Rewriting Code You Didn't Mention Stop Getting 429'd: Call Other People's APIs Without Hitting Limits Use the Current Version: Stop the AI Writing Outdated Library Code What Did My Agent Actually Do? Read Your Claude Code Session History Your First Google Play Launch: Get Through the 12-Tester, 14-Day Closed Test Will Anyone Want It? Check Your App Idea Before You Build Claude Code Code Mode: Try It Without Breaking Your Safety Checks Coding With Gemini 4 Neon: Make It Double-Check Its Own Work Understand the App You Already Built: A Guided Tour of Your Own Code Your Guess Might Be Wrong: Make the AI Find the Real Cause Before It Fixes Replit Missions: Give Agents a Goal, a Budget and Approval Rules Make Your Antigravity Quota Last: Pick the Right Gemini Model and Check /usage Turn a Claude Artifact Into a Desktop App, Without Giving It Too Much Access Built It for Work? Make Sure Only Your Team Can Open It Plan Before It Builds: Use GitHub Spec Kit So the Agent Builds the Right Thing Saves That Stick: Fix Data That Disappears Rebuilt Your Site With AI? Make Sure Google Can Still See Every Page Subscriptions and Paywalls: Gate Features by Plan Your AI App Builder Is Shutting Down: Get Your Code, Data and Domain Out Your Own Android App From a Prompt: Build It in Google AI Studio and Put It on Your Phone Backups You Can Actually Restore: Check, Copy and Test Your Supabase Data Accessibility Pass Before You Ship: Make Your App Work With a Keyboard, a Screen Reader and Zoom Update Your Dependencies Without Breaking the App: npm Updates, Audits, Major Upgrades and Dependabot