Claude Skill Code Cleanup
Claude Code skill: auto-scan SKILL.md / prompt / codebase for duplicates, naming drift, modularizable blocks, oversized files. Companion to claude-skill-social-post.
Asset-Profil
Coding- und Entwickler-Agents
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Szenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent-Fit
Claude Code + OpenAI Agents + CLI
Geeignet für Codex, Claude Code, Cursor, CLI oder benutzerdefinierte Agents.
Installieren
Bereit
npx skills add Hao0321/claude-skill-code-cleanup
Wartung
Aktuell
12 Tage seit dem letzten Push
Risiko
Prüfung nötig
Dependency or permission surface needs review
GitHub-Qualität
52
75/100 Qualität · 74/100 Vertrauen
Abdeckungs-Tags
Review-Notizen
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent-Adoptionskarte
Vertrauen, Audit und Installationsbereitschaft auf einen Blick
Diese Werte kombinieren öffentliche Repository-Metadaten, OpenAgentSkill-Reviewsignale, Wartungsaktualität und Installationsbereitschaft. Sie helfen bei der Vorauswahl, ersetzen aber keine menschliche Prüfung.
Qualität
StarkSolid option that is likely worth shortlisting for production workflows.
Vertrauen
Nur SandboxNützlicher Kandidat mit fehlenden oder gemischten Vertrauenssignalen. Bis der Ergebniszyklus die Passung belegt, in einem isolierten Arbeitsbereich verwenden.
Audit
Prüfung nötigMaschinenlesbare Prüfung von Installationsbereitschaft, Sicherheitsmetadaten, Wartung und Akzeptanzrisiko.
OpenAgentSkill Trust Score v5
Menschliche Prüfung vor Installation
Nur in einer Sandbox ausführen und nahe Alternativen vergleichen, bevor sie produktiv eingesetzt wird.
Stars
52 GitHub-Stars
Repository-Aktivität
52 Stars und 8 Forks
Wartung
12 Tage seit dem letzten Push
Lizenz
MIT
Installieren
npx skills add Hao0321/claude-skill-code-cleanup
Installationssicherheit
Standard-Paket- oder Laufzeit-Installationspfad
Berechtigungsfläche
secrets or environment access, shell or command execution
Agent-Ergebnisse
Noch keine Agent-Ergebnisdaten
Dokumentation
Starker README/SKILL.md-Kontext
Risikoübersicht
Vor Produktion prüfen
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- GitHub adoption: 52 GitHub stars
- Stars/forks activity: 52 stars, 8 forks; issue activity unavailable in current metadata
Installationsbereitschaft
Installationspfad verfügbar
- Installationspfad ist verfügbar
- Repository-Belege sind verfügbar
- Lizenz ist angegeben
- Noch keine Agent-Proven-Ergebnisbelege
Agent-lesbare Metadaten
Maschinenlesbare Entscheidungsdaten für diesen Skill.
Nutze diesen Block oder das eingebettete JSON, um zu entscheiden, ob ein Agent diesen Skill installieren, eine Alternative wählen oder zuerst menschliche Prüfung anfordern soll.
Geeignete Aufgaben
- GitHub automation-Workflows
- Claude-Code-Teams
- builders willing to evaluate younger projects
- Inspect repository metadata
Geeignete Agents
Installationsentscheidung
- Befehl
- npx skills add Hao0321/claude-skill-code-cleanup
- Richtlinie
- Blockieren
- Menschliche Prüfung
- Ja
Vertrauen und Risiko
- Vertrauen
- 66/100
- Audit
- 81/100
- Risikoebene
- Prüfung nötig
Ergebnis-Loop
- Endpoint
- /api/agent/outcome
- Event-ID
- resolve
- Ergebnisse
- 5
Installationsbefehl
npx skills add Hao0321/claude-skill-code-cleanupNicht verwenden, wenn
- Teams, die ein vom Anbieter unterstütztes SLA benötigen
- Hochregulierte Umgebungen ohne interne Sicherheitsprüfung
- No major risk signals from current metadata
- Hinweise auf Hochrisiko-Berechtigungen: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Alternative
Opencode
200.7K Stars
npx skills add anomalyco/opencode
Alternative
Code Review
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
Grill With Docs
164.7K Stars
npx skills add mattpocock/skills --skill grill-with-docs
Alternative
To Spec
164.7K Stars
npx skills add mattpocock/skills --skill to-spec
Agent-Sicherheit v2
41/100 · Automatische Installation vermeiden
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
Hoch
Shell- oder Befehlsausführung
Die Skill-Metadaten verweisen auf Terminal-, CLI-, Shell-, Subprozess- oder Befehlsausführungs-Workflows.
Mittel
Netzwerkzugriff
Die Skill ruft wahrscheinlich Remote-Seiten, APIs, Repositories oder externe Dienste ab.
Mittel
Dateisystemzugriff
Die Skill kann Projektdateien, Dokumente, generierte Artefakte oder den lokalen Arbeitsbereich lesen oder schreiben.
Hoch
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- Hinweise auf Hochrisiko-Berechtigungen: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Installationsziele
Diesen Skill im Agent-Workflow installieren
Über den öffentlichen Endpunkt erhältst du Befehl, Sicherheitscheckliste, Ziel-Prompts und kanonische Links.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install hao0321-claude-skill-code-cleanupAgent-Auflösungsplan
Lass einen Agent die Eignung vor der Installation prüfen.
Die Resolve API liefert die beste Skill, Alternativen, Sicherheitsrichtlinien, Auditnotizen, Installationsziel und einen direkt nutzbaren Prompt.
JSON öffnen
/api/agent/resolve?task=Use%20Claude%20Skill%20Code%20Cleanup%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve-Text
/api/agent/resolve?task=Use%20Claude%20Skill%20Code%20Cleanup%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Installationsübergabe
/api/skills/hao0321-claude-skill-code-cleanup/install
Agent sollte prüfen
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Prompt kopieren
Task: Use Claude Skill Code Cleanup in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20Claude%20Skill%20Code%20Cleanup%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/hao0321-claude-skill-code-cleanup/install
Install command: npx skills add Hao0321/claude-skill-code-cleanup
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent-Übergabe
Gib dem Agent den Installationspfad, nicht noch ein Verzeichnis.
Über den öffentlichen Endpunkt erhältst du Befehl, Sicherheitscheckliste, Ziel-Prompts und kanonische Links.
Installationsübergabe
/api/skills/hao0321-claude-skill-code-cleanup/install
LLM-Textformat
/api/skills/hao0321-claude-skill-code-cleanup/install?format=text
Alternativen finden
/api/skills/search?q=Claude%20Skill%20Code%20Cleanup&limit=3
Agent-Prompt
Use Claude Skill Code Cleanup for this task. Review https://www.openagentskill.com/api/skills/hao0321-claude-skill-code-cleanup/install, then install with: npx skills add Hao0321/claude-skill-code-cleanupRegistry-Metadaten
Agent-lesbares Profil für die automatische Skill-Auswahl.
Die Registry API stellt Entscheidungs-, Vertrauens-, Audit-, Use-Case- und Installationssignale ohne UI-Scraping bereit.
Manifest
/api/registry/manifest/hao0321-claude-skill-code-cleanup
LLM-Text
/api/registry/manifest/hao0321-claude-skill-code-cleanup?format=text
Installationsalias
/api/registry/install/hao0321-claude-skill-code-cleanup
Empfehlen
/api/registry/recommend?task=Use%20Claude%20Skill%20Code%20Cleanup%20in%20an%20agent%20workflow&limit=3
Agent-Fit
GitHub automation
Use-Case-Tags
Plattformen
Python, Claude Code, OpenAI Agents
Audit-Bericht
Prüfung nötig · 81/100
Maschinenlesbare Prüfung von Installationsbereitschaft, Sicherheitsmetadaten, Wartung und Akzeptanzrisiko.
Agent-Entscheidungspanel
Companion skill for GitHub automation
Shortlist this skill and compare it with close alternatives before production adoption.
Rolle im Stack
Ergänzende Skill
Primäre Eignung
GitHub automation
Vertrauenslabel
Starke Shortlist
Installationspfad
Befehl bereit
Verwenden wenn
- GitHub automation-Workflows
- Claude-Code-Teams
- builders willing to evaluate younger projects
Evidenz
- recent repository activity
- install command or GitHub repo available
- Qualitätsprofil 75/100
- 2 OpenAgentSkill-Interaktionen
zuerst prüfen
- No major risk signals from current metadata
Implementierungspfad
- 1Installieren Sie es in einem Sandbox-Agent und führen Sie eine GitHub automation-Aufgabe vollständig aus.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Vertrauensprofil
Nur Sandbox
Nützlicher Kandidat mit fehlenden oder gemischten Vertrauenssignalen. Bis der Ergebniszyklus die Passung belegt, in einem isolierten Arbeitsbereich verwenden.
GitHub-Akzeptanz
Prüfen52 GitHub-Stars
Star-/Fork-Aktivität
Prüfen52 Stars und 8 Forks; Issue-Aktivität ist in den aktuellen Metadaten nicht verfügbar
Aktuelle Wartung
Bestanden12 Tage seit dem letzten Push
Lizenzklarheit
BestandenMIT
Positive Signale
- KI-Prüfung genehmigt
- Installationspfad ist verfügbar
- Repository-Belege sind verfügbar
- Kürzlich gewartetes Repository
- Der Installationsbefehl weist kein offensichtliches Hochrisikomuster auf
- Ergebniszyklus ist bereit, benötigt aber den ersten echten Agent-Lauf
Vor Installation prüfen
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- GitHub adoption: 52 GitHub stars
- Stars/forks activity: 52 stars, 8 forks; issue activity unavailable in current metadata
- Dependency/runtime risk: command execution surface, credential or environment access
- Permission surface: secrets or environment access, shell or command execution
- Noch keine echten Agent-Ergebnisberichte
- Vor unbeaufsichtigter Installation ist menschliche Prüfung erforderlich
Empfohlene Aktion
Nur in einer Sandbox ausführen und nahe Alternativen vergleichen, bevor sie produktiv eingesetzt wird.
Qualitätsprofil
Stark Kandidat für Agent-Workflows
Solid option that is likely worth shortlisting for production workflows.
Workflow-Eignung
Diese Skill in diesen Szenarien nutzen
Manage repositories
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Build and ship code
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Search private knowledge
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Workflow-Eignung
Zum vollständigen Workflow hinzufügen
Inspect, patch, and verify code
Coding review agent
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Ingest, retrieve, and cite
RAG knowledge base
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Alternativen-Shortlist
Vor Installation vergleichen
Similar skills that may fit this task.
Opencode
The open source coding agent.
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Grill With Docs
A relentless interview that pressure-tests a plan against the codebase, sharpens domain language, and updates CONTEXT.md and ADRs when decisions become durable.
To Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
Übersicht
# code-cleanup-helper
一個可安裝到 Codex 或 Claude Code 的 read-only code/skill/repository audit skill。
目前版本:**v0.5.0**。它把兩種互補能力放在同一套工作流:
- deterministic audit:重複段落、永久 ID、長檔、private/public sync、release、broken links、版本/事實漂移、skill metadata 與 privacy token。 - semantic scan:規則內容漂移、SoT 孤島、gate 自我認證與「文件裁決沒有機械落地」。
## v0.5.0 新增什麼
- `scripts/audit.py` 與可重用的 `audit_core.py`。 - PASS/FAIL/NOT_CHECKED 三態,不再把「沒辦法查」算成通過。 - Human/JSON report、`--strict` CI mode、跨平台 UTF-8。 - `audit.config.json` 的 exclude、threshold、sync、drift assertion、privacy allowlist。 - 從 repo root 遞迴檢查 nested skills、各自的 `agents/openai.yaml` 與 reference 導航。 - Privacy literal token 與 regex pattern 分流;錯誤 regex 變成可讀 FAIL,不會炸掉 audit。 - link、drift、sync 專用 CLI 與 dependency-free self-test。 - 保留 v0.4.1 的 `cleanup_scan.py`,不讓新 deterministic engine 取代既有語意掃描能力。
## 安裝
```bash git clone https://github.com/Hao0321/claude-skill-code-cleanup.git ```
Codex(Windows PowerShell):
```powershell New-Item -ItemType Directory -Force "$env:USERPROFILE\.codex\skills" | Out-Null Copy-Item -Recurse ".\claude-skill-code-cleanup\code-cleanup-helper" "$env:USERPROFILE\.codex\skills\code-cleanup-helper" ```
Claude Code:把 `.codex\skills` 改成 `.claude\skills`。macOS/Linux 可複製到 `~/.codex/skills/` 或 `~/.claude/skills/`。
## 快速開始
```powershell cd code-cleanup-helper $env:PYTHONUTF8='1'
# deterministic A+B audit python scripts/audit.py C:\path\to\repo --mode all
# machine-readable report python scripts/audit.py C:\path\to\repo --mode all --format json
# semantic deep scan python cleanup_scan.py C:\path\to\repo ```
CI 要在有 FAIL 時回傳非零 exit code,才加 `--strict`:
```powershell python scripts/audit.py C:\path\to\repo --mode all --strict ```
## 兩個引擎怎麼選
| 問題 | 工具 | |---|---| | Broken link、版本宣告、ID range、sync、隱私 token | `scripts/audit.py` | | Exact paragraph duplication、長檔、skill metadata | `scripts/audit.py` | | 同一規則 ID 在不同文件講不同話 | `cleanup_scan.py` | | 姊妹模組互不引用、gate 只有自建 fixture | `cleanup_scan.py` | | Release 前完整健檢 | 兩個都跑 |
## 設定
把 [`audit.config.examp
Plattformkompatibilität
Technische Details
- Version
- 1.0.0
- Lizenz
- MIT
- Letzte Aktualisierung
- 18. Aug. 2026
- Veröffentlicht
- 11. Aug. 2026
Frameworks & Tools
Entscheidungsübersicht
Ergänzende Skill
recent repository activity
Audit
Installationsprüfung
Installations- und Adoptionsprüfung
- Sicherheit
- 80/100
- Wartung
- 100/100
- Installieren
- 92/100
Von Agent belegte Evidenz
Von Agent belegte Evidenz
Ergebnisberichte nach Resolve, Prüfung, Installation und einem begrenzten Lauf.
- Erfolgsrate
- —
- Letzter Fehler
- —
- Ergebnisse
- 0
- Ausgabequalität
- —
- Fehlgeschlagen
- 0
- Nicht relevant
- 0
- Installationen
- 0
- Durch Risiko blockiert
- 0
- Einrichtung erforderlich
- 0
- Produktion
- 0
Noch keine Agent-Ergebnisdaten. Der erste Lauf kann Erfolg, Einrichtungsbedarf, Risikoblockaden, Fehler oder Irrelevanz über /api/agent/outcome melden.
Installieren
Zum Agent-Workflow hinzufügen
Kostenlos und Open Source. Bericht vor der Installation in Produktions-Agents prüfen.
Wachstums-Loop
Share-Kit
Szenariobasierter Entwurf für Claude Skill Code Cleanup, bereit für einen manuellen X-Post.
Claude Skill Code Cleanup: A read-only audit skill for Claude Code/Codex that scans SKILL.md, prompts, and codebases for... 52 stars https://www.openagentskill.com/skills/hao0321-claude-skill-code-cleanup?ref=x
Optionale Antwort mit Installationsbefehl
Listing + install path for Claude Skill Code Cleanup: https://www.openagentskill.com/skills/hao0321-claude-skill-code-cleanup?ref=x Install: npx skills add Hao0321/claude-skill-code-cleanup
Quelle des Eintrags
Community-indexiert
Dieser Eintrag wurde aus öffentlichen Quellen indexiert und ist erst nach Genehmigung eines Maintainer-Anspruchs offiziell.
- Ersteller
- Hao0321
- Indexiert von
- OpenAgentSkill Community-Index
Die Zuordnung verlinkt auf das öffentliche Repository oder Creator-Profil. Creator können den Eintrag beanspruchen, um Eigentümersignale zu aktualisieren.
Diesen Skill beanspruchenEigentümeranspruch
Diesen Skill-Eintrag beanspruchen
Dieser Community-indexiert-Eintrag wird Hao0321 zugeschrieben, ist aber noch nicht offiziell markiert. Beanspruche ihn, um ein verifiziertes Eigentümersignal hinzuzufügen und künftige Launch-, Installations- und Audit-Updates vertrauenswürdiger zu machen.
Creator-Backlink-Kit
Evidenz-Badges in deine README einfügen
Zeige den kanonischen Eintrag, aktuelle Vertrauens- und Audit-Signale sowie echte Agent-Proven-Evidenz dort, wo Entwickler das Repository bewerten.
[](https://www.openagentskill.com/skills/hao0321-claude-skill-code-cleanup)
[](https://www.openagentskill.com/skills/hao0321-claude-skill-code-cleanup)
[](https://www.openagentskill.com/skills/hao0321-claude-skill-code-cleanup/audit)
[](https://www.openagentskill.com/skills/hao0321-claude-skill-code-cleanup)Autor
Hao0321
@hao0321
Plattform-Fit
Gesundheitssignale
- GitHub-Stars
- 52
- Qualitätswert
- 47/100
- Letzter GitHub-Push
- 11. Aug. 2026
- Framework-Hinweise
- 1
- OpenAgentSkill-Aufrufe
- 2
- Installationskopien
- 0
- Externe Klicks
- 0
Community-Signal
Teile mit, ob dieser Skill für deinen Agent-Workflow nützlich ist. Zusammengefasstes Feedback verbessert das Ranking im Laufe der Zeit.
Vertrauen & Sicherheit
Nur Sandbox
- GitHub-Akzeptanz52 GitHub-StarsPrüfen
- Star-/Fork-Aktivität52 Stars und 8 Forks; Issue-Aktivität ist in den aktuellen Metadaten nicht verfügbarPrüfen
- Aktuelle Wartung12 Tage seit dem letzten PushBestanden
- LizenzklarheitMITBestanden
- README/SKILL.md-VollständigkeitMetadaten enthalten ausreichend Nutzungs- und Workflow-KontextBestanden
- Abhängigkeits-/Laufzeitrisikocommand execution surface, credential or environment accessPrüfen
Ähnliche Skills
Opencode
The open source coding agent.
200.7K StarsCode Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsGrill With Docs
A relentless interview that pressure-tests a plan against the codebase, sharpens domain language, and updates CONTEXT.md and ADRs when decisions become durable.
164.7K StarsTo Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
164.7K Stars