Add uploaded skill allowlist#95
Open
samsja wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Low Risk
Configuration-only surface for optional host skills; misconfiguration fails fast on unknown names rather than silently widening capability.
Overview
Adds
RLM_SKILLSso hosts can control which uploaded skills are installed and visible, mirroring the existingRLM_TOOLSpattern.Unset keeps today’s behavior (all discovered skills). Empty string disables skills entirely. A comma-separated list allowlists skills by import/CLI name (hyphens normalized to underscores).
install.shskips disallowed packages duringuv tool installand CLI wrapper setup.get_installed_skills()applies the same filter from env metadata and raisesValueErrorif the allowlist names skills that are not installed. The engine only passesSKILLS_DIRinto the system prompt when at least one skill remains after filtering, so prompts and IPython pre-imports stay aligned with what was actually installed.README documents the new variable; tests cover default-all, allowlist, empty, and unknown skill names.
Reviewed by Cursor Bugbot for commit 73b4100. Bugbot is set up for automated code reviews on this repo. Configure here.