Simplify
できること
このスキルは、ファイル、ツール、コードベースを調べ、重複している、死んでいる、または不要な部分を見つけて、削減案を提案します。何も壊さずに、混乱を減らしたい開発者向けです。
使う場面
- ✓プロジェクトが散らかってきて、安全に削りたいとき。
- ✓コードが使われていないと疑うが、確信がないとき。
- ✓何かを削除する前に、削除できるものを知りたいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このモジュールを見て、何か変更する前に安全に削除できるものを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、対象が使われている場所、例えば呼び出し元、インポート、ドキュメントをすべて地図化し、各要素を証拠とともに分類します。あなたが承認するための削減案を提案し、承認されたものは、それに依存するものが変わっていないことをチェックで確認した後にのみ適用されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Simplify
Simplify makes a target smaller and clearer without breaking anything that depends on it. A target can be a file, a skill, a tool, a subsystem or a whole repo. The work comes in three intents, each building on the record from the one before: Survey maps the target read-only, Propose ranks the cuts and holds them for a yes, and Apply lands the approved cuts with proven parity. The central rule: a cut never drops a behaviour that a dependent or ISA criterion relies on, and anything the evidence cannot explain stays. Records sit next to the target's ISA when there is one.
Ideal State
- The target ends smaller and clearer, and every behaviour a dependent or ISA criterion relies on still works, shown by the same baseline checks passing before and after.
- No element is cut on looks: each cut rests on a survey finding with its searches cited, and anything the evidence cannot explain stays.
- Nothing changes until the principal approves the specific rows, and a delete of irreplaceable content gets its own yes.
- Each stage leaves its record under
LIFEOS/MEMORY/WORK/{slug}/simplify/, so the next stage builds on evidence rather than on memory.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Survey | "simplify X", "what can we delete", "map this before we cut", "is this dead" | Intents/Survey.md |
| Propose | "what would you cut", "propose the simplifications", follows Survey in the same run | Intents/Propose.md |
| Apply | "apply them", "y" or approved row numbers after a proposal | Intents/Apply.md |
A bare "simplify X" runs Survey and then Propose, and stops at the proposal. A Survey-only request, which is how a read-only analysis calls this skill, stops at the survey.
Data & Config
None. This skill reads no config and needs no account or key. Each stage writes its record under LIFEOS/MEMORY/WORK/{slug}/simplify/ next to the target's ISA, if it has one; nothing else is created.
Gotchas
- Zero code-search hits does not mean dead. LifeOS calls a great deal of code by string: hook registrations in
settings.json, launchd plists, workflow YAML, skill routing tables, spawned commands and dynamic imports.ReferenceCheck.ts --shipped-pathsexists because plain path scans missed spawn and dynamic-import specifiers. - The file can change mid-run. Memory loops and peer sessions write to the same trees. A file edited after its survey is re-read before it is touched (Trim, where a concurrent deploy-command fix was nearly reverted).
Examples
Example 1: Simplify a tool
User: "simplify LIFEOS/TOOLS/ReferenceCheck.ts"
→ Survey intent, then Propose
→ Purpose from its header and DocCheck lineage, every caller, findings per function, test baseline
→ A ranked table of cuts, each with its parity check, held for y
Example 2: Land the approved cuts
User: "y, but skip 4"
→ Apply intent
→ Rows 1–3 and 5 land as separate commits, tests show the same pass count before and after, and the measured reduction sits beside the estimate
Example 3: An always-on context file
User: "simplify CLAUDE.md"
→ Routed to Trim, which owns always-on context files and their directive-coverage gate
よくある質問
確認なしに削除しますか?
いいえ。特定の項目をあなたが承認するまで、何も変更されません。
使われているかどうか判断できないものは?
証拠で説明できないものは、残されます。
記録はどこに保存されますか?
各段階は、プロジェクト用のフォルダーに記録を書き、後のステップは証拠に基づいて進みます。
詳細
作者による元の説明
Research-first simplification of any file, skill, tool, subsystem or codebase against its ideal state: reads its ISA or derives its purpose, maps every dependent (callers, imports, references, hooks, settings, docs, tests), classifies each element with evidence as load-bearing, duplicate, dead, cruft or over-abstracted, then proposes and applies cuts that keep every behaviour a dependent relies on, proven by before-and-after parity checks. USE WHEN simplify, simplify this, simplify this system, remove cruft, remove duplication, dedupe, dead code, clean this up, this has gotten bloated, too com
repo: danielmiessler/LifeOS
人気
- GitHubのスター
- 20k
- ランキング
- #10457
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。