Let the Agent Cook: Building AI-Native Developer Workflows

Devcon 8 · 5 Nov 2026 · 43:38

In this hands-on Open Tech Summit workshop, Arnav Angarkar and co-presenters show how to turn AI coding agents into reliable workflows instead of prompting by hand. Using the Let the Agent Cook repository, the session covers agent instruction files, reusable skills, plugins, hooks and MCP configuration, with examples in Claude Code and Antigravity, and ways to cut wasted tokens and unwanted code. Connectivity problems meant the final demo could not be run live.

Speakers

Topics

From Devcon 8, hosted by Ethereum Foundation.

Transcript

[music] [music] >> I pretty much know the answer, but still, how many of you are using AI agents in your day-to-day development? Exactly, all of us. So, that is a domain that not everyone knows a lot about. I mean, we know there's this provider or there's this coding agent, and they're all good. I mean, they can all very they can code very fast, much faster than a human, much efficient and way better code than most of the humans.

But then again, is it something we can trust blindly? Definitely not. But we can definitely make our workflows much easier. There are a set of work instructions that we can follow, maybe some rule sets, some skills that we can give our agents, and how we want them to work. Have you guys heard about harnesses? Yes, that's good. Maybe not. Then we'll still show it here.

Man, so I'm like working my projects and then I use an AI agent. It pumps up so many PRs. But there's a lot of tests, a lot of comments, and it's just like, do I have to sort it up again or am I wasting my tokens? Tokens optimization is a really big thing now, guys, because so much work we need to do and only so less tokens. So, let us start the workshop now. I'll hand over to Arnav. >> Yeah. So, good afternoon everyone here and hope you're having a good time at the Open Tech Summit. And so let's begin. So, so let's have a raise of hands for whoever uses Cloud here.

Anybody uses Cloud? Yeah, so many of us use Claude and how about you know, Codex? it more of Codex people? We are more of cloud people or we have Google fans here? Do we have anti-gravity users? Yeah, so I think it's a mix of crowd here. So let's this this is you know a bit more customized with Claude as I use a lot of Claude, but it you know works is the same it the code it works the same everywhere, right? So so why don't we quickly you know since this is a workshop it we'll just do it hands on. So if you guys can clone the you know this repository github.com/ arnobalin code/let the agent cook

we can you know do a quick hands on you know session especially if you guys use Claude. So So how do we turn the code into a reliable workflow? We just don't want to you know keep you know prompting Claude code because giving in you know the era where we used to you know have a different we used to paste what we want into chat GPT get the prompt and paste into Claude. It's now over. So it's all you have to get it all together use it at one place get the entire thing you know we need to stop being

the prompter and we don't need to become an agent ourselves. So we need to let the agent run himself. You don't Just a second some issue. Yeah, so today like as I said prompt code hope like it's we'll go to a better workflow like, let's, let's see how we can do it, yeah?

So like the repo which you guys cloned so it's, it's basically a place where like you know why like so we try to divide you know 100 rupees into three different people it's 33.33 33.33 33.33 and you know the 0.1 is lost somewhere so there is a I have planted a bug inside the repo which has this issue so like one you know to convert it into Indian terms one paisa is lost somewhere. So yeah so the tip jar is you know it's a next node js project where we use the same thing with eth so yeah.

So the sample project tip jar if you guys have cloned it you can you know ask Claude about this bug and maybe yeah so let's go through it yeah. So yeah so and agent is an entire loop it's not just a single model where we you know ask a question so it's like you give the system prompt we have different we have cloud.md we have agents.md we have specific md files we have different skills we have you know separate memory and we have like context and it's a, it's a lot of stuff so the model is the chef so everything else is like a kitchen so what it can see what it can touch and how you can you know cook the dish.

So let's cook the dish yeah. So there are seven main ingredients of our kitchen so like the first one is instructions so every session needs an instruction and like basically the instructions are a rule which you know is always applied then we have skills so the skills are specific files which you only want for specific tasks and these are not tasks which are you know just a one-time task these are tasks which you do over and over again and they are very specific and you follow that particular format. For example, if anyone reviews a lot of PRs, for example, we

