Skip to main content
Guides

Build Your First AI Agent in Claude Code. Give It One Job and a Memory

Blockframe Labs Content Team4 min read

Build one agent with one job, a playbook, and a memory, and keep the publish button in your hand


Start with the folder, not the prompt

A chatbot answers questions. An agent takes a job off your plate, and the difference is not the model, it is the setup around it: context, one defined job, tools, rules, and a way to remember what worked. The build starts with a workspace folder, a Business OS, holding the brand files: logo, photos, example posts. Open that folder in the Claude desktop app in local mode, pick Opus 5.5, and have Claude read the brand site and files and write the brand context and a CLAUDE.md rulebook from them. Then test it with a planning task. If the agent cannot describe your brand back to you accurately, stop there. Everything downstream inherits that file, and a vague rulebook produces vague output at scale.

Build the smallest working loop first

With the workspace in place, paste in the Agent Designer prompt from the video description, answer its interview questions, and let Claude design and create the agent. Then invoke it with @ and give it one real job: turn a video transcript into a carousel post. Expect the first draft to be rough. That is the point. A working loop, even a bad one, shows you exactly where the agent breaks: tone, structure, image choices. Fixing a loop you can see beats designing a perfect agent on paper. One job, end to end, before anything else gets added.

Reliability comes from a playbook, not better prompting

Most first agents die at the same place: every run improvises, so quality swings. The fix is a content playbook, an agent skill built by interviewing Claude about the style and motion you want, then assigned to the agent, with CLAUDE.md updated to match. Test it on a newsletter and watch it produce an animated carousel in the house style, the same standard twice. A skill is what separates an agent that performs once from one you can actually delegate to. If you take one idea from this build, take that one.

What we would add: treat connections as permissions, not setup steps

This is the part most tutorials rush. The build later connects Notion and GitHub, syncs the Business OS folder as a private repo, and lets you assign work from the Claude mobile app. Each of those is a permission decision, not a checkbox. A synced folder is a copy of your brand files living somewhere else. A connected inbox is an agent reading material you have not reviewed yet. Keep the repo private, connect only the inbox the agent needs, and know which folders it can write to before you let it run unattended. Convenience is the feature. Access is the cost. Price it before you switch it on.

Memory that earns its keep

The agent improves through a memory file next to CLAUDE.md, and the rule is strict: it records only reusable feedback, never a diary of what happened. After each run, give bullet point feedback. Retest on a new newsletter and check whether the same mistake repeats. If it does, the feedback was too vague, or the fix belongs in the playbook rather than the memory. Memory that keeps everything teaches nothing. Memory that keeps only what generalizes is what makes run ten better than run one.

Put it on a schedule, keep your hand on the gate

The last step takes the agent out of the desktop: a scheduled routine, a Daily Content Drop, where it checks the Notion inbox each evening and has drafts ready for review the next morning. Note the shape of that. The agent drafts, you approve, then it ships. The review step is not a courtesy, it is the control that makes the schedule safe to run. The moment an agent publishes without a human gate, every small error it makes becomes public at machine speed.

Our verdict

Twenty minutes gets you a working agent. The rest is maintenance: one playbook, one memory file, one review a day. Keep the job narrow. The moment you add email triage and a dashboard to the same agent, you have three agents wearing one name, and the playbook stops working. Build the second agent the same way, different job, different folder, different rulebook, and do not let the two share files. This pattern is worth copying precisely because it is boring: a folder, a rulebook, a playbook, a memory, a schedule, and a human who still decides.

Source: Grace Leung's tutorial on YouTube

BlockFrame Wire

Get Daily AI Trends

Weekly breakdowns of autonomous agents and live benchmarks.

Blockframe Labs Content Team

The content team at BlockFrame Labs writes about AI systems and services we actually ship: automation pipelines, agent infrastructure, and the web engineering behind them. Every guide comes from a system running in production.

Work with us

This blog runs itself. Our Blog OS publishes daily from Notion with zero manual edits, and we build the same system for clients.

Related Articles