The loop does the work. You work the gates.
A small stack of tools for building, marketing, and following through on your own projects with an AI agent. One Foundation layer, three kits that sit on top of it. All of it runs inside Claude Code, and all of it is free and open source.
MIT licensed. Needs a paid Claude plan (Pro or Max).
the mental model
Most people meet an AI agent as a blank chat box. It is brilliant and it forgets you the moment the window closes. It will build whatever you ask, including the wrong thing, confidently. And it has no opinion about whether you actually shipped the work you meant to.
This stack fixes those three gaps. The Foundation gives the agent a memory and a sense of who you are that persists across every session. The Build Kit puts human decision points into an agentic build loop, so a fast agent ships good software instead of a fast mistake. The Grow Kit does the same for taking that software to market. The Accountability Kit points the same idea at you.
The kits share a single idea, which is where the name comes from. An agentic loop can run on its own most of the time. But it has to stop at a fixed set of gates where a human has to decide. The loop does the work between the gates. You work the gates. That is it.
the pieces
The Foundation sits underneath all three kits. The kits work better when it is there, because they can read your voice and taste and write what they learn back into your memory. One of them needs it. The other two can start without it.
-
01
The Foundation
second-brain-agent
An AI agent that remembers you and gets a little sharper every session. Its memory is plain, readable notes in an Obsidian vault — no vector database, no cloud service, nothing to sign up for. It captures what you tell it, files it, and writes down one lesson at the end of each session.
Cross-session memory, so your projects and decisions survive the window closing. And your voice and taste profiles — a short interview turns "how you write" and "what good looks like to you" into notes the kits can read.
Not a plugin. It is a folder you open and work inside. The skills live in the folder, and a memory-loader turns on automatically every time you open it.
-
02
The Build Kit
loop-and-gate-build-kit
Turns "an AI agent that writes code" into "an AI agent that ships good software." It is a map of the eleven points in a build where a human has to decide, and how to work each one — even the ones whose expertise you do not have yet.
Should this exist at all? Who is it for, and what is a win? Is the plan right? Is the architecture sane? Is the agent off the rails? Does the test prove it, or is it a demo? And above all of them, the master gate: how much of this process does this change even deserve, because a typo fix and a billing change do not get the same treatment.
The gates sit on top of an actual build loop, so you also install two free public plugins that provide the loop itself (superpowers and agent-skills). Works with or without the Foundation, better with it.
-
03
The Grow Kit
loop-and-gate-grow-kit
The other half of the loop: taking finished software to the right people and reading whether it worked. Same method, pointed at go-to-market.
Who the audience is, what the one claim is, whether the design carries it without looking like slop, whether the copy is true and in your voice, the right channel and timing, and finally whether it actually moved anything.
Requires the Foundation, because two of its gates are your Foundation profiles: the design gate reads your taste, the copy gate reads your voice. It also uses two free public plugins for the design and writing work.
-
04
The Accountability Kit
loop-and-gate-accountability-kit
Points the loop at your own follow-through. A daily rhythm with eight gates: set the one thing that matters today, capture what you actually did, reckon honestly at night, and get caught when you keep quietly deferring the hard thing.
The deferral engine is the part that makes it more than a journal. Every morning focus that does not show up in the day's log gets counted, and at three strikes it stops being polite and forces a decision: re-commit with a reason, or kill it.
Nothing. It runs on Claude alone — no extra plugins, no account, no local model. It keeps plain-text state by default, and uses your Obsidian vault instead when one is present.
how they fit together
Build → Grow → Accountability → Build.
You build something with the Build Kit. You take it to market with the Grow Kit, whose final gate reads whether it actually landed and writes those customer signals back into the Foundation vault. The Build Kit's first gate reads those same signals to decide what is worth building next. And the Accountability Kit runs underneath the whole thing, so when a build stalls or a launch never goes out, the nightly reckoning is where it gets caught instead of quietly slipping.
The Foundation is the shared bus in the middle. It is how the halves talk to each other, and it is why the profiles and memory are worth setting up first. You do not need all four to get value — each kit stands on its own, with the one exception that Grow needs the Foundation. Start with what maps to your actual problem and add the rest when you feel the seam.
from scratch
If you have never used Claude Code, this is the whole path from nothing to a working setup. Budget about 20 minutes, most of it one-time.
-
01
Get a paid Claude plan
Go to claude.ai and make sure you are on Pro or Max, not the free plan. This is the step people miss, and nothing here works without it.
-
02
Install the Claude Code desktop app
A normal app you double-click, no terminal required. Installers are on Anthropic's download page. On Windows, if it asks you to install Git first, say yes and reopen the app. Sign in, then click the Code tab.
-
03
Set up the Foundation first
On the Foundation repo, click the green Code button, then Download ZIP. Unzip it, put the folder somewhere you will find it, and open it in the app with File → Open folder. That is the whole install — the skills are already inside, and the memory-loader turns on automatically.
Then run your first session by typing a plain-language goal:
Get to know me: ask about my current project and my preferences, then save what you learn.
While you are here, seed your voice and taste — the Grow Kit will need them:
Run the profile interview so you know how I write and what good looks like to me.
-
04
Add your first kit
Kits install differently from the Foundation — they are plugins, added with one command in the chat, no download. The simplest to start with is the Accountability Kit, because it needs nothing else.
/plugin marketplace add slogsdon/loop-and-gate-accountability-kitClick Install on the menu that appears, then start the daily loop with /morning. That is a complete, working setup: a Foundation that remembers you, and a kit that keeps you honest about your days.
layering in the kits
With the Foundation set up, each kit is a one-time plugin install plus, in two cases, a couple of free public plugins that provide the underlying loop.
accountability kit — needs nothing else
/plugin marketplace add slogsdon/loop-and-gate-accountability-kit
Then use the five daily commands: /morning sets the one thing today, /log captures what you did as you go, /eod reckons honestly at night, /plan-tomorrow sets you up to start cold, and /weekly-signals reads your patterns once a week.
build kit — needs the build-loop plugins
/plugin marketplace add slogsdon/loop-and-gate-build-kit
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@superpowers-marketplace
/plugin marketplace add addyosmani/agent-skills
/plugin install agent-skills@addy-agent-skills
The first line is the gates. The rest are the free public plugins that run the loop underneath them. Then, at any build decision, run /loop-and-gate and tell it what you want to build. It sizes the change first, then walks you only through the gates that change actually earns.
grow kit — needs the foundation plus the design and writing plugins
/plugin marketplace add slogsdon/loop-and-gate-grow-kit
/plugin marketplace add slogsdon/claude-code-config
/plugin install skills-design@slogsdon-claude-code-config
/plugin install skills-writing@slogsdon-claude-code-config
The Foundation is a hard requirement here. Then, per piece or per campaign, run /grow-and-gate. It runs the gates for whatever cadence you are in, and at the end writes what it learned back to your vault, where the Build Kit's first gate can read it.
a suggested order
You do not have to follow this, but if you want a path:
-
01
Foundation
Set up memory and run the profile interview. Everything else is sharper once this exists.
-
02
Accountability Kit
The lightest kit, and the one that makes the habit of using the system stick. Start running your days through it.
-
03
Build Kit
The first time you have something real to build.
-
04
Grow Kit
The first time you have something built and need to take it to people.
By the time all four are in place, you have the full flywheel: a system that remembers you, helps you build the right thing well, take it to market in your own voice, and stay honest about whether you actually did it.
get it
Start with the Foundation. Add the kit that matches your problem.
Every repo has its own getting-started.md — a no-terminal walkthrough — and a reference/ folder with the gates in plain language. This page is the map; those are the detail.
The story behind it is in Building on the Margins, the essay this whole system came out of.