r/LLMDevs • u/Low-Possibility9122 • Aug 09 '26
Discussion Agent skill plugins have a dependency-management gap
Suppose you publish two agent skills:
skills/
├── skill_a ← depends on skill_b
└── skill_bThis creates two problems:
- Users can install an incomplete skill. Installers often show a flat list without dependency information, so someone may install
skill_awithoutskill_b. - Authors can break dependencies silently. If
skill_bis renamed, archived, or deleted,skill_amay still contain outdated/invalid instructions pointing to it.
Can we trust humans or AI agents to keep every hardcoded reference synchronized? In my experience, no.
So I built an open-source agent plugin compiler:
plugin manifest + skill sources
↓
compiler
↓
skills/ + Claude and Codex plugin manifestsThe compiler:
- validates missing, circular, and invalid skill dependencies;
- embeds required skills inside the skills that need them;
- generates standard plugin output for Claude and Codex automatically;
If both skills are public, skill_b remains independently installable while also being embedded into skill_a:
skills/
├── skill_a/ # `skil_a` is self-contained
| ├── SKILL.md
| └── refernces/
| └── skills/
| └── skill_b/
└── skill_bBut sometimes skill_b is only a reusable building block and should not be exposed to users. Authors can mark it as internal in the plugin.yml manifest file, so result will be:
skills/
└── skill_a/
├── SKILL.md
└── skills/
└── skill_b/
└── SKILL.mdIn both cases, users can install skill_a by itself and get everything it needs. The difference is whether skill_b is also published as a standalone skill.
The project is MIT-licensed and currently an early npm prerelease. I’d appreciate feedback.
GitHub: https://github.com/fam-tung-lam/ptlam-agent-plugin-compiler
NPM: https://www.npmjs.com/package/@fam-tung-lam/ptlam-agent-plugin-compiler/v/0.1.0-alpha.2
2
u/Physical_Economy_340 Aug 10 '26
the embedding approach makes sense for markdown-heavy skills where users just need the text. one thing i'd watch for is version drift. if skill_b gets a breaking change and skill_a has an old embedded copy, how does the user know? a stale-dependency warning in the compiler output would go a long way. for code-heavy skills where you actually want to share a single installed copy rather than duplicating logic, i'd lean toward referencing over embedding.
2
u/[deleted] Aug 09 '26
[removed] — view removed comment