Skill Router
SkillProductivityRoute non-trivial Codex tasks to the right local execution lane and capability set. Use when Codex needs to decide between direct execution, a local skill, an enabled plugin, or an MCP/tool surface; when the user asks which skill or workflow to use; when you want to inspect the local Codex inventory; or when a task needs a compact lane + capability + verification recommendation before work begins.
Use Skill Router in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Skill Router and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Skill Router
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by hussi9/skill-router in codex-skill/skill-router/SKILL.md and read by Ahel’s review.
Use this skill to make Codex routing environment-aware instead of guess-based.
Quick Start
- Classify the task into a lane:
directbrokenbuildoperatereviewplan
- Run
scripts/scan_codex_inventory.pyto inspect local skills, plugins, and MCP servers. - Match the task against the most specific local capability first.
- Return a compact recommendation using the routing contract in
references/routing-contract.md.
Lane Selection
| Lane | Examples | Default Reasoning | Default Thinking |
|---|---|---|---|
direct | trivial read, one command, factual answer | fast | none |
broken | bug, regression, crash, failing test, broken build | standard | think |
build | new feature, component, integration, workflow | standard | think |
operate | refactor, automate, configure, document, deploy | standard | none |
review | code review, risk review, security review | standard | think-hard |
plan | broad, ambiguous, multi-stage, scope decisions | frontier | ultrathink |
Escalate to frontier reasoning + ultrathink for: production incidents,
auth/permissions changes, architecture decisions where rollback is expensive.
If a task spans multiple lanes, choose the first critical lane and note the downstream chain.
Capability Resolution
Prefer, in order:
- repo instructions already in force
- local Codex skills
- enabled plugins
- configured MCP/tool surfaces
- direct execution
Rules:
- prefer one strong local capability over a long chain
- prefer the most specific capability over the most famous one
- fall back to direct execution if no strong local match exists
- do not search the internet for skills by default
- do not auto-install anything silently
Inventory Scan
Use the bundled script:
python3 scripts/scan_codex_inventory.py
python3 scripts/scan_codex_inventory.py --query deploy
python3 scripts/scan_codex_inventory.py --json
Use the inventory scan when:
- you need to know which local capability is actually present
- multiple possible skills might match
- the task mentions a tool or platform and you want to confirm availability
Output Contract
Always return:
- lane
- chosen capability or fallback
- reasoning tier:
fast,standard, orfrontier - verification plan
- short notes only if needed
See references/routing-contract.md for the canonical shape.
Named Chains (Optional)
If AGENTS.md declares saved chain sequences, check them BEFORE computing
fresh from the lane tables. Match by substring on the user's prompt; first
match wins.
# in AGENTS.md
chains:
- name: ship-feature
when: ["ship the feature", "lets implement"]
chain: writing-plans → frontend + db
thinking: think
Per-step models / agents resolve from the lane tables unless chain.model
or chain.thinking overrides globally, or steps[].model overrides per
step.
Dispatch Protocol — Per-Step Model Enforcement
When a chain step needs a different model than the parent session, dispatch
that step as a Codex sub-task with model: set explicitly. Steps that
match the parent model run inline.
For each step in the chain:
IF step.model == parent_model AND not parallel-fan-out:
→ run inline
ELSE:
→ spawn sub-task with model=<step.model>, agent=<step.agent>
Parallel steps (`+`) launch concurrently.
Thinking Depth
Each lane row carries an optional Thinking value: none / think / think-hard / ultrathink. Pre-pend the keyword to the dispatch prompt to
allocate extended-thinking budget. Production incidents and architecture
decisions default to ultrathink; mechanical work to none.
Codex-Specific Notes
- this skill is local-first
- this skill is for routing and orchestration, not governance
- for enterprise governance, policy, and proof of judgment, use Sentigent instead of expanding this skill into a control plane
Resources
scripts/
scan_codex_inventory.py: inspect installed local Codex skills, enabled plugins, and configured MCP servers
references/
routing-contract.md: required output shape for recommendationsproduct-boundary.md: product boundary and audience definition for the Codex version
Signals
- GitHub stars
- 25
- Forks
- 1
- Last commit
- Sep 2026
Ahel review
K6low
bundled executables the agent is told to run
Automated review, not a security audit. Ruleset v1+k2.
Others that do the same job
Advanced
- Item type
- skill
- Key
skill-router-hussi9- Source
- github.com/hussi9/skill-router
github.com/hussi9/skill-router
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonsocial
Skill · coreyhaines31
More in Productivitygws-calendar
Skill · googleworkspace
More in Productivitylark-minutes
Skill · larksuite
More in Productivitylark-workflow-standup-report
Skill · larksuite
More in Productivity