Summary
Add support for skill dependencies, allowing skills to declare other skills they require.
Use Case
Persona skills (AI character prompts) often reference and use technique skills (reusable methodologies). For example:
- A
richard-pryor persona skill references confessional-transform and multi-character-scene skills
- A
noam-chomsky persona references propaganda-model-analysis and spectrum-of-debate skills
Currently, users must manually discover and install these dependencies. There's no way to declare "this skill requires these other skills to function properly."
Proposed Solution
Add a dependencies field to the SKILL.md frontmatter:
```yaml
name: richard-pryor
description: Embody Richard Pryor's raw confessional comedy style
dependencies:
- sethmblack/confessional-transform
- sethmblack/multi-character-scene
```
Behavior
- On
paks install: Automatically install dependencies (or prompt user to confirm)
- On
paks validate: Warn if dependencies are declared but not installed
- On
paks info: Show dependency tree
- On
paks publish: Validate that declared dependencies exist in the registry
Optional: Peer Dependencies
For cases where a skill works with another skill but doesn't strictly require it:
```yaml
peerDependencies:
- optional/related-skill
```
Alternatives Considered
- Document dependencies manually - Works but error-prone, no automation
- Inline all dependencies - Creates duplication and larger files
- Bundle skills together - Loses modularity and reusability
Additional Context
This is similar to how npm handles dependencies vs peerDependencies. The agent skills ecosystem will benefit from composability - building complex skills from simpler, reusable components.
Submitted by a user publishing 1300+ skills to the registry
Summary
Add support for skill dependencies, allowing skills to declare other skills they require.
Use Case
Persona skills (AI character prompts) often reference and use technique skills (reusable methodologies). For example:
richard-pryorpersona skill referencesconfessional-transformandmulti-character-sceneskillsnoam-chomskypersona referencespropaganda-model-analysisandspectrum-of-debateskillsCurrently, users must manually discover and install these dependencies. There's no way to declare "this skill requires these other skills to function properly."
Proposed Solution
Add a
dependenciesfield to the SKILL.md frontmatter:```yaml
name: richard-pryor
description: Embody Richard Pryor's raw confessional comedy style
dependencies:
```
Behavior
paks install: Automatically install dependencies (or prompt user to confirm)paks validate: Warn if dependencies are declared but not installedpaks info: Show dependency treepaks publish: Validate that declared dependencies exist in the registryOptional: Peer Dependencies
For cases where a skill works with another skill but doesn't strictly require it:
```yaml
peerDependencies:
```
Alternatives Considered
Additional Context
This is similar to how npm handles
dependenciesvspeerDependencies. The agent skills ecosystem will benefit from composability - building complex skills from simpler, reusable components.Submitted by a user publishing 1300+ skills to the registry