From 09bbfb77e1d287f7280f3c52bdfae314f84e8fe4 Mon Sep 17 00:00:00 2001 From: kingboung Date: Tue, 12 May 2026 17:01:12 +0800 Subject: [PATCH] fix: allow model to invoke Skill tool for review commands Set disableModelInvocation to false so the model can use the Skill tool to load review/security-review skills as instructed by locale templates. Co-Authored-By: Claude Opus 4.7 --- src/costrict/skills/reviewSkills.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/costrict/skills/reviewSkills.ts b/src/costrict/skills/reviewSkills.ts index 23d4d3d62..c74bbab4e 100644 --- a/src/costrict/skills/reviewSkills.ts +++ b/src/costrict/skills/reviewSkills.ts @@ -34,7 +34,7 @@ function registerReviewSkill( description, whenToUse: description, userInvocable: true, - disableModelInvocation: true, + disableModelInvocation: false, allowedTools: ALLOWED_TOOLS, files, async getPromptForCommand(args) {