You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Share the skills ecosystem with openclaw — one SKILL.md world #47
jsclaw already implements openclaw's SKILL.md format (YAML frontmatter, keyword/regex/attachment triggers, prompt injection) and has jsclaw skill list|install|remove — but install is local-path-only and format parity has never been verified against real openclaw skills. The opportunity: openclaw has a living ecosystem of skills; jsclaw should consume and contribute to it rather than fork it.
Scope
Format parity audit: take a representative set of real openclaw skills and run them through parseSkill/matchSkills; fix every delta (frontmatter fields, trigger semantics, attachment handling, prompt-injection placement). Parity is testable: a fixtures dir of upstream skills that must parse and trigger identically.
Install from anywhere: jsclaw skill install <url|owner/repo|path> — fetch a SKILL.md (or skill folder) over HTTPS/git, not just local paths. Zero-dep: fetch + git CLI.
Registry/hub compatibility: whatever discovery mechanism openclaw uses for sharing skills (hub, repo convention, index), support the same source format so one published skill serves both ecosystems.
Contribute back: publish jsclaw-grown skills in the same format; document "works with openclaw and jsclaw" as the authoring target.
Skills are the unit of capability-sharing. Compatible gateways (#45, protocol umbrella) make the clients shared; compatible skills make the behaviors shared. Together they mean jsclaw is a lightweight engine inside the openclaw ecosystem rather than an island.
Parity audit (2026-06-11) — real skills as fixtures
Ran all 58 skills bundled with openclaw 2026.6.1 plus 17 Anthropic-format skills from a live ~/.claude/skills through jsclaw's parseSkill/loadSkills/matchSkills. Verdict: format-compatible on paper, ecosystem-incompatible in practice. Findings, ranked:
1. Zero openclaw skills load — folder discovery missing (blocker)
loadSkills reads only flat *.md files in skillsDir. 74/75 real skills are folders (<name>/SKILL.md + scripts/resources). Parsing works; discovery doesn't. installSkill has the same single-file assumption, and folder skills reference their resources relatively, so install must copy the folder.
2. Trigger model is semantically wrong for upstream skills (architectural)
jsclaw fires skills via host-side trigger: keyword/regex, defaulting to * = always inject the body. openclaw/Anthropic skills have no trigger field — the model is description-driven: agents always see name+description and decide when to pull the body. Consequence today: installing the 58 openclaw skills injects all 58 bodies into every prompt — a token bomb. Parity means adopting description-driven surfacing (inject a skills index; body on demand), with jsclaw's trigger matching kept as an optional extension.
3. Skills aren't wired into the runtime at all
matchSkills/buildSkillContext have exactly one consumer: the CLI skill test command. Gateway, channels, and heartbeat never load or inject skills. The system is currently demo-ware — fixing 1 and 2 matters only once something consumes them on the message path.
4. Parsing is solid: 58/58 openclaw skills parse
(73/75 overall — both failures were local files with no frontmatter at all, not upstream skills.) The zero-dep YAML parser survives openclaw's nested JSON-in-YAML metadata without crashing.
5. Meaningful frontmatter silently dropped
metadata.openclaw.requires/install (dependency gating + installer machinery), user-invocable, allowed-tools, uses, author, homepage — parsed past and discarded. Minimum viable: preserve metadata on the Skill object and respect user-invocable; the installer machinery can stay unsupported-but-documented.
Revised scope order for this issue
Folder skills (discovery + install) — unlocks every fixture
Description-driven surfacing — the real compatibility work
Wire skills into the gateway message path
Preserve upstream frontmatter; document what's honored vs ignored
skill install <url|repo> and per-agent agents/<id>/skills/ as originally scoped
Fixture sources for regression: openclaw's bundled skills/ dir (58) + Anthropic-format skills (17).
Activity
melvincarvalho commentedon Jun 11, 2026
Parity audit (2026-06-11) — real skills as fixtures
Ran all 58 skills bundled with openclaw 2026.6.1 plus 17 Anthropic-format skills from a live
~/.claude/skillsthrough jsclaw'sparseSkill/loadSkills/matchSkills. Verdict: format-compatible on paper, ecosystem-incompatible in practice. Findings, ranked:1. Zero openclaw skills load — folder discovery missing (blocker)
loadSkillsreads only flat*.mdfiles inskillsDir. 74/75 real skills are folders (<name>/SKILL.md+ scripts/resources). Parsing works; discovery doesn't.installSkillhas the same single-file assumption, and folder skills reference their resources relatively, so install must copy the folder.2. Trigger model is semantically wrong for upstream skills (architectural)
jsclaw fires skills via host-side
trigger:keyword/regex, defaulting to*= always inject the body. openclaw/Anthropic skills have no trigger field — the model is description-driven: agents always see name+description and decide when to pull the body. Consequence today: installing the 58 openclaw skills injects all 58 bodies into every prompt — a token bomb. Parity means adopting description-driven surfacing (inject a skills index; body on demand), with jsclaw's trigger matching kept as an optional extension.3. Skills aren't wired into the runtime at all
matchSkills/buildSkillContexthave exactly one consumer: the CLIskill testcommand. Gateway, channels, and heartbeat never load or inject skills. The system is currently demo-ware — fixing 1 and 2 matters only once something consumes them on the message path.4. Parsing is solid: 58/58 openclaw skills parse
(73/75 overall — both failures were local files with no frontmatter at all, not upstream skills.) The zero-dep YAML parser survives openclaw's nested JSON-in-YAML
metadatawithout crashing.5. Meaningful frontmatter silently dropped
metadata.openclaw.requires/install(dependency gating + installer machinery),user-invocable,allowed-tools,uses,author,homepage— parsed past and discarded. Minimum viable: preservemetadataon the Skill object and respectuser-invocable; the installer machinery can stay unsupported-but-documented.Revised scope order for this issue
skill install <url|repo>and per-agentagents/<id>/skills/as originally scopedFixture sources for regression: openclaw's bundled
skills/dir (58) + Anthropic-format skills (17).Merge pull request #65 from jsclaw/issue-47-folder-skills
Merge pull request #66 from jsclaw/issue-47-description-surfacing
Merge pull request #67 from jsclaw/issue-47-skills-runtime