Skip to content
Skillpedia
General coding48k · #3765

openclaw-github-repo-commander

Helps your agent analyze and organize GitHub repositories. It reviews code, cleans files, and compares with competitors.

What it does

This assistant helps organize and improve your GitHub projects. It checks for errors, cleans up unnecessary files, compares your project with similar ones, and suggests improvements.

When to use it

  • ✓When you want to check for secrets or unwanted files in a project.
  • ✓When you ask to 'clean up my project' or 'analyze my code'.
  • ✓When you want to compare your project with competitors on GitHub.

Example of what to ask your AI

“Analyze my GitHub project and tell me how to improve it.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/openclaw-github-repo-commander/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/openclaw-github-repo-commander/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It first copies your project for analysis. Then, it runs automatic checks to find issues like exposed secrets or large files. Afterward, it compares your project with similar ones and creates an action plan to make it cleaner and more professional.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill openclaw-github-repo-commander

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/openclaw-github-repo-commander/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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 <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 .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
  • The bundled script is read-only: it reports findings and never deletes, rewrites, stages, commits, or pushes files
  • 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 Attribution

Originally contributed by @wd041216-bit in PR #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.
FAQ

Can the assistant delete my files?

No, the assistant only identifies problems. It will only make changes after your explicit confirmation.

Does it check my code for programming errors?

It checks for common issues like exposed secrets, large files, and broken links, but it's not a full code reviewer.

What does 'competitor analysis' mean?

It means the assistant looks for other projects similar to yours on GitHub and compares how they are organized, documented, and popular.

Details

Original description by the author

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

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#3765
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills