Skip to content
Skillv1.0.0

openclaw-github-repo-commander

7-stage super workflow for GitHub repo audit, cleanup, PR review, and competitor analysis

by Hank0503oUo(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from Hank0503oUo/agent-skills-collection (_meta-tooling/openclaw-github-repo-commander/SKILL.md). Install upstream with npx skills add Hank0503oUo/agent-skills-collection --skill openclaw-github-repo-commander. Copyright stays with the author.

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-workflow or /openclaw-github-repo-commander on a repo URL

How It Works

Stage 1: Intake

Clone the target repository, define success criteria, and establish baseline metrics.

Stage 2: Execution

Run scripts/repo-audit.sh — automated checks for:

  • Hardcoded secrets (ghp_, sk-, AKIA, etc.)
  • Tracked node_modules/ or build artifacts
  • Empty directories
  • Large files (>1MB)
  • Missing .gitignore coverage
  • 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 the audit script (target: 7/7 PASS), verify all changes, push to GitHub, and deliver a full report.

Examples

Example 1: Full Repo Audit

/openclaw-github-repo-commander https://github.com/owner/my-repo

Runs 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 .gitignore

Example 3: Competitor Benchmarking

Compare my skill repo with the top 5 similar repos on GitHub

Best Practices

  • ✅ Always run Stage 7 validation before pushing
  • ✅ Use semantic commit messages: chore:, fix:, docs:
  • ✅ Check the pr_todo.json file for pending reviewer requests
  • ❌ Don't skip Stage 4 — competitor analysis reveals blind spots
  • ❌ Don't commit node_modules/ or .env files

Security & Safety Notes

  • The audit script scans for common secret patterns but excludes .github/workflows/ to avoid false positives
  • All gh CLI 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 Repository

github.com/wd041216-bit/openclaw-github-repo-commander

License: MIT | Version: 4.0.0

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/hank0503ouo-agent-skills-collection-openclaw-github-repo-70c046/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

hank0503ouo-agent-skills-collection-openclaw-github-repo-70c046.ocm.jsonjson
{
  "ocm": "1",
  "id": "hank0503ouo-agent-skills-collection-openclaw-github-repo-70c046",
  "kind": "skill",
  "name": "openclaw-github-repo-commander",
  "description": "7-stage super workflow for GitHub repo audit, cleanup, PR review, and competitor analysis",
  "publisher": "Hank0503oUo",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github",
      "git",
      "repository",
      "audit",
      "cleanup",
      "workflow",
      "devtools",
      "automation",
      "code-review"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "7-stage super workflow for GitHub repo audit, cleanup, PR review, and competitor analysis"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/Hank0503oUo/agent-skills-collection",
      "path": "_meta-tooling/openclaw-github-repo-commander/SKILL.md",
      "ref": "9d7d648661b82fd3efb0c56ac5911517e07acb4d",
      "url": "https://github.com/Hank0503oUo/agent-skills-collection/blob/9d7d648661b82fd3efb0c56ac5911517e07acb4d/_meta-tooling/openclaw-github-repo-commander/SKILL.md",
      "key": "Hank0503oUo/agent-skills-collection/_meta-tooling/openclaw-github-repo-commander/SKILL.md"
    }
  },
  "instructions": "# OpenClaw GitHub Repo Commander\n\n## Overview\n\nA 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.\n\n## When to Use This Skill\n\n- Use when you need to audit a repository for secrets, junk files, or low-quality content\n- Use when the user says \"clean up my repo\", \"optimize my GitHub project\", or \"audit this library\"\n- Use when reviewing or creating pull requests with structured analysis\n- Use w",
  "cost": {
    "context_tokens": 769
  }
}

Fetch it by URL: GET /api/v1/registry/hank0503ouo-agent-skills-collection-openclaw-github-repo-70c046/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.