From orqit
Weekly refresh trigger for the Model Routing Matrix. Compares current Copilot CLI version to the Matrix's "Last verified" pin and produces a draft refresh issue when they diverge. Founder reviews the draft and merges matrix updates; this skill never auto-creates issues or edits the matrix.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orqit:model-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **Preferred:** `claude-haiku-4.5`
claude-haiku-4.5claude-haiku-4.5 — see /fallback-mode.github/skills/dev-session/SKILL.mdRun every 7 days or immediately after observing any of:
copilot update succeeded with a minor- or patch-version bump (CLI roster has shifted within a single patch in the past, e.g. claude-sonnet-4 removal at v1.0.36)task tool's model enum that isn't in the Matrixmodel, auto, deprecat, pricingcopilot --version output)github/docs:data/tables/copilot/*.yml — these YAML files are the authoritative source for cli: true/false flags, pool membership, and retirement dates, and update independently of CLI versiongpt-5.5 promo multiplier re-verification — the 7.5× promo rate is subject to change per GitHub's pricing footnote; re-verify on every audit while gpt-5.5 holds a Matrix Preferred slotcopilot --version
# → "GitHub Copilot CLI 1.0.32." (example)
grep -n 'Last verified' .github/skills/dev-session/SKILL.md
Extract the vX.Y.Z value.
✅ Matrix verified against current CLI vX.Y.Z. No refresh needed.In any Copilot CLI agent session, the task tool's model parameter enumerates the full available roster in its JSON schema. Have the founder open a session and confirm:
Auto's pool is maintained by GitHub and can change without a CLI version bump. Check:
.github/skills/dev-session/SKILL.md → "How to use" → Auto bullet.Write the draft to tmp/model-audit-draft.md (or print to terminal). Do not invoke gh issue create — founder reviews first.
Draft template:
**Title:** model-audit: refresh Model Routing Matrix for CLI vX.Y.Z
**Trigger:** `copilot --version` reports vX.Y.Z; Matrix last verified against vA.B.C on YYYY-MM-DD.
**Proposed changes:**
- [ ] Bump "Last verified" line in `dev-session/SKILL.md` to vX.Y.Z / <today>
- [ ] Add rows for any new model IDs:
- `<id>` (multiplier: ?, tier: ?)
- [ ] Remove/deprecate rows for any missing model IDs:
- `<id>`
- [ ] Re-verify preferred/fallback selections for each skill if multipliers shifted
**Closes:** (assign after creation)
Report: ⏭️ Draft produced at tmp/model-audit-draft.md. Founder: review and create via gh issue create, then route to @builder.
The Model Routing Matrix declares a canonical Tier Taxonomy (basic/standard/premium/extra-premium + two-pass). Every agent profile and skill must declare a tier: value that maps to a Preferred model consistent with the taxonomy.
Declaration form (split by file type — Copilot CLI rejects unknown front-matter fields on .agent.md files):
.github/skills/*/SKILL.md — declare in YAML front-matter as tier: <value>..github/agents/*.agent.md — declare as an HTML comment immediately after the front-matter close: <!-- tier: <value> -->. Front-matter on these files must contain only CLI-recognized fields (name, description, model).Run these checks as part of every audit:
# Every SKILL.md must have a tier: front-matter line
missing_skills=$(grep -L "^tier:" .github/skills/*/SKILL.md || true)
# Every .agent.md must have an HTML-comment tier marker
missing_agents=$(grep -L "^<!-- tier:" .github/agents/*.agent.md || true)
missing="${missing_skills}${missing_agents:+$'\n'}${missing_agents}"
if [[ -n "${missing// /}" ]]; then
echo "❌ Files missing tier marker:"
echo "$missing"
exit 1
fi
# Tier values must be one of: basic, standard, premium, extra-premium, two-pass
allowed_skill='^tier: (basic|standard|premium|extra-premium|two-pass)$'
allowed_agent='^<!-- tier: (basic|standard|premium|extra-premium) -->$'
invalid_skill=$(grep -hE "^tier:" .github/skills/*/SKILL.md | grep -vE "$allowed_skill" || true)
invalid_agent=$(grep -hE "^<!-- tier:" .github/agents/*.agent.md | grep -vE "$allowed_agent" || true)
if [[ -n "$invalid_skill$invalid_agent" ]]; then
echo "❌ Invalid tier values found:"
echo "$invalid_skill"
echo "$invalid_agent"
exit 1
fi
For each skill, spot-check that its declared tier: value matches its Preferred model line:
| Declared tier | Expected Preferred model line |
|---|---|
basic | claude-haiku-4.5 |
standard | claude-sonnet-4.6 |
premium | claude-opus-4.7 |
extra-premium | gpt-5.5 |
two-pass | two model lines (e.g., Sonnet 4.6 + Opus 4.7) |
Drift here goes into the Step 5 draft as a proposed correction.
~/Library/Caches/copilot/...) — fragile and version-unstable.copilot --version is unchanged since that run. A CLI version change always re-triggers the audit regardless of recency.npx claudepluginhub foculoom/plugins --plugin orqitGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.