agentleFS
mphaxisemphaxise/gstack-port-for-codex/skills/workflow-router/SKILL.md

workflow-router

Skill4 starsChanged 4 months agoMITView on GitHub

Natural-language router for GStack, GBrain, browser QA, automations, memory, design, review, ship, and Praneet extension skills; choose the smallest useful skill set.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-gate and diagnose.

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.
  • vindreshsinghSkill

    review-gate

    Reviews a change across correctness, design, readability, security, and performance before it merges. Use when reviewing a PR, self-reviewing your own diff, or sanity-checking an AI-generated change prior to shipping.

    Also in 3 projects that use this

  • MicrosoftSkill

    diagnose

    Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

63 rules. 0 are common, 10 are distinctive, and 53 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 53

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user speaks naturally and should not have to remember the exact skill names.

    line 8
  2. Distinctive:

    Default posture: act like the user's chief of staff for skill selection.

    line 12
  3. Very specific:

    Read references/intent-map.md before routing if the match is not obvious.

    line 14
  4. Distinctive:

    do not stop at the first matching skill

    line 21
  5. Distinctive:

    If one specific skill clearly fits, use that skill and skip extra routing overhead.

    line 59
  6. Very specific:

    If the user asks for founder-style or scope pressure-testing, use plan-ceo-review.

    line 60
  7. Very specific:

    If the user is still brainstorming, validating whether to build something, or shaping a pre-plan idea, use office-hours.

    line 61
  8. Very specific:

    If the user asks to spec something out, file an issue, or write a ticket, use spec.

    line 62
  9. Very specific:

    If the user wants the planning stack run in one pass, use autoplan.

    line 63
  10. Very specific:

    If the product direction is chosen and architecture or execution rigor is needed, use plan-eng-review.

    line 64
  11. Very specific:

    If the user wants pre-implementation design critique, use plan-design-review.

    line 65
  12. Very specific:

    If the user wants responsible design, human impact, social ethics, consent, dark patterns, or vulnerable-user review, use …

    line 66
  13. Very specific:

    If the user wants accessibility, inclusive interaction quality, WCAG-style review, screen reader/keyboard review, or cognitive load review, …

    line 67
  14. Very specific:

    If the user wants CDO-level design governance, critique culture, design principles, or stakeholder design alignment, use …

    line 68
  15. Very specific:

    If the user wants pre-implementation developer-experience critique, use plan-devex-review.

    line 69
  16. Very specific:

    If the user wants live visual polish or a design audit, use design-review.

    line 70
  17. Very specific:

    If interface work needs shared context, deterministic checks, browser evidence, or an Impeccable runtime fallback, use design-quality.

    line 71
  18. Very specific:

    If the user wants iOS app QA, bug fixing, design review, debug bridge refresh, or bridge cleanup, use ios-qa, ios-fix, ios-design-review, …

    line 72
  19. Very specific:

    If the user wants a stronger design system or visual direction, use design-consultation.

    line 73
  20. Very specific:

    If the user wants multiple design directions, use design-shotgun.

    line 74
  21. Very specific:

    If the user wants a design turned into code, use design-html.

    line 75
  22. Very specific:

    If the user wants an architecture diagram, flowchart, or visual map, use diagram.

    line 76
  23. Very specific:

    If the user wants a real onboarding or docs audit for developers, use devex-review.

    line 77
  24. Very specific:

    If the user wants memory-grounded answers, use query or brain-ops.

    line 78
  25. Very specific:

    If the user wants to trace how an idea evolved, use idea-lineage.

    line 79
  26. Very specific:

    If the user wants to set up, refresh, or check GBrain health, use setup-gbrain, sync-gbrain, or gbrain-advisor.

    line 80
  27. Very specific:

    If the user wants to update upstream GBrain, use gbrain-upgrade.

    line 81
  28. Very specific:

    If the user wants Impeccable drift or adoption status, use gstack-upgrade with the Impeccable capability map.

    line 82
  29. Very specific:

    If the user wants something saved into the brain, use capture, then brain-taxonomist if the filing target is unclear.

    line 83
  30. Very specific:

    If the user wants a specialized ingest, use signal-detector, ingest, idea-ingest, media-ingest, or meeting-ingestion based on the artifact.

    line 84
  31. Very specific:

    If the user wants to change where brain pages belong, use schema-author after brain-taxonomist.

    line 85
  32. Very specific:

    If the user wants to consolidate brain page types or migrate schema packs, use schema-unify.

    line 86
  33. Very specific:

    If the user wants current research, academic verification, article enrichment, strategic reading, or concept synthesis, use …

    line 87
  34. Very specific:

    If the user wants research distilled into decision-ready design or product insight, use research-synthesis.

    line 88
  35. Very specific:

    If the user wants startup, founder, product-market, or investment-style judgment, use startup-memo.

    line 89
  36. Very specific:

    If the user wants a competitive landscape or category map, use market-map.

    line 90
  37. Very specific:

    If the user wants archive, book, voice-note, or PDF brain processing, use archive-crawler, book-mirror, voice-note-ingest, or brain-pdf.

    line 91
  38. Very specific:

    If the user wants a work-session organization pass, use eiirp.

    line 92
  39. Very specific:

    If the user wants to learn from whether a prior plan or review worked, use outcome-memory.

    line 93
  40. Very specific:

    If the user wants to optimize or tune an existing skill, use skill-optimizer.

    line 94
  41. Very specific:

    If the user wants skillpack health or post-restart validation, use skillpack-check or smoke-test.

    line 95
  42. Very specific:

    If the user wants recurring work, use cron-scheduler.

    line 96
  43. Very specific:

    Use eval-plan for a model comparison and design-motion for a loop based on an approved still.

    line 99
  44. Very specific:

    If the user wants pre-landing scrutiny, use review.

    line 100
  45. Very specific:

    If the user wants to push and open a PR, use ship after review.

    line 101
  46. Very specific:

    If the user wants to merge and verify production, use land-and-deploy.

    line 102
  47. Very specific:

    If the user wants a documentation sync after shipping, use document-release.

    line 103
  48. Very specific:

    If the user wants missing docs generated, use document-generate.

    line 104
  49. Very specific:

    If the user wants a PDF made from markdown, use make-pdf.

    line 105
  50. Very specific:

    If the user wants a landing queue or release slot report, use landing-report.

    line 106
  51. Very specific:

    If the user wants QA or browser verification, use qa and browse.

    line 107
  52. Very specific:

    If the user wants read-only web data extraction, use scrape.

    line 108
  53. Very specific:

    If the user wants report-only QA, use qa-only.

    line 109
  54. Very specific:

    If the user wants a security audit, use cso.

    line 110
  55. Very specific:

    If the user wants to save or resume working state, use context-save or context-restore.

    line 111
  56. Very specific:

    If the user wants general GStack routing, use gstack.

    line 112
  57. Very specific:

    If the user wants repo or corpus health, use health, maintain, testing, or gbrain-advisor.

    line 113
  58. Distinctive:

    Do not ask the user to memorize skill keywords.

    line 117
  59. Distinctive:

    Do not route to multiple skills when one will do.

    line 118
  60. Distinctive:

    Do not overload a simple task with a parade of skills just because they are available.

    line 119
  61. Distinctive:

    Do not skip the first-pass candidate scan for ambiguous, strategic, repeated, or high-stakes work.

    line 120
  62. Distinctive:

    Do not claim a skill was used if you only borrowed the idea.

    line 121
  63. Distinctive:

    If no installed skill meaningfully helps, proceed normally instead of forcing a bad match.

    line 122

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Workflow Router

