diegosouzapw/OmniRoute · error
Skills execution is disabled. Enable Skills in Settings >…
Error message
Skills execution is disabled. Enable Skills in Settings > AI.
What it means
Feature-flag sentinel in SkillExecutor.execute: the global skillsEnabled setting is false, so every skill execution is refused before the registry is even consulted. This is a configuration gate — the skill and its handler may be perfectly valid; execution is administratively disabled.
Solutions
- Enable Skills in Settings > AI on the dashboard
- Set the corresponding skills-enabled flag in settings/env and retry
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at src/lib/skills/executor.ts:45 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/1a6a0d3ebbdb41f6.
Report an issue: GitHub.
Appendix: source
Thrown at src/lib/skills/executor.ts:45
this.handlers.set(name, handler);
}
setTimeout(ms: number): void {
this.timeout = ms;
}
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 {View on GitHub (pinned to a179ffed5b)