Skip to content

feat: description-driven skill surfacing (#47 finding 2) - #66

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-47-description-surfacing
Jun 11, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
issue-47-description-surfacing

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Second item from the #47 audit, scoped to surfacing semantics only: no trigger field (the openclaw/Anthropic norm) now means description-driven — the new buildSkillsIndex emits a compact name/description/path index and skillMatches never auto-injects such skills. Explicit trigger: retains jsclaw's keyword/regex/attachment matching as a documented extension. Regression-tested against the token bomb (58 skills → index stays under one body's size). Finding 3 (wiring the index into the gateway/runner message path) deliberately untouched — note the index is built but still has no runtime consumer. Tests 140/140.

Skills without a trigger field (every openclaw/Anthropic skill) are
no longer always-inject — they surface via buildSkillsIndex: name +
description + path, body stays on disk until the agent reads it.
Explicit trigger keeps jsclaw's host-side matching as an extension.
Kills the token bomb: 58 upstream skills now cost index lines, not
58 bodies per prompt. CLI skill list/test updated for both kinds.
@melvincarvalho
melvincarvalho merged commit 89e2279 into gh-pages Jun 11, 2026
@melvincarvalho
melvincarvalho deleted the issue-47-description-surfacing branch June 11, 2026 20:22
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