Use this skill when the user speaks naturally and should not have to remember the exact skill names.

This router is repo-local. Its job is to translate a plain-English request into the smallest useful combination of installed skills.

Default posture: act like the user's chief of staff for skill selection. The user is deliberately delegating more skill-picking judgment to Codex, so consider the available skill surface proactively instead of waiting for exact skill names.

Read references/intent-map.md before routing if the match is not obvious.

Workflow

  1. Cast a generous first-pass net.
    • list every skill that could plausibly add leverage
    • include operating-context skills such as brain-ops, query, reports, capture, outcome-memory, or responsible-design-review when the task has memory, decision, ethics, or follow-up implications
    • do not stop at the first matching skill
  2. Classify the request by intent:
    • planning
    • spec or issue creation
    • diagramming
    • engineering design
    • brain lookup
    • signal capture
    • brain setup or sync
    • brain taxonomy or schema
    • idea lineage
    • skill optimization
    • source or meeting ingest
    • research or enrichment
    • responsible design or accessibility
    • founder strategy
    • design leadership
    • maintenance or testing
    • iOS app work
    • browser QA
    • automation
    • review or ship
    • publishing or reporting
  3. Critically pare down the candidate list:
    • Is this a one-time task or a repeated workflow?
    • Is the user asking for execution, review, strategy, memory, or governance?
    • Is the work high-stakes enough to justify safety, responsible design, accessibility, security, or research checks?
    • Would the skill add real context or quality, or just process overhead?
    • Is there a natural pipeline, or is one skill enough?
  4. Pick the smallest useful final set of skills:
    • usually one skill
    • sometimes two in sequence
    • rarely three if there is a natural pipeline
  5. Tell the user briefly which skill(s) you are using and why.
  6. Execute the chosen skill workflow instead of asking the user to reformulate the request.

