child-skill

Expose and manage nested skills in hierarchical skill repositories.

1.0k|92|Updated May 22, 2026
One-click install
npx skills add https://github.com/open-gsd/gsd-pi --skill child-skill-open-gsd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: child-skill
Source: https://github.com/open-gsd/gsd-pi/tree/main/packages/pi-coding-agent/test/fixtures/skills/nested/child-skill
Command: npx skills add https://github.com/open-gsd/gsd-pi --skill child-skill-open-gsd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The nested-skill pattern provides a clean way to structure and expose smaller sub-skills within a larger skill, enabling modular design and reuse across projects.

Core Features & Use Cases

  • Hierarchical organization: store sub-skills under subdirectories to promote reuse.
  • Discovery and composition: parent skills can discover and compose nested skills for extended capabilities.
  • Lightweight activation: simple, metadata-driven entry via SKILL.md frontmatter at the root.

Quick Start

Invoke the child-skill from a parent workflow by referencing its subdirectory path and describing your task.

Frequently Asked Questions about child-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize nested skills in subdirectories for a modular AI framework?

You can expose smaller sub-skills within a larger skill by storing them in subdirectories. This hierarchical organization promotes modular design and allows parent workflows to discover, load, and compose these nested skills for extended capabilities.

What is the mechanism for parent skill discovery and composition of subskills?

Parent skill discovery and composition works by referencing a subskill's subdirectory path during activation. The framework reads the SKILL.md frontmatter at the root to identify the subskill, then loads any optional scripts, references, and assets directories automatically.

Do I need a SKILL.md file to activate nested skills in a hierarchical repository?

Yes, a SKILL.md file with frontmatter containing a name and description is required at the root to activate nested skills. This metadata-driven entry enables lightweight activation and allows the framework to recognize and load the subskill.

How do I invoke a child skill from a parent workflow using a subdirectory path?

To invoke a child skill from a parent workflow, reference its subdirectory path and describe your task. This lightweight activation triggers the framework to load the skill along with its optional scripts, references, and assets directories.

What optional directories are loaded during nested skill activation?

During nested skill activation, the framework loads optional scripts, references, and assets directories if they exist. These directories provide additional processing logic and supporting materials for the subskill alongside the required SKILL.md frontmatter.

When should I use nested skills instead of a single monolithic skill repository?

Use nested skills when you need to structure smaller sub-skills within a larger skill to promote reuse across projects. This pattern is ideal for hierarchical organization where parent skills require extended capabilities through modular composition rather than maintaining duplicated logic.