Video: (Oct. 23rd) Virtual Claude Code Workshop | Duration: 5384s | Summary: (Oct. 23rd) Virtual Claude Code Workshop | Chapters: Workshop Welcome (4.24s), Welcome and Introductions (52.195s), Workshop Format & Setup (71.415s), Feature Adoption Survey (133.475s), Team Introductions (255.915s), Session Setup & Agenda (365.515s), Why AI Coding Matters (444.875s), Workshop Setup (659.37s), Downloading the Code (821.11s), Local Setup Process (967.455s), Local Setup Customization (1161.915s), ClaudeMD Setup (1543.48s), ClaudeMD Management (1888.065s), Context Management (2252.95s), Project Context Management (2588.29s), Planning Before Coding (2725.19s), Architecture and Planning (2873.2s), Multi-Agent Workflow (3062.875s), Building the Plan (3256.22s), Effort Modes & Ultracode (3320.98s), PRD Documentation Storage (3480.01s), UI Customization (3531.705s), Workshop Transition (3659.19s), Skills and Plugins (3768.965s), Skills vs Sub Agents (3937.245s), Deterministic Hooks (4221.295s), Summary and Recap (4583.665s), Automation and Loops (4801.33s), Security & Wrap-Up (5188.745s)
Transcript for "(Oct. 23rd) Virtual Claude Code Workshop": Hello, everyone. Welcome in. Friday, October 23. What a day to be learning together. We have a wonderful workshop for you today. We We are gonna be going through the whole process of how you can leverage Claude Code as a developer. And if you stay till the end, you're gonna learn a lot of things. You manage your CLAUDE.md, your contacts, loops, dynamic workflows, and generally just how to really supercharge your workflow using Claude Code. This is great for ICs. This is great for team leaders. This is great for people that want to level up and help their org level up as well. If... While we wait a couple minutes to get started, please, in chat, feel free to drop in where you're calling from. I'm in Upstate New York. I'm joined today by Oscar. Oscar, where are you calling in from? Hey, guys. I am in New York City. How's the weather today, Oscar? It's beautiful. It's sunny. It is a little chilly, but it's beautiful fall weather. I love fall. Awesome. We got some people calling in from Egypt, from Texas, from Canada, Poland, Belgium, Germany, California. That's awesome. Throughout the presentation, the workshop today, I'm gonna be doing about five to ten minutes of slides, and then the rest of it is gonna be hands on where we're actually doing all this stuff together. I'll be asking for reactions along the way. Generally, a, what is it? A heart or a thumbs up is like, yeah. I get it. Or a lightning bolt is like, I need help or take it again or slow down. So anything you wanna do with those emojis, giving me that love will help me help you, help me slow down to things that need more time, all that kind of stuff. So very excited for this today. Why don't we get started with a couple of slides, just getting, the room ready? And the first one I have is I wanna know how familiar all of you are with GitHub. So give me a thumbs up if, like, yeah, I know this really, really well, or a lightning bulb of, like, yeah. I kinda get it, but, like, I could use a little bit more there. Alright. Cool. So we're, like, eighty twenty right now. Yeah. Great. Love to see it. Okay. So next thing. Same thing. Thumbs up if you're, like, using it every day or lightning bulb if I'm not yet. Where are we at with skills in our org? Are we using skills? Are we building skills for our org? Are we sharing it with our team? Or it's like, yeah. I haven't really quite gotten there yet. Okay. We're crushing it. You guys have mad skills. Alright? Now the next thing's up. Where we at with hooks? How are we feeling here? It's a more advanced feature with Claude Code. It's the only deterministic feature. Alright. Cool. We got some learning to do there. We are gonna definitely touch on that as well. And, yeah, we'll we'll talk about when when to use hooks, why do you use hooks, all that kind of stuff. There's definitely benefits there. Last one I got for you. How much are you guys using goals? Are you slash goal in your workflows? Give me a thumbs up for yes, lightning bulb for not yet. Where's everyone? Alright. Cool. We're coming back. Okay. Cool. Now in addition to that, in chat, write in how long you've had an agent run for, like, the longest you've had an agent run for. So ten minutes, twenty minutes, an hour, two hours, a day. Where are you at with how long have you had an agent run for? Put it in chat. Let's see where we're at. Six to eight hours, ten hours. Alright. Cool. Alright. Go ahead. I have ten hours, twenty four. Dude, we're we're cruising. Max is four days. Holy smokes. I've never seen that one. Great. So, generally, the longer you have an agent running... It's not always, like, best case scenario. But, generally, the longer you have an agent running, the the more that you've been able to do to prepare for a long run, and it's a great indicator of, like, what kind of planning we have, what kind of context we built up, what is our repo, all that kind of stuff, and it's really helpful. So it feels like, generally, we're at a little bit more of an advanced group today. I love to see it across the board. Let me just start by a little introductions of who I am, who Oscar is, where we work, and then we'll get into the content. So Oscar and I work at a company called Tenex. We are very, very close partners with Anthropic. We are so lucky to join them on the road going state to state to state, teaching business leaders, directors, etcetera, Claude Code, cloud, cloud for security, all that kind of stuff of just trying to do all that we can to help you all leverage AI more. My name is JJ. I lead our education enablement here. I do a lot of our training, our workshops, etcetera. At Tenex, we help companies figure out what their AI strategy is, what that change management process looks like, what's the what's the transformation you're gonna bring your com... Company through, how to standardize your data, what tool sets you should use, how to set API token limits, and then generally training across the board. We're at this place in time where everyone needs to learn new skills. I'm still learning new skill. Everyone needs to learn new skills. And at bigger companies, 2,000, 5,000 people, etcetera, it's just all hands on deck. Let's get everyone on board with the same strategy, the the... A toolset that is modern, workflows that are built for AI first, and then good role based security access for our developers to get access to the data they need, all that kind of stuff. That's what we do at Tenex. I'm also joined by Oscar. Oscar, why don't you introduce yourself and your role and what you do at Tenex? Yeah. Thanks so much, JJ. Hello, everyone. I am Oscar. I am based out of New York City where our Tenex headquarters are. I'm a strategist here. I have a background in product management, but I recently pivoted to, doing some strategy work here. Very excited about AI and all the things that we can do with, our clients. Awesome. Oscar is gonna be managing the chat today. If at any point you guys have questions, put it in the q and a tab if you can. You'll get priority if you put your question in the q and a tab. Oscar will be pinging on screen answering any questions you all have or helping answer our questions. And, generally, we wanna make sure, like, this session is for you. So we just wanna make sure that all your questions are answered. Feel free to ask questions every step of the way there. Alright. Let's get on with a couple of slides, and then, actually, let's get hands on keyboard, and let's make it happen. So today, we're gonna be going through a hands on building tutorial. You're all gonna be grabbing code from a GitHub repo, downloading it locally, running it on your device, and then we're gonna be making sure that we're set up from a CLAUDE.md context perspective. We're gonna be building our feature... A feature together today. And then we're gonna go through some of the things that will help you take the next step. A lot of people already know what skills are, so we'll go quickly over there. We'll dive deep into sub agents, hooks. And then beyond there, if we have extra time, I wanna talk about loops, goals, dynamic workflows. I also have some announcements that I wanna make near the end of it of, you know, what we could do to help our org stay protected during this time where so many technologies are finding security flaws, etcetera. So we wanna walk through that today. I wanna get started with just talking about a little bit of, like, why this matters. You know, I think most of you already know this, but, generally, we're at this point where, we're at this point in time where companies want to be able to move faster, and agentic tools like Claude Code allow you to do that more than ever. We need to run more security checks. Things are happening every day where vulnerabilities are found. And previously, if we are hand coding, we could only hand code so much. We could only hand review so much. But now with tools like Claude Code, you can run security checks via your CICD. You can run it on hooks. You can run it pre deployment. You could do so many different things that you can leverage in parallel that you just couldn't do before, giving you a safer, environment that you're building with. And, generally, the best developers in the world wanna be using this stuff, and I think that's why all of you are here today. You wanna be using this stuff because it's just the future. And so for these three things, we're finding a huge impact with agentic, coding. Our engineers use it heavily across all of our work, and and even our nonengineers use it all across our work. And so, at Tenex, we have, like, three different... Four different roles. 50% of that is engineering hands on, and then the other 50% is nonengineering. But every single person at Tenex learns Claude and Claude code because it is in... Foundational to all the things that we do. When we onboard a new employee at Tenex, they get a plugin, and that plugin comes with 35 different skills. Each one of those are how Tenex does the certain things. So we have a skill for our decks. We have a skill for PRs. We have a skill for code reviews. All these things contain our alpha for the way that we like a process done, allowing new employees to get onboarded to our system processes faster than ever before. And this also is included for, like, a media team. Like, I'm on the media team. We have media workflows for creating videos, for making, you know, posts, for doing our music composition, for repurposing. Like, you can use Claude Code and Claude in all aspects of work, not just engineers. Give me a shout out. Do we have any nonengineers in the room? Give me a thumbs up or just let me know where we're at there. If so, welcome. You're always welcome here. We'll add some information about, like, how this works from a nonengineering standpoint too. Glad to have you all here. Again, Claude is being used across all aspects, not just engineering, so you're in the right place. Let's also talk about where you can use Claude. So it runs pretty much everywhere. If you're running in the CLI still, it works there. If you're still running in Versus Code or an IDE, it works there. If you just wanna use Claude in the Webo iOS app like we're gonna be doing today, I prefer that. It works really well there. I started in the terminal, and then I've tried to do it in the IDE, but the Claude desktop app is just so good right now that I'm just doing all of my work there. Whether it's coding or noncoding, I'm there. And, of course, I have it on my iOS as well. Especially that now that cloud is most, like, very heavily focused on cloud infrastructure, you can do so much on your phone, and that's really awesome to be able to start off a long running agent from your device but in a cloud environment. And then to be able to shut your laptop, go home, monitor it from your phone, and then the next morning be able to check that PR that it submitted, man, what a good time to be alive. So as always, if you have any questions, put it in the q and a tab. Otherwise, we are gonna get started for the workshop portion of the day. Please go to this. Oscar, if you don't mind throwing the URL, look at that. Taylor, you're on it. Absolute boss. So please go to our URL right here, Anthropic training workshop, and the password is virtual. And we are going to be in here for the rest of the show today. So let me pull this up here. I'm gonna share my entire screen here, and we are gonna be in our workshop application. So give me a thumbs up once you guys have this loaded in, and then we'll get started. Awesome. Yep. The code is virtual, but it's non case sensitive. So it's a lowercase... Well, it's a lowercase b. Awesome. Great. Alright. So here's what we got. This is the workshop app that we're doing today. We have two modes available for us. Okay? If you feel comfortable and you want to follow along, do it. But, also, if you're like, I just wanna watch and I'll follow along after, that's okay too. You'll have access to this workshop app and the recording after the fact. Alright? So you'll be able to use it in that way. Technically, yes. If you are sharing a screen in that way, it is open in that sense, and they can follow along too. Okay? So you'll have access to this app for the next thirty days. Alright? And you'll be able to follow along after the fact. But let me set this scenario for you today. Okay? So we are working at a company, and it's our first day on the job. It is a payments company. Alright? And the payments company is a lot like what you would see from, like, working at a Stripe. They move payments around for vendors. Alright? So this is the admin infrastructure that we are working on and building, and we can see recent payments from tons of different vendors. Okay? Now if you choose to, the feature that you can build today would be an easier way to be able to export all the payments here. And so if you see right here, when I go to export, it just auto exports. And the product team is asking us for a way that we can customize the export so you can choose, you know, which ones are actually exported. When we get to the build a feature section, you can also just build anything you want as well when we get there. But, generally, this is the app that we're working on, and know that it is our first day on the job here. Okay? And so that means that we need to download the code. We need to get acquainted with the code base. We need to understand the conventions, the standards that they want us to have, and then we're actually gonna look at our first ticket and start planning and building for that first ticket. Alright? So here we are here. This is how, we're working. And now that we have gone through this, we're gonna mark this as complete, and we're gonna go to the next step. Within each step, we're gonna see that we have a learn and an implement. And then, of course, if you wanna dive deeper into pro tips and advanced, we could do that as well. But generally, in this step, we're gonna take the code, which is available on GitHub. Okay? And so if you look at this prompt right here, it gives you the GitHub repo right there. Okay? And so what we're gonna do is we're gonna go to that GitHub repo, which is right here, and we're going to clone it and bring it to our device. Now whenever you're bringing a public repo, a skill, a plugin, or anything, before you actually bring it to your device, I always love giving it to Anthropic Claude and just having a security check on it. Now you don't need to follow along here. I just wanna show you. Generally, what this would look like is I can go into Anthropic Claude code here, so I'm in new here, and I could say, you know, essentially, make sure I'm not in that folder right now. I could just say, hey, Anthropic Claude. Double check that this repo looks safe for me to download locally, and I could just paste that in. And what Anthropic Claude will do is it will go look through all the files and folders. It'll read everything and make sure it's generally safe for you to download it. And then once you're ready to download it, you can download it that way. Okay? So right now, for those that don't fully understand GitHub, we have the code. It's located in the cloud. We wanna take this code from the cloud, download it to our device. Once it's on our device, we will then run it so we can spin up the application on our device and start making changes to it. When we make changes to it, it will only be available on our device until we push it back to GitHub, which will be in the form of, like, a pull request, which is then saying, hey, boss. I have completed the work that you want me to do. Here's a pull request for you to review. And if you accept it, then our work will be added into the code that everyone else accesses, and then everyone else can get that as well. Alright? So the first step that we're gonna look at doing today is we're gonna go to our implement tab. Once we're in the implement tab, we're gonna copy this. Once we have this copied, we're gonna go into clog. We're gonna go new, and then we're going to pick where we want this downloaded. Okay? And so me, I'm gonna say open folder. I'm gonna say new folder, and I'm gonna say Claude Code training ten twenty three. Alright? We can have it in there. Alright? You can also... That will maybe... I think, also, if you wanna just do it at a higher level here, it'll bring that as well. So, like, I normally go to projects, and I'll have it there. And it would say, hey. Let's fork this and bring it to my GitHub, clone it there, and then we're gonna open up a new branch. Alright? Now we're gonna do this. We're gonna run it locally on our computer here. Alright? You could choose the cloud, but that's not what we're doing today. We're gonna be running locally here. For work that you want, like, longer running agents, I do recommend the cloud. They have a great setup here. Well, you have to connect it directly to the GitHub repo. You have to set up some things. I recommend looking into it, but for today, we're gonna be all local. And then I'm gonna be on auto mode today as well. Now I'm gonna paste that in, and Anthropic Claude is gonna start working on downloading it to an... Our environment here. Now why are we asking for a new branch? Well, generally, what's happening here is we're taking the code. We're downloading it locally. Alright? And whenever we create any new feature, we wanna have it on a new branch. Okay? And so that way, when it's on a new branch, we can just create a pull request with just the changes that we're making for that one thing back to, to our main code. And the reason why we do this is if we have many developers working on the same code, we don't want them stepping on each other. So for each new feature you do, best practices is to create a new branch. So that way, if you ever need to, like, push main really quick, say, for example, there's, like... You know, someone just found, like, this big bug or this big security hole. And if you are working on a feature in main, then you wouldn't be able to, like, make a quick update because you would have incomplete work in Maine. And so then you would have to finish all of your feature update that you're doing in Maine before you could actually make that bug update. But if you were doing that feature update on a separate branch and main was just, like, always ready to go live, then you could stop the feature work on that separate branch, go back to main, patch that bug, and then send it back to, you know, production to fix what's happening, and then you can resume your work on that branch for the feature. That is best practices here. Okay? So on on my side, we're saying, hey. You know, the project was already created. Alright. That's good. I'm already on this branch now. Alright. Now I'm up and running. That sounds good. Alright. Anybody have any questions so far? I wanna spend some time here. I wanna make sure that you guys are able to get this running because this step is where everything else is gonna go for the rest of the thing. Alright? And if you're new to Claude Code, definitely make sure you go to this next step, which is install the dependencies and make sure that it's running. So we wanna install the dependencies, and then we want to spin it up on our local host. This means that it will allow us to install any kind of common packages that we're using for this app locally. So that way, we can actually run it locally on our device and then preview it in the browser, which is what it's pulling up here. Alright. How are we doing? Give me a thumbs up if you guys are following along. Give me a light bulb if you need a little bit more time. JJ, we actually had a quick question if you wanna talk about, how to choose... When do you decide once you bring in a new folder when you're working in Claude Code? Someone asked around best practices on creating folders. Yeah. So, generally, I have a new folder for every project I do. So I have a new folder for Claude Code training. I have a new folder for app one. I have a new folder for app two. And whenever I am working in any of those, I go into, like, that folder and then say, alright. Now I wanna work in this folder. Now I wanna work in this folder. That gives Claude Code access to go into that folder and to work in that folder. You wanna organize it. So, like, my projects is, like, my big folder, and then within projects, I have all the different things that I'm working on. And each of those folders are, like, where the code is stored. Sound good? Makes sense? Alright. Awesome. Awesome. I am just organizing this right now. Let's see here. Where are we? This computer right here. Right. Did this. Just this. Okay. On the left hand side here, I'm just go looking through here, and looking at our... I'm trying to find our latest here that we were just working in. Where are we? It's meant so much stuff. You can also, in the right hand side, go to right click here, and you can go to collapse, expand all, which I'm gonna do here. Let's see if I can find this. We can also search in the top right. So I can go search I can go search here, find on page. Let's see. Where are we? First chat. No. It got reorganized on me for some reason here. Okay. Here we are. Right here. So what I wanna do is I wanna right click, and I'm gonna pin this so I don't get lost again. And then I'm gonna go in and rename it. I'm gonna say, Claude training main agent. Okay? So I have this up and running. Let me show you a couple things around the desktop app here. Okay? Alright. So first, I can go on the top left corner here to hide the sidebar if I want to. I can also go on the top right and go full screen here. Okay? So now I'm full screen browser. Now if you don't actually have the browser yet, what you could do is if you see it over here, you could say open. Alright? You can also click out of this and then click on the browser in the top right, and that's gonna bring in the browser. The browser's only gonna be available if you're actually running the app on your device, which is what we're doing right now. Alright? Now in the top right hand corner, I would love for you all to take... To click on this and to find something that you wanna change. Now for example, I'm gonna click on this and then say, turn these into Christmas colors. And I just want us all to get a hold of making sure the app is running, finding something that we want to change really quickly, and using our arrow indicator to change that. And in a couple of seconds here, you're gonna see that these are gonna turn into maybe red and green. Let's see how it interprets Christmas colors in this way. Alright. Let's see. It's still blue. Let's see. And feel free to put in chat what you changed. If you wanna add maybe new KPIs here, if you want to add some kind of thing where it's like an agent being able to talk to your interface there, you could do that. A quick little CSS change using Claude Code in that way. Where's our Christmas colors? Claude is working. The code has changed, but the browser is not being updated. Let's see what it's doing. It's it's troubleshooting for us. But while that happens, what were you guys able to change on your side? Feel free to put in chat. Feel free to change anything. If something that could be easier for you to just, see in that way, let us know. Right? Summary here. Right. I'm making the charts pointy. Cool. Appreciate your participation. What else are we doing here? What else do we got? Claude gave me a little helpful prompt there. I don't think you can send images in chat. No. You just tell me what you're doing. That's good too. Alright. So I... It's just running up here for me, but I think we'll be okay. We're gonna move on to the next step now. So we have it running locally. We've installed the dependencies. We have a bit more feel for the browser and what's happening here. We can bring this back. In the right hand, we can go over here. We can rename stuff. We can pin it. I also wanna show you fork here. Fork allows us to duplicate this conversation and carry over the context. I'll talk more about that when we're talking about context. I was able to get there. Nice. Christmas colors it is. Awesome. Alright. Great. So now let's go back to our app here. And the next thing that we wanna do is we wanna start understanding a little bit about this code base because, remember, we are brand new to this company. Right? Now you don't have to follow along here. Let me just show you how I would do this if I was a new engineer. I'm gonna copy this. I'm gonna go back in the cloud, and I'm gonna make a new chat here. And I'm gonna pull up the code project that we're using, which is the Claude Code training, and I'm gonna paste in here that I wanna understand this code base. So I'm gonna send a new cloud agent to go look at this code base, understand the architecture design, and then I wanted to create a artifact that visualizes this for me. Do it in artifact form. Alright? So, previously, when you had a new engineer start, you needed to, like, have them meet with an engineering lead, a CTO, have them talk through the code base, where everything is, all your norms. You don't need to do that anymore because now Anthropic Claude can look at your entire code base, memorize it, and you can just have that new hire ask it any questions it has. It can visualize everything for you. You can you can ask it questions, and it's just like that. I still recommend having new hires meet with the CTO and the engineering lead from a culture perspective, from a people perspective to build relationships, but it's not needed anymore from a technical perspective in that way. Generally, the CTO should have all the coding norms already in the CLAUDE.md, should have all the preferences, all this kind of stuff built into the repo for protections that you can figure out right away with Claude Code, but you shouldn't have to have your CTO reexplain that every time because it should already be built into your code stack for your agents to just automatically assume. So we see that Claude Code has already looked through our entire code base and has started to visualize this for us. And so this app is built on Next. Js. It's using TypeScript, Tailwind, etcetera. We can see how it's organized. We could see some of the major flows, which is like a payment export and how end to end that works. And at any point now, we could just talk to this chat and ask it questions. And so I'm gonna rename this chat as my q and a agent. I'm gonna bring it up here. My pin it, and these are the two active things that I'm working on here. And so I have one chat meant for just QA about, like, hey. Any questions I have about this code base, I'm gonna go there. This other agent is gonna be the main thread that we're working on right now. Alright? Try to keep our threads focused in this way. Alright? So we have this completed. We're gonna mark this complete and move on. The next step that we wanna do is talk about our clodMD. Now this is good for engineers and nonengineers. Alright? Generally, let's think about this for a second. Every time we launch a new Claude like this, we are starting a new agent, and this agent doesn't have a memory. It's like if your smartest employee at your company, for some reason, showed up to work every day, and he didn't remember what he did yesterday. Right? How would you get that person up to speed every single day? That's where your CLAUDE.md comes in. Your CLAUDE.md is whenever this new agent launches, what is the document that they read first to get up to speed? That's your CLAUDE.md. So right away, this new agent launches, and then they read your CLAUDE.md to say, alright. This is the code base. These are our norms. Here's all the information and where... And how you can get to it, like a cheat sheet for this agent to find the most success within the... Each project. Alright? Now the CLAUDE.md, it happens at the high level, but you can also layer CLAUDE.md files the deeper you go. Okay? Because think about it like this. When your agent launches for the first time, it reads your CLAUDE.md. Now this CLAUDE.md, a good one, says, like, hey, how I like you to work, the preferences of this project, and it also includes, like, a mapping of, like, here's how the code base is mapped. Whenever you need to know more about, like, our functions, you can go to this folder. Whenever you need to know more about, like, a database, you can go to this folder. Right? So it's, like, a good way to show the agent how to navigate this code base. But let's say that the agent needs to go deeper and deeper. The best code bases have cheat sheets layered for the agent, so the deeper they go, the agent still has information about how it should operate within each of the subdirectories. Alright? So, for example, if this agent went deep into our merchant console here, then we'd have a separate CLAUDE.md within here showing it within the merchant console. Here's how we could run the app. Here's how some rules about our database. Here's some conventions. Here's where the rest of this thing lives. So it's like, hey, agent. As you go deeper and deeper, we have new, like, welcome people at the doors welcoming that agent to this part of the code base saying, hey. Welcome to this code base. Welcome to this folder. Here's what you need to know about operating in this area. And it's like, oh, actually, I don't need to be in this area. Alright. Go to the new area. And there's a new helper at that Nextdoor. Hey. Welcome to this area. Here's what you need to know about this area. Right? That makes so your agents can understand your code base. And as you begin to launch one, two, three, 10 agents, all of them can consume that context, and you don't need to tell them all this stuff every single time. They already understand that because it's baked into your code base. K? How are we feeling? Give me a thumbs up if you're feeling good. Give me a light bulb if you want some more there. Alright. Appreciate it. Alright. Cool. I appreciate it. Thank you. So this also works for nonengineering. So if I wanna go to, like, marketing, for example, if I was in a marketing folder... I appreciate it. Thank you, guys. I love it. If I was in a marketing folder, think of it like this. At top level, we would have a CLAUDE.md saying like, hey, marketing team. This is how we work within this folder. And then as we go deeper, we go into, like, claw... Like, LinkedIn, for example. Then it's like, hey, agents. This is how we like to do stuff on LinkedIn. Here is the skill that you can use. Here is the channel. Here is who is reading. All the information about what you need to know about doing stuff on LinkedIn. And then we have the same thing, but for x. And then we have the same thing, but for YouTube. Because all these different channels, we like to operate in a specific way. And we don't have... Wanna have to tell our agent every single time. Hey. Whenever you're on x, keep it short. Whenever you're on LinkedIn, here's what it is. All that kind of stuff. So you build the instructions once. You embed it into your code base as a CLAUDE.md. And then anytime the agent needs to do an YouTube post, it already gets all that context already to work really well in that sense. Okay? Alright. So now let's do this. We're gonna go into our implement, and we want our agent to read the existing CLAUDE.md file. Again, we're a brand new engineer. We want to read what this org has in the CLAUDE.md to see what suggestions it's given us as a new developer. Okay? So I'm gonna go back into my main agent here, and I'm gonna paste this in. Read the CLAUDE.md and give me three rules that will most likely, you know, someone new needs to know. Alright. So here are some three new... Three rules. Money, we always wanna format as cents, not just dollars. There was one payment search, and card numbers show fully once. Alright? And now at any point, we can also say, print out the full CLAUDE.md. You could do it that way. You can also find it directly and here as well and reference in it directly by using the at symbol. Okay? If I say print out the full CLAUDE.md, this is gonna show us what is in the full CLAUDE.md, and I can click here as well. I should be able to click here as well. No. But I don't wanna do that. Just wanna close out of here. Let's see. And so here would be the full CLAUDE.md that we could see everything here, how to run it, where data lives, all that kind of stuff. Alright? And if we wanted to change anything, we could simply change it as well. Right? So what we could do here now is if you don't have a CLAUDE.md already, there's a simple command here. So, for example, if I went into a new code base and if that different folder didn't have a CLAUDE.md, I could simply do I n I t backslash, and it will look through the code base and build a CLAUDE.md the way that Claude likes your CLAUDE.md to be built. So that will do it all for you. Okay? Now if you already have a CLAUDE.md, what we could do is we could just say, hey, Claude. Edit this. Maybe let's add a new section for release standards, and this is going to have some kind of rules that is in there. Okay? So let's say let's edit it, and we're gonna say we wanna add a new section called release standards, and we wanna make sure that all changes need evidence before merging. We don't wanna direct commit to main. We wanna work out of our own branches, send a PR, needs to go that way. And every PR must include one line business summary impact. Okay? So these are rules that we wanna make sure that we're gonna apply to everything going forward. Okay? And so it's asking me, hey. Which CLAUDE.md should get this release section? Is it the personal one? Is it a merchant console? Or is it the top level? Right? And so at this point, we're gonna be doing it at the project level of the merchant. Right? So this means that we would update the CLAUDE.md that everybody on our team has seen. So that way, we don't need to tell anyone these release standards ever again because the agents at the team wide is gonna do this. Now this change will go through a diff just like any code change will. Alright? The CLAUDE.md is a part of the diff in that way. It's part of your code base. It's a living piece in your code base. You could do it at the personal level, but then it's just gonna apply to you. And then you might have to tell other team members to release standards, and it's not as impactful. So we're gonna say, you know what? We're gonna do it at the team level there. K? So now we're adding in CLAUDE.md. There we go. We can pull up the CLAUDE.md here, and we can see it. This is the full file here. You could see it's essentially a long prompt that we just don't have to tell Claude every single time. We just save it to the file, the code base, and Claude is able to read that. Now note that whenever a new agent launches, it always starts by reading the CLAUDE.md first. But what happens if you start to have a really long conversation? The agent can drift away from the instructions that you provide in the CLAUDE.md. Because remember, Claude is probabilistic like all AI. It's probabilistic. Meaning, it will try to follow your instructions, but it's not always gonna follow your instructions. Right? That's where hooks and other deterministic features come in that I'm gonna explain to you later. So the CLAUDE.md, it's gonna do its best to follow instructions, but as your context gets longer and longer, the chance of it following your instructions kind of didn't diminish a little bit a little bit, and that's another reason why you wanna have good context management, fresh threads, and be able to manage this well, which leads us into context. Alright. So we talk a lot about context. Context is essentially information that we're giving to the AI to do a better job for us, and we wanna make sure that we're not just giving our agents, our AI, everything because there's negatives that come with this. First off, a model can only remember so much. So we have token windows. Right? So a a model such as Opus 5.5, it has a 1,000,000 token window. So if I click in the bottom right hand corner here, I can open up my usage limits here, and I could see that I have... No. I don't want that, actually. I want to see... Let's see. I'm gonna go backslash context. Open that up here. Alright. They changed that a little bit, so it's backslash context. And we could see here that out of our 1,000,000 token window, we've used a 115,000 tokens so far. Okay? And we've used 5% of that on the messages we've sent. We've used 2% of that on just tool calls that the systems had to make and, and some other stuff on preloaded MCP tools, like skills, etcetera. Right? And so, generally, as you talk to it more, the token window... The more tokens are sent in, and your memory starts to fill up. Okay? Remember that we're built from a token in and a token out perspective. So let's say that we have 700,000 tokens in here. That means that every new chat that we sent back to Claude would send 700,000 tokens back to Claude. That's a very big chunk. And remember, we're billed by tokens in. That'd be billed by 700,000 tokens to Claude. So Claude would have to read all 700,000. And in that, Claude could get confused because it's such a big area. Hey, JJ. Are you talking about this, this, or this? Well, you said this, or do you mean this now? There's a lot of confusion that can come with sending mass amounts of data. So, generally, we wanna keep this token window smaller because a smaller token window means your Claude is more focused on the task at hand. It's just sending it the instructions it needs just at the time it needs it, and it's costing us less money because instead of 700,000, we're sending it 200,000. And when we're all trying to figure out how to have more token... You know, like, how to how to do more with, you know, spending less amounts, managing your context window is very important. Okay? And so there's a couple of things that we could do to manage this context window. First, we could say clear. And what will happen is it will essentially make this conversation clear like it's a fresh chat. You don't really always wanna do that. Right? Like, only if you're, like, completely starting over. It's the same thing as this. Slash clear is the same thing as that. The next thing that you could do is you can go backslash compact. That will look at your long thread and summarize it. But sometimes, it will summarize some of your key findings away into a summary, and you might lose details. So the other option that you could do is you could do slash compact, but leave all the conversations that we've had around our CLAUDE.md file and give it specific instructions. So that way it doesn't summarize that, but it summarizes the rest. So that way you can keep raw conversations that you've had around your CLAUDE.md, and then you can summarize the rest, which will then clear up your token window and get you more effective. Okay? Another thing that you could do with your contacts is, let's say that your agent comes back and says, hey, JJ Englert. I just completed this, but I recommend that you do this this task and this task as well. That would be a great chance for us to fork this conversation and then say, I wanna do task a here, and then you could fork this again and say, I wanna do task b here. What that would do is it would say, we're gonna keep the main agent focused on the main task at hand. But then we're gonna duplicate the context that we have here and allow our next agent to focus on the side task and our other agent to focus on the other side task. So that way we have three agents. Each of them have the same contact, so you don't need to get anything up to speed, but each agent can focus on one thing at a time. We want our agents to focus on one thing at a time because they would do better work for us in that way. And especially right now, we wanna help keep it focused. In the future, maybe six months, Claude will just automatically do this for you. But right now, as engineers, as stewards of the craft, we need to keep our agents focused just like we need to keep our human employees focused. Do we wanna send one employee 10 different things to do? Or if we had the luxury, could we have 10 different employees and we send them one thing each? And they all work in parallel, and they all focus on one thing, and then they all come back to you whenever it's all done. That would be the better way than having one employee do all those 10 things. That's the same way we're thinking about context management with our agents right now. JJ Englert, How we doing? question. Yep. So you just explained for it because I think that's a really great way to keep the same context, but, is there a way to, have all your project folders have some context on maybe how you like to work? Yeah. So that would be under the actual project section here. And so we actually... It looks like, this account doesn't have projects yet, but projects are soon coming to Claude Code, and projects are already available in Claude as well. And, generally, the way that we like to think about projects is, let's say I'm working on, let's say I'm working on a a client. I'll create a project for that client, and within that project for that client, I will give it the access to the client folder that contains, like, the client proposals, the client timeline, the client invoices. And I also will give it clear goals for, like, hey. When we're working on this project, here's how you work with this client. Here's the supervisor. Here's the time zones they're in. You give a very specific information about that project. And then whenever you have agents that are operating within that project, it already consumes that context, and it's, like, getting them a head start. Right? And so projects are really awesome. Now within Claude here... Let's see. I'm not sure. Like, I I... They are rolling out projects for Claude. I don't actually have access to it yet in this way. Let's see. I'm not quite seeing it here. Let's see. Plus. And let's see if I go into any of it here. Yeah. So I don't have projects at the team level yet, but I know that my personal max account has projects. And they are doing this really cool thing with projects. It's in beta right now where you have, like, one orchestrator here, and then this orchestrator will automatically manage many different sub agents here. And so you just chat with the orchestrator, and the orchestrator will automatically do a lot of this context management for you in the different threads there. And so as Robert is saying, it is in beta. Not all accounts have it yet, but it is really awesome, and I love the direction they're moving in that way, and projects would be the next thing there. Awesome. Alright. So we have our main agent. We understand context here. We're doing good stuff there. We could see that, you know, before we compact and then after we compact, that will be really helpful. We have our forks, and we have our compact with instructions. We are feeling generally pretty good about here. If you need additional, information about how to manage your contacts, you can look there as well. Otherwise, we have that set up. Alright. So now what we wanna do is we wanna work towards building our feature. Now a lot of inexperienced people will just simply say, Claude, I want you to build this thing. And that's where I'd say, hold on. Let's take a step back. The best thing to do whenever you're starting to build a feature is to build the plan, the docs. Right now, generally, coding is, like, solved. Like, Claude code can just code about anything. The biggest thing that we can do as humans in this process is to spend a lot more time in the planning stage that that shows Claude how it should build something, what is included in this build, what is not included, the things that we really wanted to do or the things that are out of scope, maybe how it should validate what it's built is actually working the way it should be. All those things, we spend a lot of time on, especially at Tenex. If you ask our engineers at Tenex where they spend their time, most likely, they'll say they spend 60, maybe even 70% of their day creating the plans. And then once the plan is created, then they could send their agents and send many agents at the same time to work on building that plan. And if you have a really good plan, that will allow your agents to run for much longer times. Because think about it like this. If you don't have a plan, you're gonna tell your agent, go build something. And then it's gonna build it and come back and say, alright, JJ Englert. What do you wanna do next? But a good plan lists all the steps that we're doing and what we're doing within each step, our conventions, how we want things done. And so that way, the code is built in a way that we want it built. The code is built to exactly the specs that we want, and the agents are able to do all this for us. So then that way we can focus on planning the next thing while the labor's work of the actual coating is being done there. So coming back to our question in chat, I heard lately that Claude is better if I just describe my goal and it did the planning. So what it's trying to say here is you don't wanna micromanage your Claude telling it how to code for you because that's not good. But you do want to make sure that you have a really good plan and that Claude knows how you want something built at a high level. Maybe what are the architecture decisions that we are making here? We spend a lot of time not only in planning, but visualizing all of this in artifacts. So we're, like, visualizing how is the data flowing? How are we gonna build these functions? How are we gonna wrap it? How big do we want them? You know, what does the data modeling look like? We're spending a lot of time there, not telling Claude how to code, but how we want it coded because that's how our our org works. That's how we wanna build and architect these systems. Think about it. We're we're architects right now. We're orchestrators. We're not coding anymore. So you need to tell co... Claude how to architect the system, work with Claude to figure out the best architecture you want at the high level, make sure it aligns with your team goals, and then at the high level, say, alright. Now we need to go off and do these steps. Right? And then Claude can figure out actually how you want... How how it's gonna build those steps. Okay? So, again, it's like, yeah, we don't wanna tell them... We... Generally, we don't need to tell Claude how to code because he knows how to code. We wanna say, here's our goals. Here's the architecture choices we're making. Here's how we want it done, and then Claude can fill in the rest for us. Alright? So in this step, we've already included tickets from the product team saying what we want built. Alright? And so we can go back to our main agent thread, and we can have them read out these tickets for us here. Now if you're using, like, many other platform, like, companies use, like, Jira, all that kind of stuff, you could just use the Jira MCP connection. It can pull in your tickets that the product team made for you. It could read those tickets. It can update those tickets. That's a really nice integration. Also, linear does the same thing. We're big linear users. We have that linear linear MCP, and we're using that. Okay? But, generally, we wanna get started by reading all of this. Okay? And so the plan is ready. We're looking at it here. Another thing that I like to call out here is that it has built this plan for us here. Okay? It could... It looked through this stuff, so it read the ticket. And what I'm trying to point out here is, like, look through the tool calls that it's making here, Especially if you're a new engineer using Claude Code and a new... Or just getting updated, you could see how Claude is thinking, and you can follow it through its tracks to make sure that it seems right. Alright? So, hey, it read the ticket here. Alright? It could see the ticket here. That's looking good. Now let's find the export files, and let's read the helper that we're looking at here. Okay. That's good. Now let's read the the route, the query builder, the API rules, figure out how we wanna do this. We could read the export button and the component to see how that works. Now we could take all that, and the plan is gonna be ready here. Alright? Now this is a section where you could follow along here and build this feature with us. Right? And, again, this feature, it's gonna look like payouts, and then we're gonna go over here. Let's see. Is it is it not... It's not payouts. It's payments. Here, we'll go full screen so I could show you. Right now, when you go to export, it's gonna do nothing. After we build this feature, it's gonna give us a model that allows us to customize this. But if you wanna build a different feature, feel free to spend the time right now to prompt Claude to build a different feature for you. Otherwise, let me just call out a couple things here. I do like throwing it in the plan mode to build this feature for us, and I did forget that step. I generally would have liked to throw it in plan mode. But in this sense, you could see Claude is actually getting pretty smart now. It knows that we... Like, it should have been in plan mode, and it's saying, hey. We can do a plan mode here or approve the plan. You can also highlight this, and we could reply to this directly. We could start a side chat. We can also use the term BTW, which will start a side chat here of double check this plan, which doesn't really make sense, but I just wanna show you. It will open up a side chat here, and we can have a side chat without polluting the main chat here. Alright? We could do that. I also... From a model perspective, I really like to use, like, higher intelligence to create my plans and to review my work. Alright? So I usually, like, leverage highest intelligence to do that. And then when it actually comes to implementing my plan, Clavijo. Like, Sonnet 5.5 is really good at the labor stuff, but, like, Opus 5.5 or Fable 5.1, I use that to, like, create the plan and to review the work and then Sonnet 5.5 to actually do the work for me. So BTW is just to answer the question in chat. It's just for, like, side chats. It's allowing you to, like, ask a question without confusing your main agent here. Alright? It can't actually do stuff for you. It's just a q and a for you to find out, like, what's happening here. The next question is when you have multiple agents on the same project, each in a new session like you have now, do you have to give each of them instructions to do work on its own GitHub branch so one agent doesn't break the other's agent work? Yes. You would. So right now, we have these two different agents. They're both right now, I believe, on the same branch. Okay? So if we had this agent start doing work on changing a workflow, and then we had this agent start doing work on changing another workflow, these agents could step on top of each other. So you would want this agent to be in one branch for the feature that it's focused on, and you want this agent to be on another branch for the feature that it's focused on. Ideally, it's two different features, and, ideally, they're not stepping on each other. So, like, if you're gonna do, like, work, you wanna try and find a way to separate it. Like, have this agent, like, do the front end work and this agent do the back end work. So they're not generally stepping on each other and creating conflicts in that way. Alright. So we have figured out... Alright. We have... Oops. Sorry. I didn't mean to do that. We don't need to open Muse right now. There we go. Get out of there. Okay. Cool. So we we can bring it back to auto mode here. We could see that we have this approved plan. We can approve it, and we're going to accept and allow edits. And now it's gonna say, alright. Plan it. Let's start building it. Alright? So feel free to have, to start building that on your side there. We are going to run some tests. We're gonna start working through this plan and building it together here. Alright. Any questions while we wait for Claude to continue building this for us? Also, I'm just gonna take a moment to allow you guys to start building this on your side. Again, feel free to build whatever feature you want or follow along here and build the export feature with us. What's up, Oscar Clavijo? Oscar Clavijo? JJ, you talked about the models, but curious if you've noticed a difference in choosing different, levels of effort between low, medium, high. Yeah. Great one. Thanks for that. So over here, we have effort. Okay? So we have low. Think of low as, like, a really good person that just get things done. You tell this person I need it done, and they just run straight to do the thing. And then you think Max, think of this person as you tell them to do something, and they're gonna be like, okay. Well, let me think about it for a couple hours. I'm gonna explore all the possible situations. I'm gonna proceed with what I think is best, and then I'm gonna do it. When you're on low, it's not really reasoning or thinking so much. It's just doing stuff. Things are gonna happen faster, and it's gonna cost less tokens. When you're on extra max or whatever, it's just gonna reason through things. It's gonna try and find the best option for you. It's gonna spend longer. It's gonna spend more tokens. But, generally, you should get out a better result because I thought through all the possible situations along the way. K? Now we also have Ultracode. Ultracode is crazy. I reserve Ultracode for the situations when you have a problem and you need to solve it as soon as possible. So what alter code does is... Let's say that someone reported a bug or a security gap on our website. What we could do is we can go into alter code and say, help me fix this bug. And what it will do is it will send all of the sub agents that it needs to go explore this bug at the same time. So, for example, you use Ultracode when you need to fix something very quickly, and by not having it fixed, it's gonna cost you a lot of money. And so Ultracode will look at a problem and launch as many sub agents as it needs to bombard that problem until it's solved ASAP. So it's like we have a security gap. You throw it on Ultracode, and all of a sudden you have a team of 20, 30, 40 agents exploring at the same time until it finds a solution, it patches it. It costs a whole bunch of money, but it fixed it faster than you could ever imagine fixing it before. Makes sense? Makes total sense. Thank you. Cool. We do have another question in the chat that, people would like you to get your thoughts on PRD docs for using new features. Yeah. So PRD docs are great too. It's really like what your org wants to do when it comes into planning. If you wanna have PRD docs and you bring those into, cloud, that's great. Normally, what we do is we'll store those docs within our code base. So, for example, you know, within our code base, if we have, like, a ticket here, you know, we click into the tickets folder, and then we could store the PRD doc for that ticket within that folder. And so we have that persistent context there of, like, hey. If we ever need to go back to that ticket, we could see the documentation for how that was built. That works too. Also, you know, Claude's plan mode is quite good. You could bring in linear tickets, Jira tickets, whatever. I think it's just whatever you prefer. Both of those things are quite good. Alright? Let's see here. I just have something here. Continue to work until feature is complete. I just have a couple agents stepping on each other there, but it's gonna continue here. Alright. It's just... It got worried that there was another session, and it didn't wanna step on it just like I was saying above. But that other session isn't actually doing the work, so we're okay there. So now it's gonna continue running tests in that way. Yes. Opus 5.5 is a game changer. It is my favorite model that I've ever used. It is so good. I was generally using Sonnet for, like, my laborist work, but Opus 5.5, I... And as soon as it came out, I've just stayed there. It's been efficient enough where I haven't needed to switch off of it. It just always works. It's quick. It's just... I can't even imagine what a model better than 5.5 is gonna be, honestly. It's really a game changer in that way. So that's awesome. Awesome. So we say here that it was now able to build this feature for us. Now we have the sidebar. We can customize our export. This is looking decent, but I do wanna make an adjustment here. I just wanna say... When I click on here, I'm gonna say here, I'm gonna say, actually, make this a center pop up and not a side panel. So I just want the UI to be a little different there. So I clicked on my click... My link here. I selected the element that I want changed. Now it's gonna work on changing the drawer style style for us. It also found some other information. So prices in the file still have a currency like this, even though the currency has its own column, some of them committed changes. Now this would be a good thing where I could hover... Highlight this, and I could say, like, maybe start a side chat. Or if I wanted to do something like this and I want to... Want... Don't wanna get sidetracked, that could be a way at... Where I could fork it, stuff like that, depending on how you wanna proceed with it in that way. But, generally, I think this is good. We go to export. Now we have the center thing, and we are cruising. Alright? So why don't you guys, spend another minute just finishing this up, getting your feature built? Give me a thumbs up when you guys are good. Let me know if you have any questions, and then we'll move on to the next thing, which is talking about... I'm not even gonna talk about MCPs because I think this group is already advanced enough. I'll just quickly catch up on why, you know, why this is important, but I won't spend too much time with skills, and then we'll get into sub agents. So give me a thumbs up when you guys are ready to move on. Quick time check here. We have thirty minutes left. In the next thirty minutes, I wanna make sure we talk on skills, sub agents, loops for sure. If there's anything else that you really wanna get to, drop it in chat so I know, and I'll try and get to it within the next thirty minutes before we get out of here. Alright. When it comes to skills, you just need to know a couple things. First, it's how agents can take your standard operating procedures and do them. When you onboard an employee, they look at your standard operating procedures for x, y, and z, and then they follow those guidelines. Skills are... Is how agents do this. So we convert our SOPs into a skill, then the agent can use that skill and do that for us. So we go in at Tenex. We go into each department, legal, sales, marketing, engineering, and and we help each department build skills that allow them to turn their alpha, the way that they do things that make them special, into skills. And then we take five, 10 of those skills, and we package it up into a plugin. A plugin allows one folder to package all of this as, like, a harness. The plugin can also have its own memory, have its own hooks, tool calls within its skills, and so, like, we have a legal plugin. Anybody on the member team gets a legal plugin with our specialty skills for legal. So this is how we redline. This is how we do contract review, etcetera, and it's done in the company approved way. And it can be done by agents to do a lot more of this. K? When we build a skill, we want it formatted as a folder. Alright? So if we look at this skill right here, it's a skill to create a poll request. Alright? And it's built as a folder. At the top level, we have a file called skill MD. You'll see a lot of lazy skills just built as a skill MD. But, really, it should just be one of the files within the folder. The skill MD is essentially the long prompt that turns this into a skill. So So instead of, like, writing this long prompt every time, we save it as a skill. And then whenever we wanna run this skill, we could say, hey, skill. Hey, Claude. You know, create our PR, and it's automatically gonna use our Northwind PR skill. As we format it as a folder, we can also include other things like references for what a good PR format looks like, how we verify it, any scripts that we need to run, any evals that we need to run. All that kind of stuff can be included in the skill folder to make your skill more powerful, more impactful, and to be able to abide by many more things by running code or anything to verify that it's working. Right? So turn your SOPs into skills. You can use skills and bundle them up in the plugins. Build your skills as folders, And you should generally be good there. Alright? So we're gonna move on beyond skills here. Now what is the difference between a skill and a sub agent? Put it in chat. It's one word. What is the difference between a skill and a sub agent? We'll love to hear what you have in chat. Skills, sub agents. Skills, sub agents. It's my man, Darius. Let's go. Context. Context management, Pedro. Yes. Exactly. Skills, as you can see here, will load into an existing context thread. Alright? So if you want your skill to run with existing context of your conversation, meaning, we can run a skill right here, PR reviewer, it would have... It would run with all this context in mind. Alright? Whereas a subagent would run with none of that. A subagent would launch a fresh Claude chat, and the main agent from this article would say, hey. Here are your instructions. Go do x, y, and z. And that's all the subagent would do. And then the subagent would go and then report back to the main agent with its findings, and then the main agent can take that how it wants. And so subagents give us this really good option. For example, if I told this agent right here, hey. Double check your work. Make sure there's no bugs in it. Well, this agent would be really biased. Right? Because this is the agent that wrote the code. So this agent thinks that it it wrote good code because it wrote it for a reason. Right? So that's when we could say, use a sub agent to double check this work to make sure that there's no bugs in the code. And then what would happen is you would have a new agent that would go double check this agent's work. So you get two people. Just like when we say, hey. I just did this, and we ask a colleague to double check for us, that's the agent version for this. Hey. This model just wrote this code. Let's have another model double check this to make sure it's good. Okay? So sub agents, they give us this fresh perspective where we can launch a new model to double check, to check for security, to check with a fresh point of view. It's like a consultant coming in. The consultant doesn't know your business yet, but they've been tasked to do, like, a security audit, and they're gonna come in and do that. Right? So sub agents are really powerful, and you can create two different types of sub agents. One sub agent is a temporary sub agent, and it's gonna follow just pretty much what we did before. Use a sub agent to do a security review. Now this agent right here will launch its own sub agent. It will do a security review, and, essentially, this sub agent will die afterwards. Or we could go in, and we go back into our project here. We could say, create a sub agent that does security review. Every security review should do x, y, and z. It should follow these steps. We should always look for this. Save it to our repo, essentially. It's like, this will create a persistent subagent that will be shipped back into your repo via diff and will make it so everybody else can access that subagent in that way. Right? And if we look for, like, a... Over here, we have pre... Like, we also have, code review. Code review is a built in sub agent that Claude ships with that everyone gets access to, and we could also build our own sub agents in that way if we want for our team. Alright? So for the team leaders in the room, let's think about this for a second. Who's managing your CLAUDE.md files at the top level, at the directory level? Do you have instructions for that? How are you telling your team how to handle these? Are you included in the diff? Are you not? Are you doing Claude at the the org level? Are you doing at the local level? How are you doing sub agents? Do you... Have you built any persistent sub agents for your team? If so, does your team know that they exist? Have you built any skills or plugins for your team yet? Do they know that it exists? What is the process for updating your skills? All these things is what your team should be figuring out together. Generally, there's no right answer. The most important part is that your team has its own process for this. Alright? Speaking of its own process, let's talk about hooks. So hooks, they are the only deterministic thing. Alright? Let me show you visually what I mean by this first. So if I run this if I run this five times, let's say that I have a rule in my CLAUDE.md that I want Claude to follow. Well, four out of the five times, Claude will follow that rule. But because our CLAUDE.md, it cannot always be listened to, and because LLMs are probabilistic, there's no guarantee that even if you include this rule, this release standard in your CLAUDE.md, then it might not always be listened to. But if you include that rule within a hook, then five out of five times, it's always gonna run because it is a deterministic check that Claude has to do before it does anything else. Now this can happen at the pretool use, or it could happen at the post tool use. Now what I mean by that is that if we go into Claude here and say, list out some of the valuable tools that this session has. Alright? So each Claude agent has tools that are available to it. Okay? And when we look at these tools, we could see that there's, like, a read, there's a write, there's a edit, there's run terminal commands. And so what we could do is we can create a hook that will run either before the tool runs or after the tool runs. Okay? So we could create a hook that essentially, like... I wanna create a pretool use hook that runs before we make any commits. I want this hook to run our security review sub agent, and I want this hook to run our bug review sub agent. And if any problems are found, stop the commit and fix the problems before the commit happens. And so what will happen here is Claude will literally go build this hook. And so anytime you or anyone in your organization, because you could ship this hook at the org level, says, hey, Claude. Commit this. Before it actually commits that code, it will run two different checks. It's gonna run a security review check and a bug bug review check because that's what we told it to do. And if any of those checks find a problem, it's gonna stop the commit. It's gonna fix the problem. And then once the problem is fixed, then it's gonna commit commit it. Alright? This is a great way for org administrators, for org team members to be able to ensure that their team is running processes that they need to run. You can also do this. I wanna create a pretool use hook that make sure that none of my team members ever commit any PII data. So, generally, what will happen here is I can create a hook for my team. That means that anytime you send a co... A a a message, Claude will run this simple script to check to see if the message contains any PII, patient information data. And if so, it will stop the message, and it will say, sorry. We cannot send this message to the cloud server because it contains PII, and that'll... That goes against our org standards. And that data will never be transmitted in that way. So you could see all the possibilities that hooks allows you to do for your org, the tools it allows you to set up. Now all of a sudden, Claude Code has gone up not just from, like, a tool that we can use, but, like, a tool that your entire org can use to onboard into the way that things are done, the systems we want run, the procedures we wanna follow, the standards that should always be set. We set that at the repo level and with hooks, sub agents, clawed entities, all this kind of stuff. They all layer together to make sure that any new developer, even though it's our first day on the job, our agents are are automatically abiding by the way we do these things. And so if your team isn't doing any of this, talk to your team. Bring this training back. Bring this recording back to your team and say, hey. Watch this. Make sure that... You know, let's find a way to implement some of this stuff. Let's talk through what is our version of this. Right? We also do this a lot at Tenex. We'll go into teams. We'll go into companies, figure out their strategy, figure out how their engineering team should update their configs to make sure that your team can make the most out of agents that are following your procedures. All that kind of stuff, we advise at that level. It's a great way to get us included there as well. Alright? So hooks are really important. I would just say that hooks, since they're deterministic, they always run. That means that more tokens will always be spent. So you wanna conservatively layer your hooks in your code base to make sure that you're not having everybody in your team do so many checks every single time. Okay? You can also implement hooks within the plugins, and you can also run... Add these checks into your CICD pipeline, all that kind of stuff. Right? So figure out what is the best way for you to layer in these found... The the processes, these foundations, etcetera. Hooks are deterministic. It's one... It's the only option in Claude Code that's deterministic, and it's really nice that we have that option for us. So to summarize a little bit before we move on to a couple more advanced things, again, we just have ten minutes left here, so put any questions in chat that you have. We'll try to answer those before we get out out of here. Our CLAUDE.md is the file that every agent reads whenever it... A new agent launches. You can set at the top level, and you can set it in the sublevel. Alright? We also have skills. Skills are... And to answer Brian's question here, skills are the way that we take our alpha, which is essentially the way that our org likes to do things, our secret sauce for the way that we like to do things. We program that, write that into our skills. So that way when our skills run, it's still running our alpha. It's still running the special way that we like things to be run-in our company, but now agents are able to do that as well. K? We have MCP servers, which are essentially external data that you can connect to that allow your agents to be able to read and write with that external data. Think Jira, Linear, also Google, Calendar, Gmail, all that kind of thing. You can connect all to Claude for a read and write. Within that MCP connection, you can configure your permissions at the tool level. So... And an easy one to explain is Gmail. My tool permissions for read is allow, Well, my tool permissions for create, like, create new message or send new message as... Sorry. It is ask. Meaning, anytime my Claude needs to send a new message, it's always gonna ask me for permissions first because I set it up at tool level of the MCP. Then we have sub agents, their ability for our agents to double check each other for a fresh perspective to come in and to evaluate something. We have hooks, which are deterministic checks that can run. Man, we're cruising here. We have a lot of options. Oscar, what's Hey, JJ. Quick question. What's the difference between an MCP and a connector? I hear kinda both words being used here and there. up? They're they're the same thing. An MCP server is essentially Claude's terminal... Is Claude's connector terminology. It's essentially an MCP server is packaged up, and it just allows for a connector. So same thing there. A... Amazing. API versus MCP. So think of an API has many different endpoints. Okay? So you have, like, the create endpoint, the read endpoint, the delete endpoint, etcetera. We've essentially taken these APIs, and we package them up into an MCP server that essentially include all those endpoints and, like, more instructions for agents to be able to work with these tools and to be able to call them better. And so it's like the modern API. It's a modern rest API for your company. It's just your MCP server now. It's meant for agents to work in it better. Generally, if there's an older company that doesn't have an MCP server yet, you can point your agent at the rest API configs, and you can have your agent create your own MCP server that you host to allow your agents to be able to access that data via those API endpoints. Nice one, Robert. I love that. Alright. Let me talk about... Just generally... Let me just finish the conversation here, and then I wanna get into loops. And, alright. So the way that we would operate here is right now, this main agent has finished building this feature. Okay? This feature, no one else has yet. So, generally, we would go back to our main agent and say, let's finalize this and create a pull request to send this code back to main for review. And so, generally, what would happen here is Claude Code would now package up this feature and will submit a pull request to a boss, and it... And it'll say, hey, boss. The pull... The the feature that you want built is done. It's available in this branch, in this pull request. If it looks good, you can merge it in the main so everyone else can have access to it as well. Right? And we kept this very clean, meaning we only are included this feature within this pull request. You don't wanna have, like, a pull request that has, like, four different features. Because what happens if your boss wants, like, two of those features, but the other two features aren't done well? Then he'd have to deny that entire pull request. Instead, you want four different pull requests. One pull pull request for each feature and say, I'll accept this request and this request, but these two requests, I don't want anymore. And I... They could still get the latest work from those first two requests. So you wanna keep your pull request lean, focused, make it easier on your team in that way. Alright? So we would create a PR, send it back. Your boss would be notified. I have this PR. I can merge the domain, etcetera. Alright? Now someone's asking a question. Leaving instructions in CLAUDE.md is better or having them on the skills instead. So two different things here. In your CLAUDE.md, you want top level information for how your Claude should always operate. Hey. When working with this code base, here's how I want you to work. Here are our conventions. Here are our standards. Here is a map of where everything is. And then a skill is actually... Alright. Whenever we create a PR, here is the five steps checks that you should always do whenever we're filling out that PR. So CLAUDE.md is much higher higher level, and skills are very niche, specific to the task at hand. So it's like every time we create a PR, it's following this workflow. Every that time we do a code review, it's following this workflow. You don't wanna put all of that within the CLAUDE.md because then it would bloat your CLAUDE.md and would send way more information to Claude on every single prompt, and you'd send more information than it needs. And it would cost more tokens, and it would just... It wouldn't be good. So skills are reserved for just when you need it. Anthropic CLAUDE.md is meant for every agent to read to get up to speed very quickly. Now let's talk about loops because I really love loops. Loops are really cool. So there's this command that we could do within Claude. It's backslash loop. And so what we could do is we could tell Claude to do a reoccurring task in the cloud for us. Okay? So what I could do is I can go back to Claude here, and I could say it's backslash loop, enter, and I could say thirty minutes. I want you to check my GitHub repo available here and look for any new PRs. If there's a new PR, I want you to triage that PR, see if it's good to merge it. If so, merge it. If not, deny the PR, leave comments on what needs to be changed. And that's a very simplistic prompt, but, essentially, what will happen is Claude will create a cloud workflow. And every thirty minutes, because we've dedicated thirty minutes, it will run. It will look at any open PRs, and it will automatically do that work for you. Think about it like this. You could also do a loop thirty minutes and then say something like, I want you to look at this database that contains all of the bug requests. If there's any new entries for a bug request in this database, spin up a new branch and work on fixing each bug request, and then once complete, create a new PR for that bug request. And so this is another way that you could have Claude build proactive commands that run automatically in the cloud for you, auto fixing any kind of bugs that are submitted. You can also tap this into Sentry, a bug review tool, and use that Sentry MCP along with this to say, hey. Monitor Sentry. Any errors that occur every thirty minutes, fix those. Submit a PR to fix it. Notify me in Slack. You can bring in all these different MCPs. You can create proactive workloads that are running twenty four seven for you, and loop allows you to build a lot of infrastructure. Very similar to loops, we have on call here. Okay? So we can have Claude join the incident channels you pick and investigate alongside you. So within Slack, Claude can join you in in Slack there. You can also have Claude do routines. So a routine is just like a hook. Alright? So we can go and create a new routine. We can have it run local or cloud. This is exactly what it is. The routine will only run if your computer's on, or the routine will always run. And we can have our new routine run. It's the same thing as the loop. We're setting up a cloud infrastructure to do x, y, and z. Look at our p... PRs. Look at our, issues, email triage, dependency check, all that kind of stuff. We could set up these proactive systems in the cloud to run for us. You wouldn't wanna... I don't think wanna use a loop for support bot because support bots are different. You'd wanna use, like, the Claude SDK to build that support bot for you and then use something like manage agents that are able to wake up whenever an inquiry is sent. Loops are very much like, I'll check every five minutes. But if there's a... I check and then a second after I check, someone messages me, I won't respond to them until my neck check five minutes ago. And every check and everything is gonna take, you know, tokens to run. So that wouldn't be the most efficient system to create, for a support bot in that way. But I do like the idea that you're thinking of loops, and it's like, yes. It's create create proactive system that you can build. Right? So that's what I have for you all today. A reminder that you'll have access to this workshop app for the next thirty days. You'll have access to this recording. We do one of these once a week right now. So if you enjoyed this, send this to your team. Have them join us next week. Alright? I don't know how much longer we're gonna be running these virtuals, so try to get your team here as soon as possible. Also, I told you in the beginning, there's something I wanna share with you that's very important. Right now, AI has kind of broken the Internet in some way, meaning there are a lot of vulnerabilities that have just been found because AI is so strong at coding. PHP has vulnerabilities. Linux has vulnerabilities. Python has vulnerabilities. These are new things that have just been found in the last twenty four, forty eight hours. What I would do is I would do a couple things. I would go in... Into your API console and check for any kind of existing API keys. If there's any old keys, either disable or just delete them if you're not using them. Alright? If there's any new keys or any active keys, then I would go to your spend limit section and make sure that your spend limits are set at a reasonable amount. I've seen that some orgs default to a spend limit of $200,000. You do not wanna have generally that high of a spend limit if you're a smaller org because that means that if someone gets access to your keys, which generally... Like, so many things are vulnerable right now. Railway just got hacked, which keys are available, all that kind of stuff. Generally assume that keys are vulnerable right now. You wanna make it so your spend limit is as low as possible. So if a key is found, they can't actually spend so much on that. So for you, bring this back to your team. Hey. Let's double check the keys that we have out. Let's disable any keys that are no longer active. Let's go to our spend limits in our Claude API console, and let's make sure that we have appropriate spend limits. So if any keys are found, our exposure is very small. This is gonna be a little bit of a period. Because AI is so good at coding, they are... It's finding vulnerabilities that has existed for years in popular frameworks. The world is gonna have to patch these. And with AI, we'll be able to patch it faster than ever before, but there is gonna be a hardening period, which we're in right now. And so do your own due diligence with your own security, with your own API keys, your own spend limits, and protect yourself. Otherwise, if you want more events like this, follow the Anthropic channels for weekly virtuals. I don't know how long they'll last. If you wanna be updated with our latest stuff at Tenex, follow me on LinkedIn or Twitter. It's slash JJ Englert. I post way too much. All of my latest musings and education stuff there. We also have a YouTube channel called slash Tenex media. We post two or three videos each week showing all of our latest tips. You go there as well. Thank you for being a great crowd... A great audience today. We really appreciate you. That's all we have for you. Have a great weekend, and we'll catch you on the next one.