YouTube2Text

Skills: Claude Code for Economists with Paul Goldsmith-Pinkham | Markus Academy | Ep. 162-6 — Transcript

by Markus' Academy · 5,744 words · 928 segments · language en · Watch on YouTube

Full transcript

  1. 0:08Welcome back to Claude AI for Applied
  2. 0:11Economists. Another mini video of our
  3. 0:14mini video series, how to use Claude AI
  4. 0:17for economists with Paul Goldsmith
  5. 0:19Pincom. Hi Paul.
  6. 0:21>> Hi.
  7. 0:24>> So today we will actually talk about
  8. 0:26making skills. We go deeper into making
  9. 0:28skills. So Paul, we are waiting for your
  10. 0:34>> Great. Yes, so let me share this. I'm
  11. 0:37going to do a little bit
  12. 0:39with some slides today and then we'll
  13. 0:40get into full on
  14. 0:43command line thinking about code again.
  15. 0:45But
  16. 0:46you know, we talked a little bit Marcus
  17. 0:48about skills in other videos.
  18. 0:51We talked about we we show I talked to
  19. 0:54you about a skill that you can use for
  20. 0:56thinking about referee revisions. I also
  21. 0:58talked about a skill that you can make
  22. 1:00about your writing and other sorts of
  23. 1:01things. Today I wanted to just spend a
  24. 1:04little bit of time for this
  25. 1:06not too long of just trying to make sure
  26. 1:08that everybody kind of understands how
  27. 1:09skills work when what's going on. I've
  28. 1:11kind of touched on some of these ideas,
  29. 1:13but I wanted to go over it. And so
  30. 1:15really skills at the super high level is
  31. 1:19you are kind of giving a a broad plan
  32. 1:21specifying how these agents how these
  33. 1:23LLMs should think about a problem.
  34. 1:26And
  35. 1:27so one idea of if you want to give
  36. 1:29context to it a skill is kind of
  37. 1:31reusable instruction bundle.
  38. 1:33So the text that you're going to put in
  39. 1:34there as we've looked over it it's kind
  40. 1:36of just a long prompt like the kind of
  41. 1:38thing that you would write out if you
  42. 1:40were describing something to Claude. But
  43. 1:42it just gets all put into one file in a
  44. 1:45way that
  45. 1:46when that it gets executed the whole
  46. 1:48thing happens. And what's of course
  47. 1:49what's interesting about that is there's
  48. 1:52a couple different ways in which that
  49. 1:53can be executed which we'll talk about.
  50. 1:55But really the idea is that instead of
  51. 1:56having to re-explain the same task every
  52. 1:58time, you kind of encode what you think
  53. 2:01of the task, how you should structure
  54. 2:03the output, and then what you need to
  55. 2:05check while you do it. And so, it's
  56. 2:07really In my mind, this is not my own
  57. 2:11language to use it. There's a great
  58. 2:12commentator on Substack who said this is
  59. 2:14that skills are a way of trying to
  60. 2:16specify how an agent should think. Cuz
  61. 2:19there's a little bit as you start to
  62. 2:20make explicit how you want to think
  63. 2:22about a problem, you're kind of
  64. 2:23elaborating the steps.
  65. 2:25So, in research, of course, right? Like,
  66. 2:27how do you want to summarize a paper?
  67. 2:29What are the things that you want to
  68. 2:29focus on? You know, if you were drafting
  69. 2:32referee report comments, if you wanted
  70. 2:34to diagnose certain things, do a
  71. 2:36literature literature review. For
  72. 2:37example, right? If you had an RA and you
  73. 2:40want them to do a literature review, you
  74. 2:41might have a very explicit set of steps
  75. 2:43on how you want them to do it. You may
  76. 2:46do that the first time you describe it
  77. 2:48to Claude, but then, of course, you
  78. 2:49might want to say, "Look, every time I
  79. 2:51want you to go search these X journals,
  80. 2:54look for all the words, find all the
  81. 2:56papers, then look at all the papers they
  82. 2:57cite related to this topic, and go and
  83. 3:00so on and so forth." And the nice part
  84. 3:01about skills is that's all going to be
  85. 3:03encoded into just one thing, and you
  86. 3:05won't have to re-explain yourself each
  87. 3:06time.
  88. 3:08So, that's just really it's a
  89. 3:09standardization. It kind of doesn't do
  90. 3:11anything beyond that. It's not a power,
  91. 3:13it's nothing
  92. 3:14addition, it's just a way of improving
  93. 3:17thinking.
  94. 3:18And so, I before we get into like
  95. 3:20exactly what it is, and we're going to
  96. 3:22make another one just kind of what we
  97. 3:23talked about last time, and then we'll
  98. 3:24go over a few examples is I just one
  99. 3:26thing that people always find a little
  100. 3:28confusing
  101. 3:29is kind of what the skill like where are
  102. 3:31the skills? And we looked at some of
  103. 3:32them together because we made some of
  104. 3:34them, but I want to kind of give you a
  105. 3:35sense of how Claude code and many of the
  106. 3:38other coding harnesses think about this.
  107. 3:40So, um
  108. 3:43there's really two ways in which Claude
  109. 3:45files get stored. So, there So,
  110. 3:49well, actually, let me start by saying
  111. 3:52every skill is just a folder. So, inside
  112. 3:56the skills folder
  113. 3:58there is a folder, for example, called
  114. 3:59paper summary. That's like the one that
  115. 4:01we'll make today
  116. 4:02where it has three things. So, well,
  117. 4:05actually really just has one thing. It
  118. 4:07has a skill.md file.
  119. 4:09So, the name of it is based off the
  120. 4:10folder and the file is always going to
  121. 4:12be called skill.md.
  122. 4:14That's going to have what the
  123. 4:15instruction is like for the prompt.
  124. 4:17And then it might have some additional
  125. 4:18things that you need to use. But, that's
  126. 4:20always just going to So, you're going to
  127. 4:21have just a bunch of folders. If you
  128. 4:22have a bunch of skills, you have a bunch
  129. 4:23of folders.
  130. 4:26And then there's two ways they can be
  131. 4:27installed. So, um the
  132. 4:31thing can either be installed globally.
  133. 4:35So, when I say something is global,
  134. 4:36Marcus, what I mean by that is that
  135. 4:39in any project that you use it in, that
  136. 4:41skill is always available.
  137. 4:43>> Mhm.
  138. 4:44>> So, you know, it's where it would get
  139. 4:46stored is in your user folder. So, the
  140. 4:48tilde in
  141. 4:50Mac and uh Unix-based uh
  142. 4:53this just means like the the person's
  143. 4:55personal folder. There's a file folder
  144. 4:58called .Claude. And the reason there's a
  145. 5:00dot there is cuz it means it ends up
  146. 5:02being hidden. Um
  147. 5:04so, you don't typically see it. It
  148. 5:05doesn't make a a big mess in your
  149. 5:07folders. And then there's the skills
  150. 5:08folder. So, that's for every project.
  151. 5:11And then
  152. 5:13if you don't want it in every project,
  153. 5:14like for example, you might not need
  154. 5:16this in every folder.
  155. 5:18Um
  156. 5:20you can have it instead in whatever
  157. 5:22folder that you're working in.
  158. 5:24So, typically that would be like a
  159. 5:26repository for me. You would have a
  160. 5:28.Claude folder. So, you can have two
  161. 5:29levels. You can have a project level
  162. 5:30one, which would be in the main folder
  163. 5:32that you're in, and then one at the user
  164. 5:34level.
  165. 5:35Now,
  166. 5:37it's kind of useful. You might be asking
  167. 5:38yourself, Marcus, maybe maybe not, but
  168. 5:41I'll pretend that you are, which is that
  169. 5:44why would I never want it at the user
  170. 5:47level? Why wouldn't I just want access
  171. 5:48to all my skills all the time? And so
  172. 5:51there's kind of two reasons
  173. 5:54um they're related.
  174. 5:56One reason is that
  175. 5:58um
  176. 5:59skills take up a little bit of space.
  177. 6:02So, in to some extent remember that
  178. 6:04we're thinking about an LLM as as kind
  179. 6:06of a lot of content. There's a right
  180. 6:07it's just about the context window and
  181. 6:09the information that's there. When you
  182. 6:11have skills,
  183. 6:13information about the skills, not the
  184. 6:15whole skill, but information about the
  185. 6:17skill, is embedded in the initial
  186. 6:19prompt. Specifically, the information
  187. 6:21that knows the description about when it
  188. 6:24should be used.
  189. 6:26So, a skill that we'll look through at
  190. 6:27the beginning it has a name and a
  191. 6:28description.
  192. 6:30>> Mhm.
  193. 6:30>> And in the description there's going to
  194. 6:31be something that says like, "When
  195. 6:33you're summarizing a paper, you should
  196. 6:35use this skill."
  197. 6:38That's just going to be additional
  198. 6:38information. Of course, if you have a
  199. 6:40thousand skills, that's just a bunch of
  200. 6:42stuff that has to get loaded up every
  201. 6:43time. So, think about it like when you
  202. 6:45reboot your computer, if there's a bunch
  203. 6:47of things that have to open up every
  204. 6:48time you do it, it's kind of slow when
  205. 6:50you start it up.
  206. 6:51Um the second thing is
  207. 6:55um
  208. 6:56you may just not want it to do certain
  209. 6:58skills in certain time periods, right?
  210. 7:00If you're doing something new, you may
  211. 7:02not want access to that particular
  212. 7:03skill. So, that's just sort of useful. I
  213. 7:05actually install very few things at the
  214. 7:07global level,
  215. 7:09um but
  216. 7:11just something worth keeping in mind.
  217. 7:12So, it's really easy in some ways
  218. 7:14>> here is just called skills or there's
  219. 7:16another sub
  220. 7:16>> Oh, no, no, the project would be like
  221. 7:18you're in a folder. So, what I mean by
  222. 7:19that is like say we're in one of your
  223. 7:21folders like, you know,
  224. 7:23macro macro finance paper X, and then
  225. 7:26this would just be at that at the top
  226. 7:28level. And so, there'd be a folder
  227. 7:30called {dot} Claude in that folder.
  228. 7:33Um
  229. 7:34So, how would we make a skill? So, the
  230. 7:36way that we're going to do this first is
  231. 7:37I'm going to we're just going to make
  232. 7:38one so we can remind ourselves what it
  233. 7:39looks like. Um we want to have a task
  234. 7:43where we potentially keep giving the
  235. 7:44same instructions. We're going to think
  236. 7:46about what the inputs are, what the
  237. 7:47output that we want, and then we're
  238. 7:49going to write the instructions. Now,
  239. 7:51you can actually write it yourself in
  240. 7:52words, but as with many of these things
  241. 7:55with these AI agents, it's much um more
  242. 7:57practical to have the AI make a first
  243. 8:00pass at what the instruction thing looks
  244. 8:02like and then edit accordingly. Um,
  245. 8:07this is kind of the the most uh the null
  246. 8:10version of a skill. It's the thing that
  247. 8:11we used before, but it's kind of a very
  248. 8:13simple way of uh re-implementing things.
  249. 8:16So, let's do an example just to kind of
  250. 8:18make life easy.
  251. 8:19Um,
  252. 8:21we are going to think about something
  253. 8:22that's going to say, "Look, I have a
  254. 8:25seminar visitor coming or I'm visiting
  255. 8:28someone for a seminar.
  256. 8:30I want to be able to look at some of
  257. 8:31their papers and just have some notes on
  258. 8:32kind of the headline things. So, this
  259. 8:34would be for an empirical paper. We can
  260. 8:35edit this accordingly. Um, but it's was
  261. 8:38sort of a way to prep or do sort of a
  262. 8:40lit- literature review. And the nice way
  263. 8:42to do this you might be just like,
  264. 8:43"Here's a link to a paper. Um,
  265. 8:45go do accordingly." Or here's the here's
  266. 8:47the PDF.
  267. 8:48So, I'll show you how we're going to do
  268. 8:50this um
  269. 8:51and then we can and then we can walk
  270. 8:52through an example. Okay, great. So, now
  271. 8:56what we're going to do, so usually if we
  272. 8:57were, you know,
  273. 8:59if we were
  274. 9:01doing something in Claude, we could very
  275. 9:03easily, you know, just say once we're
  276. 9:05done with the task and we realize we
  277. 9:06like a skill, we say, "Let's build a
  278. 9:08skill based off of this." Of course, you
  279. 9:10and I are doing this sort of
  280. 9:11artificially.
  281. 9:12And so, what we'll do is we are going to
  282. 9:14just build something directly. We're
  283. 9:16going to say, "All right, how can we
  284. 9:19um I want to build, I'm going to say
  285. 9:21something along the lines of, "I want to
  286. 9:23make a skill
  287. 9:25for this directory
  288. 9:27um that summarizes
  289. 9:30academic economic research papers um for
  290. 9:35when I am visiting other departments
  291. 9:39or when some of our visitors
  292. 9:43are visiting me.
  293. 9:45The input of the skill should be either
  294. 9:50the URL for a PDF or a file path for the
  295. 9:55PDF. The more specific we are, remember,
  296. 9:57the better.
  297. 9:59Um
  298. 10:00the output should have something
  299. 10:04as follows.
  300. 10:08So.
  301. 10:14And we can decide if we are we're happy
  302. 10:15with this.
  303. 10:17Um
  304. 10:19so you and I can iterate on this.
  305. 10:22>> Okay.
  306. 10:23>> Let's actually, you know what, before we
  307. 10:24do this, let's actually say what we want
  308. 10:27to do is the um
  309. 10:29the output should be
  310. 10:32in a LaTeX
  311. 10:35file that then is compiled to a PDF. Um
  312. 10:42um
  313. 10:43it is very important that the de-
  314. 10:46details of the
  315. 10:48strategy and results are translated into
  316. 10:53um
  317. 10:54uh
  318. 10:56general enough intuition that even a
  319. 11:00non-expert in the sub-domain
  320. 11:04a econ
  321. 11:06PhD who isn't in that
  322. 11:09field could still understand.
  323. 11:12>> Okay.
  324. 11:13>> Uh
  325. 11:14great. So, now it's made the skill.
  326. 11:17Um it constructed a description just
  327. 11:20like we talked about. Here's the name,
  328. 11:21the description produce a one-page PDF
  329. 11:23summary of an academic economics paper
  330. 11:25for department visits and seminar prep.
  331. 11:27Take blah blah blah blah blah. Use when,
  332. 11:30remember how we talked about sometimes
  333. 11:32it will just figure out and see this.
  334. 11:33Use this when the user says summarize
  335. 11:35this paper or prep me for this or do
  336. 11:37this or hands over an econ paper. So,
  337. 11:40you can see this description is quite
  338. 11:41important because this is what's going
  339. 11:43to get embedded in the LLM's prompt and
  340. 11:47it's going to trigger this what would
  341. 11:49potentially trigger. That's why you
  342. 11:50might not want too many skills cuz lots
  343. 11:52of things might get triggered in in
  344. 11:53places that you don't want. Um
  345. 11:57So, now it's testing it. It's saying
  346. 11:58does this work? It compiles cleanly. It
  347. 12:00does great. I put it here.
  348. 12:03Um
  349. 12:05It has some style nudges here.
  350. 12:08Um it already sort of shocking
  351. 12:11compressed for credit household finance
  352. 12:12fintech and shift your papers your
  353. 12:14areas. It's a little I don't know why it
  354. 12:16knows so much about my research agenda.
  355. 12:19Um
  356. 12:20and expand intuition for papers outside
  357. 12:22them.
  358. 12:23I can strip that out if you want. So,
  359. 12:25why don't we for the sake of this let's
  360. 12:27first look at what it looks like and
  361. 12:28then we can try running it. Actually,
  362. 12:30first what we'll do is we'll try running
  363. 12:31it while this is um while this is
  364. 12:34working. So, what I'm going to do is I'm
  365. 12:35going to pull up a paper. Why don't we
  366. 12:37pull up a Marcus paper?
  367. 12:40Should we do that? Do we have an easy
  368. 12:41access?
  369. 12:43We'll pull up a
  370. 12:46assuming we have one where we can find a
  371. 12:48an easy
  372. 12:49an easy access to
  373. 12:50>> tough one.
  374. 12:51>> A tough one? Do you have ones that
  375. 12:56Should we Do you have a preferred
  376. 12:57working paper you want to do it with?
  377. 13:00Do you have one where the
  378. 13:01>> Let's do optimal unconventional monetary
  379. 13:03policy.
  380. 13:05>> Okay.
  381. 13:07Perfect. So, let's see if it will do
  382. 13:09Okay, great. So, we're going to say
  383. 13:11Um so, actually what's interesting is
  384. 13:15um
  385. 13:17So, we're going to exit for a second um
  386. 13:19because it doesn't actually know that
  387. 13:21it's there because it has to get
  388. 13:23reloaded. So, we're going to load it
  389. 13:24again.
  390. 13:25And now it should say paper summary. So,
  391. 13:27you can it here when you do {forward
  392. 13:29slash} produce a one-page summary.
  393. 13:31And then I'm going to give it the
  394. 13:32optimal policy
  395. 13:34unconventional policy.
  396. 13:36And now we'll let this run. And while
  397. 13:38this is going, at the same time what I'd
  398. 13:40like to do
  399. 13:42is
  400. 13:43just show you what the skill string. So
  401. 13:45it's working on the left and on the
  402. 13:47right I'm going to show you what the
  403. 13:49skill looks like.
  404. 13:51So remember it's going to have skills
  405. 13:53and then there's paper summary and then
  406. 13:54the thing itself is called skill.md.
  407. 13:57And so in this um
  408. 14:01there's the description that we talked
  409. 14:03about. This is what goes in. And then
  410. 14:05below this everything below this triple
  411. 14:08line, this when you execute this skill,
  412. 14:11it will just
  413. 14:13copy that whole thing into the prompt.
  414. 14:15Like it's nothing more complicated than
  415. 14:17that, which is sort of interesting.
  416. 14:19It's just an it's just a a description
  417. 14:21of how to do a task. So it's here's what
  418. 14:23you're going to do.
  419. 14:25You're going to get an one argument this
  420. 14:27or this. If you didn't do this, ask once
  421. 14:30with ask user question.
  422. 14:32Acquire it, so that means it's going to
  423. 14:34download it, verify that it's a PDF. If
  424. 14:36it's an HTML or something else, so it
  425. 14:38has some error checking, read it, use a
  426. 14:41read tool. As with all economists, it
  427. 14:43says you know
  428. 14:45read the beginning first and then read
  429. 14:47the results.
  430. 14:49I've been told by theorists that this is
  431. 14:50less common that maybe you jump straight
  432. 14:52to the model first. So maybe this is not
  433. 14:54what you do.
  434. 14:54>> I would start jump to the model and then
  435. 14:57>> Yeah, exactly. So there's differences
  436. 14:59here, so you one could edit this.
  437. 15:01Compose a summary, here's what you
  438. 15:02should do.
  439. 15:03Um
  440. 15:06I'm not sure that I agree with
  441. 15:07something. Use variation in Bartik
  442. 15:08exposures as a shock to the local labor
  443. 15:10demand is not great. I don't love that.
  444. 15:12Um
  445. 15:14Anyway, so this is sort of the version
  446. 15:16of what it does. If it's theoretical,
  447. 15:17replace empirical strategy with model
  448. 15:19{slash} mechanism. That's nice.
  449. 15:22If it's structural, describe what it's
  450. 15:23identifying off of, write the LaTeX
  451. 15:25file, compile,
  452. 15:28and and so forth. And then it has some
  453. 15:30style notes at the end, which you could
  454. 15:31adjust. So, you know, pretty simple in
  455. 15:35some ways.
  456. 15:36Um you could tweak this accordingly. Um
  457. 15:39you could uh tweak it either within
  458. 15:41directly in the in within it or do
  459. 15:43something else. And so now it's
  460. 15:45basically running on the left, and
  461. 15:46what's nice is um
  462. 15:49we can then um
  463. 15:51once this is done, it's compiled, uh
  464. 15:54theory paper with five propositions, so
  465. 15:55it ran a bit long, but stays within the
  466. 15:57skills hard ceiling. So, let's take a
  467. 15:59look at what you um what it is. I'm
  468. 16:01going to open it up.
  469. 16:03And we'll have to switch over.
  470. 16:05Um
  471. 16:06so let me do that.
  472. 16:13Okay. So, here it is.
  473. 16:18I'm going to stop sharing, and then I
  474. 16:20will share
  475. 16:22this PDF.
  476. 16:23And you can tell me what you think,
  477. 16:24Marcus, if it
  478. 16:26you give it a grade.
  479. 16:29The TLDR, the too long didn't read, in a
  480. 16:32continuous-time macrofinance model with
  481. 16:34sticky prices and heterogeneous balance
  482. 16:36sheets, conventional interest rate
  483. 16:37policy alone can close the output gap,
  484. 16:39but cannot deliver an efficient
  485. 16:41distribution of consumption and risk
  486. 16:42across households and intermediaries
  487. 16:43away from the steady state. Balance
  488. 16:45sheet plays a preparatory role
  489. 16:47pre-positioning who bears duration risk
  490. 16:49so that subsequent interest rate moves
  491. 16:52redistribute wealth efficiently.
  492. 16:54>> Cool.
  493. 16:55>> Is that an accurate summary?
  494. 16:57>> That's a good summary. Yes.
  495. 16:59>> Okay.
  496. 17:01Um
  497. 17:02so it's interesting, so this is a
  498. 17:04theoretical paper, so then it's just
  499. 17:05going to talk about the model mechanism.
  500. 17:07I mean, this is pretty this is a lot of
  501. 17:10this is a lot of text. I mean, it's a
  502. 17:11but it's, you know, probably shorter
  503. 17:13than your paper.
  504. 17:15Um
  505. 17:16two market failures, have sticky prices
  506. 17:18and externalities.
  507. 17:20>> Mhm.
  508. 17:21>> Um
  509. 17:23And I guess the pecuniary so inefficient
  510. 17:25and risk distribution. This implies
  511. 17:27inefficient So it's interesting in that
  512. 17:29I told it to do one page, so it is
  513. 17:30really trying, you know, it's it's doing
  514. 17:33arrows and everything. It's like when
  515. 17:34you're taking notes on an exam, right?
  516. 17:36Or like you're trying to answer and then
  517. 17:38really shorten stuff up. Um
  518. 17:42Plain English logic, how much an
  519. 17:43interest rate cut redistributes depends
  520. 17:45on the direct how duration risk was
  521. 17:46already parked and balancing policies
  522. 17:49what parks it. Load-bearing assumptions
  523. 17:51are an intermediate bond market
  524. 17:52segmentation and the central bank's
  525. 17:54ability to set rates on excess and
  526. 17:56required reserves independently, plus
  527. 17:58log utility and continuous time which
  528. 18:00makes aggregation tractable.
  529. 18:02Would you say that these are the the
  530. 18:04right load-bearing assumptions?
  531. 18:08>> Yes.
  532. 18:10These are assumptions, so I mean there
  533. 18:11are seven particular points
  534. 18:14assumptions which play
  535. 18:17but it it captures
  536. 18:18the main
  537. 18:19>> captures the gist of it. Yeah.
  538. 18:21>> But the theory is the very I'm very
  539. 18:23picky to get exactly the mechanism
  540. 18:24right, you know.
  541. 18:25>> Right, exactly. So do you feel like
  542. 18:28So it says it operates in two two
  543. 18:31channels.
  544. 18:32There's a direct channel which is a
  545. 18:33wealth transfer and then indirect
  546. 18:36which cuz the bond prices go up and then
  547. 18:38indirect which is nominal wealth goes up
  548. 18:40under sticky pri- under nominal wealth
  549. 18:42going up under sticky prices raises all
  550. 18:44real asset prices which benefits whoever
  551. 18:46is levered in real capital to typically
  552. 18:48intermediaries.
  553. 18:50That's cuz it doesn't
  554. 18:52talk about I don't think we What's funny
  555. 18:54is it says this and then it's
  556. 18:56I don't think it ever defines what this
  557. 18:58is. So that's a sort of a flaw in this.
  558. 19:01It's kind of like a bad a bad theory
  559. 19:03paper.
  560. 19:04Um plain English though
  561. 19:07it's kind of conceptually the right
  562. 19:08idea.
  563. 19:09So yeah, so I mean this is sort of a fun
  564. 19:12one in that it's like doing a summary. I
  565. 19:14I have to say this would be
  566. 19:16probably skipping through this would be
  567. 19:18faster or easier in some ways than some
  568. 19:20of it. And then I think one of the
  569. 19:21things here is you know, I was thinking
  570. 19:24about what are the challenges and some
  571. 19:26ideas, you know, questions that you
  572. 19:28could follow up with or talk about.
  573. 19:29>> Okay.
  574. 19:31>> Um so that's you know, this is a very
  575. 19:33straightforward example.
  576. 19:35It's nice about it is that you know, you
  577. 19:37could do this for any given paper
  578. 19:39if you didn't have enough time to kind
  579. 19:40of read Say a good example of this this
  580. 19:42is like you could really scale it up.
  581. 19:45Is now, given the scale, we could add
  582. 19:48another scale, Marcus, where we say, all
  583. 19:50right, we got all the NBR working paper,
  584. 19:53we got the mailing list.
  585. 19:54>> Mhm.
  586. 19:56>> Rather than read the abstracts,
  587. 19:59what you could do is you could write a
  588. 20:01scale that you're going to say, I I've
  589. 20:03copy-pasted this week's NBR email list,
  590. 20:07make me kind of the key give me a list
  591. 20:09of all the key results from the papers
  592. 20:11this week.
  593. 20:13So that would be kind of a fun way to do
  594. 20:15it. It would go through every PDF and it
  595. 20:17would do that as well.
  596. 20:19So we're going to leave that as an
  597. 20:20exercise to the to the viewers.
  598. 20:22>> Thanks. Okay.
  599. 20:22>> You can tag us if you do this exercise,
  600. 20:24but I think it would be very
  601. 20:25straightforward to do that. It could be
  602. 20:27very fun.
  603. 20:28Um
  604. 20:30So let me now kind of talk about um
  605. 20:34that's kind of making your own skill and
  606. 20:35it's kind of
  607. 20:36I don't want to say trivial cuz it's
  608. 20:38it's not totally obvious, but it is um
  609. 20:42in some ways
  610. 20:44kind of simple because the whole point
  611. 20:47is that you have
  612. 20:49it's a pretty straightforward There's
  613. 20:50not a lot of thinking involved in that,
  614. 20:52right? There was some thinking, but it's
  615. 20:53not complex.
  616. 20:55So
  617. 20:57you know, there's a lot of skills that
  618. 21:00So one thing to keep in mind is that
  619. 21:01Claude and Codex as well, all these
  620. 21:03other coding harnesses, one of the
  621. 21:05benefits had This is an interesting,
  622. 21:07like, um,
  623. 21:08competitive competition policy question,
  624. 21:11is that
  625. 21:12this is sort of stuff that Laura Welp
  626. 21:13can work on, for example, is that
  627. 21:14they're getting a lot of data from
  628. 21:16people using their product, right? When
  629. 21:18we use Cloud Code, they see how people
  630. 21:21use it, and they are working on building
  631. 21:23things to make the tool work better.
  632. 21:26And so, there's a huge amount of, um,
  633. 21:29skills built in to the Cloud Code
  634. 21:33itself, tools and skills.
  635. 21:35>> It's like a
  636. 21:36>> They're continuing to kind of roll
  637. 21:37things out. So,
  638. 21:40it's just sort of worth knowing that
  639. 21:41there's a lot of stuff that's built in
  640. 21:43to, in order to make things work better.
  641. 21:45Um,
  642. 21:47there are also a number, there's an
  643. 21:50ecosystem of basically skill packs that
  644. 21:52people have made, and that was the
  645. 21:53examples that we looked, the example
  646. 21:55that we looked at when we talked about a
  647. 21:56referee report revision. There was a
  648. 21:58revision skill that we talked about. Um,
  649. 22:02there are a number of other skills that
  650. 22:04you can use, and so, the the kind of the
  651. 22:05most famous ones
  652. 22:06>> store of skills or something.
  653. 22:08>> I'm sorry?
  654. 22:08>> It's like an app store.
  655. 22:10>> Exactly. There's just a
  656. 22:12There's just a number, people,
  657. 22:16you know, in the open-source community,
  658. 22:17there's just a natural tendency to be
  659. 22:20like, here's a bunch of skills that I
  660. 22:21wrote, and people put them up. They're
  661. 22:22all text files. Um,
  662. 22:25the one that kind of gained a lot of
  663. 22:27popularity early on was this superpowers
  664. 22:30set of skills. Um,
  665. 22:33I want to show that one very quickly,
  666. 22:35just because I think it's it really
  667. 22:37highlights the difference of what we
  668. 22:39just did, which is just kind of a
  669. 22:40repeated, um, process versus like a
  670. 22:44really thinking about a pro- a problem.
  671. 22:46Um, but there's lots of things, I mean,
  672. 22:48one of the things you can do, and this
  673. 22:49is something we're doing at, um,
  674. 22:51at the LSOM, is that you can build an
  675. 22:54entire repository. So, for you, example,
  676. 22:56Marcus, you could build a set of skills
  677. 22:59that you think are important for your
  678. 23:00workflow. And what you could do is maybe
  679. 23:02you have RAs or co-authors who work with
  680. 23:05you and you could have a GitHub
  681. 23:06repository where you keep all of them
  682. 23:08and people could share those with you in
  683. 23:10terms of this is the way that you want
  684. 23:12to do things. And so it's it's
  685. 23:14Claude makes it very easy to kind of
  686. 23:16implement those types of
  687. 23:18those packs. And they work in a number
  688. 23:20of different ways. And so I'm going to
  689. 23:21show you one example. This is much more
  690. 23:23like
  691. 23:24programming adjacent, but I'm going to
  692. 23:26show you one example of kind of how to
  693. 23:28use that. And then we're going to and
  694. 23:29then we're going to wrap up.
  695. 23:31Um
  696. 23:32So let me let me show you here
  697. 23:34how to do the example. So this is
  698. 23:37this is one of the superpowers that we
  699. 23:39talked about. So this is called the this
  700. 23:41is the superpowers um
  701. 23:43skill set.
  702. 23:45It's really for software development,
  703. 23:47but it's
  704. 23:49This is so this is on GitHub.
  705. 23:52We'll post the link to it, but if you
  706. 23:53search GitHub superpowers, this will
  707. 23:55show up. It's a basically a skills
  708. 23:57framework for software development. Um
  709. 24:00let me make it a little bigger so it's
  710. 24:01easier to read. And
  711. 24:04you know, rather than go through all of
  712. 24:05it, what I just want to kind of
  713. 24:06highlight is in the skills, there's a
  714. 24:09number of skills that they do and I just
  715. 24:11want to show you kind of the detail of
  716. 24:13what this means. So when I started this,
  717. 24:14I said one way to think about skills is
  718. 24:16that they're actually
  719. 24:17telling your agent LLM how to think.
  720. 24:20Um which we sort of did in that example,
  721. 24:23but not really. And so this one is
  722. 24:25called brainstorming. So this is a
  723. 24:27brain. Anytime you do any creative work,
  724. 24:30creating features, building components,
  725. 24:31adding functionality, modifying
  726. 24:33behavior, it explores the user's intent,
  727. 24:35requirements, and design before
  728. 24:36implementation.
  729. 24:38So this is kind of the version of
  730. 24:40you know, I say like I want to do X
  731. 24:42and it says, "Okay, well, rather than
  732. 24:44just like jump right into it, you should
  733. 24:46really think a little bit about how to
  734. 24:47turn that idea into an actual executable
  735. 24:49task."
  736. 24:51So what does it do? So
  737. 24:53I just I we're not going to go through
  738. 24:55everything here,
  739. 24:57but
  740. 24:58what it's trying to do is it's it says
  741. 25:01everything has to go through this.
  742. 25:04It's trying to basically get rid of the
  743. 25:06idea of anything is some things are too
  744. 25:08simple they need a design. It says, "No,
  745. 25:09no matter what you should always do
  746. 25:11this." Because often simple projects
  747. 25:14create these assumptions that then
  748. 25:15create a ton of wasted work, for
  749. 25:17example. This is very much a software
  750. 25:19engineering perspective, but probably
  751. 25:21true in in this.
  752. 25:23It makes a whole checklist. Here's all
  753. 25:25the things that you need to do.
  754. 25:27Is a flow of how things should work.
  755. 25:29This is like a graph in terms of how we
  756. 25:31should think about things. So, explore
  757. 25:32the project, think about visual
  758. 25:34questions ahead. Should you offer a
  759. 25:36visual companion? Ask clarifying
  760. 25:38questions, propose approaches, present
  761. 25:40design So,
  762. 25:41I'm not going to go through everything.
  763. 25:42It goes on and on and on.
  764. 25:43>> companion? Sorry.
  765. 25:45>> Um So, I actually don't use this here,
  766. 25:48but well, here if we skip down to what
  767. 25:49this is,
  768. 25:51the visual companion is a browser-based
  769. 25:53companion for showing mock-ups, gra-
  770. 25:55diagrams, which are like graphics, um
  771. 25:58graphs, visual options during
  772. 26:00brainstorming, available as a tool.
  773. 26:02Basically, it will show you what things
  774. 26:04look like. It'll do mock-ups of what a
  775. 26:06thing would look like. So, imagine
  776. 26:07you're building a website. In the
  777. 26:09brainstorming mode, it will pop up a
  778. 26:11website so you can see what the example
  779. 26:13of what it has in mind would be.
  780. 26:15So, things like that.
  781. 26:17Um
  782. 26:18This is actually relatively I don't my
  783. 26:20version is not up to date. I think he
  784. 26:22added this in, the person who developed
  785. 26:24this. Mine doesn't do this. So, this is
  786. 26:26a huge amount of stuff, right? It's
  787. 26:27really saying like, "Here's all the
  788. 26:29things you should be thinking about, how
  789. 26:31you should work with this." After you've
  790. 26:33done the design, you've thought about
  791. 26:34the process, you write the specification
  792. 26:36here into these documents,
  793. 26:39and then you
  794. 26:40um use these skills in terms of thinking
  795. 26:42about writing clearly and concisely, and
  796. 26:45then you commit it, and then you review
  797. 26:47it.
  798. 26:48>> Mhm.
  799. 26:49>> And so, it's really kind of like you can
  800. 26:50see that this is a little this feels
  801. 26:52like a lot of detail. And certainly it's
  802. 26:54more than what we talked about. There's
  803. 26:56a lot of additional detail. And um
  804. 27:01And then it actually even has someone
  805. 27:03else review it. So, what it does is it
  806. 27:06says
  807. 27:07um
  808. 27:09you should basically
  809. 27:12implement a review
  810. 27:15where it's going to say, "Here's what
  811. 27:16I'm going to do. Review this and make
  812. 27:18sure that it's clear." So, it even has
  813. 27:20somebody review it.
  814. 27:21>> review it.
  815. 27:23>> Well, what I mean is another agent
  816. 27:24inside of it. So, what it does is it
  817. 27:26writes the plan.
  818. 27:28And then it says, "Hey, you should
  819. 27:30develop you should send off another
  820. 27:32person who you're going to be this kind
  821. 27:34of person.
  822. 27:36You're going to review this
  823. 27:37specification this document and here's
  824. 27:40what you should look for." And really
  825. 27:41what it's trying to look for is things
  826. 27:42are complete and consistent and clear.
  827. 27:45>> Mhm.
  828. 27:46>> Um
  829. 27:47So,
  830. 27:48you know, this is just this is just
  831. 27:50within brainstorming. So, just to give
  832. 27:51you a sense, there's many of these here.
  833. 27:54Um dispatching parallel executing a plan
  834. 27:57where executing plan here is it loads
  835. 27:59the plan like what we just did before
  836. 28:01and here's what you should do.
  837. 28:03And so, some of these are very simple.
  838. 28:05Like this one is relatively simple.
  839. 28:08Um but some are much more complicated.
  840. 28:10Um
  841. 28:12So, I just want you have a sense of like
  842. 28:14these are the types of things where
  843. 28:16you're basically giving it a way to
  844. 28:17think about this. The last one that I'll
  845. 28:19say that can be very a useful thing
  846. 28:21that's not on here, but I had a friend
  847. 28:23tell me about this as a potential um
  848. 28:25tool is
  849. 28:27uh one thing that you could do is
  850. 28:29imagine you have an idea, right? You
  851. 28:31have an idea for a project. But really
  852. 28:33what you need, you know, you're working
  853. 28:35on this project solo. But what you
  854. 28:37really would like is you'd like a
  855. 28:39version of someone who's who's, you
  856. 28:41know, like your advisor
  857. 28:42saying
  858. 28:44here's where like let me push you on all
  859. 28:46these things. You could develop a skill
  860. 28:48that basically says you should be asking
  861. 28:51me questions about this research thing.
  862. 28:52Push on anything that seems like a weak
  863. 28:54part of it.
  864. 28:55>> Mhm.
  865. 28:55>> Um and anything where it is weak, let's
  866. 28:57make a note of things that need to be
  867. 28:59flushed out more and like then develop a
  868. 29:01plan of what we need to do next. And it
  869. 29:03can do it. So, the one that I've seen
  870. 29:05isn't about this, but it's about I want
  871. 29:06to develop a project and it's going to
  872. 29:08do X. So, there's really a lot of
  873. 29:09powerful things you can do with these
  874. 29:11skills um that are really about
  875. 29:13structuring it and and pushing in a
  876. 29:15particular way. Um
  877. 29:17So, yeah. So, I think I've I'm cracked
  878. 29:20only the surface in terms of thinking
  879. 29:21about this. I don't use it as nearly as
  880. 29:23much as I would like. I think there are
  881. 29:24people who use it quite a bit and are
  882. 29:26are quite passionate about it. Let me
  883. 29:27kind of end by just a quick a brief
  884. 29:30warning about this.
  885. 29:31One of them is this thing that we
  886. 29:32already talked about. Don't go crazy
  887. 29:35with these things. Right? Skills fill up
  888. 29:37the context window and they're kind of
  889. 29:38confusing because some might get
  890. 29:40triggered in other places. So, being
  891. 29:42precise in what you want is important.
  892. 29:45And then the other is, you know, I
  893. 29:46advocated that there's these superpowers
  894. 29:48and other things is that you know,
  895. 29:50skills from others could potentially be
  896. 29:51malicious. Right? So, if you think about
  897. 29:53what's going on, you're letting other
  898. 29:55people decide how things should be
  899. 29:57loaded into your prompt. Now, these
  900. 29:59agent these LLMs and other things are
  901. 30:02have a lot of things hardcoded in them
  902. 30:04to prevent them from doing something
  903. 30:05dumb.
  904. 30:07But, they can still do incredibly dumb
  905. 30:08things. Like, imagine you loaded in a
  906. 30:10skill that says
  907. 30:11you know, you should remove all
  908. 30:13important files in this folder anytime
  909. 30:15somebody asks you to do something. That
  910. 30:17would be a pretty horrible skill. Now,
  911. 30:20it's all in plain text, so it's unlikely
  912. 30:22something would be like this, but this
  913. 30:23is a thing that people worry about. So,
  914. 30:26hopefully that's useful. I think there
  915. 30:28are I'd be really interested to hear
  916. 30:29kind of what people do with this, you
  917. 30:31know, how they how they kind of uh make
  918. 30:33progress and um
  919. 30:36yeah, that's what next time we'll talk
  920. 30:37about containers and thinking about uh
  921. 30:40kind of more generally how to think
  922. 30:42about allowing LLM's to have much more
  923. 30:44permissions.
  924. 30:45>> Okay.
  925. 30:47Great. Thanks a lot, Paul. We're going
  926. 30:49on to the next video then soon to
  927. 30:51permissions, containers, and sandboxes,
  928. 30:54and open claw, and things like that.

About this transcript

This page contains the full transcript of Skills: Claude Code for Economists with Paul Goldsmith-Pinkham | Markus Academy | Ep. 162-6 by Markus' Academy, generated from the public captions YouTube serves with the video. The transcript has 5,744 words across 928 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.