Skills: Claude Code for Economists with Paul Goldsmith-Pinkham | Markus Academy | Ep. 162-6 — Transcript
Full transcript
- 0:08Welcome back to Claude AI for Applied
- 0:11Economists. Another mini video of our
- 0:14mini video series, how to use Claude AI
- 0:17for economists with Paul Goldsmith
- 0:19Pincom. Hi Paul.
- 0:21>> Hi.
- 0:24>> So today we will actually talk about
- 0:26making skills. We go deeper into making
- 0:28skills. So Paul, we are waiting for your
- 0:34>> Great. Yes, so let me share this. I'm
- 0:37going to do a little bit
- 0:39with some slides today and then we'll
- 0:40get into full on
- 0:43command line thinking about code again.
- 0:45But
- 0:46you know, we talked a little bit Marcus
- 0:48about skills in other videos.
- 0:51We talked about we we show I talked to
- 0:54you about a skill that you can use for
- 0:56thinking about referee revisions. I also
- 0:58talked about a skill that you can make
- 1:00about your writing and other sorts of
- 1:01things. Today I wanted to just spend a
- 1:04little bit of time for this
- 1:06not too long of just trying to make sure
- 1:08that everybody kind of understands how
- 1:09skills work when what's going on. I've
- 1:11kind of touched on some of these ideas,
- 1:13but I wanted to go over it. And so
- 1:15really skills at the super high level is
- 1:19you are kind of giving a a broad plan
- 1:21specifying how these agents how these
- 1:23LLMs should think about a problem.
- 1:26And
- 1:27so one idea of if you want to give
- 1:29context to it a skill is kind of
- 1:31reusable instruction bundle.
- 1:33So the text that you're going to put in
- 1:34there as we've looked over it it's kind
- 1:36of just a long prompt like the kind of
- 1:38thing that you would write out if you
- 1:40were describing something to Claude. But
- 1:42it just gets all put into one file in a
- 1:45way that
- 1:46when that it gets executed the whole
- 1:48thing happens. And what's of course
- 1:49what's interesting about that is there's
- 1:52a couple different ways in which that
- 1:53can be executed which we'll talk about.
- 1:55But really the idea is that instead of
- 1:56having to re-explain the same task every
- 1:58time, you kind of encode what you think
- 2:01of the task, how you should structure
- 2:03the output, and then what you need to
- 2:05check while you do it. And so, it's
- 2:07really In my mind, this is not my own
- 2:11language to use it. There's a great
- 2:12commentator on Substack who said this is
- 2:14that skills are a way of trying to
- 2:16specify how an agent should think. Cuz
- 2:19there's a little bit as you start to
- 2:20make explicit how you want to think
- 2:22about a problem, you're kind of
- 2:23elaborating the steps.
- 2:25So, in research, of course, right? Like,
- 2:27how do you want to summarize a paper?
- 2:29What are the things that you want to
- 2:29focus on? You know, if you were drafting
- 2:32referee report comments, if you wanted
- 2:34to diagnose certain things, do a
- 2:36literature literature review. For
- 2:37example, right? If you had an RA and you
- 2:40want them to do a literature review, you
- 2:41might have a very explicit set of steps
- 2:43on how you want them to do it. You may
- 2:46do that the first time you describe it
- 2:48to Claude, but then, of course, you
- 2:49might want to say, "Look, every time I
- 2:51want you to go search these X journals,
- 2:54look for all the words, find all the
- 2:56papers, then look at all the papers they
- 2:57cite related to this topic, and go and
- 3:00so on and so forth." And the nice part
- 3:01about skills is that's all going to be
- 3:03encoded into just one thing, and you
- 3:05won't have to re-explain yourself each
- 3:06time.
- 3:08So, that's just really it's a
- 3:09standardization. It kind of doesn't do
- 3:11anything beyond that. It's not a power,
- 3:13it's nothing
- 3:14addition, it's just a way of improving
- 3:17thinking.
- 3:18And so, I before we get into like
- 3:20exactly what it is, and we're going to
- 3:22make another one just kind of what we
- 3:23talked about last time, and then we'll
- 3:24go over a few examples is I just one
- 3:26thing that people always find a little
- 3:28confusing
- 3:29is kind of what the skill like where are
- 3:31the skills? And we looked at some of
- 3:32them together because we made some of
- 3:34them, but I want to kind of give you a
- 3:35sense of how Claude code and many of the
- 3:38other coding harnesses think about this.
- 3:40So, um
- 3:43there's really two ways in which Claude
- 3:45files get stored. So, there So,
- 3:49well, actually, let me start by saying
- 3:52every skill is just a folder. So, inside
- 3:56the skills folder
- 3:58there is a folder, for example, called
- 3:59paper summary. That's like the one that
- 4:01we'll make today
- 4:02where it has three things. So, well,
- 4:05actually really just has one thing. It
- 4:07has a skill.md file.
- 4:09So, the name of it is based off the
- 4:10folder and the file is always going to
- 4:12be called skill.md.
- 4:14That's going to have what the
- 4:15instruction is like for the prompt.
- 4:17And then it might have some additional
- 4:18things that you need to use. But, that's
- 4:20always just going to So, you're going to
- 4:21have just a bunch of folders. If you
- 4:22have a bunch of skills, you have a bunch
- 4:23of folders.
- 4:26And then there's two ways they can be
- 4:27installed. So, um the
- 4:31thing can either be installed globally.
- 4:35So, when I say something is global,
- 4:36Marcus, what I mean by that is that
- 4:39in any project that you use it in, that
- 4:41skill is always available.
- 4:43>> Mhm.
- 4:44>> So, you know, it's where it would get
- 4:46stored is in your user folder. So, the
- 4:48tilde in
- 4:50Mac and uh Unix-based uh
- 4:53this just means like the the person's
- 4:55personal folder. There's a file folder
- 4:58called .Claude. And the reason there's a
- 5:00dot there is cuz it means it ends up
- 5:02being hidden. Um
- 5:04so, you don't typically see it. It
- 5:05doesn't make a a big mess in your
- 5:07folders. And then there's the skills
- 5:08folder. So, that's for every project.
- 5:11And then
- 5:13if you don't want it in every project,
- 5:14like for example, you might not need
- 5:16this in every folder.
- 5:18Um
- 5:20you can have it instead in whatever
- 5:22folder that you're working in.
- 5:24So, typically that would be like a
- 5:26repository for me. You would have a
- 5:28.Claude folder. So, you can have two
- 5:29levels. You can have a project level
- 5:30one, which would be in the main folder
- 5:32that you're in, and then one at the user
- 5:34level.
- 5:35Now,
- 5:37it's kind of useful. You might be asking
- 5:38yourself, Marcus, maybe maybe not, but
- 5:41I'll pretend that you are, which is that
- 5:44why would I never want it at the user
- 5:47level? Why wouldn't I just want access
- 5:48to all my skills all the time? And so
- 5:51there's kind of two reasons
- 5:54um they're related.
- 5:56One reason is that
- 5:58um
- 5:59skills take up a little bit of space.
- 6:02So, in to some extent remember that
- 6:04we're thinking about an LLM as as kind
- 6:06of a lot of content. There's a right
- 6:07it's just about the context window and
- 6:09the information that's there. When you
- 6:11have skills,
- 6:13information about the skills, not the
- 6:15whole skill, but information about the
- 6:17skill, is embedded in the initial
- 6:19prompt. Specifically, the information
- 6:21that knows the description about when it
- 6:24should be used.
- 6:26So, a skill that we'll look through at
- 6:27the beginning it has a name and a
- 6:28description.
- 6:30>> Mhm.
- 6:30>> And in the description there's going to
- 6:31be something that says like, "When
- 6:33you're summarizing a paper, you should
- 6:35use this skill."
- 6:38That's just going to be additional
- 6:38information. Of course, if you have a
- 6:40thousand skills, that's just a bunch of
- 6:42stuff that has to get loaded up every
- 6:43time. So, think about it like when you
- 6:45reboot your computer, if there's a bunch
- 6:47of things that have to open up every
- 6:48time you do it, it's kind of slow when
- 6:50you start it up.
- 6:51Um the second thing is
- 6:55um
- 6:56you may just not want it to do certain
- 6:58skills in certain time periods, right?
- 7:00If you're doing something new, you may
- 7:02not want access to that particular
- 7:03skill. So, that's just sort of useful. I
- 7:05actually install very few things at the
- 7:07global level,
- 7:09um but
- 7:11just something worth keeping in mind.
- 7:12So, it's really easy in some ways
- 7:14>> here is just called skills or there's
- 7:16another sub
- 7:16>> Oh, no, no, the project would be like
- 7:18you're in a folder. So, what I mean by
- 7:19that is like say we're in one of your
- 7:21folders like, you know,
- 7:23macro macro finance paper X, and then
- 7:26this would just be at that at the top
- 7:28level. And so, there'd be a folder
- 7:30called {dot} Claude in that folder.
- 7:33Um
- 7:34So, how would we make a skill? So, the
- 7:36way that we're going to do this first is
- 7:37I'm going to we're just going to make
- 7:38one so we can remind ourselves what it
- 7:39looks like. Um we want to have a task
- 7:43where we potentially keep giving the
- 7:44same instructions. We're going to think
- 7:46about what the inputs are, what the
- 7:47output that we want, and then we're
- 7:49going to write the instructions. Now,
- 7:51you can actually write it yourself in
- 7:52words, but as with many of these things
- 7:55with these AI agents, it's much um more
- 7:57practical to have the AI make a first
- 8:00pass at what the instruction thing looks
- 8:02like and then edit accordingly. Um,
- 8:07this is kind of the the most uh the null
- 8:10version of a skill. It's the thing that
- 8:11we used before, but it's kind of a very
- 8:13simple way of uh re-implementing things.
- 8:16So, let's do an example just to kind of
- 8:18make life easy.
- 8:19Um,
- 8:21we are going to think about something
- 8:22that's going to say, "Look, I have a
- 8:25seminar visitor coming or I'm visiting
- 8:28someone for a seminar.
- 8:30I want to be able to look at some of
- 8:31their papers and just have some notes on
- 8:32kind of the headline things. So, this
- 8:34would be for an empirical paper. We can
- 8:35edit this accordingly. Um, but it's was
- 8:38sort of a way to prep or do sort of a
- 8:40lit- literature review. And the nice way
- 8:42to do this you might be just like,
- 8:43"Here's a link to a paper. Um,
- 8:45go do accordingly." Or here's the here's
- 8:47the PDF.
- 8:48So, I'll show you how we're going to do
- 8:50this um
- 8:51and then we can and then we can walk
- 8:52through an example. Okay, great. So, now
- 8:56what we're going to do, so usually if we
- 8:57were, you know,
- 8:59if we were
- 9:01doing something in Claude, we could very
- 9:03easily, you know, just say once we're
- 9:05done with the task and we realize we
- 9:06like a skill, we say, "Let's build a
- 9:08skill based off of this." Of course, you
- 9:10and I are doing this sort of
- 9:11artificially.
- 9:12And so, what we'll do is we are going to
- 9:14just build something directly. We're
- 9:16going to say, "All right, how can we
- 9:19um I want to build, I'm going to say
- 9:21something along the lines of, "I want to
- 9:23make a skill
- 9:25for this directory
- 9:27um that summarizes
- 9:30academic economic research papers um for
- 9:35when I am visiting other departments
- 9:39or when some of our visitors
- 9:43are visiting me.
- 9:45The input of the skill should be either
- 9:50the URL for a PDF or a file path for the
- 9:55PDF. The more specific we are, remember,
- 9:57the better.
- 9:59Um
- 10:00the output should have something
- 10:04as follows.
- 10:08So.
- 10:14And we can decide if we are we're happy
- 10:15with this.
- 10:17Um
- 10:19so you and I can iterate on this.
- 10:22>> Okay.
- 10:23>> Let's actually, you know what, before we
- 10:24do this, let's actually say what we want
- 10:27to do is the um
- 10:29the output should be
- 10:32in a LaTeX
- 10:35file that then is compiled to a PDF. Um
- 10:42um
- 10:43it is very important that the de-
- 10:46details of the
- 10:48strategy and results are translated into
- 10:53um
- 10:54uh
- 10:56general enough intuition that even a
- 11:00non-expert in the sub-domain
- 11:04a econ
- 11:06PhD who isn't in that
- 11:09field could still understand.
- 11:12>> Okay.
- 11:13>> Uh
- 11:14great. So, now it's made the skill.
- 11:17Um it constructed a description just
- 11:20like we talked about. Here's the name,
- 11:21the description produce a one-page PDF
- 11:23summary of an academic economics paper
- 11:25for department visits and seminar prep.
- 11:27Take blah blah blah blah blah. Use when,
- 11:30remember how we talked about sometimes
- 11:32it will just figure out and see this.
- 11:33Use this when the user says summarize
- 11:35this paper or prep me for this or do
- 11:37this or hands over an econ paper. So,
- 11:40you can see this description is quite
- 11:41important because this is what's going
- 11:43to get embedded in the LLM's prompt and
- 11:47it's going to trigger this what would
- 11:49potentially trigger. That's why you
- 11:50might not want too many skills cuz lots
- 11:52of things might get triggered in in
- 11:53places that you don't want. Um
- 11:57So, now it's testing it. It's saying
- 11:58does this work? It compiles cleanly. It
- 12:00does great. I put it here.
- 12:03Um
- 12:05It has some style nudges here.
- 12:08Um it already sort of shocking
- 12:11compressed for credit household finance
- 12:12fintech and shift your papers your
- 12:14areas. It's a little I don't know why it
- 12:16knows so much about my research agenda.
- 12:19Um
- 12:20and expand intuition for papers outside
- 12:22them.
- 12:23I can strip that out if you want. So,
- 12:25why don't we for the sake of this let's
- 12:27first look at what it looks like and
- 12:28then we can try running it. Actually,
- 12:30first what we'll do is we'll try running
- 12:31it while this is um while this is
- 12:34working. So, what I'm going to do is I'm
- 12:35going to pull up a paper. Why don't we
- 12:37pull up a Marcus paper?
- 12:40Should we do that? Do we have an easy
- 12:41access?
- 12:43We'll pull up a
- 12:46assuming we have one where we can find a
- 12:48an easy
- 12:49an easy access to
- 12:50>> tough one.
- 12:51>> A tough one? Do you have ones that
- 12:56Should we Do you have a preferred
- 12:57working paper you want to do it with?
- 13:00Do you have one where the
- 13:01>> Let's do optimal unconventional monetary
- 13:03policy.
- 13:05>> Okay.
- 13:07Perfect. So, let's see if it will do
- 13:09Okay, great. So, we're going to say
- 13:11Um so, actually what's interesting is
- 13:15um
- 13:17So, we're going to exit for a second um
- 13:19because it doesn't actually know that
- 13:21it's there because it has to get
- 13:23reloaded. So, we're going to load it
- 13:24again.
- 13:25And now it should say paper summary. So,
- 13:27you can it here when you do {forward
- 13:29slash} produce a one-page summary.
- 13:31And then I'm going to give it the
- 13:32optimal policy
- 13:34unconventional policy.
- 13:36And now we'll let this run. And while
- 13:38this is going, at the same time what I'd
- 13:40like to do
- 13:42is
- 13:43just show you what the skill string. So
- 13:45it's working on the left and on the
- 13:47right I'm going to show you what the
- 13:49skill looks like.
- 13:51So remember it's going to have skills
- 13:53and then there's paper summary and then
- 13:54the thing itself is called skill.md.
- 13:57And so in this um
- 14:01there's the description that we talked
- 14:03about. This is what goes in. And then
- 14:05below this everything below this triple
- 14:08line, this when you execute this skill,
- 14:11it will just
- 14:13copy that whole thing into the prompt.
- 14:15Like it's nothing more complicated than
- 14:17that, which is sort of interesting.
- 14:19It's just an it's just a a description
- 14:21of how to do a task. So it's here's what
- 14:23you're going to do.
- 14:25You're going to get an one argument this
- 14:27or this. If you didn't do this, ask once
- 14:30with ask user question.
- 14:32Acquire it, so that means it's going to
- 14:34download it, verify that it's a PDF. If
- 14:36it's an HTML or something else, so it
- 14:38has some error checking, read it, use a
- 14:41read tool. As with all economists, it
- 14:43says you know
- 14:45read the beginning first and then read
- 14:47the results.
- 14:49I've been told by theorists that this is
- 14:50less common that maybe you jump straight
- 14:52to the model first. So maybe this is not
- 14:54what you do.
- 14:54>> I would start jump to the model and then
- 14:57>> Yeah, exactly. So there's differences
- 14:59here, so you one could edit this.
- 15:01Compose a summary, here's what you
- 15:02should do.
- 15:03Um
- 15:06I'm not sure that I agree with
- 15:07something. Use variation in Bartik
- 15:08exposures as a shock to the local labor
- 15:10demand is not great. I don't love that.
- 15:12Um
- 15:14Anyway, so this is sort of the version
- 15:16of what it does. If it's theoretical,
- 15:17replace empirical strategy with model
- 15:19{slash} mechanism. That's nice.
- 15:22If it's structural, describe what it's
- 15:23identifying off of, write the LaTeX
- 15:25file, compile,
- 15:28and and so forth. And then it has some
- 15:30style notes at the end, which you could
- 15:31adjust. So, you know, pretty simple in
- 15:35some ways.
- 15:36Um you could tweak this accordingly. Um
- 15:39you could uh tweak it either within
- 15:41directly in the in within it or do
- 15:43something else. And so now it's
- 15:45basically running on the left, and
- 15:46what's nice is um
- 15:49we can then um
- 15:51once this is done, it's compiled, uh
- 15:54theory paper with five propositions, so
- 15:55it ran a bit long, but stays within the
- 15:57skills hard ceiling. So, let's take a
- 15:59look at what you um what it is. I'm
- 16:01going to open it up.
- 16:03And we'll have to switch over.
- 16:05Um
- 16:06so let me do that.
- 16:13Okay. So, here it is.
- 16:18I'm going to stop sharing, and then I
- 16:20will share
- 16:22this PDF.
- 16:23And you can tell me what you think,
- 16:24Marcus, if it
- 16:26you give it a grade.
- 16:29The TLDR, the too long didn't read, in a
- 16:32continuous-time macrofinance model with
- 16:34sticky prices and heterogeneous balance
- 16:36sheets, conventional interest rate
- 16:37policy alone can close the output gap,
- 16:39but cannot deliver an efficient
- 16:41distribution of consumption and risk
- 16:42across households and intermediaries
- 16:43away from the steady state. Balance
- 16:45sheet plays a preparatory role
- 16:47pre-positioning who bears duration risk
- 16:49so that subsequent interest rate moves
- 16:52redistribute wealth efficiently.
- 16:54>> Cool.
- 16:55>> Is that an accurate summary?
- 16:57>> That's a good summary. Yes.
- 16:59>> Okay.
- 17:01Um
- 17:02so it's interesting, so this is a
- 17:04theoretical paper, so then it's just
- 17:05going to talk about the model mechanism.
- 17:07I mean, this is pretty this is a lot of
- 17:10this is a lot of text. I mean, it's a
- 17:11but it's, you know, probably shorter
- 17:13than your paper.
- 17:15Um
- 17:16two market failures, have sticky prices
- 17:18and externalities.
- 17:20>> Mhm.
- 17:21>> Um
- 17:23And I guess the pecuniary so inefficient
- 17:25and risk distribution. This implies
- 17:27inefficient So it's interesting in that
- 17:29I told it to do one page, so it is
- 17:30really trying, you know, it's it's doing
- 17:33arrows and everything. It's like when
- 17:34you're taking notes on an exam, right?
- 17:36Or like you're trying to answer and then
- 17:38really shorten stuff up. Um
- 17:42Plain English logic, how much an
- 17:43interest rate cut redistributes depends
- 17:45on the direct how duration risk was
- 17:46already parked and balancing policies
- 17:49what parks it. Load-bearing assumptions
- 17:51are an intermediate bond market
- 17:52segmentation and the central bank's
- 17:54ability to set rates on excess and
- 17:56required reserves independently, plus
- 17:58log utility and continuous time which
- 18:00makes aggregation tractable.
- 18:02Would you say that these are the the
- 18:04right load-bearing assumptions?
- 18:08>> Yes.
- 18:10These are assumptions, so I mean there
- 18:11are seven particular points
- 18:14assumptions which play
- 18:17but it it captures
- 18:18the main
- 18:19>> captures the gist of it. Yeah.
- 18:21>> But the theory is the very I'm very
- 18:23picky to get exactly the mechanism
- 18:24right, you know.
- 18:25>> Right, exactly. So do you feel like
- 18:28So it says it operates in two two
- 18:31channels.
- 18:32There's a direct channel which is a
- 18:33wealth transfer and then indirect
- 18:36which cuz the bond prices go up and then
- 18:38indirect which is nominal wealth goes up
- 18:40under sticky pri- under nominal wealth
- 18:42going up under sticky prices raises all
- 18:44real asset prices which benefits whoever
- 18:46is levered in real capital to typically
- 18:48intermediaries.
- 18:50That's cuz it doesn't
- 18:52talk about I don't think we What's funny
- 18:54is it says this and then it's
- 18:56I don't think it ever defines what this
- 18:58is. So that's a sort of a flaw in this.
- 19:01It's kind of like a bad a bad theory
- 19:03paper.
- 19:04Um plain English though
- 19:07it's kind of conceptually the right
- 19:08idea.
- 19:09So yeah, so I mean this is sort of a fun
- 19:12one in that it's like doing a summary. I
- 19:14I have to say this would be
- 19:16probably skipping through this would be
- 19:18faster or easier in some ways than some
- 19:20of it. And then I think one of the
- 19:21things here is you know, I was thinking
- 19:24about what are the challenges and some
- 19:26ideas, you know, questions that you
- 19:28could follow up with or talk about.
- 19:29>> Okay.
- 19:31>> Um so that's you know, this is a very
- 19:33straightforward example.
- 19:35It's nice about it is that you know, you
- 19:37could do this for any given paper
- 19:39if you didn't have enough time to kind
- 19:40of read Say a good example of this this
- 19:42is like you could really scale it up.
- 19:45Is now, given the scale, we could add
- 19:48another scale, Marcus, where we say, all
- 19:50right, we got all the NBR working paper,
- 19:53we got the mailing list.
- 19:54>> Mhm.
- 19:56>> Rather than read the abstracts,
- 19:59what you could do is you could write a
- 20:01scale that you're going to say, I I've
- 20:03copy-pasted this week's NBR email list,
- 20:07make me kind of the key give me a list
- 20:09of all the key results from the papers
- 20:11this week.
- 20:13So that would be kind of a fun way to do
- 20:15it. It would go through every PDF and it
- 20:17would do that as well.
- 20:19So we're going to leave that as an
- 20:20exercise to the to the viewers.
- 20:22>> Thanks. Okay.
- 20:22>> You can tag us if you do this exercise,
- 20:24but I think it would be very
- 20:25straightforward to do that. It could be
- 20:27very fun.
- 20:28Um
- 20:30So let me now kind of talk about um
- 20:34that's kind of making your own skill and
- 20:35it's kind of
- 20:36I don't want to say trivial cuz it's
- 20:38it's not totally obvious, but it is um
- 20:42in some ways
- 20:44kind of simple because the whole point
- 20:47is that you have
- 20:49it's a pretty straightforward There's
- 20:50not a lot of thinking involved in that,
- 20:52right? There was some thinking, but it's
- 20:53not complex.
- 20:55So
- 20:57you know, there's a lot of skills that
- 21:00So one thing to keep in mind is that
- 21:01Claude and Codex as well, all these
- 21:03other coding harnesses, one of the
- 21:05benefits had This is an interesting,
- 21:07like, um,
- 21:08competitive competition policy question,
- 21:11is that
- 21:12this is sort of stuff that Laura Welp
- 21:13can work on, for example, is that
- 21:14they're getting a lot of data from
- 21:16people using their product, right? When
- 21:18we use Cloud Code, they see how people
- 21:21use it, and they are working on building
- 21:23things to make the tool work better.
- 21:26And so, there's a huge amount of, um,
- 21:29skills built in to the Cloud Code
- 21:33itself, tools and skills.
- 21:35>> It's like a
- 21:36>> They're continuing to kind of roll
- 21:37things out. So,
- 21:40it's just sort of worth knowing that
- 21:41there's a lot of stuff that's built in
- 21:43to, in order to make things work better.
- 21:45Um,
- 21:47there are also a number, there's an
- 21:50ecosystem of basically skill packs that
- 21:52people have made, and that was the
- 21:53examples that we looked, the example
- 21:55that we looked at when we talked about a
- 21:56referee report revision. There was a
- 21:58revision skill that we talked about. Um,
- 22:02there are a number of other skills that
- 22:04you can use, and so, the the kind of the
- 22:05most famous ones
- 22:06>> store of skills or something.
- 22:08>> I'm sorry?
- 22:08>> It's like an app store.
- 22:10>> Exactly. There's just a
- 22:12There's just a number, people,
- 22:16you know, in the open-source community,
- 22:17there's just a natural tendency to be
- 22:20like, here's a bunch of skills that I
- 22:21wrote, and people put them up. They're
- 22:22all text files. Um,
- 22:25the one that kind of gained a lot of
- 22:27popularity early on was this superpowers
- 22:30set of skills. Um,
- 22:33I want to show that one very quickly,
- 22:35just because I think it's it really
- 22:37highlights the difference of what we
- 22:39just did, which is just kind of a
- 22:40repeated, um, process versus like a
- 22:44really thinking about a pro- a problem.
- 22:46Um, but there's lots of things, I mean,
- 22:48one of the things you can do, and this
- 22:49is something we're doing at, um,
- 22:51at the LSOM, is that you can build an
- 22:54entire repository. So, for you, example,
- 22:56Marcus, you could build a set of skills
- 22:59that you think are important for your
- 23:00workflow. And what you could do is maybe
- 23:02you have RAs or co-authors who work with
- 23:05you and you could have a GitHub
- 23:06repository where you keep all of them
- 23:08and people could share those with you in
- 23:10terms of this is the way that you want
- 23:12to do things. And so it's it's
- 23:14Claude makes it very easy to kind of
- 23:16implement those types of
- 23:18those packs. And they work in a number
- 23:20of different ways. And so I'm going to
- 23:21show you one example. This is much more
- 23:23like
- 23:24programming adjacent, but I'm going to
- 23:26show you one example of kind of how to
- 23:28use that. And then we're going to and
- 23:29then we're going to wrap up.
- 23:31Um
- 23:32So let me let me show you here
- 23:34how to do the example. So this is
- 23:37this is one of the superpowers that we
- 23:39talked about. So this is called the this
- 23:41is the superpowers um
- 23:43skill set.
- 23:45It's really for software development,
- 23:47but it's
- 23:49This is so this is on GitHub.
- 23:52We'll post the link to it, but if you
- 23:53search GitHub superpowers, this will
- 23:55show up. It's a basically a skills
- 23:57framework for software development. Um
- 24:00let me make it a little bigger so it's
- 24:01easier to read. And
- 24:04you know, rather than go through all of
- 24:05it, what I just want to kind of
- 24:06highlight is in the skills, there's a
- 24:09number of skills that they do and I just
- 24:11want to show you kind of the detail of
- 24:13what this means. So when I started this,
- 24:14I said one way to think about skills is
- 24:16that they're actually
- 24:17telling your agent LLM how to think.
- 24:20Um which we sort of did in that example,
- 24:23but not really. And so this one is
- 24:25called brainstorming. So this is a
- 24:27brain. Anytime you do any creative work,
- 24:30creating features, building components,
- 24:31adding functionality, modifying
- 24:33behavior, it explores the user's intent,
- 24:35requirements, and design before
- 24:36implementation.
- 24:38So this is kind of the version of
- 24:40you know, I say like I want to do X
- 24:42and it says, "Okay, well, rather than
- 24:44just like jump right into it, you should
- 24:46really think a little bit about how to
- 24:47turn that idea into an actual executable
- 24:49task."
- 24:51So what does it do? So
- 24:53I just I we're not going to go through
- 24:55everything here,
- 24:57but
- 24:58what it's trying to do is it's it says
- 25:01everything has to go through this.
- 25:04It's trying to basically get rid of the
- 25:06idea of anything is some things are too
- 25:08simple they need a design. It says, "No,
- 25:09no matter what you should always do
- 25:11this." Because often simple projects
- 25:14create these assumptions that then
- 25:15create a ton of wasted work, for
- 25:17example. This is very much a software
- 25:19engineering perspective, but probably
- 25:21true in in this.
- 25:23It makes a whole checklist. Here's all
- 25:25the things that you need to do.
- 25:27Is a flow of how things should work.
- 25:29This is like a graph in terms of how we
- 25:31should think about things. So, explore
- 25:32the project, think about visual
- 25:34questions ahead. Should you offer a
- 25:36visual companion? Ask clarifying
- 25:38questions, propose approaches, present
- 25:40design So,
- 25:41I'm not going to go through everything.
- 25:42It goes on and on and on.
- 25:43>> companion? Sorry.
- 25:45>> Um So, I actually don't use this here,
- 25:48but well, here if we skip down to what
- 25:49this is,
- 25:51the visual companion is a browser-based
- 25:53companion for showing mock-ups, gra-
- 25:55diagrams, which are like graphics, um
- 25:58graphs, visual options during
- 26:00brainstorming, available as a tool.
- 26:02Basically, it will show you what things
- 26:04look like. It'll do mock-ups of what a
- 26:06thing would look like. So, imagine
- 26:07you're building a website. In the
- 26:09brainstorming mode, it will pop up a
- 26:11website so you can see what the example
- 26:13of what it has in mind would be.
- 26:15So, things like that.
- 26:17Um
- 26:18This is actually relatively I don't my
- 26:20version is not up to date. I think he
- 26:22added this in, the person who developed
- 26:24this. Mine doesn't do this. So, this is
- 26:26a huge amount of stuff, right? It's
- 26:27really saying like, "Here's all the
- 26:29things you should be thinking about, how
- 26:31you should work with this." After you've
- 26:33done the design, you've thought about
- 26:34the process, you write the specification
- 26:36here into these documents,
- 26:39and then you
- 26:40um use these skills in terms of thinking
- 26:42about writing clearly and concisely, and
- 26:45then you commit it, and then you review
- 26:47it.
- 26:48>> Mhm.
- 26:49>> And so, it's really kind of like you can
- 26:50see that this is a little this feels
- 26:52like a lot of detail. And certainly it's
- 26:54more than what we talked about. There's
- 26:56a lot of additional detail. And um
- 27:01And then it actually even has someone
- 27:03else review it. So, what it does is it
- 27:06says
- 27:07um
- 27:09you should basically
- 27:12implement a review
- 27:15where it's going to say, "Here's what
- 27:16I'm going to do. Review this and make
- 27:18sure that it's clear." So, it even has
- 27:20somebody review it.
- 27:21>> review it.
- 27:23>> Well, what I mean is another agent
- 27:24inside of it. So, what it does is it
- 27:26writes the plan.
- 27:28And then it says, "Hey, you should
- 27:30develop you should send off another
- 27:32person who you're going to be this kind
- 27:34of person.
- 27:36You're going to review this
- 27:37specification this document and here's
- 27:40what you should look for." And really
- 27:41what it's trying to look for is things
- 27:42are complete and consistent and clear.
- 27:45>> Mhm.
- 27:46>> Um
- 27:47So,
- 27:48you know, this is just this is just
- 27:50within brainstorming. So, just to give
- 27:51you a sense, there's many of these here.
- 27:54Um dispatching parallel executing a plan
- 27:57where executing plan here is it loads
- 27:59the plan like what we just did before
- 28:01and here's what you should do.
- 28:03And so, some of these are very simple.
- 28:05Like this one is relatively simple.
- 28:08Um but some are much more complicated.
- 28:10Um
- 28:12So, I just want you have a sense of like
- 28:14these are the types of things where
- 28:16you're basically giving it a way to
- 28:17think about this. The last one that I'll
- 28:19say that can be very a useful thing
- 28:21that's not on here, but I had a friend
- 28:23tell me about this as a potential um
- 28:25tool is
- 28:27uh one thing that you could do is
- 28:29imagine you have an idea, right? You
- 28:31have an idea for a project. But really
- 28:33what you need, you know, you're working
- 28:35on this project solo. But what you
- 28:37really would like is you'd like a
- 28:39version of someone who's who's, you
- 28:41know, like your advisor
- 28:42saying
- 28:44here's where like let me push you on all
- 28:46these things. You could develop a skill
- 28:48that basically says you should be asking
- 28:51me questions about this research thing.
- 28:52Push on anything that seems like a weak
- 28:54part of it.
- 28:55>> Mhm.
- 28:55>> Um and anything where it is weak, let's
- 28:57make a note of things that need to be
- 28:59flushed out more and like then develop a
- 29:01plan of what we need to do next. And it
- 29:03can do it. So, the one that I've seen
- 29:05isn't about this, but it's about I want
- 29:06to develop a project and it's going to
- 29:08do X. So, there's really a lot of
- 29:09powerful things you can do with these
- 29:11skills um that are really about
- 29:13structuring it and and pushing in a
- 29:15particular way. Um
- 29:17So, yeah. So, I think I've I'm cracked
- 29:20only the surface in terms of thinking
- 29:21about this. I don't use it as nearly as
- 29:23much as I would like. I think there are
- 29:24people who use it quite a bit and are
- 29:26are quite passionate about it. Let me
- 29:27kind of end by just a quick a brief
- 29:30warning about this.
- 29:31One of them is this thing that we
- 29:32already talked about. Don't go crazy
- 29:35with these things. Right? Skills fill up
- 29:37the context window and they're kind of
- 29:38confusing because some might get
- 29:40triggered in other places. So, being
- 29:42precise in what you want is important.
- 29:45And then the other is, you know, I
- 29:46advocated that there's these superpowers
- 29:48and other things is that you know,
- 29:50skills from others could potentially be
- 29:51malicious. Right? So, if you think about
- 29:53what's going on, you're letting other
- 29:55people decide how things should be
- 29:57loaded into your prompt. Now, these
- 29:59agent these LLMs and other things are
- 30:02have a lot of things hardcoded in them
- 30:04to prevent them from doing something
- 30:05dumb.
- 30:07But, they can still do incredibly dumb
- 30:08things. Like, imagine you loaded in a
- 30:10skill that says
- 30:11you know, you should remove all
- 30:13important files in this folder anytime
- 30:15somebody asks you to do something. That
- 30:17would be a pretty horrible skill. Now,
- 30:20it's all in plain text, so it's unlikely
- 30:22something would be like this, but this
- 30:23is a thing that people worry about. So,
- 30:26hopefully that's useful. I think there
- 30:28are I'd be really interested to hear
- 30:29kind of what people do with this, you
- 30:31know, how they how they kind of uh make
- 30:33progress and um
- 30:36yeah, that's what next time we'll talk
- 30:37about containers and thinking about uh
- 30:40kind of more generally how to think
- 30:42about allowing LLM's to have much more
- 30:44permissions.
- 30:45>> Okay.
- 30:47Great. Thanks a lot, Paul. We're going
- 30:49on to the next video then soon to
- 30:51permissions, containers, and sandboxes,
- 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.