{"id":51181273,"url":"https://github.com/shimo4228/skill-stocktake","last_synced_at":"2026-06-27T07:02:45.568Z","repository":{"id":343936000,"uuid":"1164279634","full_name":"shimo4228/skill-stocktake","owner":"shimo4228","description":"Claude Code skill: audits installed skills for staleness, conflicts, and redundancy","archived":false,"fork":false,"pushed_at":"2026-06-24T12:22:29.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-24T14:12:56.881Z","etag":null,"topics":["agent-skill","anthropic","claude-code","claude-skill"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shimo4228.png","metadata":{"files":{"readme":"README.ja.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-22T22:22:19.000Z","updated_at":"2026-06-24T12:22:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shimo4228/skill-stocktake","commit_stats":null,"previous_names":["shimo4228/claude-skill-stocktake","shimo4228/skill-stocktake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shimo4228/skill-stocktake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fskill-stocktake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fskill-stocktake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fskill-stocktake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fskill-stocktake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimo4228","download_url":"https://codeload.github.com/shimo4228/skill-stocktake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fskill-stocktake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34844346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skill","anthropic","claude-code","claude-skill"],"created_at":"2026-06-27T07:02:42.630Z","updated_at":"2026-06-27T07:02:45.563Z","avatar_url":"https://github.com/shimo4228.png","language":null,"funding_links":[],"categories":["Source Catalog"],"sub_categories":[],"readme":"Language: [English](README.md) | 日本語\n\n# skill-stocktake\n\nClaude のスキルの品質を監査する [Agent Skill](https://agentskills.io/specification) です。インストール済みの全スキルを 1 つのコンテキストで読み込み、AI の総合判断により Keep / Improve / Update / Retire / Merge の判定を出します。\n\n## インストール\n\n### Claude Code\n\n```bash\n# スキルをグローバルスキルディレクトリにコピー\ncp -r skills/skill-stocktake ~/.claude/skills/skill-stocktake\n```\n\n### SkillsMP\n\n```bash\n/skills add shimo4228/skill-stocktake\n```\n\n## モード\n\n| モード | トリガー | 動作 |\n|--------|----------|------|\n| **full** | デフォルト、または `/skill-stocktake full` | 全スキルを読み込んで評価 |\n| **changed** | `/skill-stocktake changed` | 前回以降に `SKILL.md` が変更されたスキルのみ再評価。残りは台帳から引き継ぐ |\n\n## 仕組み\n\nスキャンスクリプトもサブエージェントのバッチ分割もありません。大きなコンテキストウィンドウを前提に、Glob でスキルを列挙し、全スキルを 1 つのコンテキストに読み込みます。この「一括して見る」視点こそが、スキル間の重複検出を正確にします。\n\n1. **Phase 1 — インベントリ**: `~/.claude/skills/*/SKILL.md` + `learned/*.md`（および `$PWD/.claude/skills/` があればプロジェクトスキル）を Glob で列挙。Glob はスキル定義ファイルのみを対象とするため、`.venv` / `.pytest_cache` 配下の依存 markdown は構造的に除外され、prune は不要です。使用回数は、使用ログ hook が導入されていれば `~/.claude/metrics/skill-usage.jsonl` をインラインで読み取ります。\n2. **Phase 2 — 評価**: 全スキル本文を読み、チェックリストを一括適用します — 内容重複（ドキュメント化された orchestrator/sub-skill の層分けは重複ではない）、MEMORY/CLAUDE.md/rules との重複、参照の鮮度、使用頻度。\n3. **Phase 3 — サマリー**: 自己完結した理由付きの判定テーブル。\n4. **Phase 4 — 統合**: Retire/Merge はユーザー確認後にのみ実行。Improve/Update は改善エンジンである Anthropic 純正の [`skill-creator`](https://github.com/anthropics/skills) へのハンドオフとして提示します。判定台帳（`results.json`）はインラインで更新します。\n\n## 判定基準\n\n| 判定 | 意味 |\n|------|------|\n| **Keep** | 有用かつ最新の状態 |\n| **Improve** | 維持する価値はあるが、具体的な改善が必要 |\n| **Update** | 参照している技術が古くなっている |\n| **Retire** | 品質が低い、陳腐化している、またはコスト対効果が悪い |\n| **Merge into [X]** | 他のスキルと大幅に重複している |\n\n## 要件\n\n- **Glob**・**Read**・**Bash** ツールをサポートする Claude Code（監査は 1 つのメインコンテキストで実行 — サブエージェント不要）。\n- 任意: 小さなインラインワンライナー（changed モードのタイムスタンプ確認、使用回数集計）用に `jq` と `python3`。無くても機能は劣化せず動作します。\n\n## このスキルについて\n\nこのスキルは [Agent Knowledge Cycle (AKC)](https://github.com/shimo4228/agent-knowledge-cycle) の **Curate** フェーズを実装する — エージェント行動とオペレーターの判断が共発展する 6 フェーズ双方向成長ループ ([DOI 10.5281/zenodo.19200726](https://doi.org/10.5281/zenodo.19200726))。AKC は [@shimo4228](https://github.com/shimo4228) の 3 つの研究ラインの 1 つで、他に [Contemplative Agent](https://github.com/shimo4228/contemplative-agent) ([DOI 10.5281/zenodo.19212118](https://doi.org/10.5281/zenodo.19212118)) — 4 つの contemplative 公理に基づく自律エージェント — と [Agent Attribution Practice (AAP)](https://github.com/shimo4228/agent-attribution-practice) ([DOI 10.5281/zenodo.19652013](https://doi.org/10.5281/zenodo.19652013)) — 自律 AI エージェントの責任分配に関するハーネス中立 ADR — がある。\n\n## ライセンス\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimo4228%2Fskill-stocktake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimo4228%2Fskill-stocktake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimo4228%2Fskill-stocktake/lists"}