Skip to content

Add uploaded skill allowlist#95

Open
samsja wants to merge 1 commit into
mainfrom
codex/skill-filter
Open

Add uploaded skill allowlist#95
samsja wants to merge 1 commit into
mainfrom
codex/skill-filter

Conversation

@samsja

@samsja samsja commented Jun 11, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Configuration-only surface for optional host skills; misconfiguration fails fast on unknown names rather than silently widening capability.

Overview
Adds RLM_SKILLS so hosts can control which uploaded skills are installed and visible, mirroring the existing RLM_TOOLS pattern.

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.sh skips disallowed packages during uv tool install and CLI wrapper setup. get_installed_skills() applies the same filter from env metadata and raises ValueError if the allowlist names skills that are not installed. The engine only passes SKILLS_DIR into 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant