Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
pre-commit-review - Skill - OpenSmartRoute
Skillv1.0.0
pre-commit-review
Tiered self/adversarial review before push; writes a review stamp. User must invoke — never auto-stamp.
Imported from TrentonFunt/frontend-portfolio (.claude/skills/pre-commit-review/SKILL.md). Install upstream with npx skills add TrentonFunt/frontend-portfolio --skill pre-commit-review. Copyright stays with the author.
pre-commit-review
Run node .claude/hooks/stage.mjs — note tier and fingerprint.
Tier 0: no stamp needed.
Tier 1: self-review checklist — correctness, a11y for terminal changes, spec/PR intent; run A7 comment triage on touched comments.
Tier 2 (floor paths or large diff): separate reviewer or adversarial pass with three lenses (A4).
On APPROVE: node scripts/write-review-stamp.mjs --tier <0|1|2> --notes "<what you checked>"
If clearing advisory skips, empty resolved lines from .claude/advisory-skips.log in the same commit.
Stamp format is consumed by .claude/hooks/pre-push-review.mjs.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install pre-commit-review and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.