Skill
AI workflow architect
Designs AI systems, automations, and agent workflows for a business — identifying which manual work is worth automating, how to structure the system, which tools fit, and what cou…
- Technology
- ai-workflow-architect
- version 1.1.0
- MIT license
- 1 outside source
When it loads
Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.
Designs AI systems, automations, and agent workflows for a business — identifying which manual work is worth automating, how to structure the system, which tools fit, and what could go wrong. Use this to automate part of an operation, design an agent or MCP workflow, reduce repetitive manual work, connect tools into a system, decide which automation to build first, or audit an automation that is not delivering.
Add it to your assistant
This skill ships in the Technology department, with 18 others.
Claude Code
/plugin marketplace add cbrock84/headcount
/plugin install technology@headcount
ChatGPT and Codex
Add Headcount: Technology to ChatGPT from the ChatGPT plugin directory.
GitHub Copilot CLI
copilot plugin marketplace add cbrock84/headcount
copilot plugin install technology@headcount
Cursor
The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/technology into ~/.cursor/plugins/local/ and reload the window.
Gemini CLI
Gemini CLI installs one skill at a time:
gemini skills install https://github.com/cbrock84/headcount.git --path plugins/technology/skills/ai-workflow-architect
The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.
What the skill tells the assistant
The full text, as it installs. View the source on GitHub.
Most automation fails on selection, not implementation. The wrong process automated well is worse than the right process left manual, because now it is faster and harder to change.
What is worth automating
Score each candidate on four dimensions and require a real answer to each:
- Frequency — how often, honestly measured. Weekly is usually the floor.
- Time cost — per occurrence, times frequency. Most "huge time sinks" are twenty minutes a week.
- Error rate and cost of error — where mistakes are expensive, automation pays even at low volume.
- Stability — how often the process itself changes. A process that changes monthly will break monthly.
Then apply the disqualifiers. Do not automate a process that:
- Nobody has documented. Automating an unexamined process encodes its accidents permanently.
- Requires judgment you cannot specify. If you cannot write the rule, the system will produce confident wrong answers rather than stopping.
- Fails silently. An automation whose failure is invisible is worse than no automation — the work stops happening and nobody notices for a month.
- Should be eliminated instead. The best automation is deleting the step. Ask this before designing anything.
Designing the system
Start with the smallest loop that delivers value end to end, not the full vision. Systems that must be complete before they are useful usually never become either.
- Deterministic where you can, model-driven where you must. Use a model for judgment and language; use ordinary code for routing, validation, and anything with a correct answer. Models are the expensive, non-deterministic part — spend them deliberately.
- Put a human at the consequential step, not at every step. Approval on an irreversible action; no approval on a draft.
- Make failure loud. Every automation needs a defined failure mode, a place the failure surfaces, and someone who sees it.
- Idempotence matters more than it seems. Reruns happen. A workflow that double-sends on retry will eventually double-send.
Designing specialized assistants
Where a workflow needs judgment repeatedly, define a role rather than writing a prompt each time. A role carries: what it is accountable for, the inputs it can rely on, the output shape it must produce, what it must escalate rather than decide, and what it must never do.
Keep roles narrow. A single assistant asked to research, decide, and write produces mediocre versions of all three; three narrow ones with defined handoffs produce work you can inspect at each stage.
Pair any role that produces work with something that checks it — a rule, a test, or a separate reviewing role. A role that reviews its own output approves it.
Scoring candidates
Score each automation candidate on frequency, time cost, error cost, and stability from one to five, then multiply rather than average — multiplication makes a low score on any dimension disqualifying, which is the correct behavior. A daily task that changes weekly should not survive on frequency alone.
Rank by score ÷ build effort, and take the top item only. Automation programs fail by starting four things.
Choosing tools
Match to the constraint that actually binds — volume, latency, existing stack, who maintains it, and what happens when the vendor changes terms. Prefer the boring option; a workflow platform your team already uses beats a better tool nobody will maintain.
Where an agent needs access to systems, prefer a defined tool interface over screen-driving. Tools fail explicitly; scrapers fail silently and at the worst time.
Sequencing
Build in this order: highest frequency × lowest complexity first. Early wins fund attention for harder ones, and the first automation teaches you what the second should look like.
Risks to state before building
Data leaving your control, model output reaching customers unreviewed, a silent dependency on a vendor's pricing, and the maintenance burden landing on one person. Name the owner of each before building, not after.
Sources
references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.
Never
- Automate a process nobody has written down. You will automate the exceptions along with the work.
- Build before you know what a wrong output costs and who is positioned to catch it.
- Put a model where a rule would do. Deterministic steps should stay deterministic.
- Ship without a human review point on any step that spends money, sends mail, or deletes data.
Company context
Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.
Other departments
A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.
Files it ships with
Loaded only when the skill calls for them.
Sources it checks against
Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.
- Model Context Protocol specification Model Context Protocol project
The protocol between an agent host and a tool or resource server — message shapes, lifecycle, transports, and what a conformant server must implement.
More in Technology
- API design
Designs interfaces that survive their consumers — resource modeling, errors, versioning, pagination, and compatibility.
- Branch and worktree workflow
Isolates feature work in its own branch or worktree and integrates it cleanly when done.
- Chief Technology Officer / CIO
Owns architecture, engineering delivery, infrastructure, data platform, and internal systems.
- Cloud infrastructure
Designs and runs cloud infrastructure — environments, infrastructure as code, networking and isolation, scaling, and cost.
- Code review
Conducts and responds to code review — reviewing a change for correctness, design, and risk, and evaluating review feedback received on your own work.
- Completion verification
Verifies that work is actually complete before it is claimed to be — running the checks, reading the output, and confirming the original request was satisfied rather than approxim…
- Data migration
Moves data from one system to another without losing it or corrupting it — profiling the source before mapping, deciding between big-bang and parallel-run cutover, reconciling cou…
- Implementation planning
Turns a spec or requirement into a written plan a separate session or agent can execute, then drives that plan through review checkpoints.
- Observability and reliability
Makes systems debuggable and reliably operable — instrumentation, alerting that is worth waking for, service objectives, and learning from failure.
- Parallel agent delivery
Splits work across multiple agents or sessions running at once, keeping their surfaces disjoint so results merge cleanly.
- Prompt optimizer
Turns rough intent or a weak prompt into a reliable one — diagnosing why output is inconsistent, restructuring the instruction, and adapting it across models.
- Release and deployment
Ships changes safely and often — pipelines, deployment strategies, feature flags, rollback, and database changes.
- Skill authoring
Writes and revises agent skills so they trigger at the right moments and give usable instruction when they do.
- Solution architecture
Designs system structure and makes architectural decisions defensible — boundaries, coupling, trade-offs, and recording why.
- Solution exploration
Explores the problem and the range of possible approaches before any code is written — clarifying what is actually being asked, surfacing options with their tradeoffs, and converg…
- Systematic debugging
Finds the root cause of a bug, test failure, or unexpected behavior before proposing any fix.
- Technical debt management
Makes technical debt visible and decidable — distinguishing real debt from mess, quantifying its cost, and arguing for remediation in business terms.
- Test-driven development
Drives implementation by writing a failing test first, then the smallest code that passes it.