we Vedant, we try to you know review a lot of PRs. We maintain some repositories at Force Asia. So we use PR review skill, right? Then we have MCP server. So like the we can MCP server is to get particular context from >> So basically I mean, are you guys familiar with MCP servers? Yes. So just if someone is not, I'll just sum it down really quick just in layman's term. You know an API already. I mean, of course. Just think of it that the agent or the model is writing APIs on the go. You don't really have to do it. You don't really have to write it by your own hand, but it still gets the work done.

That is majorly what MCP servers are about and that's how we'll be proceeding on. Moving on to the fourth ingredient now. Plans. So I mean, there are several modes as well you guys already would be aware of. Now planning mode. >> Yeah, so so like plan modes are like when you need to build some real big features. So you don't want to keep on you know iterating through with it. You know, it should be a sync task. You have to you can just plan with the your agent initially and you leave it to it. It keeps on iterating. It does the entire loop and then you have the product instead of have the feature instead of you know you telling it to build build a

fix or a build a feature and then it gives you some output you tell it to change. So we need to automate this entire process so that it goes through with it completely on itself. We don't need to you know it should be a sync process and you can build multiple features simultaneously. So we'll be going through each of these ingredients in detail with the workshop. So this is a short summary. We have auto memory. So we need to give a project context and we need to also have a separate cloud memory for project as well as for your local. So yeah, we will be going in detail. We have sub agents and we have different hooks. So, as we have the pre-commit hooks, you might be aware of pre-commit hooks.

So, we have hooks like this for Claude as well, for AI agents as well. So, first comes the repository instructions. So, like we tell so the repository instructions are a basics a basic agents.md. So, what does what do you keep in your agents.md? So, agents.md is a a config that we give is a common config for most of the providers. Recently even Claude shifted to start using agents.md. Initially Claude used to use its own Claude.md. Now it uses the agents.md. So, we tell all the basic stuff, basic context which is needed for

each and every prompt and we try to keep it short and not very long. So, the standard is that we try to keep it around 200 lines long and not more than that. And we give it some like basic commands which are necessary for almost all the all all the all the prompts you do. So, it tries to follow like for example, if we have a Node.js project here, we tell him to do the npm test, npm run check docs and like for like people into Web3, we can you know force the tests and stuff.

So, where it lives? It lives in the like earlier there used to be Claude.md, now it's agents.md. And so there are two types of instructions here. So, it's either your agents.md which the repository any repository which uses a lot of you know now all the repositories everyone uses AI. So, there is a general agents.md and there is one which you have for your own personal use. So, you keep your own local which is always there in the git ignore. So, it it is in the you know tilde dot Claude. You keep it for your own personal use. So, this one and the other one is which is common for everyone. I think we.

So exactly what I was saying. So what when is which agents.md loaded and when is which clause.md loaded and how does it work? Yeah. So the initial this the which is inside your root. So this is your own custom local file which has the instructions and the one at the repository root like the tip jar sandbox/cloud.md. This is the one which is general use. So these are written by the repository maintainers to give context to all the different agents.

Yeah. And then there are particular cloud.md for particular folders. For example, we have a front end, we have a cloud.md for the front end, and we have a separate one for the back end. Yeah. So this is a general structure for that. So now let's move on to skill files after instructions. So what are skill files? So for example, we do a lot of PR triaging. So the skills there are a particular format. So if you actually search skills.md, you'll get onto an official website where they, you know, explain it in very much detail about the entire YAML format. So the format goes like there's a name, you have the description, the license of the skill, the owner of the skill, and then you go

around with the skill and you give it context, right? For the particular skill. Then there is for example, there are conventions that the name has to be lowercase with hyphens. It has to be lesser than 64 characters. So these are some things the which you need to use so to keep it perfectly relevant and you make sure that it sticks with it and it at the same time we also talk next about how we optimize this with the tokens so that it doesn't, you know, take up all of your context. So exactly. So it's loaded only when it's needed. So how do we make sure it's loaded, the skill files are loaded only when it's

needed and is not always loaded and it doesn't take up all your context. So the name plus description, it usually takes up around 100 tokens, which is like very less. And we so this is get gets indexed every time we write in the prompt and it cross verifies that if is this skill going to be picked up based on the name and description. So that is why the YAML format format with of the name plus description is very much necessary. We give them so each skill has references, scripts and assets. So all the skills when they when they are picked up the all the the references scripts and assets are

