-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Skills silently truncated - user-created skills invisible with no warning or prioritization #50677
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Problem
When the number of eligible skills exceeds the prompt token budget, OpenClaw truncates the skills list injected into the system prompt. Currently this happens silently from the users perspective:
~/.agents/skills/and~/.openclaw/skills/, there is no easy way to tell which skills got cut without runningopenclaw skills checkand cross-referencing the agents available_skills list.~/.openclaw/skills/that was eligible (openclaw skills checkconfirmed it), but it never appeared in the agentsavailable_skillslist. I had to manually inspect the filesystem to confirm the skill existed and was properly formatted.This is particularly bad for skills containing critical operational rules. If the agent cannot see the skill, it cannot follow the rules.
Expected behavior
Proposed solutions (any/all)
Skill pinning / priority - Allow
skills.entries.<name>.priority: "high"orskills.entries.<name>.pinned: truein config so critical skills survive truncation.Per-topic required skills - Config like
channels.telegram.groups.<id>.topics.<id>.skills: ["maitre-d"]that force-loads specific skills for a given conversation context, regardless of the global truncation budget.Context-aware truncation - Instead of a static cutoff, prioritize skills that match the active channel/topic/conversation context before truncating less relevant ones.
Surface truncation to the user - If skills are dropped, warn the user (e.g., a one-time message or log entry listing which skills were excluded), not just the agent.
Document the limit - The Skills docs describe token impact per-skill but do not mention that the list is truncated at a budget ceiling, or what that ceiling is. This should be documented so users can plan accordingly.
Environment
~/.agents/skills/,~/.openclaw/skills/,<workspace>/skills/) - all confirmed eligible viaopenclaw skills check, but only a subset visible to the agent at runtime due to truncation