openclaw-github-repo-commander – Coding skill for AI agents
7-stage super workflow for GitHub repo audit, cleanup, PR review, and competitor analysis
Install the openclaw-github-repo-commander skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-github-repo-commander-74359.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /openclaw-github-repo-commander – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-github-repo-commander-74359.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $openclaw-github-repo-commander – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-github-repo-commander-74359.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /openclaw-github-repo-commander – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/openclaw-github-repo-commander-74359.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /openclaw-github-repo-commander – then describe the task you want done.
SKILL.md content
OpenClaw GitHub Repo Commander
Overview
A structured 7-stage super workflow for comprehensive GitHub repository management. This skill automates repository auditing, cleanup, competitor benchmarking, and optimization — turning a messy repo into a clean, well-documented, production-ready project.
When to Use This Skill
- Use when you need to audit a repository for secrets, junk files, or low-quality content
- Use when the user says "clean up my repo", "optimize my GitHub project", or "audit this library"
- Use when reviewing or creating pull requests with structured analysis
- Use when comparing your project against competitors on GitHub
- Use when running
/super-workflowor/openclaw-github-repo-commanderon a repo URL
How It Works
Stage 1: Intake
Clone the target repository, define success criteria, and establish baseline metrics.
Stage 2: Execution
Run bash scripts/repo-audit.sh <repo-path> from this skill directory — automated read-only checks for:
- Hardcoded secrets (
ghp_,sk-,AKIA, etc.) - Tracked
node_modules/or build artifacts - Empty directories
- Large files (>1MB)
- Missing
.gitignorecoverage - Broken internal README links
Stage 3: Reflection
Deep manual review beyond automation: content quality, documentation consistency, structural issues, version mismatches.
Stage 4: Competitor Analysis
Search GitHub for similar repositories. Compare documentation standards, feature coverage, star counts, and community adoption.
Stage 5: Synthesis
Consolidate all findings into a prioritized action plan (P0 critical / P1 important / P2 nice-to-have).
Stage 6: Iteration
Execute the plan: delete low-value files, fix security issues, upgrade documentation, add CI workflows, update changelogs.
Stage 7: Validation
Re-run applicable checks and report exact coverage/warnings. The bundled helper has six broad checks, excludes workflows and distinguishes neither all tracked/local files nor every secret format; a clean result is not security certification. Push or PR only through the actual repository workflow and user-authorized scope.
Examples
Example 1: Full Repo Audit
/openclaw-github-repo-commander https://github.com/owner/my-repoRuns all 7 stages and produces a detailed before/after report.
Example 2: Quick Cleanup
Clean up my GitHub repo — remove junk files, fix secrets, add .gitignoreExample 3: Competitor Benchmarking
Compare my skill repo with the top 5 similar repos on GitHubBest Practices
- ✅ Always run Stage 7 validation before pushing
- ✅ Use semantic commit messages:
chore:,fix:,docs: - ✅ Check the
pr_todo.jsonfile for pending reviewer requests - ❌ Don't skip Stage 4 — competitor analysis reveals blind spots
- ❌ Don't commit
node_modules/or.envfiles
Security & Safety Notes
The helper distinguishes a clean no-match from scanner failure and reports failure as unavailable. It still uses limited heuristic patterns and exclusions; do not execute it on untrusted targets as a review shortcut or treat its output as complete secret coverage.
- The audit script scans for common secret patterns but excludes
.github/workflows/to avoid false positives - The bundled script is read-only: it reports findings and never deletes, rewrites, stages, commits, or pushes files
- All
ghCLI operations use the user's existing authentication — no credentials are stored by this skill - The skill never modifies files without explicit user confirmation in Stage 6
Source Attribution
Originally contributed by [@wd041216-bit](https://github.com/wd041216-bit) in [PR #340](https://github.com/sickn33/agentic-awesome-skills/pull/340). No standalone upstream repository is currently available for this skill.
License: MIT | Version: 4.0.0
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- opencode-delegate – Delegate coding tasks to the OpenCode CLI only when the user explicitly requests it…
- orchestrate-batch-refactor – Plan and execute large refactors with dependency-aware work packets and parallel analysis.
- papers-skill – Skill for academic research workflows: search Semantic Scholar (200M+ papers), inspect…
- parcel-coupon – Call parcel/courier coupon API to fetch one-stop logistics service coupons, including…
- penetration-testing – Perform basic penetration testing and security assessments.
- performance-engineer – Diagnose performance bottlenecks using profiling, traces, load tests, and observability…
- performance-management – Performance review register: review type, period, employee and reviewer, KPI, OKR and…
- performance-optimizer – Identifies and fixes performance bottlenecks in code, databases, and APIs. Measures…