Skills not recognized in TUI mode (Kiro CLI 2.0.0)
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Ubuntu 24.04.1 LTS
Kiro Version
2.0.0
Bug Description
In Kiro CLI 2.0.0, TUI mode (kiro-cli chat) does not recognize the skill keyword in agent/context configuration. Skills that are properly configured and load successfully in classic mode fail to load in TUI
classic mode using the same configuration.
Steps to Reproduce
- Configure a skill in the Kiro CLI settings (e.g., in ~/.kiro/skills/ or agent config)
- Launch classic mode — confirm the skill loads and is recognized
- Launch TUI mode (kiro-cli chat) with the same configuration
- Observe that the skill is not loaded / not recognized
The attachment is my agent settings.
Expected Behavior
Skills can recognized in TUI mode (Kiro CLI 2.0.0)
Conversation ID
No response
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #6955: Skills: relative file references in SKILL.md cannot be resolved by the agent (85% similar)
- #6122: Xcode MCP server loads successfully but tools are not available to the agent (85% similar)
- #6055: Skills allowed-tools Frontmatter Not Working for Workspace-Level Skills (85% similar)
- #5394: skill:// resources don't trigger on-demand loading based on description matching (85% similar)
- #4993: kiro_default agent does not load skill resources automatically when using the kiro-cli - only works with new agents (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues report skills not being recognized or properly loaded by the Kiro CLI agent, with skills failing to work despite being configured
This is not a duplicate of the listed issues. Here's why this is distinct:
- Version-specific: This issue occurs only in Kiro CLI 2.0.0 — it did not exist in prior versions.
- TUI-mode-specific: The exact same skill configuration works correctly in classic mode but fails in TUI mode. This is a regression in how TUI mode parses the skill keyword, not a general skill-loading
problem. - None of the suggested duplicates match.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Hey @Lzy-magic global skills do work successfully with the TUI using the current config, could you try only configuring skills in the resources and see if that works? This might be related with how resources are trimmed between classic and tui modes, can take a look.
Otherwise we'd need more information to help root cause this, if you could try starting the CLI and then exiting with:
KIRO_LOG_LEVEL=trace KIRO_CHAT_LOG_FILE=log.txt kiro-cli chat --agent cs
Then share the log.txt that would be very helpful!
I did some basic testing — only configuring skills. In TUI mode, skills are loaded and executed correctly. The actual issue seems to be that /context show doesn't display the loaded skills properly in TUI mode.
The issue title/description should probably be updated to reflect this: "TUI mode: /context show fails to display skills correctly despite skills functioning normally."
Additionally, when I replaced the ** or * wildcard with a specific URI path, the skills showed up in /context show as expected — so the problem may be related to wildcard pattern matching.
Classic mode screenshot:
TUI mode screenshot:
TUI mode with specific skills path screenshot:
The attachment are the logs which using "**" wildcard, And I've redacted all sensitive values from both log files.
Fixed at 2.1.0, so close this issue.