later on put it into context. So for example, this is there is T3 code. So it's a open source project T3 code which you know if if you use multiple providers like in the middle I used to use open code, I used Claude code, I used to use Codex, I used to use anti-gravity. So how how do we you know use all of this together but we don't miss out on the context. So if you are using multiple agents together, how do we don't miss on on the context? So something this is one of a very tool we can use.

And how how how how exactly are the tokens calculated and you know if you use a pay as you go subscription or you know you know reduce your usage and you don't want you know to it to get bloated on tokens which are not even used. So there are mainly four types of tokens. So there is there is uncashed input, there is cash right, there is cash read and there is the output. So when you input anything into the Claude into the prompt or anything it it usually does write into the cash. So and then this this cash is not always used. So it is referenced based on your prompt. So based on it, it uses the uncached input.

Then if it it decides that it needs to use the cache, it does the cache read and it does the output. So how how do you you know make sure that it doesn't use all the context and all the tokens every time? So to make sure that it doesn't do it all the time, you the like we can it depends on like you can see over here. It depends on how you you know write your skills, how you write your agents. md, the prefixes of your files, how you know how it's done usually. So yeah.

So you know to keep the you know to optimize it, we scope the task, the issue. We keep the paths relevant, like we keep we follow the structure. We and we make sure that the output doesn't have you know irrelevant stuff. We we try to compact the conversation we have with the agent and you know so context is something which is very expensive and it consumes a lot of tokens. So we try to you know compact it using a cheaper model instead of you know. So if you if you use Claude in general and let's say you're using Opus 5.5 and it's a very expensive model, right? So you want to use it for actually using the fix and you know

building instead of you know using it for compacting your tokens or something. So you need to you know keep the context and structure of your entire conversation. You need to keep looking at it and you need to use or you you write a skill or you write a hook so that while like you can write a hook for you know before it compacts, it usually switches the model or uses a sub agent to you know squash the context, yeah? So nowadays you don't even need to manually write your own skill files.

You let the repository write its own skills. So once you have a base scaffold repo, it already knows its workflows, it already knows you know, the tests, the CI and the contributor docs. So we ask the agent to find these docs and based on them it writes its own skills. So yeah we let's go how we can do that. So we we tell it to you know, initially the agent inspects the README contributing agents MD. It spots different patterns. Based on these patterns it proposes like with a reason why we should do it. Then it asks you, you approve the flow and we generate the skill files, verify it and we iterate through it keep on changing, yeah.

So for example, this is one of the prompt to generate skills. So we we we'll go through this shortly how we can actually do it with Claude. So so maybe maybe let's let's go through example yeah. So the

so basically where do all these live and you know, how where is all this you know, cast and stuff so we can you know, so for example, we can you know, always when you do the slash memory you can see what all is there inside your memory. For example, we have the in Claude we have the for this repository. We have the agents.md, we have user instructions, we have the project instructions and yeah.

And then there is something called as auto memory which we can toggle. So Claude itself writes its own memory based on you know if it needs to which I I usually keep on for my projects. So it keeps on updating its memory based on what it needs. >> Oh and actually you can manipulate that as well. That is very handy I assure you. Whenever it writes something you can just maybe ask it to change some things because it ultimately has to suit your workflow. So maybe I just don't want as much tests. It's just my own repo or you're writing way too much comments man.

You can change it and then you can also take this file from one project to other. That is really good. I mean you can have a centralized memory file or a centralized context file and then you can just switch it between your projects. That is something really nice we can do now. >> Yeah so yeah so like these are different skills so we can maybe walk through some of the skills in a repository. So for example we have some skill files in this repository for example the PR triage. We have for every skill we have the skill.md. So the

skill.md has obviously in the YAML format is named description it has the license it has the origin it has scope and like some more information about the details. So yeah this is a example and you give it references like you give review check for example it has a checklist which every PR triage should follow. So for example I had was trying to develop a web three plugin. So it has like a it reviews the smart contract I had a smart contract like a solidity review checklist. So for example I can have it you know check the like for example the bug I had planted here was a big end issue. So I gave it some context related to that.

