[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f1h9ur9xgw981z":3},{"_id":4,"slug":5,"title":6,"subtitle":7,"kind":8,"cards":9,"tags":58,"categories":60,"source":62,"lang":65,"author":66,"audioState":69,"stats":70,"publishedAt":73,"renderer":74},"6abc6663ca21c797c7e9eb12","how-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef","How to Build a Claude Code Skill That Loads Itself (5-Minute SKILL.md Setup)","Every new session starts the same way: you paste your code review checklist again, re-explain your team’s API conventions again, walk the agent through the release process again.","news",[10,13,18,23,28,33,38,43,48,53],{"headline":6,"body":11,"imageUrl":12,"sourceImageUrl":12},"Every new session starts the same way: you paste your code review checklist again, re-explain your team’s API conventions again, walk the agent through the release process again. Forget once, and Claude Code falls back to generic habits.","https:\u002F\u002Fmedia2.dev.to\u002Fdynamic\u002Fimage\u002Fwidth=1200,height=627,fit=cover,gravity=auto,format=auto\u002Fhttps%3A%2F%2Fquickpromptco.com%2Fwp-content%2Fuploads%2F2026%2F09%2Fqpc-featured-108.png",{"headline":14,"body":15,"imageUrl":16,"images":17},"A Skill ends the repetition. It’s a folder","A Skill ends the repetition. It’s a folder with one SKILL.md file that teaches Claude Code a repeatable task or a piece of standing knowledge. Claude reads the description and pulls the skill in automatically whenever it’s relevant, no manual invocation needed. This guide builds one from scratch in about 5 minutes. Create a personal skill that works across every project on your machine:","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F1.webp",{"local":16},{"headline":19,"body":20,"imageUrl":21,"images":22},"Then create ~\u002F.claude\u002Fskills\u002Fapi-conventions\u002FSKILL.md with a frontmatter block…","Then create ~\u002F.claude\u002Fskills\u002Fapi-conventions\u002FSKILL.md with a frontmatter block and instructions (see Step 2 below). Claude Code picks it up on its next session start — no restart command needed. Total time: about 5 minutes. ⚡ Copy This Prompt: Let Claude Code Build the Skill For You","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F2.webp",{"local":21},{"headline":24,"body":25,"imageUrl":26,"images":27},"Skip Steps 1-4 below entirely and hand the","Skip Steps 1-4 below entirely and hand the whole thing to the agent instead — Claude Code can create the folder, write the SKILL.md, and validate it in one session:","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F3.webp",{"local":26},{"headline":29,"body":30,"imageUrl":31,"images":32},"The agent writes the file, then re-checks it","The agent writes the file, then re-checks it exists and parses cleanly before telling you it’s done — instead of you writing the frontmatter by hand. Prefer to do it by hand instead of delegating to the agent? Here’s the manual version of the same steps.","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F4.webp",{"local":31},{"headline":34,"body":35,"imageUrl":36,"images":37},"Personal skills live in ~\u002F.claude\u002Fskills\u002F and apply to","Personal skills live in ~\u002F.claude\u002Fskills\u002F and apply to every project you open. Project skills live in .claude\u002Fskills\u002F at your repo root and are loaded for anyone working in that repo (and its subdirectories, all the way down). Use project scope for team conventions, personal scope for your own habits. Each skill gets its own folder containing exactly one SKILL.md:","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F5.webp",{"local":36},{"headline":39,"body":40,"imageUrl":41,"images":42},"The opening --- must be the very first","The opening --- must be the very first line of the file for the frontmatter to parse. description is what Claude matches against your requests, so write it the way you’d naturally ask for the task:","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F6.webp",{"local":41},{"headline":44,"body":45,"imageUrl":46,"images":47},"Optional frontmatter fields: disable-model-invocation: true makes it callable","Optional frontmatter fields: disable-model-invocation: true makes it callable only via \u002Fapi-conventions, never triggered automatically; allowed-tools restricts which tools Claude can use while the skill is active.","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F7.webp",{"local":46},{"headline":49,"body":50,"imageUrl":51,"images":52},"Start (or restart) a Claude Code session in","Start (or restart) a Claude Code session in the project, then ask a question that matches the description naturally — Claude should pull the skill in on its own. To force it regardless of description matching, call it directly: A Skill loads itself when the task matches, so you stop repeating the same instructions. Confirm the file exists and the frontmatter parses cleanly: $ ls .claude\u002Fskills\u002F*\u002FSKILL.md .claude\u002Fskills\u002Fapi-conventions\u002FSKILL.md $ claude plugin validate .claude\u002Fskills ✔ api-conventions: valid Run the same two commands yourself:","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F8.webp",{"local":51},{"headline":54,"body":55,"imageUrl":56,"images":57},"Inside a Claude Code session, ask “What skills","Inside a Claude Code session, ask “What skills are available?” — your skill should appear in the list. If the frontmatter has a YAML syntax error, the skill still loads but with no description to match against, so it’ll only work via manual \u002Fname invocation. Opening --- isn’t on line 1. Any blank line or comment before it means the frontmatter won’t parse at all.","\u002Fapi\u002Fmedia\u002Fposts\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-5c42edef\u002F9.webp",{"local":56},[59],"dev",[61],"Technology",{"name":63,"url":64},"Dev.to","https:\u002F\u002Fdev.to\u002Fjuholee\u002Fhow-to-build-a-claude-code-skill-that-loads-itself-5-minute-skillmd-setup-2jjb","en",{"handle":67,"displayName":68},"spots","Spots","queued",{"views":71,"likes":72,"saves":72,"shares":72,"completions":72,"opens":72,"skips":72,"depthSum":72},1,0,"2026-09-30T01:31:15.535Z","local"]