ecosystem-defrag
Skill0 starsChanged 3 months agoMITView on GitHub
Inventory an existing Windows agent/developer-tool setup, identify concrete capability overlap, and plan or execute a reversible consolidation when the setup is fragmented.
In this repository5 other files it gives its agents.
- env-inspectSkill
- package-installSkill
- sandbox-runSkill
- win-setupSkill
- workflow-planSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this when the agent/developer-tool environment itself has become duplicated, contradictory, or hard to maintain.
- Very specific: line 12
Start with ecosystem_scan for the current project and include_host: false.
- Very specific: line 18
Do not invent enabled/disabled plugin state or configuration meaning the scan cannot establish.
- Distinctive: line 29
Do not recommend removal merely because two tools are both agentic.
- Distinctive: line 39
If the inventory does not justify a change, stop with the read-only audit.
- Distinctive: line 48
use the active host's ordinary approval boundary for every mutation.
- Distinctive: line 50
Never delete first and call Git history or a vague backup strategy rollback.
- Very specific: line 56
Create AGENT_SETUP.md only when the user wants a persistent project handoff.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ecosystem Defrag
Use this when the agent/developer-tool environment itself has become duplicated, contradictory, or hard to maintain. A clean inventory with no justified change is a valid terminal result.
1. Establish the inventory
Start with ecosystem_scan for the current project and include_host: false. This bounded scan owns project-local VS Code recommendations, MCP config, and agent configuration such as .clinerules, .roo/, .continue/, .agents/, Copilot instructions, and CLAUDE.md when present.
Request include_host: true only when user-level extensions, plugins, MCP configuration, or installed package state is actually needed to decide the consolidation. That broader read remains on the active host permission surface. Use include_packages: true only together with include_host: true and only when installed WinGet packages matter.
In Codex, ecosystem_scan remains on native approval even for project-only requests. The adapter requires a caller-supplied cwd but cannot independently prove that an arbitrary supplied directory is the active project, so the optional trusted hook does not auto-approve this filesystem inventory read.
Do not invent enabled/disabled plugin state or configuration meaning the scan cannot establish. Treat unavailable host-owned state as unknown unless an authoritative host surface is actually queried.
2. Build the overlap map
For each discovered item, distinguish:
- specialist — owns a domain Windows Dev Agent should route to rather than absorb;
- orchestration overlap — duplicates planning, generic shell routing, MCP aggregation, package/install orchestration, or environment discovery;
- configuration only — instructions or project policy that should be preserved as input;
- unknown — purpose or ownership is not established yet.
Do not recommend removal merely because two tools are both agentic. Name the concrete duplicated capability or leave the relationship unresolved.
3. Choose the smallest justified mode
Absorb — preserve existing tools/configs and make Windows Dev Agent the routing layer where overlap is useful.
Route — retain specialists and language tooling while disabling or retiring genuinely redundant orchestration surfaces.
Clean house — archive the exact configs being replaced, then remove only user-approved redundant surfaces.
If the inventory does not justify a change, stop with the read-only audit.
4. Mutate only under the active host authority
Before any change:
- show exact files/extensions/config entries affected;
- state the real backup/restore path;
- distinguish disable, move/archive, edit, and delete;
- use the active host's ordinary approval boundary for every mutation.
Never delete first and call Git history or a vague backup strategy rollback.
5. Verify and document
Re-scan only the changed surfaces, widening back to host inventory only when the claimed effect lives there. Then summarize what is active, what routes through Windows Dev Agent, what was retained, what remains unknown, and how to undo the task-owned changes.
Create AGENT_SETUP.md only when the user wants a persistent project handoff.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