Yeah. So, where were we? Yeah, I can So, how how do we you know make skill you know portable and not only just for Claude and you know for more providers and you don't keep it you know very specific to just this and we make sure that you know it doesn't inject any wrongful things into your into your skills so that you know the agent doesn't mess anything up.

So we we there are like some set of skills like there are it's one of the very famous known skills is like Matt skills. So, many people actually use that. It's one of the most used skills. So, they are open source and like each project has their own skills. So, we already talked about you know where these different skills live. So, maybe we can you know move on to plugins and like how you can integrate different plugins with Claude or you know Om will be talking about how we can integrate them with

anti-gravity and you know so like there is Anthropic has its own you know plugin marketplace. So, for example if I actually go to Claude and I you know I say so I can you know check so these are some plugins which I already have installed like you know the agent plugins or you know the PR authoring privacy plugins and we have the you know plugin marketplace so to give it more different plugins for a stuff. So, maybe Om can talk a bit about how he uses plugins with anti-gravity. Yeah.

>> So for plugins what we what I mostly use is a pony tail plugin. What is a pony tail plugin is it is a maybe you just understand what problem does it solve. AI agents basically drop a lot of code that is not useful. Double code like use not useful code. So what pony tail plugin does is it follows YAGNI pattern. You aren't gonna need it.

Okay. So for what does you aren't gonna need it means that for every decision a AI agent processes makes YAGNI pony tail plugin just attempts to just ask a simple question. Do you gonna need it or not? Or maybe there is there a better way to do it or not? Right? See basically why was it named pony tail? Because there's always a guy in a big tech team with a big pony tail who knows a lot and can solve a billion like a full 100 line code in a one line itself.

You understand my point? So like this is one of the plugins which I use. The other plugin which I also use is context seven. Okay. So basically AI agent is agent running LLM. Okay. LLM are like trained. Right? So they are not having the latest documentation info. Context seven brings that to light. Context seven is basically latest documentation for anything you are going to process. You are building a project in React.

React has a latest docs. You can use it. It brought something new. You can use it. But context seven bring brings that part to to the AI agent. Also I you can combine two or more more plugins to just make your life easier and and don't let a AI do all the processing. You should understand what it writes. Right?

>> Yeah, so thank you Om for that. So so like I can see like many contributors from so why not let's you know use an agent to you know make your first PR or you know like make a fix. So let's let's find an issue and try to solve it using you know an agent. So for example let's try to find an so you can always go to a repository and try to find a good first issue label.

Yeah. So like there are some issues with you know the good first issue label. So most of them already have a lot of PRs where you see that we can we replace CSS classes with 20 for 20 plus templates. So maybe this is one of the issues you guys could pick up or let's so let's try to you know inspect the skills which this repository already has and let's see how we can actually use it.

And let's also try to configure the GitHub MCP so that the agent can get all the context of your particular issue. Okay? So >> So like let me just give you an example of MCP how we configure it. For example the GitHub MCP.

Where did it go? Yeah, for example if how like this is an example configuration of like you can have your own MCP server with your own application or you can have it like for example you can have a GitHub MCP for so that your agent can get the all the context of a particular issue. So let's actually add the GitHub MCP for this. So like I hope all of you already know

how it works. So like before we actually do it, I'll just quickly go through how it works. So basically what the MCP does is it gets all the context of that particular like the MCP client can be for your own project or it can be for you know, it can be for like for example we'll do it with GitHub. It can be for you know, some database or it can be for maybe for event here. We can configure the MCP for a particular project so that your AI agent gets all the context from that. So for example this is the an MCP which we can you know, so we can go here. We can do Claude.

We can exit Claude here. We can say Claude MCP. So you can see the MCPs configured here. Hyphen hyphen list. Okay, it's just MCP list. So I I have not added any MCPs over here. So let's add the GitHub MCP. Add MCP GH.

Oh, okay. I just I had the command somewhere. Wait, do you have Can you check it out once? So like we need a personal access token particularly like we can configure it through like an MCP configuration. For example, the one I showed it to you over here. So we can add the GitHub URL and you can add your PAT

