Repository navigation
fix(templates): Template tabs omit skills, plugins and heartbeat work bundled as workspace files - #4614
Conversation
…detail tabs Templates can deliver skills, plugins and heartbeat work through workspace files instead of declared dependencies. The detail page only read the dependency inventory, so those Templates showed empty Skills, Plugins and Automations tabs while the same files appeared under Workspace files. Project workspace destinations that OpenClaw discovers natively into the matching tab, labeled as workspace files. The projection is display-only and leaves the stored inventory, summary counts and validation unchanged.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Before/after from a local ClawHub ( After (this branch), desktop After (this branch), mobile 390px Before ( Plugins and Automations are unchanged for this Template because it bundles neither; those entries are covered by component tests only. |
|
Codex review: needs changes before merge. What this changesThis PR adds workspace-file skills, plugins, and heartbeat work to the corresponding Template detail tabs. Example: Browse MyFitnessClaw 0.2.3 and open Skills.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored PR addresses a current display omission, but its recursive skill matcher also lists nested files that OpenClaw does not discover as separate skills. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Template route loads release-pinned CLAW.md and package metadata; the detail component combines declared dependencies with browser-derived workspace destinations to render content tabs. flowchart LR
A[Release metadata] --> C[Template route]
B[Pinned CLAW document] --> C
C --> D[Validated manifest]
D --> E[Workspace projection]
A --> F[Dependency inventory]
E --> G[Template content tabs]
F --> G
Technical reviewBest possible solution: Keep the display-only projection and exclude descendant skill documents beneath an already identified skill directory. Do we have a high-confidence way to reproduce the issue? Current-main source establishes the omission, and inspected before/after screenshots demonstrate it for MyFitnessClaw; no target code was executed during this review. Is this the best way to solve the issue? The detail-page projection is the appropriate layer because workspace files are distinct from declared dependencies, but recursive matching must respect OpenClaw's parent-skill boundary rather than inflate the displayed inventory. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f45b690c9596. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 3:10 PM ET / 20:10 UTC. |
OpenClaw stops descending once a directory holds SKILL.md, so a nested document is a support file of that skill and must not be listed or counted as another one. Extend the published-Template e2e to cover the workspace skill, plugin and heartbeat rows on a real local instance.
|
Addressed the review finding in Nested Browser evidence for the plugin and heartbeat rows. Screenshots from that run (synthetic fixture Template |







What Problem This Solves
Fixes: the Skills, Plugins and Automations tabs on a Template page say nothing is included when the Template delivers those contents as workspace files, for example a skill at
skills/food-diary/SKILL.md.User Impact
User impact: people browsing a Template such as MyFitnessClaw now see its workspace skill in the Skills tab instead of "No skills are included in this Template."
The entries are labeled "Workspace file" with their workspace path. Stored dependency inventory, summary counts on cards and API responses, and validation are unchanged.
Why This Change Was Made
The tabs only read the declared
skills/pluginsdependency inventory and theautomationslist. Workspace files land in the new agent's workspace, where OpenClaw discovers some locations natively, so the page now projects those destinations into the matching tab:skills/**/SKILL.mdand.agents/skills/**/SKILL.mdunder Skills.openclaw/extensions/<id>/openclaw.plugin.jsonunder PluginsHEARTBEAT.mdunder Automations, since Template Add converts it into interval automationsThe projection is display-only and derived in the browser from the pinned
CLAW.md. Other workspace files stay only under Workspace files, including guides that describe optional automations (MyFitnessClaw'sreference/automations.mdstates that no jobs are enabled, so its Automations tab stays empty). The count label changes from "N declared" to "N included" because it now covers both sources. The intent is recorded inspecs/templates.mdanddocs/templates.md.Evidence
Browser proof comes from a local ClawHub (
http://localhost:3411/ameliomansour/templates/myfitnessclaw,vite devreading the production Convex backend read-only) rendering the published MyFitnessClaw 0.2.3 release. Before ismainat4f09f75e121; after is this branch. Screenshots are in the first comment.skills/food-diary/SKILL.mdChecks:
vitest run 'src/routes/$owner/templates/-$slug.test.tsx': 57 passed on this branch. With only the product files reverted tomain, the two new tests and the updated count assertion fail (3 failed, 54 passed).bun run ci:types-build: passed.bun run ci:static: passed, with the format step run through the CI-pinned Bun 1.4.4 because the local Bun 1.4.0 has nobun fmt.bun run ci:unit: 9,623 passed, 22 skipped, 12 failed. All 12 failures are subprocess timeouts in six untouchedscripts/security/*scanner test files on this machine; nosrc/test failed.--mode branch --base origin/main --max-priority P3, OpenClaw engine,gpt-6.1-sol): scoped-clean, no accepted findings.The Plugins and heartbeat rows are covered on a real local instance by
e2e/local-auth/exact-template-artifact.pw.test.ts, which publishes a Template shipping a workspace skill, a workspace plugin manifest andHEARTBEAT.mdand asserts all three rows at four viewports. It passed locally; screenshots are in the second proof comment. That run also confirms the stored inventory and summary counts are unchanged.Review follow-up (
30183d2399a): aSKILL.mdnested below an identified workspace skill is no longer listed, matching OpenClaw's discovery, which stops descending once a directory holdsSKILL.md.