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.
hooks-explainer - Skill - OpenSmartRoute
Skillv1.0.0
hooks-explainer
Documents the hook enforcement system, bypass mechanisms, and common failure patterns to help agents avoid getting stuck on protected path writes
Imported from oimiragieo/agent-studio (.claude/skills/hooks-explainer/SKILL.md). Install upstream with npx skills add oimiragieo/agent-studio --skill hooks-explainer. Copyright stays with the author.
Hooks Explainer
Step 1: Gather Context
Read relevant files and understand requirements
Step 2: Execute
Perform the skill's main function using available tools
Step 3: Output
Return results and save artifacts if applicable
</execution_process>
<best_practices>
Follow existing project patterns: Follow this practice for best results
Document all outputs clearly: Follow this practice for best results
Handle errors gracefully: Follow this practice for best results
</best_practices>
# Invoke this skill/hooks-explainer [arguments]# Or run the script directlynode .claude/skills/hooks-explainer/scripts/main.cjs --help
</usage_example>
Search Protocol
For code discovery and search tasks, follow this priority order:
semantic/structural search via code tools if available.
Memory Protocol (MANDATORY)
Before starting:
```bash
cat .claude/context/memory/learnings.md
cat .claude/context/memory/decisions.md
```
After completing:
New pattern -> `.claude/context/memory/learnings.md`
Issue found -> `.claude/context/memory/issues.md`
Decision made -> `.claude/context/memory/decisions.md`
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Installed into a catalogue, chosen by a router
Install hooks-explainer 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.
When a provider is down or over quota the request moves on; the trace says it did.
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}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "oimiragieo-agent-studio-hooks-explainer",
"kind": "skill",
"name": "hooks-explainer",
"description": "Documents the hook enforcement system, bypass mechanisms, and common failure patterns to help agents avoid getting stuck on protected path writes",
"publisher": "oimiragieo",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"data_analysis"
],
"tags": [
"skill-md",
"hooks",
"explainer",
"documents",
"hook",
"enforcement",
"system",
"bypass",
"mechanisms",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Documents the hook enforcement system, bypass mechanisms, and common failure patterns to help agents avoid getting stuck on protected path writes"
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/oimiragieo/agent-studio",
"path": ".claude/skills/hooks-explainer/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/oimiragieo/agent-studio/blob/HEAD/.claude/skills/hooks-explainer/SKILL.md",
"key": "oimiragieo/agent-studio/.claude/skills/hooks-explainer/SKILL.md"
},
"tools": [
"Read",
"Write",
"Bash"
],
"model": "sonnet"
},
"instructions": "# Hooks Explainer\n\n<identity>\nHooks Explainer Skill - Documents the hook enforcement system, bypass mechanisms, and common failure patterns to help agents avoid getting stuck on protected path writes\n</identity>\n\n<capabilities>\n- Hooks Explainer primary function\n- Integration with agent ecosystem\n- Standardized output generation\n</capabilities>\n\n<instructions>\n<execution_process>\n\n### Step 1: Gather Context\n\nRead relevant files and understand requirements\n\n### Step 2: Execute\n\nPerform the skill's main function using available tools\n\n### Step 3: Output\n\nReturn results and save artifacts if applicable\n\n</execution_process>\n\n<best_practices>\n\n1. **Follow existing project patterns**: Follow this practice for best results\n2. **Document all outputs clearly**: Follow this practice for best results\n3. **Handle errors gracefully**: Follow this practice for best results\n\n</best_practices>\n</instructions>\n\n<examples>\n<usage_example>\n**Example Commands**:\n\n```bash\n# Invoke this skill\n/hooks-explainer [arguments]\n\n# Or run the script directly\nnode .claude/skills/hooks-explainer/scripts/main.cjs --help\n```\n\n</usage_example>\n</examples>\n\n## Search Protocol\n\nFor code discovery and search tasks, follow this priority order:\n\n1. \\`pnpm search:code \"<query>\"\\` (Primary intent-based search).\n2. \\`ripgrep\\` (for exact keyword/regex matches).\n3. semantic/structural search via code tools if available.\n\n## Memory Protocol (MANDATORY)\n\n**Before starting:**\n\\`\\`\\`bash\ncat .claude/context/memory/learnings.md\ncat .claude/context/memory/decisions.md\n\\`\\`\\`\n\n**After completing:**\n\n- New pattern -> \\`.claude/context/memory/learnings.md\\`\n- Issue found -> \\`.claude/context/memory/issues.md\\`\n- Decision made -> \\`.claude/context/memory/decisions.md\\`\n\n> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.",
"cost": {
"context_tokens": 458
}
}
Fetch it by URL: GET /api/v1/registry/oimiragieo-agent-studio-hooks-explainer/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.