token over here for a particular GitHub MCP. And so you can like give it only read-only access or you can give it edit access and based on what your requirements, you can configure it. So so like you you need to So yeah, let's let's actually add. Or or nowadays we we you don't even really need to configure the MCP yourself. You can have Claude do it for you. So why why don't we try that out, yeah?

So I can you know have this. >> All right. So while Arnav is guiding you through adding a GitHub MCP, shall we talk about token optimization a bit?

I mean, isn't that the next big thing about AI? Tokens are very expensive, man, and it's not like everyone got lazy. It's like we just get more done with AI. Or maybe I can call it another way of being lazy. I know, I'm just kidding. So Arnav already talked about some of the points. We configure skills. We use sub agents for a fresh set of eyes and we have a specific rule set, some hooks.

The hooks one is really good. Like you can really use a much less expensive model for compacting your conversation. But then it also depends. Do you want to lose even slightest of context in the summary as well? I mean, it is completely suited according to your use case. How are you planning to use it? And a very good technique for optimizing this is teach Claude how or any AI agent in that sense, how actually do you want it to perform because at the end of the day, it's your credentials that it's using to pump out the code.

It's your name, your reputation on the line. And if something's break and you don't know it, oh man, let's not get in trouble. Maybe it's not as big of a trouble, but doesn't really look good, right? If we just let AI handle all the code, it pushes anything. We do not really want that. So we need to understand. But then if I'm reading every second line of code, every line of code, then what is exactly the point of AI agents? Or I would like to rephrase it as if I'm checking every line of code with extreme focus, does it really make sense using it?

Obviously it does. I mean that was kind of a trick question, but it's still faster this way, but we can make it more efficient. So we will teach it how actually I'm supposed to work. For example, if I talk about me, I don't want a lot of comments. >> Yeah, yeah. >> I don't actually write a lot of comments because sometimes it's not really necessary. I mean, we write short comments wherever they're needed, but the variable names themselves are pretty much explanatory.

>> Sorry, like yeah, yeah, yeah. So the internet here is really flaky, so I'm not able to you know connect the GitHub MCP with am I the let me change the yeah. So I'm not really able to connect the GitHub MCP over here because the internet is really flaky, not able to connect with the it's not able to connect with GitHub, but like here's the the example configuration you can replace it with your GitHub PAT token and this is a like it is a it can help you find you know good first issues or you know the your first PR to contribute using this MCP

configuration. So other than that we can you know let's get back to the presentation. So this is how it actually works. So for example, you tell it to triage the first issue. The Claude code will generally you know it will it will use the GitHub MCP to connect with the GitHub API to get the issue. Once it gets the issue, it again gives like it's a it's a JSON response. It gives the context back to Claude code and then it has the context of that particular issue.

So yeah, that's how it usually So like there are five Did we go Yeah. So we already talked about you know the different kinds of context which we have. So we can also add like different kinds of scripts inside the configuration. For example, I have I use like sandbox script for you know testing particular PRs because if I am already working on something, I don't want the agent to you know keep creating different work trees and you know mess up all my entire setup. So usually if people want to have multiple

you know setups done, they usually have a work tree. But again, if you want to test it on the work tree or for example, the box vendor project, it uses a Docker setup. So you cannot test it multiple times in the same thing. You cannot have the agent iterate and actually have it on test data. So for stuff like that, we can create different you know sandboxes. So for example, this is a script which I use for you know creating sandboxes and I let the agent like I let cloud cloud code play with data in this sandbox. It iterates over till it builds the feature and then finally I can check it out in my local or in my work tree to test it up. So you can have different scripts for different purposes

when you can add these scripts in the hooks. So I'll give you an example of some of the hooks which So for example, after making a change, you know cloud code formats the code in a different way than I usually do. So for for example, it uses rough or uses black black or and what if my repository is a bit old and I don't want to you know format the entire code and I don't want my PR to have just 10,000 changes of the formatting issues. So for example, we can have hook for before test after edit. So after every edit, we can have a hook which can trigger a particular script to, you

