📱

Get Our Mobile App

Take your business learning on the go!

Download on the App StoreGet it on Google Play

Claude Code: Настройка, которая делает его в 10 раз полезнее

Константин Исакин24:38

Transcription

Hello everyone. If you have installed the Claude-code and are disappointed with the results of its work, then you have most likely configured it incorrectly. In this video, I will show you how to better configure it for your tasks. Let's go. First, what we see, accordingly, we open our project and launch Claude. That's it, Claude has launched. Accordingly, what do we need to do here first? Well, and what can we look at? Let's start with basic settings. or rather, not even settings, but commands that exist. A small overview of the main ones that you will need. The first is status. It will show you what is installed, what is not working. That is, well, basic information about your account, which you can view. We can also scroll right and left with the arrows, this is config and usage. Accordingly, config is the basic settings that you, as a rule, configure during installation. And the second is usage - this is how much you have spent, how much you have used, and how much you have left for the week, for the current session specifically. All this can be viewed again. We will also go through additional settings here. The only thing that should be enabled is thinking mode. You should have the setting true selected. Accordingly, to select it, you need to press Enter. The next thing you can also choose here is the language, but it's better to leave English by default, because it will communicate with you in English. Well, and in principle, that's probably all. Let's move on. The next command we have is s_memory. This command will allow us to configure the project's memory, Claude's memory about you, about your project. Accordingly, what it needs to consider. The first is user memory. It can be configured superficially, for example, by writing "answer me in Russian" here, for example, or in any other language you like. We save. Okay. Next, accordingly, you can also configure not only the user, that is, the user is you. And you can configure, for example, memory for the project only. Accordingly, I write websites. I write a website. That's it. Well, we've configured it, for example, like this. This is just a basic superficial demonstration of how it should look. These files should be fully formatted to your needs. And, accordingly, then Claude will take this context into account in order to work specifically on your project. I will delete this because I don't just write websites. That's it. And we won't save. Let's move on. Accordingly, there is also an option to use Claude through such a chat. In terms of functionality, it is a slightly cut-down, cut-down version of the terminal. Accordingly, almost everything is the same here, but some settings, you see, there is a square. This means that most of the settings are configured through the terminal, that is, through such a field. The only important setting that you can find here and which is convenient to find here is General Config. And in General Config, you have such a setting. This is, in fact, bypass. That is, Claude will ignore any, well, not ignore, but not consider them. That is, it will work completely autonomously. This is such a god mode, in fact, when you allow Claude to do everything it deems necessary. I want to say right away that this is a good setting if you want to do something quickly, for example, and within a limited number of prompts. But in all other situations, this setting will rather hinder you. Therefore, I do not advise enabling it, but as it were, know that this is a rather important setting that allows you to, essentially, allow Claude to do everything it wants on your computer. That is, it will not need to ask: "Can I save this file?" It will not need to ask: "Can I delete this file?" It will simply do what it deems necessary. But if you have some old project, for example, and it's already working, then it can break everything there. Therefore, please, use this setting yourself. What else is there? In principle, nothing else that would be useful to you. This setting is not always pulled from here, so we don't pay attention to it. Everything that is here, by and large, does not affect your work in any way, since, for example, the terminal can be launched like this, the chat can be launched like this, so, by and large, you don't need this tab anymore. Let's move on, by and large, to the main information for this video. This is what you will need to use Claude to the maximum. The first and most important is agents. Agents are, in fact, already, ready-made instructions for each specific task that you, for example, solve with your Claude. Accordingly, it is better to create agents custom for yourself, but keep in mind that these agents should be a limited number, that is, there is no point in inflating them. For example, let's take as a basis that I want to create a website. I want to create a website with flower delivery. Let it be so. What do we have here? We create a new agent. Here you can choose whether it is for a specific project or for you in general. That is, well, I advise doing it for a specific project, because, for example, today you need a website, tomorrow you will need some kind of calculator, and those agents may not suit you. We select the project. And there are two options here. The first is to configure manually, but I don't advise it, because, well, it will be a bit complicated if you are a beginner. Accordingly, you can generate it using Claude. This will be much easier. I want to create an agent that will select a stack for my task. For example, it will be an online store. I need an agent that will help me decide on a stack for my website. Accordingly, we click, we send. Now it will generate it for us. I'll say right away that it's better to create several agents, to build a structure for your project. Imagine that you have, for example, a small team. Accordingly, the first person, the first agent will be the one who, for example, is the architect. Okay, generated, removed his edit and launch, for example. Well, of course, if you don't understand, it's better to leave everything as it is. Continue. Model, look, choose based on the task, since the architect is a rather important role in this case, you can give him a smarter model. And, accordingly, we choose some color, let it be green. Next, we choose where to save all this. Let it be the project folder. That's it, we press Enter. Our agent is created. Here it appeared in the folder. And here is its instruction. Let the next agent be coderev, who will check our code. Let's describe it. It should check our code for security and quality of work, so that there are no authorization tokens that should not be there, etc. Well, let's write it. Let it think for itself. That's it, we launch it. It was created. We also leave it as is. Continue. Let the model be saet, because such a task is more routine than focused on some super skills. Let it be saet. Well, let its color be red. We enable it to have memory. Okay. And let's, for example, have a debugger too. Create a debugger agent that will find and fix errors in the code. We press continue. In principle, bugs are also such a thing. Let it be a smarter model, but in fact, you could have given it an ordinary model. Okay, saved. Here we have created three agents. I will attach them to the Telegram group. Accordingly, you can go, subscribe, download them. Accordingly, we have created agents. What other settings do we have that we could, in principle, consider? Let me show you. Previously, there was such a setting as MCP. Accordingly, these are additional services that could connect to our Claude-code, which Claude-code could use at its discretion. Now there is, in fact, a section with plugins, which significantly simplifies this process. And, in fact, the MCP section is no longer needed. But I will explain. Basically, all the most necessary, most popular tools that were connected through MCP are now available through plugins, and installing them has become much easier. That's one. MCP is now only needed for services that are not popular or, for example, are simply not available, for example, in the basic plugin marketplace. So, if you have some custom product, for example, that has MCP, let's say it's Hrefs for sessions or something like that, this tool might simply not be in the plugin marketplace. And in that case, yes, we can connect it as, as before, through MCP. However, at the current stage, we have plugins, and installing them has become much easier. Let me show you what it is. We open it. And there will be three tabs. These are already installed. This is what I have installed. This we will show a little later. Marketplaces are, in fact, a collection. That is, it's a collection. So, if we take games as an example, these are some packs, for example, which contain a lot of plugins inside. That is, you install the marketplace, and then from this marketplace, you selectively pull out the plugins you want to use. I have installed several additional ones. I will attach them below the video and explain what these marketplaces are. Mostly these are design plugins that help, accordingly, create a more interesting design than Claude did without all these plugins. I have this Superpowers. This is an additional tool that allows Claude to think a little better. However, accordingly, everyone needs to look, some will like it, some will not. Let's look at the plugins themselves, what's here. I have installed context 7 - this is such a service that, in fact, has documentation for many frameworks, sockets, anything you want. Accordingly, it helps Claude to better search for documentation, which allows it to work better. And there are two design plugins - this is the official frontend design from Claude and an additional one that was recommended to me in the chat. It, accordingly, is also involved in generating good design. So, and Superpowers is what allows us to additionally enable such a brainstorming mode within Claude. What else is here? Codev is, in fact, an additional agent, which can be installed as a plugin. If, for example, you are not satisfied with the quality of the agent you already have, then you can install additional plugins that are already tailored to the instructions. The instructions themselves, what's inside, can be viewed on GitHub. I will provide the link. The next is GitHub. It allows you to connect to Git itself and, accordingly, work with Git. What is this? How and why it is needed, I will show in the next video. There is Play - this is a plugin for browser automation. It might also suit someone. However, I have the ones I showed. So. Let's go back. Those that we have already installed. And let me show you how to use them. We exit with escape to the chat and start s. And let's, for example, for a flower shop, let it be a flower shop, let's create some design for our project. And that's it, we launch. And now we will wait. Here it will ask for access. Accordingly, if you don't want to confirm them every time, choose the second option. Uh-huh. So, it has been generated. Let's look. We open it. Here, in principle, such a design is ready. I would say it's very good. The only thing is that it cannot generate pictures, so it substitutes emojis somewhere, well, and puts placeholders somewhere. Well, without pictures, yes, I agree, it's not as beautiful as with pictures, but nevertheless, it's quite good. Let's look at the second card. Ah, well, the picture turned out to be large, but in general, it's not scary. You can ask to correct the bouquet composition. Listen, it's quite nice, in my opinion. Reviews, bouquet, reviews, bouquet. Well, in general, not a bad design, I would say, so, okay. I, in principle, like it. Let's try to ask it to generate a second one. This is what we generated with frontend design. This will be our next one. This is a design for two pages of the site. Let's see what the prompt was, because we had the opportunity to fully evaluate, so to speak, the work. We send the same prompt. What does it represent? Aha, these banners are shaking. Well, okay. It chose different colors. Well, in principle, the blocks are very similar. Perhaps the card design here is even more pleasant, as if. Let's open the second one to compare too. Mmm, well, it's maximally similar, actually. I honestly don't see much difference. Well, the only thing is that through the official Anthropic plugin, the design is slightly better than here. Well, in principle, it's good everywhere. Well, the only thing is that there is such a bug. It can also be fixed. Ah, well, in principle, okay, yes? Let's move on. That's it, our designs have been generated. And now let's move on. Let's now check, first of all, how much text the current project takes up. And let's see, yes, what we have. Look, the current context of our project is 50%. Well, here, accordingly, there is full detail 62 and 124,000 out of 200,000 tokens. What can we do with this? First, let's type the command Init. This, accordingly, we create a Claude MD, in which the detailed history, the detailed stack of our website will be written. Let's create it. Uh-huh. We see that it has created such an instruction for our current project, but we only have two design versions. This is not enough. Let's now turn to the architect. and select what stack for our online store will actually be needed. Use the architect agent to select a stack for my website. I want to create it entirely using and on web coding. Let the hosting be beget. Beget. Well, in principle, that's probably all the input. Let's ask him and ask me the questions that you will need to select the stack. A rather important point is that such an instruction, to ask additional questions, greatly helps to find common ground with the neural network, if one can put it that way, because the neural network does not always understand what you are telling it, that is, well, and we, accordingly, do not always form our thoughts correctly. Therefore, if something is unclear, for example, you missed some detail, it can really ask this question and, accordingly, give you a complete, more accurate instruction than if it had done it without this, just at its own discretion. Let's press Enter. So, here is the list of questions it sent us. Let's write. They are very convenient, of course, to look at all this in the terminal. First, hosting is simple, if necessary, we can switch to VGS. It's better to share. This is the second question about the type of store. A full online store. Payment should be yukassa. Fourth, what do we have there? Ah, catalog. In the catalog, we will have, well, 500,000 items, for example. This is quite a lot for an online store. Admin panel, yes, an admin panel is needed. Customer accounts. Well, let's have them too. Seventh. Integrations, yes, they are needed. Eighth, you can answer, if you don't understand what you are being asked, you can answer, accordingly, just yes or no, or I don't understand at all. It will clarify this question, or, accordingly, simply skip it. SEO marketing, yes, I need a SEO friendly stack design. Well, I like the first one more. Let's scale. Expected traffic. Well, a maximum of 10,000 people per month. Eleventh is your level of coding, 100%, because I don't understand anything at all. Takes deadlines. Skip this question, because, well, and 13th, yes, SMS and notifications will be needed. That's it, let's launch. So, here is the proposed stack: web 11 PHP framework. Okay, let it be Laravel. And in the next videos, we will try to create a complete website on Laravel. We will see how easy it is to assemble an online store yourself using Claude-code. And, accordingly, we will figure out more details about deployment and so on. For now, we return to the topic of our video, which is configuration. Accordingly, we have configured these agents that simply help us work with our project. I advise you to keep no more than five to a maximum of ten, but this is for your needs, so look for yourself. Probably, let's analyze the context. I have already shown the basic context settings. What do we have now after one more? Uh-huh, 71%. Okay, that's quite a lot. We have two settings. The first is clear. It completely clears the chat history. Accordingly, everything that is not in your files will simply be deleted. Such a radical cleanup does not always help us. And there is, accordingly, such an option, it's compact. Let's do it. Accordingly, what will be done? It will analyze your entire conversation, make a summary of it, and accordingly, it will remain with this summary, and everything else will be erased, and it will continue to work based on the context of the summary it has left. Accordingly, when Claude starts to respond strangely, to lag, or to forget what you were talking about, it means its context window is full, and it is advisable to clear it. Also, if it overflows, then Claude has a setting that it clears it itself, it does all this compacting itself. Uh-huh. So, it has compressed our file. And let's now check the context. The context is now 18% occupied. Additionally, I would like to show such a thing. This is Shift TP. Below you have a setting. This is switching between modes. The planning mode is needed when you want to start some large-scale task or, for example, you have accumulated many errors and you want to rework them all at once. Accordingly, it is better to use plan mode first, so that it goes through, checks everything, makes a detailed list of what you will do with it further. And this will remain as a ready-made plan for the next agent, for example, some debugger, to go through and fix everything. The next mode is, well, automatic correction acceptance, it is called like this. And the next mode is precisely the one that will confirm each correction. These can be switched. That's probably all. We have reviewed the main settings. If anything is unclear, you can ask questions in the comments under the video, subscribe to Telegram, I also answer questions there. And if anyone has any additions, something I haven't said, you can also add it under the video. And thank you all for your attention. In the next video, I will try to explain how to work with GitHub and why it is needed at all. That's all, bye everyone.