Skip to content

docs(openclaw): pass display names when publishing the task skills - #599

Merged
andyMrtnzP merged 2 commits into
mainfrom
docs/openclaw-skill-names
Dec 1, 2026
Merged

andyMrtnzP merged 2 commits into
mainfrom
docs/openclaw-skill-names

Conversation

@AlexLoyola

@AlexLoyola AlexLoyola commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The maintainer publish commands in openclaw/README.md now pass --name for each task skill: Browserless Web Scraper, Browserless Browser Automation and Browserless Site Audit.
  • Without --name, ClawHub shows the slug (browserless-web-scraper) as the display name. The three skills were republished as 1.0.1 with these names; keeping them in the commands stops the next publish from reverting them.

Docs-only change under openclaw/, which release-please excludes, so it doesn't affect npm releases.

Test plan

  • clawhub skill publish ... --name "<display name>" --dry-run for all three skills (clawhub 0.27.0)
  • Published 1.0.1 of each skill with these names (pending ClawHub's security scan)
  • Prettier

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated publishing instructions to require a skill display name, helping ensure skills appear on ClawHub with the intended name.

Without --name, ClawHub shows each skill's slug as its display name. The
skills were republished as 1.0.1 with these names; keeping them in the
publish commands stops the next release from reverting them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: bb056727-8f15-4c63-84f8-9a1e4e01e190
Commits

Reviewing files that changed from the base of the PR and between ce6bc6b and 2e98e18.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The README updates the clawhub skill publish examples to pass each skill’s display name with --name. It also explains that ClawHub uses the skill slug as the display name when --name is omitted.

Changes

OpenClaw skill publishing

Layer / File(s) Summary
Publish command documentation
openclaw/README.md
The examples pass a display name with --name, and shift the category and topic arguments to $3 and $4. The README notes that ClawHub otherwise uses the skill slug as the display name.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other · Severity of issue fixed: Low

Possibly related PRs

Suggested reviewers: chloequijano

Merge Risk: Minimal · previous review ce6bc

This documentation-only change makes the publish commands preserve each skill's display name instead of reverting to its slug. It does not affect runtime behavior, so there is no meaningful merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the docs(openclaw) scope and the change of passing display names when publishing the task skills. The raw summary confirms the README publish commands now pass --name for each skill, s…
Description check Passed The description follows the template's main sections: Summary, Test plan, and a closing note about scope. The Summary gives clear bullets on what changed and why. The Test plan lists the dry-run, the …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the docs(openclaw) scope and the change of passing display names when publishing the task skills. The raw summary confirms the README publish commands now pass --name for each skill, so the title matches the main change. It is concise, specific, and follows a conventional-commit style.

Full details: Description check

Explanation

The description follows the template's main sections: Summary, Test plan, and a closing note about scope. The Summary gives clear bullets on what changed and why. The Test plan lists the dry-run, the republish, and Prettier checks. The description omits the Related issues section, the Changes section (optional, since the summary covers it), and the Checklist. The template's npm test, lint, coverage, and Browserless smoke-test items do not apply to a docs-only change, and the description does not mark them N/A. The Checklist items are also absent. These gaps are non-critical for a docs-only PR.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks each name with care,
And passes it along to share.
The slug stays put in its own place,
The display name appears with grace.
The publish notes now show the way.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 7eaf11cf-6f33-4827-b8a7-8b2a18ce07cb
Commits

Reviewing files that changed from the base of the PR and between 2a3f951 and ce6bc6b.

Files selected for processing: 1

  • openclaw/README.md

Included review availability: This review used your included allowance. 8 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.

Xrazik1 pushed a commit that referenced this pull request Nov 26, 2026
## Summary

- `hosted agent run timeline browser` and `account widget browser
controls` fail intermittently in CI on both `main` and unrelated PRs.
This makes both tests deterministic.
- **Timeline focus:** the test asserts that "Jump to first failure"
focuses the failed row. A synthetic click doesn't give the widget iframe
focus in headless Chrome, and `focus()` inside an unfocused frame does
nothing. So the assertion depended on whether Chrome had already focused
the frame. Diagnostics confirmed the row expands correctly while
`doc.hasFocus()` is `false`. The test now focuses the frame first, as a
real click would, and asserts that it did. On macOS Chrome the test
failed every time before this change and passes every time after it.
- **Result timing:** both tests read their result from `--dump-dom`
after a `--virtual-time-budget`, so Chrome decided when to dump the
page. On a slow runner the dump could happen before the script finished,
which showed up as a `<pre>`-less dump (`undefined`) or a mocha timeout.
The host page now POSTs its PASS/FAIL text back to the test server, and
the test waits for that. If nothing arrives, it fails with a clear
timeout message and Chrome's stderr.

## Related issues

Refs #599 (where the failures showed up)

## Changes

- New `test/helpers/widget-browser.ts`: `runHostPage()` serves the
CSP-guarded widget, the host bundle and the host page, starts headless
Chrome, and resolves with the reported result. It always kills Chrome
and cleans up its profile directory.
- `REPORT_SCRIPT` gives host bundles a `report(text)` that sets the
`<pre>` text and posts it back.
- Both specs use the helper. The screenshot env vars
(`AGENT_RUN_SCREENSHOT_PATH`, `WIDGET_SCREENSHOT_PATH`) still work:
those runs keep the virtual time budget and wait for Chrome to write the
capture.
- No production code changes.

## Test plan

- [x] `npm test` passes locally, apart from `replay-drift.spec`
(`unverified retained replay`). That test also fails on unmodified
`main` on macOS because of a temp-path assertion, and it passes on Linux
CI.
- [x] `npm run lint` passes locally
- [ ] `npm run coverage` thresholds still met
- [ ] Manual smoke test against a real Browserless token (describe
below)
- [ ] N/A — docs / chore / refactor only

Both specs together, run locally:

- 15 times in a row: all passed.
- 6 times with every CPU core saturated: all passed.
- With the frame-focus step removed: fails with `Widget frame did not
take focus`.
- With the account page forced to hang: fails after 20s with `Page did
not report a result within 20000ms`, and leaves no Chrome process
behind.
- With both screenshot env vars set: both PNGs are written.

## Checklist

- [ ] I have read [CONTRIBUTING.md](../CONTRIBUTING.md)
- [x] My commits follow the conventional-commit prefix convention
- [ ] I have updated documentation where relevant (README, CHANGELOG,
etc.)
- [x] I have not introduced new dependencies without flagging them in
the summary

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Tests**
* Improved reliability of browser-based checks across account and agent
widgets, including clearer reporting of results.
* Added coverage for focusing the widget frame before checking the “Jump
to first failure” control; screenshot runs remain supported.
* Improved handling of browser startup failures, early exits, and
timeouts, with cleanup of browser processes and temporary resources
after each run.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@Xrazik1

Xrazik1 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Tested at ce6bc6b2 against main. No findings.

What I ran

  • Ran the README's publish_skill snippet against a stub clawhub that prints its arguments. Each display name ("Browserless Web Scraper", "Browserless Browser Automation", "Browserless Site Audit") arrives as one --name argument, and categories and topics keep their positions.
  • npx clawhub@latest skill publish --help lists --name <name> ("Display name"), so the flag exists in the current CLI.
  • The failing test (24.x) check fails on MCP auth and SSE tests; this PR only changes openclaw/README.md.

Security

  • No attack surface in the diff: Markdown only, 0 of 16 attack classes apply.

@andyMrtnzP
andyMrtnzP merged commit 5432e2c into main Dec 1, 2026
11 checks passed
@andyMrtnzP
andyMrtnzP deleted the docs/openclaw-skill-names branch December 1, 2026 21:57
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.

4 participants