
Dynamic resources
Example skill showing how an extension supplies skills through resources_discover
Dynamic resources is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 933
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Dynamic resources
Dynamic resources is a minimal example skill that ships with the dynamic-resources extension in the pi-coding-agent examples. It demonstrates a skill being discovered and loaded at runtime through the resources_discover mechanism rather than sitting in a static skills folder.
The SKILL.md itself contains only a short heading and a note that the skill comes from the extension. It has no workflow, checks or task instructions of its own, so it works as a reference for extension authors rather than a task-solving skill.
The folder holds four files, including TypeScript code for the extension. It sits inside the PiG repository, which is MIT licensed.
When your agent uses it
Example skill loaded from resources_discover
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs TypeScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 4 files (3 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/dynamic-resources to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dynamic-resources &&
cp -R "$tmp/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources" ~/.claude/skills/dynamic-resources &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/dynamic-resources inside it instead.
Copy the skill folder to ~/.agents/skills/dynamic-resources to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dynamic-resources &&
cp -R "$tmp/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources" ~/.agents/skills/dynamic-resources &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/dynamic-resources inside it instead.
Copy the skill folder to ~/.cursor/skills/dynamic-resources to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dynamic-resources &&
cp -R "$tmp/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources" ~/.cursor/skills/dynamic-resources &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/dynamic-resources inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/MichaelKinsy/PiG.git --path coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resourcesOr copy the folder to ~/.gemini/skills/dynamic-resources yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/dynamic-resources:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dynamic-resources &&
cp -R "$tmp/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources" ~/.copilot/skills/dynamic-resources &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/dynamic-resources inside it instead.
Get the folder:
git clone --depth 1 https://github.com/MichaelKinsy/PiG.gitThen copy PiG/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources into your agent's skills folder as dynamic-resources. Agents that support SKILL.md read one folder per skill.
What it does
- Runtime skill discovery
- Shows a skill being supplied dynamically by an extension through resources_discover.
- Minimal SKILL.md
- Provides a bare-bones skill definition with name, description and a short body.
- TypeScript extension example
- Includes TypeScript code that registers the resources for the extension.
- MIT licensed
- Part of the MIT-licensed PiG repository, free to reuse as a starting point.
Good for
- Learn how an extension can register skills at runtime
- Use as a template for building your own dynamic-resources extension
- Test that skill discovery through resources_discover works in your setup
Dynamic resources FAQ
Does Dynamic resources perform any task?
No. Its SKILL.md only states that it is provided by the dynamic-resources extension, so it serves as an example.
What language is the extension code in?
The folder includes TypeScript scripts.
What license applies?
The repository is MIT licensed.
Does Dynamic resources restrict tools?
No allowed tools are set in the skill.
How do I install Dynamic resources in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/dynamic-resources to use it in all your projects, or to .claude/skills/dynamic-resources in one project.
Does Dynamic resources run scripts?
Yes. It runs TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Dynamic resources?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Dynamic resources?
The closest alternatives to Dynamic resources are Discovered skill, Bad extensions type skill, Context mode no pi skill, Template skill and Create canvas extension.
Where this comes from
- Description: from the skill's own SKILL.md.
More from MichaelKinsy/PiG

Generates a pixel-art PiG release herd image and layout file for a release
- Open source
- 933 GitHub stars
- Release tooling

Checks and prepares only the tools a chosen PiG development task needs
- Open source
- 933 GitHub stars
- Developer tools

Guides an agent through one bounded Pi-to-PiG porting or verification task
- Open source
- 933 GitHub stars
- Developer tools

Test fixture skill for checking autocomplete command ordering in PiG
- Open source
- 933 GitHub stars
- Developer tools

Test fixture skill used to check package manifest handling in a Go repo
- Open source
- 933 GitHub stars
- Developer tools

Placeholder test-fixture skill from the PiG parity suite, with no real instructions
- Open source
- 933 GitHub stars
- Developer tools


