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.
供給アセットの概要
コーディングと開発 Agent
コードレビュー、リポジトリ分析、テスト、CI、GitHub、DevOps、開発ワークフロー向けのスキルです。
シナリオ
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent 適合
Claude Code + OpenAI Agents + CLI
Codex、Claude Code、Cursor、CLI、またはカスタム Agent に対応します。
インストール
準備完了
npx skills add Hao0321/claude-skill-code-cleanup
メンテナンス
新しい
最終プッシュから 12 日
リスク
要レビュー
Dependency or permission surface needs review
GitHub 品質
52
75/100 品質 · 74/100 信頼
対象タグ
レビュー注記
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent 導入スコアカード
信頼、監査、インストール準備状況を一目で確認
公開リポジトリのメタデータ、OpenAgentSkill のレビューシグナル、保守の鮮度、インストール準備状況を組み合わせたスコアです。候補選定の目安であり、人によるレビューの代替ではありません。
品質
強い本番ワークフローの候補に値する堅実な選択肢です。
信頼
サンドボックス限定信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。
監査
要レビューインストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。
OpenAgentSkill Trust Score v5
インストール前に人のレビュー
実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。
スター
GitHub スター 52
リポジトリ活動
スター 52、フォーク 8
メンテナンス
最終プッシュから 12 日
ライセンス
MIT
インストール
npx skills add Hao0321/claude-skill-code-cleanup
インストール安全性
標準パッケージまたはランタイムのインストールパス
権限範囲
secrets or environment access, shell or command execution
Agent の成果
Agent の成果データはまだありません
ドキュメント
README/SKILL.md の文脈が十分です
リスク概要
本番前にレビュー
- 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
インストール準備状況
インストールパスを利用可能
- インストールパスを利用できます
- リポジトリの根拠を利用できます
- ライセンスが明示されています
- Agent-Proven の成果エビデンスはまだありません
Agent 可読メタデータ
このスキルの機械可読な判断データ。
このブロックまたは埋め込み JSON を使い、Agent がこのスキルをインストールすべきか、代替を選ぶべきか、先に人のレビューを求めるべきかを判断できます。
適したタスク
- GitHub automation ワークフロー
- Claude Code チーム
- builders willing to evaluate younger projects
- Inspect repository metadata
適した Agent
インストール判断
- コマンド
- npx skills add Hao0321/claude-skill-code-cleanup
- ポリシー
- ブロック
- 人によるレビュー
- はい
信頼とリスク
- 信頼
- 66/100
- 監査
- 81/100
- リスクレベル
- 要レビュー
成果ループ
- エンドポイント
- /api/agent/outcome
- イベント ID
- resolve
- 成果
- 5
使わない場合
- ベンダー提供の SLA が必要なチーム
- 内部セキュリティレビューのない高コンプライアンス環境
- 現在のメタデータに重大なリスクシグナルはありません
- 高リスク権限のヒント: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
代替スキル
Code Review
168.6K スター
npx skills add mattpocock/skills --skill code-review
代替スキル
Grill With Docs
164.7K スター
npx skills add mattpocock/skills --skill grill-with-docs
代替スキル
To Spec
164.7K スター
npx skills add mattpocock/skills --skill to-spec
代替スキル
To Tickets
176.7K スター
npx skills add mattpocock/skills --skill to-tickets
Agent セーフティ v2
41/100 · 自動インストールを避ける
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.
高
Shell またはコマンド実行
Skill メタデータに端末、CLI、Shell、サブプロセス、またはコマンド実行のワークフローが含まれます。
中
ネットワークアクセス
Skill はリモートページ、API、リポジトリ、外部サービスにアクセスする可能性があります。
中
ファイルシステムアクセス
Skill はプロジェクトファイル、ドキュメント、生成物、ローカルワークスペース状態を読み書きする可能性があります。
高
Secrets or environment access
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
- 高リスク権限のヒント: Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
インストール先
Agent ワークフローにこのスキルをインストール
公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。
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 解決プラン
インストール前に Agent に適合性を検証させます。
Resolve API は第一候補、代替、安全ポリシー、監査メモ、インストール先、Agent がそのまま使えるプロンプトを返します。
JSON を開く
/api/agent/resolve?task=Use%20Claude%20Skill%20Code%20Cleanup%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve テキスト
/api/agent/resolve?task=Use%20Claude%20Skill%20Code%20Cleanup%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
インストール引き継ぎ
/api/skills/hao0321-claude-skill-code-cleanup/install
Agent が確認すべきこと
- Resolve API でタスク適合と代替を確認。
- 監査・信頼スコアと安全ポリシーの警告を確認。
- Codex、Claude Code、Cursor、CLI のインストール先互換性を確認。
プロンプトをコピー
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 引き継ぎ
別のディレクトリではなく、インストール経路を Agent に渡します。
公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。
インストール引き継ぎ
/api/skills/hao0321-claude-skill-code-cleanup/install
LLM テキスト形式
/api/skills/hao0321-claude-skill-code-cleanup/install?format=text
代替を探す
/api/skills/search?q=Claude%20Skill%20Code%20Cleanup&limit=3
Agent プロンプト
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 メタデータ
自動スキル選択用の Agent 可読プロファイル。
Registry API 経由で判断、信頼、監査、ユースケース、インストールのシグナルを提供し、UI をスクレイピングせずに Agent が順位付けできます。
Manifest
/api/registry/manifest/hao0321-claude-skill-code-cleanup
LLM テキスト
/api/registry/manifest/hao0321-claude-skill-code-cleanup?format=text
インストール別名
/api/registry/install/hao0321-claude-skill-code-cleanup
推奨
/api/registry/recommend?task=Use%20Claude%20Skill%20Code%20Cleanup%20in%20an%20agent%20workflow&limit=3
Agent 適合
GitHub automation
プラットフォーム
Python, Claude Code, OpenAI Agents
Agent 判断パネル
Companion skill for GitHub automation
本番採用前にこのスキルを候補化し、近い代替と比較してください。
スタック内の役割
補助スキル
主な適合
GitHub automation
信頼ラベル
有力候補
インストールパス
コマンド準備済み
使う場面
- GitHub automation ワークフロー
- Claude Code チーム
- builders willing to evaluate younger projects
根拠
- 最近のリポジトリ活動
- インストールコマンドまたは GitHub リポジトリが利用可能
- 品質プロファイル 75/100
- OpenAgentSkill エンゲージメント 2 件
先にレビュー
- 現在のメタデータに重大なリスクシグナルはありません
実装パス
- 1サンドボックスの Agent にインストールし、GitHub automation タスクを一度最初から最後まで実行します。
- 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.
信頼プロファイル
サンドボックス限定
信頼シグナルが不足または混在する有用な候補です。結果ループがタスク適合を示すまで、隔離されたワークスペースで使用してください。
GitHub 採用度
確認GitHub スター 52
スター/フォーク活動
確認スター 52、フォーク 8; 現在のメタデータでは Issue 活動を利用できません
最近のメンテナンス
合格最終プッシュから 12 日
ライセンスの明確さ
合格MIT
良いシグナル
- AI レビュー承認済み
- インストールパスを利用できます
- リポジトリの根拠を利用できます
- 最近保守されたリポジトリ
- インストールコマンドに明確な高リスクパターンはありません
- 成果ループは準備済みですが、最初の実行が必要です
インストール前にレビュー
- 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
- 実際の Agent 成果レポートはまだありません
- 無人インストールの前に人によるレビューが必要です
推奨アクション
実作業で使う前に、サンドボックスでのみ実行し、近い代替と比較してください。
品質プロファイル
強い Agent ワークフロー向けの候補
本番ワークフローの候補に値する堅実な選択肢です。
ワークフロー適合
このスキルを使うシナリオ
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.
ワークフロー適合
完全なワークフローに追加
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.
代替候補
インストール前に比較
このタスクに適する可能性のある類似スキル。
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.
To Tickets
Break a plan, spec, or conversation into independently actionable tracer-bullet tickets with explicit blocking relationships.
概要
# 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
プラットフォーム互換性
技術詳細
- バージョン
- 1.0.0
- ライセンス
- MIT
- 最終更新
- 2026年8月18日
- 公開日
- 2026年8月11日
フレームワークとツール
判断の要約
補助スキル
最近のリポジトリ活動
Agent 実証エビデンス
Agent 実証エビデンス
Resolve、レビュー、インストール、限定実行後の成果レポート。
- 成功率
- —
- 直近の失敗
- —
- 成果
- 0
- 出力品質
- —
- 失敗
- 0
- 非該当
- 0
- インストール数
- 0
- リスクによりブロック
- 0
- 設定が必要
- 0
- 本番
- 0
Agent の実行結果はまだありません。最初の実行では /api/agent/outcome を通じて成功、設定要件、リスクによるブロック、失敗、非該当を報告できます。
成長ループ
共有キット
Claude Skill Code Cleanup 用のシナリオベース草案です。X へ手動投稿できます。
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
任意:インストールコマンド付きの返信
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
掲載元
コミュニティにより登録
この掲載は公開ソースから登録されており、メンテナー申請が承認されるまで公式として表示されません。
- 作成者
- Hao0321
- インデックス作成者
- OpenAgentSkill コミュニティインデックス
帰属は公開リポジトリまたは作成者プロフィールにリンクされています。作成者は掲載を申請して所有権シグナルを更新できます。
このスキルを申請所有者の申請
このスキル掲載を申請
この コミュニティにより登録 掲載は Hao0321 に帰属していますが、まだ公式として表示されていません。申請すると、確認済み所有者シグナルが追加され、今後の公開、インストール、監査更新の信頼性が高まります。
クリエイター被リンクキット
README にエビデンスバッジを追加
開発者がリポジトリを評価する場所で、正規掲載、現在の信頼・監査シグナル、実際の Agent-Proven エビデンスを表示します。
[](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)作者
Hao0321
@hao0321
プラットフォーム適合
健全性シグナル
- GitHub スター
- 52
- 品質スコア
- 47/100
- 最終 GitHub プッシュ
- 2026年8月11日
- フレームワークのヒント
- 1
- OpenAgentSkill 閲覧数
- 2
- インストールコピー数
- 0
- 外部クリック
- 0
コミュニティシグナル
このスキルが Agent ワークフローに役立つかを共有してください。集約されたフィードバックがランキングを改善します。
信頼と安全性
サンドボックス限定
- GitHub 採用度GitHub スター 52確認
- スター/フォーク活動スター 52、フォーク 8; 現在のメタデータでは Issue 活動を利用できません確認
- 最近のメンテナンス最終プッシュから 12 日合格
- ライセンスの明確さMIT合格
- README/SKILL.md の完全性メタデータには十分な利用・ワークフロー文脈があります合格
- 依存関係/ランタイムのリスクcommand execution surface, credential or environment access確認
関連スキル
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K スター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.
164.7K スターTo Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
164.7K スターTo Tickets
Break a plan, spec, or conversation into independently actionable tracer-bullet tickets with explicit blocking relationships.
176.7K スター