{"record":{"id":"1a6a0d3ebbdb41f6","repo":"diegosouzapw/OmniRoute","slug":"skills-execution-is-disabled-enable-skills-in-set","errorCode":null,"errorMessage":"Skills execution is disabled. Enable Skills in Settings > AI.","messagePattern":"Skills execution is disabled\\. Enable Skills in Settings > AI\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/lib/skills/executor.ts","lineNumber":45,"sourceCode":"    this.handlers.set(name, handler);\n  }\n\n  setTimeout(ms: number): void {\n    this.timeout = ms;\n  }\n\n  setMaxRetries(count: number): void {\n    this.maxRetries = count;\n  }\n\n  async execute(\n    skillName: string,\n    input: Record<string, unknown>,\n    context: { apiKeyId: string; sessionId?: string }\n  ): Promise<SkillExecution> {\n    const settings = await getSettings();\n    if (settings.skillsEnabled === false) {\n      throw new Error(\"Skills execution is disabled. Enable Skills in Settings > AI.\");\n    }\n\n    const skill = skillRegistry.getSkill(skillName, context.apiKeyId);\n    if (!skill) {\n      throw new Error(`Skill not found: ${skillName}`);\n    }\n\n    if (!skill.enabled) {\n      throw new Error(`Skill is disabled: ${skillName}`);\n    }\n\n    const db = getDbInstance();\n    const executionId = randomUUID();\n    const startTime = Date.now();\n\n    log.info(\"skills.executor.start\", { skillId: skill.id, skillName, apiKeyId: context.apiKeyId });\n\n    try {","sourceCodeStart":27,"sourceCodeEnd":63,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/skills/executor.ts#L27-L63","documentation":"Error \"Skills execution is disabled. Enable Skills in Settings > AI.\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/skills/executor.ts:45 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}