diegosouzapw/OmniRoute · error
Skill is disabled
Error message
Skill is disabled: ${skillName} What it means
Enablement guard in SkillExecutor.execute: the skill was found in the registry but its `enabled` flag is false, so execution is refused before the handler is resolved. This is per-skill state (as opposed to the global skillsEnabled toggle) — typically a skill deliberately turned off by the operator or disabled by default.
Solutions
- Enable the named skill in the skills settings/registry
- Verify no policy deliberately disabled this skill before re-enabling
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at src/lib/skills/executor.ts:54 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/fcda6f4cb65d0023.
Report an issue: GitHub.
Appendix: source
Thrown at src/lib/skills/executor.ts:54
}
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,
skill.id,
context.apiKeyId,
context.sessionId || null,
JSON.stringify(input),View on GitHub (pinned to a179ffed5b)