hongyflow
My personal Claude Code skills and workflows, built around a gated development loop that takes an AI agent from research to close — one machine-checkable gate at a time.

Living experiment
A living experiment, not a finished product. I use this repo to try different coding agents — Claude Code, Codex, Copilot, OpenCode — and different ways of working against real tasks, so it changes most days: agents commit to it constantly, and the loop keeps rebuilding parts of itself. Read what follows as a snapshot of how it works today.
1Overview
hongyflow is the set of Claude Code skills and workflows I actually use, kept in one repo and symlinked into my agent config so Claude Code picks them up on its own. The links point straight at the working tree, so editing a skill is live — there's no copy step and no cache to clear. None of it is especially clever; it's mostly my opinions about how software should get built, written down in a form an agent can follow without me hovering over its shoulder.
2The Challenge
AI coding agents are quick, capable, and completely undisciplined. Left to their own devices they'll skip the research, skip the review, and start typing — and they've got no real instinct for when a change is risky enough to slow down for.
I wanted the opposite: a loop that insists on the unglamorous parts of a real development lifecycle — gather context, plan, build, harden, review, prove it works — with a clear bar to clear before each step counts as done. It also had to stay portable. I move between Claude Code, Codex, Copilot and OpenCode depending on the job, and I didn't want a way of working that only held together in one of them.
3The Solution
The heart of it is a ten-phase loop with a gate on every phase. A gate is just a check that has to come back green before the work moves on — “it compiles and the plan's criteria are met”, “every blocking review finding is fixed or noted”, that sort of thing.
The loop itself doesn't do the work. Each phase hands off to a smaller, focused skill — research, code review, security, validation — or falls back to an inline checklist when that skill isn't installed. Keeping the pieces small means each one is easy to reason about, and the loop degrades gracefully instead of falling over when something's missing.
4How the loop works
Here's the whole thing, end to end. Click any phase to see its job and the gate it has to clear — or hit “Run the loop” to watch a run play out, including the bit where Review finds a gap and sends the work back up the loop before it's allowed to close.
The trio — independent reads of the diff, may run at once
5Gates, and why it mostly runs itself
The decision I went back and forth on most was letting the loop continue without me. Every gate stays mandatory — but for changes it judges low-risk, the loop evaluates the gate in code and carries on by itself, only pausing for a human at the points that actually warrant one: anything outward-facing, like a push, a PR or a merge, and one final review before it closes.
The safety valve is that eligibility fails closed. If the loop can't confidently call a change low-risk, it treats it as high-risk and checks in. So it handles the routine work start to finish, but it never quietly ships something it shouldn't have.
6Built to be portable
Nothing in the loop hard-depends on a particular tool. Each phase describes a role — “review the diff”, “run it and watch what happens” — then names a preferred way to do that on Claude Code, with documented fallbacks everywhere else. The skill lives in a cross-agent store shared with `npx skills` and is bridged into Claude Code; the optional Workflow accelerators are Claude-Code-only, and the loop runs identically without them.
One rule keeps the whole thing honest: findings from sub-agents are treated as untrusted until I've read the diff myself. An agent sounding confident isn't evidence.
7Results
- A repeatable, gated loop that carries a change from research all the way to close
- Runs itself on low-risk work, and stops for a human on anything outward-facing
- Portable across Claude Code, Codex, Copilot and OpenCode
- One-line, idempotent install — symlinks into the agent config, safe to re-run
- Companion skills keep each phase small, focused and swappable
- Every non-trivial change to the repo is built with the loop itself
It goes in with one line. The script clones the repo, links the skill into the cross-agent store and bridges it into Claude Code, and wires up the optional workflows — and it's safe to run again any time.
$ curl -fsSL https://raw.githubusercontent.com/hongymagic/agents/main/install.sh | bash