feat(clawhub): Add OpenClaw ClawHub skill for Repomix#1279
Conversation
OpenClaw (327K+ GitHub stars) natively supports MCP and has a public skill registry (ClawHub) with 13,700+ skills. This adds a Repomix skill package ready for ClawHub publication, enabling OpenClaw users to pack and analyze codebases via messaging platforms (Slack, WhatsApp, Telegram, etc.). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
⚡ Performance Benchmark
Details
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1279 +/- ##
=======================================
Coverage 87.18% 87.18%
=======================================
Files 115 115
Lines 4324 4324
Branches 1002 1002
=======================================
Hits 3770 3770
Misses 554 554 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Code Review
This pull request adds a new OpenClaw ClawHub skill for Repomix, which provides instructions for an AI agent on how to use the repomix CLI. The documentation is comprehensive and well-structured. I've provided a few suggestions to improve the consistency and clarity of the examples and instructions, ensuring the AI agent can follow them without ambiguity.
Deploying repomix with
|
| Latest commit: |
644d43d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://17b00eab.repomix.pages.dev |
| Branch Preview URL: | https://worktree-openclaw.repomix.pages.dev |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
.agents/clawhub/SKILL.md (1)
152-155: Add private-repo/auth troubleshooting for remote mode.A common remote failure mode is missing auth for private repos (or API/rate-limit constraints). Add a short bullet to make troubleshooting complete.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.agents/clawhub/SKILL.md around lines 152 - 155, Add a short troubleshooting bullet about authentication and private repos under the existing "Network issues (remote)" section in .agents/clawhub/SKILL.md: mention missing auth/credentials for private repositories, API token or SSH key issues, and rate-limit/auth errors as a common cause and suggest verifying credentials, adding appropriate tokens/keys, and testing access (or using a local clone) to resolve remote failures.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.agents/clawhub/SKILL.md:
- Around line 54-60: Update the SKILL.md guidance that currently hardcodes
`/tmp` to use a cross-platform temp-path placeholder and OS-specific variants:
replace occurrences of `/tmp/<name>-analysis.xml` (e.g., in the "Pack a Local
Directory" example) with a neutral token like `<temp-dir>/<name>-analysis.xml`
and add brief alternate examples or notes showing Unix/macOS (e.g., $TMPDIR or
/tmp) and Windows (e.g., %TEMP%) forms; ensure you change the other instance
referenced (around lines 80-85) as well so the doc no longer assumes a
`/tmp`-only environment.
- Around line 110-122: The grep examples in SKILL.md use a hardcoded
/tmp/analysis.xml which is inconsistent with earlier examples; update each
command that references /tmp/analysis.xml (the four grep blocks shown) to use a
consistent placeholder like <output-file> instead, so examples match earlier
output conventions and avoid misleading users; keep the same flags and patterns
(e.g., grep -iE, -A/-B context, patterns like "export.*function|export.*class",
"authentication|auth", "router|route|endpoint|api",
"model|schema|database|query") but replace the filename token with
<output-file>.
---
Nitpick comments:
In @.agents/clawhub/SKILL.md:
- Around line 152-155: Add a short troubleshooting bullet about authentication
and private repos under the existing "Network issues (remote)" section in
.agents/clawhub/SKILL.md: mention missing auth/credentials for private
repositories, API token or SSH key issues, and rate-limit/auth errors as a
common cause and suggest verifying credentials, adding appropriate tokens/keys,
and testing access (or using a local clone) to resolve remote failures.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 9d45266d-3fd3-4f64-9a5b-7d56dde10ec9
📒 Files selected for processing (1)
.agents/clawhub/SKILL.md
This comment has been minimized.
This comment has been minimized.
- Add --output to local directory and file filter examples - Use <output-file> placeholder in grep examples for consistency - Add Windows %TEMP% note for cross-platform compatibility Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR Review (Updated) — feat(clawhub): Add OpenClaw ClawHub skill for RepomixStatus: Previous feedback addressed, looks good to merge ✅The latest commit (
Remaining minor item (non-blocking)Auth troubleshooting for private repos (CodeRabbit nitpick)Lines 152-155: The error handling section could mention authentication failures for private repos as a common remote failure mode. This was flagged as a nitpick by CodeRabbit and is not blocking. No new issues foundThe file is well-structured, the YAML frontmatter follows a reasonable schema, and the workflow documentation is clear and actionable for an AI agent consumer. Premortem Analysis
No blockers remaining. Reviewed by Claude (updated review after fix commit) |
Add a Repomix skill for OpenClaw's ClawHub skill registry, enabling OpenClaw users to pack and analyze codebases via messaging platforms (Slack, WhatsApp, Telegram, etc.).
The skill has already been published to ClawHub and is available for installation:
clawhub install repomixWhat is OpenClaw?
OpenClaw is an open-source autonomous AI agent (327K+ GitHub stars) that connects LLMs to 20+ messaging platforms. It natively supports MCP and has a public skill registry (ClawHub) with 13,700+ community skills.
What this skill does
File added
.agents/clawhub/SKILL.md— OpenClaw ClawHub skill definition (YAML frontmatter + Markdown instructions)Checklist
npm run testnpm run lint