Skip to content

Fix skill tools double-classified as both delegate and integrate#96

Closed
cursor[bot] wants to merge 1 commit intofeat/session-workflow-fingerprintsfrom
cursor/skill-tool-double-classification-a0f8
Closed

Fix skill tools double-classified as both delegate and integrate#96
cursor[bot] wants to merge 1 commit intofeat/session-workflow-fingerprintsfrom
cursor/skill-tool-double-classification-a0f8

Conversation

@cursor
Copy link

@cursor cursor bot commented Mar 13, 2026

Problem

_INTEGRATE_HINTS included "skill", which caused any Skill:-prefixed tool (e.g., Skill:myskill) to match _is_integrate_tool via substring matching ("skill" in "skill:myskill"). These same tools already correctly match _is_delegate_tool because classify_tool returns "skill" for them.

This double-classification added spurious "integrate" steps to workflow fingerprints for sessions using Skill tools, producing different fingerprint_id values than intended (e.g., "...+delegate+integrate+..." instead of "...+delegate+...").

Fix

Remove "skill" from _INTEGRATE_HINTS. Skill tools are delegates, not integrations — the original infer_workflow_steps code only added the "integrate" step for classify_tool(name) == "mcp", never for skill-classified tools.

Open in Web Open in Cursor 

Remove 'skill' from _INTEGRATE_HINTS to prevent Skill:-prefixed tools
from matching _is_integrate_tool via substring matching. These tools are
already correctly classified as delegates via classify_tool returning
'skill' in _is_delegate_tool.
@ccf ccf closed this Mar 15, 2026
@ccf ccf deleted the cursor/skill-tool-double-classification-a0f8 branch March 15, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants