Kiro IDE does not follow symlinks in ~/.kiro/skills/ — symlinked skills not available to agent
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
macOS 15.6.1
Kiro Version
0.10.78
Bug Description
Kiro IDE does not resolve symbolic links in the ~/.kiro/skills/ directory. Skills installed as symlinks (pointing to ~/.agents/skills/) are not recognized by the agent and cannot be activated, while skills in real directories at the same path work fine.
Steps to Reproduce
1.Install skills via the open agent skills ecosystem (e.g., impeccable.style / npx skills add) 2.This creates skill folders in ~/.agents/skills/ and symlinks them into ~/.kiro/skills/ 3.Open Kiro IDE and check available skills 4.Then when you try to import the skill from the ~/.agents/skills/ folder it prompts you saying the skill is avaible would you like to overwrite it 5.Only when you overwrite it shows up
Expected Behavior
All skills in ~/.kiro/skills/ should be available to the agent, regardless of whether the folder is a real directory or a symlink.
Conversation ID
No response
Additional Context
Only skills in real directories are available. Symlinked skill folders are silently ignored. you have to manually copy the skills to the .kiro/skills folder. cp -r ~/.agents/skills/clarify ~/.kiro/skills/clarify
🤖 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 relate to skills not being properly recognized or loaded by Kiro - the new issue describes symlinked skills not being available, while #5867 describes skills not auto-loading based on triggers. Both involve skills being present but not accessible to the agent.
This might be the root cause of the other skill loading based issues. Symlinks don't seem to be working corretly
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.
I'm facing the same issue. version: 0.11.63 windows 11
As a workaround you can tell kiro to use ls -L ~/.kiro/skills/<your skill> or ls ~/.kiro/skills/<your skill>/ with the trailing slash. I think it's just using a naive ls folder without the trailing slash, which just lists the symlink itself.
Hey @aliulashayir, thanks for the clear report. And thanks to @cgy859854649 for confirming this on Windows — this tells us it's cross-platform, not macOS-specific. This is a valid bug — symlinked skill folders should be resolved transparently. Marking as a bug for the team to investigate further.
I also would like this working... and confirm same issue in kiro-cli I wanted to use shared agent skills via kiro-cli...
I setup symlinks as per skills.sh setup then tried to configure my cli.json for Krio to allow reading from external directory eg:
"toolsSettings": {
"read": {
"allowedPaths": ["~/.kiro/**", "~/.agents/**", "~/Projects/**"]
},
"read_file": {
"allowedPaths": ["~/.kiro/**", "~/.agents/**", "~/Projects/**"]
},
"read_text_file": {
"allowedPaths": ["~/.kiro/**","~/.agents/**", "~/Projects/**"]
},
But after restarting the cli it still throws an error:
╰ path=/Users/xxxx/.kiro/skills/yyyy/SKILL.md
{
"content": [
{
"type": "text",
"text": "Access denied - path outside allowed directories: /Users/xxxx/.kiro/skills/yyyy/SKILL.md not in /Users/xxxx/Projects"
}
],
"isError": true
}
I have the same issue. I hope the development team can fix it as soon as possible. This is really important to me. Thank you very much.
Version: 0.11.107 (user setup) VSCode Version: 1.107.1 Commit: 672afb51e5336b149eb9fc381dd6db6908edbc61 Date: 2026-03-25T21:39:49.530Z Electron: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0 OS: Windows_NT x64 10.0.26200
:( It's been about a month since this was reported. would be great to see this fixed
Related issue https://github.com/kirodotdev/Kiro/issues/2921
So I asked kiro to configure to load skills from ~/.agents/skills; It tried many things with their skill://. None worked, when I started getting frustrated, it said "oh, let just do a symlink"... And that also don't works.
So Kiro actually wants me to force to use .kiro/ - This is non-negotiable. You can have your own folder, thats fine, but don't ignore the standards, and worse, don't even accept me configuring them.
版本: 0.12.155 (user setup)
提交: 1.107.1
日期: 103c4f954913f697123acb72ef6b2266dd9272b5
Electron: 2026-05-06T01:12:04.463Z
ElectronBuildId: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045
Started facing the same issue on Windows after upgrading to version 0.12.200:
Version: 0.12.200 (user setup)
VSCode Version: 1.107.1
Commit: 2406958adc70afa75e5473a3ec1f0cd3da68ec6d
Date: 2026-05-15T20:40:31.398Z
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.22631
Building on @z-xhh's workaround above, creating a script to automatically patch the extension.js seems to have temporarily fixed the issue for me. This is in Powershell for Windows, but something similar can be done for macOS and Linux as well:
$extensionJs = "$env:LOCALAPPDATA\Programs\Kiro\resources\app\extensions\kiro.kiro-agent\dist\extension.js"
if (-not (Test-Path $extensionJs)) { Write-Host "extension.js not found."; return }
$content = [System.IO.File]::ReadAllText($extensionJs)
if ($content -match '\(stat12\.type & vscode\d+\.FileType\.Directory\) !== 0') {
Write-Host "Already patched."; return
}
Copy-Item $extensionJs "$extensionJs.bak" -Force
$content = $content -replace 'return stat12\.type === (vscode\d+)\.FileType\.Directory;', 'return (stat12.type & $1.FileType.Directory) !== 0;'
$content = $content -replace '\} else if \(type === (vscode\d+)\.FileType\.Directory\) \{', '} else if ((type & $1.FileType.Directory) !== 0) {'
[System.IO.File]::WriteAllText($extensionJs, $content)
Write-Host "Patched. Restart Kiro to activate."
Write-Host "To revert: Copy-Item '$extensionJs.bak' '$extensionJs' -Force"
The cause seems to be that directoryExists() in extension.js uses exact equality:
return stat12.type === vscode147.FileType.Directory;
vscode.FileType is a bitmask: Directory = 2, SymbolicLink = 64. A symlinked directory has stat.type = 66 (2 | 64), which fails === 2.
The script changes the condition to (stat12.type & FileType.Directory) !== 0 on all affected locations, and backs up extension.js in case something goes wrong. It just needs to be re-run after each Kiro update.
@AnilMaktala
In the name of all that is holy, why hasn't this been fixed yet?
Non-.kiro paths and symlinks are still not working. ☹️
They show up in the editor interface (as expected), but fail to be loaded, even if the skills are in the project directory.
Version: 0.12.263
VSCode Version: 1.107.1
Commit: 5f96b736eac2823f7f7386293443844d1ddeb7f8
Date: 2026-05-28T19:38:44.307Z
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.5.0
an workaround.
on MacOS, use nfs mount.
- config your nfs share in /etc/exports and /etc/nfs.conf
- mount skill as a shared folder.
sudo mount localhost:{source} {destination} - update the /etc/fstab, using
sudo vifs
on Linux, use mount --bind
- sudo mount --bind localhost:{source} {destination}
- update the /etc/fstab, using
sudo vifs
please google for the detail config, since different OS version may have different step.
My ~/.kiro/steering/*.md files are managed through home manager and unfortunately ignored :/
Looking forward to get it fixed.
P.S. With kiro.dev being a commercially driven tool, it's quite surprising indeed that such a core issue is still open after two months.
Same here - symlinks in general seem to be an issue - we have lots of use cases including wanting to use settings and rules that are outside the current folder in order to have them shared across projects or teams.
Still experiencing this on latest version.
Version: 0.12.333 OS: macOS 26.5.1 (Darwin arm64 25.5.0) My setup uses a skills manager (~/.skills-manager/skills/) that symlinks into ~/.kiro/skills/:
lrwxr-xr-x grill-me -> /Users/a19150/.skills-manager/skills/grill-me lrwxr-xr-x web-access -> /Users/a19150/.skills-manager/skills/web-access The symlink targets are valid directories containing SKILL.md — confirmed via test -d and cat. But Kiro's disclose_context reports "No skills available" and they don't appear in the # context picker.
Unfortunately, this project has a very strange approach to bug prioritization. So it's likely we won't see a fix anytime soon, even though it's very simple.