fix(cli): restore external skill loading - #12226
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Notes: Incremental review at head Previous Review Summaries (3 snapshots, latest commit 0e1ba88)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 0e1ba88)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (6 files)
Notes: Full review at head Fix these issues in Kilo Cloud Previous review (commit 1419893)Status: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Notes: Re-verified against the current head commit. The diff content is unchanged from the previously reviewed state (same Previous review (commit e605771)Status: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Notes: Traced the trust/scope logic end-to-end ( Reviewed by kimi-k3 · Input: 61.1K · Output: 4.8K · Cached: 269.9K Review guidance: REVIEW.md from base branch |
|
|
|
Do you have an example where the skill would then sit on disk?
I would therefore like to understand if this change represents a security risk or conflicts a future upstream merge. |
|
For plugin skills, kilo automatically pulls the plugin into its cache folder, so for superpowers added via kilo config's |
|
On my laptop I have |
|
Going forward we want to support |
|
Based on my research, you can generally relocate the entire installed plugin/package using features provided by the harness—for example, OpenCode can load Superpowers from a local package path—but you cannot independently configure the location of Superpowers’ bundled skills/ directory without modifying the integration or using a filesystem workaround such as a symlink. In other words, this would add additional installation steps that are non-standard. Users following the default installation path of adding Superpowers, or other plugins, to the config file's |
e12d793 to
1419893
Compare
|
Perhaps a middle ground would be an explicit allow on the |
1419893 to
0e1ba88
Compare
0e1ba88 to
fcc6def
Compare
|
Quick update: #12846 should allow configuring explicit symlinks again. We removed this due to a few reported security risks. This should now keep it secure but allow this workflow. @shssoichiro I assume that would also workaround introducing this feature. |
Issue
Fixes #12222
Context
Skills external to the canonical
~/.kilo/skillsdirectory currently fail to load. This breaks valid uses cases such as plugin skills.Implementation
Uses two targeted changes while preserving the security protections from #12168:
plugin/index.ts.Screenshots / Video
Superpowers skills now loaded successfully:
How to Test
Checklist
Get in Touch
ExpedientFalcon on Discord