Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Skills not recognized in TUI mode (Kiro CLI 2.0.0)

Open Lzy-magic opened this issue 7 months ago • 6 comments

Before opening, please confirm:

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

  1. Configure a skill in the Kiro CLI settings (e.g., in ~/.kiro/skills/ or agent config)
  2. Launch classic mode — confirm the skill loads and is recognized
  3. Launch TUI mode (kiro-cli chat) with the same configuration
  4. Observe that the skill is not loaded / not recognized

The attachment is my agent settings.

cs.json

Expected Behavior

Skills can recognized in TUI mode (Kiro CLI 2.0.0)

Conversation ID

No response

Additional Context

No response

Lzy-magic avatar Apr 14 '26 03:04 Lzy-magic

🤖 Potential Duplicate Detected

This issue appears to be similar to:

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

github-actions[bot] avatar Apr 14 '26 03:04 github-actions[bot]

This is not a duplicate of the listed issues. Here's why this is distinct:

  1. Version-specific: This issue occurs only in Kiro CLI 2.0.0 — it did not exist in prior versions.
  2. 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.
  3. None of the suggested duplicates match.

Lzy-magic avatar Apr 14 '26 03:04 Lzy-magic

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.

github-actions[bot] avatar Apr 14 '26 03:04 github-actions[bot]

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!

brandonskiser avatar Apr 14 '26 20:04 brandonskiser

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:

Image

TUI mode screenshot:

Image

TUI mode with specific skills path screenshot:

Image

The attachment are the logs which using "**" wildcard, And I've redacted all sensitive values from both log files.

classic_log.txt tui_log.txt

Lzy-magic avatar Apr 15 '26 03:04 Lzy-magic

Fixed at 2.1.0, so close this issue.

Lzy-magic avatar Apr 27 '26 05:04 Lzy-magic