/otherskill:otherskillfrom otherskill
Fast, calibrated multi-skill router using free decision models on OpenRouter (inception/mercury-decide:free). Dynamically filters and injects only relevant skills from your skills bank per prompt to eliminate context bloat. Use on every prompt or before agent task execution.
Ships in otherskill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
High-speed, calibrated multi-skill router powered by the free decision model on OpenRouter (inception/mercury-decide:free).
Instead of polluting the agent's context window by loading 70+ skills on startup, otherskill evaluates the user prompt against your centralized skill bank (.agents/other_skills) and injects only concise skill references and load instructions for that specific task.
If your agent harness cannot use lifecycle hooks, invoke otherskill CLI (globally available via bun link or via ./run.sh) to select skills:
# If linked globally via 'bun link' (recommended):
otherskill "Refactor the payment gateway with TDD and make a git commit" --content
# Or using the skill runner script:
./run.sh "Refactor the payment gateway with TDD and make a git commit" --content
# Or directly with bun:
bun run index.ts "Refactor the payment gateway with TDD and make a git commit" --content
Directly inspect a skill by name:
otherskill --skill tdd
To inspect routing probabilities without full file dumps:
otherskill "Refactor the payment gateway with TDD and make a git commit"
Output:
🎯 Skill Selection Result
Prompt: "Refactor the payment gateway with TDD and make a git commit"
Primary Choice: tdd
Confidence: 0.88
Selected Skills:
• tdd Prob: 65.0% | Conf: 88.0%
• git-commit Prob: 32.0% | Conf: 88.0%
📊 Token Usage Breakdown:
• Total Used Tokens: 3977
• Input Prompt Tokens: 14
• System Prompt Tokens: 37
• API Input Tokens: 3209
• Output Tokens: 768
import { selectSkills, formatSkillSummary, formatSkillContent } from "./index";
const result = await selectSkills({
userPrompt: "Diagnose database connection leaks and write regression tests",
options: { maxSkills: 3, threshold: 0.05 },
});
console.log(result.selectedSkills);
// => [ { name: "diagnosing-bugs", probability: 0.61, path: "..." }, { name: "tdd", probability: 0.38, path: "..." } ]
// Format concise instructions for prompt injection
const injection = formatSkillSummary(result.selectedSkills);
The tool acts as a gatekeeper before your agent starts planning:
When the agent harness does not support lifecycle hooks:
otherskill is installed into the harness's skill folder (~/.agents/skills/otherskill).
The agent calls:
otherskill "<task description>" --content
Full instructions of only the necessary skills are returned directly for execution.
Relocate optional skills out of native auto-load directories into the isolated skills bank:
# Preview actions without modifying disk
otherskill migrate --dry-run
# Run migration
otherskill migrate
Skills are automatically discovered and merged with strict project-first precedence:
./.agents/other_skills (or OTHERSKILL_AGENT_SKILLS_PATH; legacy SKILL_SELECTOR_AGENT_SKILLS_PATH still read)~/.agents/other_skills/ (or OTHERSKILL_GLOBAL_SKILLS_PATH; legacy SKILL_SELECTOR_GLOBAL_SKILLS_PATH still read)SKILLS_BANK_PATH is configured../.agents/jev_skills and ~/.agents/jev_skills are supported for migration compatibility with deprecation notice.Configure via environment variables or a .env file:
# Required: OpenRouter API Key
OPENROUTER_API_KEY=sk-or-v1-your-key-here
# Free decision model (defaults to inception/mercury-decide:free, paid overrides rejected)
OTHERSKILL_MODEL=inception/mercury-decide:free
# Optional: Global skills bank directory (defaults to ~/.agents/other_skills/)
OTHERSKILL_GLOBAL_SKILLS_PATH=~/.agents/other_skills
# Optional: Project/agent skills directory (defaults to ./.agents/other_skills)
OTHERSKILL_AGENT_SKILLS_PATH=./.agents/other_skills
The OTHERSKILL_* names win. Legacy SKILL_SELECTOR_* names (and JEV_MODEL for the model) are read only when the new name is unset.
hooks/codex.ts - Injects UserPromptSubmitCommandOutputWire with concise skill references.hooks/claude.ts - Intercepts UserPromptSubmit in Claude settings and injects concise skill references.plugins/opencode.ts - Intercepts messages.transform and provides select_skill tool with turn deduplication.hooks/antigravity.ts - Pre-invocation ephemeral message with concise skill references.scripts/migrate-skills.ts & skills/migrate-skill/SKILL.md.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (datamonsterr/other-skill) — no native marketplace selected
npx claudepluginhub p/datamonsterr-jev-skill-selector3 skills in this plugin
/migrate-skillSafely migrate optional skills into .agents/other_skills while preserving always-on skills in native agent directories. Features dry-run, exact backup manifest, idempotency, collision protection, and symlink repair./use-otherskillUse the OtherSkill CLI to configure harness hooks and OpenRouter routing, add categorized skills, select skills for a prompt, and edit skill-set settings.Other plugins' skills for the same job