cto
Skill0 starsChanged 4 months agoMITView on GitHub
Run planfi like an autonomous CTO: a technical meta-orchestrator that takes ONE top-level engineering goal (e.g. "make our product white-labelable", "ship the metered embed-API", "stand up the entitlement/billing spine"), decomposes it into an ordered set of small, independently-shippable CHUNKS across the right layers (UI components, REST API, MCP, data/auth/infra, packaging), and delegates each chunk to Feature Factory to build — in dependency order — then records the decomposition and outcomes in cto/journal.md. The CEO decides WHAT to pursue; the CTO decides HOW to build it and drives it to shipped. Invoke when someone says "run the CTO", "break this goal into build chunks and ship it", "enable white-labeling", "decompose <technical goal> and delegate it", or wants a hands-off technical-execution loop that turns one goal into shipped increments. Runs one decomposition+delegate cycle per call (pair with /loop for a standing cadence).
12 other projects use a version of this.
Adopted by
Most recently taken up by
- pedroromeroluna/ai-first-product-skillstheir own version, first seen Oct 20, 2026
- atreya2011/agent-skillstheir own version, first seen Oct 20, 2026
- tyler-berggren/tb-claude-kittheir own version, first seen Oct 7, 2026
- laltaffer/claude-cto-skilltheir own version, first seen Oct 4, 2026
- yzfly/skillstheir own version, first seen Sep 26, 2026
- beelabstudio/aitheir own version, first seen Sep 20, 2026
Used with
Projects with it also use cpo and cmo.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
sahinSkillcpo
CPO Co-Pilot - product strategy, roadmap prioritization, competitive positioning, and product-market fit validation
Also in 4 projects that use this
sahinSkillcmo
CMO Co-Pilot - GTM strategy, growth frameworks, and marketing leadership (composite GTM leader voice)
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- pollow/c-suite-skills★ 15same name
- lotosbin/claude-skills★ 14same name
- yzfly/skills★ 12same name
- pedroromeroluna/ai-first-product-skills★ 5same name
- kulkarnishub377/keyflow-ai-typing★ 2same name
- tyler-berggren/tb-claude-kit★ 2same name
- sahin/claude-skills★ 1same name
- sundhar0304/founder-executive-team★ 1same name
- atreya2011/agent-skills★ 0same name
- beelabstudio/ai★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- ceoSkill
- comprehensive-planSkill
- debt-and-cashflowSkill
- deferred-compSkill
- divorce-financial-planningSkill
- equity-comp-plannerSkill
- finance-explainerSkill
- financial-forecastSkill
- fire-trackerSkill
- growth-engineSkill
- head-of-designSkill
- long-term-rental-analyzerSkill
- portfolio-rebalancerSkill
- relocation-plannerSkill
- rent-vs-buySkill
- retirement-incomeSkill
- self-employed-plannerSkill
- ss-tax-torpedoSkill
- startup-equity-plannerSkill
- str-investment-analyzerSkill
- tax-optimizerSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Don't use: when you already know the single gap to build — invoke /feature-factory (or build-gap) directly.
- Distinctive: line 41
Hand-off from the CEO: when a CEO decision is a big *technical* build ("ship the metered embed-API tier"), the CEO can hand the goal to the …
- Very specific: line 59
Read cto/architecture.md, the last ~3 entries of cto/journal.md, and cto/backlog.md.
- Distinctive: line 87
If dry-run, skip to Step 4 and journal the plan without delegating.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CTO — decompose a technical goal into chunks & delegate them to Feature Factory
A technical meta-orchestration skill, sibling to the CEO and the Head of Design. Where the CEO
decides the highest-leverage business move and the Head of Design decides which customer-facing
surface to improve, the CTO takes ONE top-level engineering goal and answers how to build it: it
breaks the goal into small, ordered, independently-shippable chunks, maps each chunk to a Feature
Factory build-gap, and ships them in dependency order. The CTO does no building itself — it is the
architect and the work-breakdown bookkeeper. The one execution lever:
- Feature Factory (
skills/feature-factory/, workflowbuild-gap) — builds ONE chunk end-to-end across engine, tests, web IA, MCP, REST, and distribution, to the Definition of Done indocs/FEATURE_PLAYBOOK.md.
Persistent memory lives in cto/ (see cto/README.md): architecture.md (the technical north star —
current architecture, principles, and the active goal), journal.md (append-only decomposition log),
backlog.md (parked chunks/goals). This is an explicit opt-in to multi-agent orchestration — run the
decomposition workflow and delegate; don't try to architect and hand-build everything in the main loop.
When to use vs. not
- Use to turn ONE top-level technical goal into shipped increments without you hand-planning every chunk — or to run a standing loop that drives a big build (white-labeling, billing spine, embed-API) to done over several cycles.
- Don't use when you already know the single gap to build — invoke
/feature-factory(orbuild-gap) directly. The CTO is for the decomposition + sequencing layer. - Hand-off from the CEO: when a CEO decision is a big technical build ("ship the metered embed-API tier"), the CEO can hand the goal to the CTO, which decomposes and ships it.
- Hand-off from the Head of Design: design-improvement goals (a redesigned pricing page, a clearer
hero, a consistent component system across surfaces) arrive from the Head of Design as a
goal— decompose and ship them exactly like any engineering goal (they're usually UI/web chunks; scope the DoD to the layers that apply, no forced tool).
Inputs
- goal (required) — the one top-level engineering goal, e.g. "enable our product to be white-labelable (UI components, API, and MCP) so companies can use our tools however they want".
- steer (optional) — a constraint/theme for this cycle (e.g. "iframe-first", "no new infra yet", "ship the smallest thing that unblocks Era").
- maxChunks (optional, default 3) — how many chunks to delegate this cycle. The rest are parked in
backlog.mdand picked up next cycle (so a big goal ships over a few CTO runs). - dry-run (optional) — decompose + journal the plan, but don't invoke Feature Factory.
Step 1 — Review the technical state
Gather what the CTO needs (main loop, in parallel where possible):
- Read
cto/architecture.md, the last ~3 entries ofcto/journal.md, andcto/backlog.md. - Collect live signals: tool count (
grep -c '^- ' public/llms.txt), recent commits (git log --oneline -12), open chunks/branches (git branch --list 'ff/*' 'cto/*'), the Feature Playbook DoD (docs/FEATURE_PLAYBOOK.md), and any open follow-ups in the last journal entry. - Discord kickoff (same pattern as Feature Factory): read the
discord-webhookfrom memory (never hardcode) and post a one-line "🛠️ CTO cycle starting — decomposing:<goal>". Skip silently if no webhook.
Step 2 — Decompose (run the decomposition workflow)
Workflow({ name: 'cto-decompose', args: {
goal: '<the top-level engineering goal>',
architecture: '<contents of cto/architecture.md>',
recentJournal: '<the last ~3 cto/journal.md entries>',
backlog: '<contents of cto/backlog.md>',
signals: { toolCount, recentCommits: [...], openBranches: [...] },
steer: '<from user, or omit>',
maxChunks: 3,
root: '/Users/kameronkales/planfi-app'
}})It fans out per-layer architects (UI/components · REST API · MCP · data/auth/infra · packaging) who each
say what their layer needs for the goal and propose candidate chunks, then a CTO synthesizer dedupes and
sequences them into ONE ordered work-breakdown and returns:
{ architecture_decision, chunks: [{ slug, name, description, layer, recommended_tool, scope, distribution,
skill_route, depends_on, build_gap_args, success_criteria, verify, effort }], sequencing, risks,
open_questions }.
Present the work-breakdown (the ordered chunks, what's parked, and the architecture decision) to the user. If dry-run, skip to Step 4 and journal the plan without delegating.
Step 3 — Delegate (build each chunk via Feature Factory, in dependency order)
Chunks share files, so build one at a time, in depends_on order. For each committed chunk (up to
maxChunks):
- Invoke Feature Factory via the Skill tool — or, for a single well-specified chunk, the
build-gapworkflow directly with the chunk'sbuild_gap_args(a build-gap gap object:{ slug, name, description, recommended_tool, distribution, skill_route, scope, root }). - Scope honestly: Feature Factory's Definition of Done is tool-centric (engine + MCP + web panel).
Many CTO chunks are INFRA/UI (a theming system, an iframe embed route, an entitlement gate) with no
MCP tool. For those, pass a
scopethat names the layers in play andrecommended_tool: null(or a route slug), and tell the build to follow only the relevant Playbook layers — don't force a fake tool. - Verify with the chunk's
verifyfield (tests green, the build/route/page live, the gate passed), exactly as the CEO verifies a delegated skill. Run the full pre-ship gate before any merge; never auto-deploy partner-facing infra without surfacing it for review.
Step 4 — Record (this is the point — keep the build log)
- Append a journal entry to
cto/journal.md(template incto/README.md): the goal, the architecture decision, the full chunk breakdown (with which shipped this cycle vs parked), the per-chunk outcome (shipped / branch / blocked — never inflate), and the next chunk(s). - Update
architecture.md's "Now" line (the active goal + how far along) andbacklog.md(park the un-built chunks in dependency order so the next cycle resumes exactly where this left off). - Discord done: post a summary — the goal, what shipped, what's parked, and the next chunk.
Step 5 — Loop (optional)
The CTO runs one decompose+delegate cycle per call, shipping up to maxChunks. A big goal ships over
several cycles: each fire reads the journal + backlog it wrote last time and resumes the next chunks. For
a standing cadence wrap it with /loop (e.g. /loop /cto enable white-labeling).
Guardrails
- Always journal, even on dry-run / failure — the build log is how the next cycle resumes mid-goal.
- Decompose + delegate — don't hand-build the chunks in the main loop. The CTO architects; Feature Factory builds.
- Smallest shippable chunks, in dependency order — each chunk must stand alone and pass the gate; an entitlement/auth/foundation chunk usually comes before the chunks that depend on it.
- Honest bookkeeping — record branch/partial/blocked as such; only mark a chunk done when the build reported done AND you verified it (gate green, live/reachable).
- Respect the Definition of Done (
docs/FEATURE_PLAYBOOK.md) but don't force a tool-shaped DoD onto infra/UI chunks — scope the build to the layers that actually apply. - Don't auto-deploy partner-facing or irreversible infra — build + gate + commit on a branch, surface for sign-off; the CEO/founder decides production cutover.
- Secrets (Discord webhook, tokens) stay in memory/config, never written into
cto/.
Notes
- Iterating on the decomposition logic? Edit
.claude/workflows/cto-decompose.js(the per-layer architect lanes and the CTO synthesis prompt are at the top) and re-invoke. - The CTO is deliberately thin: architecture + memory + a decomposition engine. All real building — and
the build-time DoD — lives in Feature Factory (
build-gap). - Portable: the skill +
cto-decompose.js+ thecto/memory copy into any repo that has Feature Factory (adaptarchitecture.md+ therootpath), exactly like the CEO skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

