ai for small business
The oracle learns to delegate
In six months the AI tooling behind Orakl, my small quiz app, went from a borrowed rulebook to a pinned fleet of subagents. I went back through the history to see what grew up and what got thrown out.
· Robert Csaszar
tl;dr
- In half a year the AI setup behind Orakl went from a borrowed rulebook to six pinned subagents
- Most of what lasted is rules a machine can check, not personas
- Some of the machinery rotted quietly, like a script that was never called
- The same pipeline now lives in two copies, and I have not decided which one leads
Orakl is a modest product. A curator starts a quiz on a hosted server, players join from their phones, nobody needs an account. Its repository holds some 2,600 commits of SvelteKit and TypeScript. Yet the folder I find most interesting in it has nothing to do with quizzes. It is .claude/, where the project keeps the skills, hooks and subagents that tell AI coding agents how to work on it.
Today it holds 43 skills, six pinned agents and ten hook scripts. Whole families of skills arrived, were renamed and were deleted along the way, and an orchestra of scheduled agents was assembled and then disbanded in an afternoon. What survived is smaller in spirit than what came before: fewer personas, more rules that a machine can check. Other codebases will take their own route, though I’d guess through some of the same ports.
skill arrivals and departures
arrived left
sep 2026: plan to done. 5 added, 0 removed, 43 on the shelf.
plan to done
Meridian, transit and convoy form a pipeline. Six subagents get a fixed model, effort and tool list.
roster Augur deleted · 6 pinned subagents · tend-* and transit only
- + convoy
- + meridian
- + shadcn-svelte
- + transit
a borrowed method
The first shelf was not Orakl’s own. Early in the year I took in fifteen skills from a general-purpose process pack: brainstorming, writing plans, executing plans, verification before completion. Not one of them mentioned Svelte or pnpm.
It lasted three weeks. Then I removed the whole pack in one commit and put narrower tools in its place: tdd, grill-me (an interrogation before any plan), and a short chain from product brief to plan. The first of several culls.
rules that bite
Hooks came next, and with them an end to asking politely. In early spring I added five shell hooks to enforce what AGENTS.md had merely requested: no npm or yarn (this is a pnpm house), conventional commit messages, sane branch names, no pushes to main. The same day, I trimmed the matching paragraphs out of AGENTS.md. A rule a hook enforces no longer needs arguing for in every session’s context.
By midsummer the hooks had picked up a second job, observation rather than prohibition. One logs every prompt and tool call. One injects the current branch and the project’s CONTEXT.md into each new session and each subagent, so that none starts blind. One matches a failed tool’s error against a list of known patterns and whispers the fix.
where the hooks bite
- SessionStart
- session-context
- session-logger
- gh-setup
- UserPromptSubmit
- session-logger
- PreToolUse · Bash
- no-npm-yarn(can block)
- branch-naming(can block)
- no-push-main(can block)
- block-dangerous-git(can block)
- no-pipe-to-shell(can block)
- conventional-commits(can block)
- PreToolUse · Agent
- guard-agent (convoy only)(can block)
- PostToolUse
- session-logger
- PostToolUseFailure
- failure-recovery
- session-logger
- SubagentStart
- session-context
- session-logger
- Stop / SessionEnd
- session-logger
Machinery like this rots easily. gh-setup.sh, which I wrote in March to install the GitHub CLI in cloud sessions, sat in the folder for six months before I noticed that settings.json never called it. I finally wired it in this autumn. Until then it had failed in the quietest way available: by never running. There is a lesson in there that I would rather not have paid six months for.
the Augur experiment
The most ambitious chapter is the one that no longer exists. In spring a set of Google Jules agents began committing under emoji bylines: Bolt for performance, Sentinel for security, Palette for UI. Within weeks I replaced them with nine scheduled GitHub Actions running Claude Code, each a named specialist on its own calendar. Soon an orchestrator called Augur took over the scheduling, and each specialist ran only when a task file gave it something to do.
The roster was pruned almost at once, and the remainder ran through the summer. In early September I deleted the whole apparatus in one session: eleven workflow files, nine journals, nearly 3,000 lines. AGENTS.md now states the replacement flatly: “Unattended work runs through two families only. Nothing else opens PRs on its own.” Those families are tend-*, which each fix one mechanically provable issue per run, and transit, which works one planned ticket.
No commit says why the roster went. My best reconstruction, and it is only that, is that the specialists ran on a timetable with no shared plan, while both replacements start from something written down: a scan result for tend, a charted ticket for transit.
skills that grade skills
Between those two regimes came a quieter import. In late spring a sync from my own skills repository brought in the ai-forge suite: skills that create, judge, audit and repair other skills. From then on the shelf could inspect itself. One skill scores a skill file and produces a numbered list of fixes, and another walks them one at a time.
The same scrutiny fell on tone. A post-release inquest skill went through several drafts in a day, each one plainer than the last, and was eventually renamed socratic, which says what it does. The end-of-August refresh was the largest cull of the year: eighteen skills left and fourteen arrived, most of them on a single day, among them the seven tend-* skills, each with its own evaluation cases.
from chart to convoy
September is where the folder found its shape, and the centre of it is a planning pipeline built outside Orakl and brought in.
meridian began life in August as a standalone planning skill in its own public repository. It turns a vague idea into a durable decision map: bearings, then rounds of numbered questions each with a recommendation and that recommendation’s main weakness, then a route of tracer-bullet tickets. I installed it in Orakl a month later and, the same day, added a companion called transit that works exactly one ticket and stops. Tickets carry labels that say who may take them, so an unattended run can tell what it is allowed to touch.
In mid-September came convoy, which works a whole map end to end while I am away. The skill reads like an incident log I turned into law. It never uses git stash, “because stash is repo-wide across worktrees and has destroyed another session’s work here before”. It never calls a map shipped before its screens have been seen, because “the one map reported shipped on tests alone came back with nine defects from a single play”.
The next day convoy got a crew: six agent files, each with a pinned model, effort level and tool list, and a hook that refuses to spawn anything off the roster. Try it below.
subagents go brr
press next step to watch one run. flip a condition and the run changes.
- orchestrator
- scout
- drill
- builder
- reviewer
- sweeper
- auditor
- spawn guard
- phase 0: finding bearings > orchestrator wakes & reads the map "session revocation".> checks git status: two files already dirty. those are yours, they stay that way.> opens a log folder. briefs go in, reports come out, decisions get written down.
the agent roster
six agents, one escort
| agent | model | effort | read | grep | glob | edit | write | bash | fetch |
|---|---|---|---|---|---|---|---|---|---|
| scout | haiku | low | |||||||
| builder | sonnet | medium | |||||||
| reviewer | opus | high | |||||||
| drill | opus | high | |||||||
| auditor | opus | high | |||||||
| sweeper | haiku | low |
scout
- read(in both copies)
- grep(in both copies)
- glob(in both copies)
builder
- read(in both copies)
- grep(in both copies)
- glob(in both copies)
- edit(in both copies)
- write(in both copies)
- bash(in both copies)
reviewer
- read(in both copies)
- grep(in both copies)
- glob(in both copies)
- bash(in both copies)
drill
- read(in both copies)
- grep(in both copies)
- glob(in both copies)
- bash(in both copies)
- fetch(in both copies)
auditor
- read(in both copies)
- grep(in both copies)
- glob(in both copies)
- bash(orakl only)
sweeper
- read(in both copies)
- grep(in both copies)
- glob(in both copies)
- edit(in both copies)
- bash(orakl only)
source: orakl .claude/agents & robcsaszar/rutter
The division of labour is economical. Haiku finds files and renames words. Sonnet writes code, test first. Opus reviews, audits and argues. The orchestrator alone stages and commits, and it trusts nobody’s report: it rereads every diff and reruns the suite itself. Even “read-only” agents are checked with git status before and after, and a verdict from one that wrote anything is thrown away.
two copies, one direction
The pipeline did not stay in Orakl. In late September I re-scoped the meridian repository into a plugin called rutter (a mariner’s book of sailing directions) and released it as 1.0.0, with all three skills and all six agents. The plan for that move recorded one key choice: Orakl keeps its own copies, and a check is meant to notice when the two drift apart.
They drifted within days, and not in one direction. The plugin is stricter about generality: it hardcodes no package manager and assumes no particular design skill. Orakl’s copy is more battle-worn, because it has since learned to stop at explicit checkpoints and ask whether the map is accepted or wants more grilling. Changes are already travelling both ways, and I have not decided which copy leads.
what comes next
The direction of travel is written into the repository, if not yet switched on. transit has a scheduled workflow waiting on a commented-out cron line. When I switch it on, the repository will find out whether six months of rules are enough to let it work while nobody watches. We’ll see.
lessons learned
- A borrowed process that never mentions your stack will not last. The first pack was gone in three weeks
- If a rule can be enforced by a hook, enforce it and stop arguing for it in prose
- Machinery rots quietly. A script nobody calls fails by never running, so check that things are actually wired in
- Specialists on a timetable lost to work that starts from something written down, a scan result or a charted ticket
- Pin each agent’s model and tools, and have the orchestrator recheck every report itself
Each round of pruning swapped something that asked an agent to be clever for something a machine could check: personas gave way to rosters, rosters to pinned tool lists, and polite paragraphs to hooks. The quiz app’s oracle has learned to delegate, mostly by learning what not to trust.