-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestneeds-discussionRequires design discussion before implementationRequires design discussion before implementation
Description
Context
The intended model for skern is that agents dynamically manage which skills are loaded on a platform at any given time — installing skills when needed and uninstalling them when no longer relevant. This keeps the active skill set small and avoids bloating the agent's context window with unused instructions.
Current skill count thresholds (20 project / 50 user) already exist as warnings, but there is no mechanism for agents to actively manage the set of loaded skills against these limits.
Idea
Enable agents to maintain an optimal working set of skills per platform by:
- Awareness of capacity — Agent can query how many skills are installed vs the threshold, and decide whether to uninstall unused skills before installing new ones
- Batch install/uninstall — Support installing or uninstalling multiple skills in a single invocation (e.g.,
skern skill install skill-a skill-b --platform claude-codeorskern skill uninstall skill-x skill-y --platform all) - Least-recently-used eviction — Optionally track skill usage and suggest or auto-evict stale skills when approaching the limit
- Context budget — A configurable limit on how many skills can be installed simultaneously, enforced at install time
Open Questions — Decisions Needed
- Agent autonomy level — Should skern enforce limits (refuse to install when at capacity) or only advise (warn and let the agent decide)?
- Usage tracking — Is tracking "last used" feasible and desirable? Where does this metadata live?
- Batch operations vs sync — Batch install/uninstall is a lighter primitive than full sync (Skill sync: bulk reconcile registry with platforms #48). Should batch be the building block, with sync built on top later?
- Per-platform limits — Should thresholds be per-platform or global across all platforms?
Related
- Skill sync: bulk reconcile registry with platforms #48 — Skill sync overlaps with the bulk operations aspect; dynamic loading is the finer-grained alternative discussed there
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds-discussionRequires design discussion before implementationRequires design discussion before implementation