know, test it and make sure that it is not messing it up. So like this is a example configuration. So after it edits or writes, we can we can have the hook to run a particular script. So like after for pre-tool use and we have post-tool use inside the hook. So based on your thing we can, you know, change it. So like we have some prompts as well. For example, we want to connect the MCP like we have some internet issues here. So instead of actually connecting it, I'll just walk you through or you can clone or fork this repo and you could actually use to, you know, connect your

own MCP or if you have your own project, you can configure your own project's MCP. For example, these are some prompts which we can, you know, give and it will connect the MCP for, you know, GitHub. This is a good example for that. [snorts] So coming back to the presentation. So sub agents. Now how does how do we, you know, make sure that while doing one task it doesn't, you know, just stop at that particular task and you can have it do multiple tasks at the same time and you know, you can at the same time ask it different questions. So in you don't want to use Cloud Opus 5.5 or

even, you know, the formatting stuff and you know, you don't want to use it for that. But at the same time it's building the feature. So we can configure different sub agents ourselves. So Cloud Code itself automatically tries to like it it does use sub agents, but it's not very accurate, you know. Cloud also uses like instead of using Haiku, it might use Sonnet, which is also a very heavy model which you don't want to use and you know, burn your tokens on them. So we can configure the sub agents for a particular like skill. So when it uses that skill, we have the sub agent perform particular tasks instead of the agent actually, you know, assigning its own sub agent. So we can define the sub agents for the subtasks which it is going to use from

the start itself. So yeah, so for example, after he's done with the changes to review the PR himself, you I usually have a hook. So it triggers the sub agent to do it and we can assign which sub agent it should delegate the task to. So this is a good example of how we can configure sub agents. Yeah, so for example, this is the hooks which we saw. We can, you know, make sure like hooks, we can block the protected files instead of like changing any files which are not to be changed, we can make sure we can have a hook to trigger and make sure that these files are not edited.

So and yeah. So for example, we have the, you know, plan mode which is really good thing inside Cloud. So you can use Cloud, you can use a hyphen hyphen permission mode plan. So there is something also called as plan rotator which I have recently started using. So we can keep on iterate like when you use the plan mode, we can keep on iterating over and over with Cloud before, you know, letting it do its task with its agent sub agents and the entire configuration.

So I tried to, you know, Cloud isn't working due to the Wi-Fi here. So I actually tried to run it there, but I don't have good Wi-Fi connection to we actually, you know, iterate through Cloud and make a basic issue. So this is the flow we yeah, next slide. So for example, if you try out the fix on end-to-end fix with Cloud, we can actually, this is the when I was going through this same issue, I was trying to fix it using Cloud for this workshop. So like this it supposed to work out like

this but we cannot go through it due to the Wi-Fi thing so it's to the So to sum up the entire thing what is for what so we have instructions we have skills mcb plan mode we have auto memory sub agents hooks and then we have test plus your final human review so I hope that you know this does make sense and you can you know optimize your agentic workflow to for Vibe coding much better >> So I'd like to add on something about token optimization it will be short 30 second thing

it's a personal insight so like create one file that sums up how you do anything you do and then just read it very carefully place it in a folder and give your AI agent access to those folders and instructions set that you can just copy that whenever you start a new project or you sets up a new session then you say okay so these this is the folder that you really have to refer to for the general rules and after that >> basically like your local Claude file your local agents. md which is you know common for all your Claude sessions but it's not you know for it follows your own instructions yeah so

the basic >> Exactly so it's almost like a rule set that you're creating and it is going to suit your workflow >> Yeah >> so you don't have to waste your tokens on trivial things like there are a lot of comments and it's across 20 files you have to remove them if you do it manually it will take time this actually saves time and you can put your energy and your time in the tasks that you really need to be delving into now handing back over to Arnav >> Yeah so I hope this helped and I'm unfortunately we could not you know go through it with you know actually using Claude we didn't have a good connection. So you could actually try this yourself we the you can scan

this QR code you can check out the skills the prompts the hooks and the MCP configuration. So this is a this setup is actually very useful for different projects and it will reduce your token cost a lot. So for example a lot of companies have a very limited cap for tokens which you can use in the month. So I think this can you know really optimize the number of dollars you spend on you know cooking your project. So thank you for >> [music]

Related talks