YouTube2Text

Anthropic Just Revealed 10 NEW Rules for Claude Skills — Transcript

by Jay E | RoboNuggets · 2,611 words · 373 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Claude's 5.5 models are here, and the
  2. 0:02way we build and use skills apparently
  3. 0:04need to change with them because
  4. 0:06Anthropic just updated their official
  5. 0:07comprehensive guide for skills, and it
  6. 0:09seems like a lot of what worked before
  7. 0:11is now either slowing you down or
  8. 0:13costing you more. For example, did you
  9. 0:15know that if you have a long skill file,
  10. 0:17Claude may only read the first 100 lines
  11. 0:19of that file depending on how you
  12. 0:20structure it. So, if your most important
  13. 0:22guidelines are sitting further down in
  14. 0:24that skill, as far as Claude's
  15. 0:26concerned, they may as well not exist.
  16. 0:28So, I read through Anthropic's new
  17. 0:29skills guide fully, and today we'll go
  18. 0:31through every new rule along with
  19. 0:33several examples, and I'll also share
  20. 0:34with you a prompt that audits all of
  21. 0:36your skills against these rules and
  22. 0:38improves them in one go. And if you're
  23. 0:39new, my name is Jay. I spent over a
  24. 0:41decade working with brands you probably
  25. 0:42know, have been in AI since my master's
  26. 0:44in data science, and now I'm leading our
  27. 0:46AI business in one of the largest AI
  28. 0:48communities globally. The first one is
  29. 0:50around new rules for progressive
  30. 0:52disclosure. As per Anthropic's guide, it
  31. 0:54is best practice to keep your main
  32. 0:56skill.md file under 500 lines, and
  33. 0:59everything else gets split into its own
  34. 1:01files, which are linked straight from
  35. 1:03your skill.md. Anthropic calls this
  36. 1:05progressive disclosure, which basically
  37. 1:07means that Claude only loads what it
  38. 1:09needs when it needs it. So, the main
  39. 1:11skill.md works like a contents page, and
  40. 1:14Claude only opens the other files at the
  41. 1:16step that actually needs them. So, take
  42. 1:18a skill for invoices, for example. The
  43. 1:20main file has the steps, and next to it
  44. 1:23we've got a pricing file, a clients
  45. 1:25file, and a scripts folder. When Claude
  46. 1:27is raising an invoice, it opens only the
  47. 1:30pricing file, and the scripts file would
  48. 1:32never get loaded, saving you some
  49. 1:33tokens. Now, here's the catch. If the
  50. 1:35main file points to a second file, and
  51. 1:37that second file points to a third, so
  52. 1:40multiple nested references, basically,
  53. 1:42Claude might actually only preview the
  54. 1:43third one, specifically just the first
  55. 1:46100 lines. Anthropic themselves
  56. 1:47mentioned this as a behavior that the
  57. 1:49new Claude models have. So, what you
  58. 1:51should do as best practice is to just
  59. 1:53have your skills only be one level deep
  60. 1:56if you can. And if you do need to have
  61. 1:58multiple nested references, then that's
  62. 2:00something we'll go through in rule
  63. 2:02number two. But if you do want to do a
  64. 2:03simple audit of your most used skills as
  65. 2:05per this rule, here's a prompt that can
  66. 2:07get you started. And by the way, I put
  67. 2:09every one of these resources and prompts
  68. 2:11into a free PDF guide, which you can
  69. 2:12just send straight to your AI agent and
  70. 2:14it will audit all of your skills against
  71. 2:16every rule and tell you what it would
  72. 2:18change before it does it. You can just
  73. 2:20grab that in the description below if
  74. 2:21you need it. And by the way, if you want
  75. 2:22to learn how to build and sell AI
  76. 2:24systems that businesses actually pay
  77. 2:26for, then that's pretty much all we do
  78. 2:28over at the Robo Nuggets community,
  79. 2:29where not only do you get access to the
  80. 2:31Claude Living Masterclass, which we
  81. 2:33update every week and takes you from
  82. 2:34zero to mastery with the latest on AI,
  83. 2:36but you also get access to our agents as
  84. 2:38a service course, which walks you
  85. 2:40through how to actually get paid for all
  86. 2:41these AI skills that you are learning.
  87. 2:43You also get to be part of a genuinely
  88. 2:45great community of AI builders. In fact,
  89. 2:47you can see just some of the recent wins
  90. 2:49our members are getting from the program
  91. 2:51right here. So, if you want to start
  92. 2:52earning from AI, then check that just in
  93. 2:53the pinned comment below. Now, back to
  94. 2:55the video. Rule number two, are content
  95. 2:57lists. So, any file over 100 lines would
  96. 3:00need a short content list at the very
  97. 3:02top of it, which is sort of like a table
  98. 3:04of contents that tells the agent what's
  99. 3:06inside before it spends your tokens
  100. 3:08reading the whole thing. And this is
  101. 3:10related to the previous point, where for
  102. 3:12some files, only the first 100 lines get
  103. 3:14read. And so, for these instances, even
  104. 3:17when it's only previewing it, it can
  105. 3:19actually jump to the section it needs if
  106. 3:20you have table of contents up at the
  107. 3:22top. So, for example, here's the pricing
  108. 3:24file that we were viewing once again.
  109. 3:26And at the very top, it lists the
  110. 3:27contents of what's within. Once Claude
  111. 3:30sees that, it now knows that the
  112. 3:31information for discounts, for example,
  113. 3:34is down at the bottom, even if it only
  114. 3:35previewed the first 100 lines. Rule
  115. 3:38three is around degrees of freedom. The
  116. 3:40principle for this rule is basically
  117. 3:42where a step or a task is risky, you
  118. 3:44will need to give more detail and
  119. 3:46guardrails. But if it's not as
  120. 3:47consequential, you can be less rigid and
  121. 3:50let the model be creative in solving the
  122. 3:52problem. Anthropic calls this setting
  123. 3:53the degrees of freedom. And there are
  124. 3:56actually three levels that they are
  125. 3:57mentioning. High freedom is basically
  126. 3:59plain instructions. So, you just tell it
  127. 4:01what you need. Like if you were just
  128. 4:03starting to brainstorm on ways to
  129. 4:04automate your business processes because
  130. 4:06there are a lot of good ways to do that.
  131. 4:08Medium freedom is a template with a few
  132. 4:10settings. Like for example, in a weekly
  133. 4:12report where you want a certain shape,
  134. 4:14but a bit of variation is fine. So, you
  135. 4:16do still want the model to adhere to the
  136. 4:18template that you've set, but you don't
  137. 4:20want it to be so rigid that you miss
  138. 4:22critical new information that would have
  139. 4:24been included if you gave the model more
  140. 4:26freedom. And low freedom is basically an
  141. 4:29exact script, like raising an invoice or
  142. 4:31maybe you're creating tax documents
  143. 4:33where being rigid and strict and
  144. 4:35detailed to a T is required. And having
  145. 4:37the right degree of freedom is important
  146. 4:39because the Claude 5.5 models are now so
  147. 4:41intelligent and often quite creative now
  148. 4:43compared to their older counterparts.
  149. 4:45So, if your skills are too rigid, you
  150. 4:47maybe hamstringing their outputs. But
  151. 4:49the thing is one skill can mix all three
  152. 4:51of these degrees of freedom. So, in an
  153. 4:53invoicing skill, writing the email can
  154. 4:55be wide open while the step that creates
  155. 4:57the invoice can be the one that has a
  156. 4:59lower degree of freedom and is locked
  157. 5:01down to a script. Rule number four is
  158. 5:03testing skills on the models you use. A
  159. 5:06skill is usually only as good as the
  160. 5:08model that's running it. As per
  161. 5:09Anthropic, you should test your skills
  162. 5:11on every model that you actually plan to
  163. 5:13use them with. And they also give you
  164. 5:14one question to check on each. For
  165. 5:16Haiku, which is cheaper but less
  166. 5:18intelligent, does the skill give enough
  167. 5:20guidance for the model? For Sonnet,
  168. 5:22which is a good middle tier, is the
  169. 5:24skill clear with some guidelines and is
  170. 5:26efficient? And for Opus and Fable, which
  171. 5:28are their smartest models, does the
  172. 5:29skill avoid over-explaining so that the
  173. 5:31model has more creative freedom? And
  174. 5:34this matters more now because Anthropic
  175. 5:35says skills written for older models are
  176. 5:38often too prescriptive for the newest
  177. 5:40models and can actually make the output
  178. 5:43worse. So, if you got skills you built a
  179. 5:45while back, it's worth testing them with
  180. 5:47less guidelines. This also works on the
  181. 5:50flip side. You may have skills that you
  182. 5:51keep running on the smartest models, but
  183. 5:53if they're already prescriptive enough,
  184. 5:55maybe a Haiku model is actually enough.
  185. 5:58Just note that testing every skill on
  186. 5:59every model can get expensive.
  187. 6:01Obviously, Anthropic would recommend
  188. 6:02this and would love for you to do that
  189. 6:04because that would burn through your
  190. 6:05tokens, but just a caveat that for this
  191. 6:07rule, you should probably just do it for
  192. 6:09the skills you rely on the most and the
  193. 6:11ones where a mistake is consequential.
  194. 6:14Rule five is optimizing your skill
  195. 6:15writing. So, this is a quick one, but if
  196. 6:17your skill opens with a paragraph
  197. 6:19explaining to a model what an invoice
  198. 6:21is, that's basically space and tokens
  199. 6:23you're wasting because Claude already
  200. 6:25knows what an invoice is. Anthropic
  201. 6:27actually calls the context window a
  202. 6:28public good. So, a better way is to keep
  203. 6:31only what Claude can't work out on its
  204. 6:33own like specific company stuff like
  205. 6:35your prices, your terms, or your
  206. 6:37internal rules. I also found they had a
  207. 6:39good tip around the description of the
  208. 6:41skill, and that's to write it in the
  209. 6:43third person. So, for example, the
  210. 6:44description should say that this skill
  211. 6:46creates client invoices and sends
  212. 6:48payment reminders, and not I can help
  213. 6:50you with invoices and payment reminders
  214. 6:52because this is the description that
  215. 6:54Claude reads when it decides which skill
  216. 6:56to use, and writing it in first person
  217. 6:58can just confuse it especially for the
  218. 7:00lower models. Rule number six are
  219. 7:02workflows and checklists. So, for jobs
  220. 7:04with a lot of steps, Anthropic
  221. 7:06recommends laying the steps out clearly
  222. 7:08and giving Claude an actual checklist
  223. 7:10that it copies into its reply and ticks
  224. 7:12off as it goes. According to Anthropic,
  225. 7:15clear steps are stopping Claude from
  226. 7:16skipping something critical, which is
  227. 7:18sometimes observed especially with the
  228. 7:205.5 models. So, here's what that could
  229. 7:23look like for the invoicing skill that
  230. 7:24we are setting as an example. And the
  231. 7:26part here that I wanted to highlight is
  232. 7:28what we call the go back line. So, under
  233. 7:31that check step, you can add something
  234. 7:32like if any total doesn't match the job
  235. 7:35list, then go back to step two. That's a
  236. 7:37pretty simple example, but Anthropic
  237. 7:39uses that same idea in their own
  238. 7:41instances as well. And in this instance,
  239. 7:43it can actually stop a wrong invoice
  240. 7:45from going out just because a box got
  241. 7:47ticked. Rule seven is a related one,
  242. 7:49which are feedback loops. So, what's a
  243. 7:52feedback loop? Well, it's basically your
  244. 7:53skill checking its own work. As per
  245. 7:55Anthropic, the pattern is to run a
  246. 7:57skill, fix whatever fails, and then
  247. 7:59repeat until it passes. And they say
  248. 8:01this greatly improves the quality of the
  249. 8:03output. And these days, the verification
  250. 8:05and feedback loop doesn't have to be
  251. 8:07related to code. Anthropic's first
  252. 8:09example here is actually a style guide.
  253. 8:11So, they had Claude draft the content
  254. 8:13following the guide. Then, if it's
  255. 8:14important to follow the style guide,
  256. 8:16they have it review it against a short
  257. 8:17checklist. Like, is the terminology
  258. 8:19consistent? Do the examples follow the
  259. 8:21standard format that we've set? And are
  260. 8:23all the required sections there? If
  261. 8:25anything fails, Claude then notes each
  262. 8:27issue with the part of the guide it
  263. 8:29breaks, revises it, and checks again,
  264. 8:31and only finishes the task when
  265. 8:33everything has passed. Rule number eight
  266. 8:35are common patterns. There's actually
  267. 8:37three common patterns that Anthropic
  268. 8:39recommends when it comes to skills where
  269. 8:41you need a more defined output. The
  270. 8:43first is a template format, where you
  271. 8:45can also choose how strict the model
  272. 8:47needs to be, either always using the
  273. 8:49exact structure of the template or
  274. 8:51giving a sensible default and just
  275. 8:53having the model use their best
  276. 8:54judgment. The second are examples, which
  277. 8:56are basically pairs of an input and the
  278. 8:58output that you want. So, this way you
  279. 9:00give the model an idea of the prompts
  280. 9:02that you would send, which are the
  281. 9:03inputs, and the examples that you would
  282. 9:05expect as the output. In this case,
  283. 9:07examples show the style and the level of
  284. 9:10detail more clearly than a description
  285. 9:12does. And the third one is a conditional
  286. 9:14workflow, which is basically a fork in
  287. 9:16the road. So, Claude knows which set of
  288. 9:18steps to follow depending on the
  289. 9:20conditions of the task. So, if you're
  290. 9:22finding that the output that your skills
  291. 9:24are giving you should be more defined,
  292. 9:26then have a think around these three
  293. 9:28common patterns and see which would
  294. 9:29apply to the task at hand. Rule number
  295. 9:32nine is to build for shareability. Now,
  296. 9:34you likely start creating your skills
  297. 9:36customized for your workspace, But at
  298. 9:38some point, especially as agentic AI
  299. 9:40becomes more prominent, you will
  300. 9:41probably need to share a skill to a
  301. 9:43coworker or to your team. So, this rule
  302. 9:45is about building with shareability in
  303. 9:47mind. And its principle is about not
  304. 9:49assuming that the tools and plugins that
  305. 9:51your skill needs are already installed
  306. 9:53on that other person's device. As per
  307. 9:56Anthropic, you should just not write to
  308. 9:58use the PDF library, but instead you can
  309. 10:00actually include some installation
  310. 10:02instructions in the skill itself. And
  311. 10:04also list the exact packages you usually
  312. 10:06use in the skill. And then you can just
  313. 10:08add a note to install this if in case it
  314. 10:10is not yet set up in the person's
  315. 10:12computer. Otherwise, our invoicing
  316. 10:14skill, for example, might work on your
  317. 10:16machine, but the first time that a
  318. 10:18teammate runs it, it won't be able to
  319. 10:20use it effectively. Number 10 is pretty
  320. 10:22underutilized, but it's probably one of
  321. 10:23the most important ones here, and it is
  322. 10:25about hooks. Now, let's say there's one
  323. 10:27rule in our invoicing skill that can
  324. 10:29never be broken. Like for example, never
  325. 10:31send an invoice above $10,000 without a
  326. 10:34person's sign-off. Now, you can write
  327. 10:36that in the skill in capital letters,
  328. 10:38and most of the time Claude will follow
  329. 10:40it, but for something as important as
  330. 10:42this, most of the time probably won't
  331. 10:44cut it. That is what hooks are for. A
  332. 10:46hook is a bit of code that Claude code
  333. 10:48runs on its own at a set moment, like
  334. 10:50for example, right before Claude sends
  335. 10:52something or runs a command, and it runs
  336. 10:54whether or not Claude is following the
  337. 10:56skill. And according to Anthropic's
  338. 10:58docs, if you're finding sometimes that
  339. 10:59Claude is skipping a rule that must hold
  340. 11:02every time, a better way is to move that
  341. 11:04rule from the skill into a hook. You can
  342. 11:06even put the hook inside the skill
  343. 11:07itself. Their example is a skill called
  344. 11:09secure operations. With this hook in its
  345. 11:12settings that runs a security check
  346. 11:14before every command. And when they use
  347. 11:16it, Claude code keeps it running for the
  348. 11:17rest of the session once the skill is
  349. 11:19used. So, pick the few rules where one
  350. 11:22mistake would really cost you or your
  351. 11:23business, and make sure to check if
  352. 11:25those can be converted to hooks. So,
  353. 11:28there you go, that's all 10 rules, and
  354. 11:29remember the resources and the prompts I
  355. 11:31mentioned are all just in the PDF and
  356. 11:33also that includes this skill I made
  357. 11:35called skill creator plus which is
  358. 11:37personally what I use now to make sure
  359. 11:39my skills are adherent to the latest in
  360. 11:41best practice because Entropic does have
  361. 11:43actually this skill creator skill that
  362. 11:45comes default with Cloud Code but when I
  363. 11:47check apparently that was last updated
  364. 11:50in March of this year for some reason.
  365. 11:52So no reason not to have our own so I'm
  366. 11:53just sharing mine down below. As usual
  367. 11:56thanks for watching till the end and I
  368. 11:57hope that was useful and if it is then
  369. 11:59consider tapping subscribe down below
  370. 12:00because that also helps me a lot to put
  371. 12:02out more educational stuff like this and
  372. 12:03I'll see you all next time. Cheers.
  373. 12:05>> [music]

About this transcript

This page contains the full transcript of Anthropic Just Revealed 10 NEW Rules for Claude Skills by Jay E | RoboNuggets, generated from the public captions YouTube serves with the video. The transcript has 2,611 words across 373 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.