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.
Imported from oaustegard/claude-skills (reasoning-semiformally/SKILL.md). Install upstream with npx skills add oaustegard/claude-skills --skill reasoning-semiformally. Copyright stays with the author.
Semi-Formal Code Reasoning
Structured certificate templates that force mandatory checkpoints before conclusions.
Skip Conditions
Do NOT apply semi-formal reasoning when:
The change is trivial: docs, formatting, version bumps, config changes
The bug is locally obvious: typo, off-by-one in the same function, missing comma
No execution paths cross scope boundaries
The task is not code analysis (text editing, data extraction, summarization)
If any skip condition is met, proceed with standard reasoning.
Model-Specific Instructions
If you are Haiku-class (Haiku 4.5, Haiku 5.5):
Read haiku.md in this skill directory. It contains full procedural templates with worked examples.
If you are Sonnet-class or above (Sonnet 5, Sonnet 5.5, Opus, Fable):
Read sonnet.md in this skill directory. It contains compact verification checkpoints.
Composing Tasks
For complex tasks, apply templates sequentially:
Fault localization to find the bug
Patch verification to validate a proposed fix
Patch equivalence to compare alternative fixes
Each output feeds the next as premises.
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 reasoning-semiformally 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.
{
"ocm": "1",
"id": "oaustegard-claude-skills-reasoning-semiformally",
"kind": "skill",
"name": "reasoning-semiformally",
"description": "Apply semi-formal certificate reasoning to code analysis — patch verification, fault localization, patch equivalence. Use when reviewing patches, hunting bugs across scopes, comparing fixes, or when code reasoning requires tracing execution across files/modules. Triggers on code review, bug localization, patch comparison, name shadowing, scope analysis, regression checking.",
"publisher": "oaustegard",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"creative"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Apply semi-formal certificate reasoning to code analysis — patch verification, fault localization, patch equivalence. Use when reviewing patches, hunting bugs across scopes, comparing fixes, or when code reasoning requires tracing execution across files/modules. Triggers on code review, bug localization, patch comparison, name shadowing, scope analysis, regression checking."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/oaustegard/claude-skills",
"path": "reasoning-semiformally/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/oaustegard/claude-skills/blob/HEAD/reasoning-semiformally/SKILL.md",
"key": "oaustegard/claude-skills/reasoning-semiformally/SKILL.md"
}
},
"instructions": "# Semi-Formal Code Reasoning\n\nStructured certificate templates that force mandatory checkpoints before conclusions.\n\n## Skip Conditions\n\nDo NOT apply semi-formal reasoning when:\n- The change is trivial: docs, formatting, version bumps, config changes\n- The bug is locally obvious: typo, off-by-one in the same function, missing comma\n- No execution paths cross scope boundaries\n- The task is not code analysis (text editing, data extraction, summarization)\n\nIf any skip condition is met, proceed with standard reasoning.\n\n## Model-Specific Instructions\n\n**If you are Haiku-class (Haiku 4.5, Haiku 5.5):**\nRead `haiku.md` in this skill directory. It contains full procedural templates with worked examples.\n\n**If you are Sonnet-class or above (Sonnet 5, Sonnet 5.5, Opus, Fable):**\nRead `sonnet.md` in this skill directory. It contains compact verification checkpoints.\n\n## Composing Tasks\n\nFor complex tasks, apply templates sequentially:\n1. **Fault localization** to find the bug\n2. **Patch verification** to validate a proposed fix\n3. **Patch equivalence** to compare alternative fixes\n\nEach output feeds the next as premises.",
"cost": {
"context_tokens": 282
}
}
Fetch it by URL: GET /api/v1/registry/oaustegard-claude-skills-reasoning-semiformally/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.