Default Routing Rules

  • If one specific skill clearly fits, use that skill and skip extra routing overhead.
  • If the user asks for founder-style or scope pressure-testing, use plan-ceo-review.
  • If the user is still brainstorming, validating whether to build something, or shaping a pre-plan idea, use office-hours.
  • If the user asks to spec something out, file an issue, or write a ticket, use spec.
  • If the user wants the planning stack run in one pass, use autoplan.
  • If the product direction is chosen and architecture or execution rigor is needed, use plan-eng-review.
  • If the user wants pre-implementation design critique, use plan-design-review.
  • If the user wants responsible design, human impact, social ethics, consent, dark patterns, or vulnerable-user review, use responsible-design-review.
  • If the user wants accessibility, inclusive interaction quality, WCAG-style review, screen reader/keyboard review, or cognitive load review, use accessibility-review.
  • If the user wants CDO-level design governance, critique culture, design principles, or stakeholder design alignment, use design-leadership-review.
  • If the user wants pre-implementation developer-experience critique, use plan-devex-review.
  • If the user wants live visual polish or a design audit, use design-review.
  • If interface work needs shared context, deterministic checks, browser evidence, or an Impeccable runtime fallback, use design-quality.
  • If the user wants iOS app QA, bug fixing, design review, debug bridge refresh, or bridge cleanup, use ios-qa, ios-fix, ios-design-review, ios-sync, or ios-clean.
  • If the user wants a stronger design system or visual direction, use design-consultation.
  • If the user wants multiple design directions, use design-shotgun.
  • If the user wants a design turned into code, use design-html.
  • If the user wants an architecture diagram, flowchart, or visual map, use diagram.
  • If the user wants a real onboarding or docs audit for developers, use devex-review.
  • If the user wants memory-grounded answers, use query or brain-ops.
  • If the user wants to trace how an idea evolved, use idea-lineage.
  • If the user wants to set up, refresh, or check GBrain health, use setup-gbrain, sync-gbrain, or gbrain-advisor.
  • If the user wants to update upstream GBrain, use gbrain-upgrade.
  • If the user wants Impeccable drift or adoption status, use gstack-upgrade with the Impeccable capability map.
  • If the user wants something saved into the brain, use capture, then brain-taxonomist if the filing target is unclear.
  • If the user wants a specialized ingest, use signal-detector, ingest, idea-ingest, media-ingest, or meeting-ingestion based on the artifact.
  • If the user wants to change where brain pages belong, use schema-author after brain-taxonomist.
  • If the user wants to consolidate brain page types or migrate schema packs, use schema-unify.
  • If the user wants current research, academic verification, article enrichment, strategic reading, or concept synthesis, use perplexity-research, academic-verify, article-enrichment, strategic-reading, or concept-synthesis.
  • If the user wants research distilled into decision-ready design or product insight, use research-synthesis.
  • If the user wants startup, founder, product-market, or investment-style judgment, use startup-memo.
  • If the user wants a competitive landscape or category map, use market-map.
  • If the user wants archive, book, voice-note, or PDF brain processing, use archive-crawler, book-mirror, voice-note-ingest, or brain-pdf.
  • If the user wants a work-session organization pass, use eiirp.
  • If the user wants to learn from whether a prior plan or review worked, use outcome-memory.
  • If the user wants to optimize or tune an existing skill, use skill-optimizer.
  • If the user wants skillpack health or post-restart validation, use skillpack-check or smoke-test.
  • If the user wants recurring work, use cron-scheduler.
  • For a bug, check its cause directly and verify the fix on the failing path.
  • For claims in a report use fact-check. For an ambiguous identity use resolve-before-asking.
  • Use eval-plan for a model comparison and design-motion for a loop based on an approved still.
  • If the user wants pre-landing scrutiny, use review.
  • If the user wants to push and open a PR, use ship after review.
  • If the user wants to merge and verify production, use land-and-deploy.
  • If the user wants a documentation sync after shipping, use document-release.
  • If the user wants missing docs generated, use document-generate.
  • If the user wants a PDF made from markdown, use make-pdf.
  • If the user wants a landing queue or release slot report, use landing-report.
  • If the user wants QA or browser verification, use qa and browse.
  • If the user wants read-only web data extraction, use scrape; if the flow should become reusable, use skillify.
  • If the user wants report-only QA, use qa-only.
  • If the user wants a security audit, use cso.
  • If the user wants to save or resume working state, use context-save or context-restore; use checkpoint only for legacy compatibility.
  • If the user wants general GStack routing, use gstack.
  • If the user wants repo or corpus health, use health, maintain, testing, or gbrain-advisor.

Guardrails

  • Do not ask the user to memorize skill keywords.
  • Do not route to multiple skills when one will do.
  • Do not overload a simple task with a parade of skills just because they are available.
  • Do not skip the first-pass candidate scan for ambiguous, strategic, repeated, or high-stakes work.
  • Do not claim a skill was used if you only borrowed the idea.
  • If no installed skill meaningfully helps, proceed normally instead of forcing a bad match.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.