diegosouzapw/OmniRoute · error
Skill not found
Error message
Skill not found: ${skillName} What it means
Registry lookup failure in SkillExecutor.execute: skillRegistry.getSkill(skillName, apiKeyId) returned null — no skill with that name is registered for this API key's scope (unknown name, not installed, or registered under a different key). Distinct from a disabled skill: this one simply does not exist in the registry.
Solutions
- Verify the exact skill name (case-sensitive) against the skills registry
- Install or import the skill before invoking it
- Check that the skill is registered for the calling API key's scope
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/lib/skills/executor.ts:50 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/fb10156b05c37810.
Report an issue: GitHub.
Appendix: source
Thrown at src/lib/skills/executor.ts:50
}
setMaxRetries(count: number): void {
this.maxRetries = count;
}
async execute(
skillName: string,
input: Record<string, unknown>,
context: { apiKeyId: string; sessionId?: string }
): Promise<SkillExecution> {
const settings = await getSettings();
if (settings.skillsEnabled === false) {
throw new Error("Skills execution is disabled. Enable Skills in Settings > AI.");
}
const skill = skillRegistry.getSkill(skillName, context.apiKeyId);
if (!skill) {
throw new Error(`Skill not found: ${skillName}`);
}
if (!skill.enabled) {
throw new Error(`Skill is disabled: ${skillName}`);
}
const db = getDbInstance();
const executionId = randomUUID();
const startTime = Date.now();
log.info("skills.executor.start", { skillId: skill.id, skillName, apiKeyId: context.apiKeyId });
try {
db.prepare(
`INSERT INTO skill_executions (id, skill_id, api_key_id, session_id, input, status, created_at)
VALUES (?, ?, ?, ?, ?, ?, ?)`
).run(
executionId,View on GitHub (pinned to a179ffed5b)