# Dynamic resources

> Dynamic resources is an open-source agent skill for developer tools. Example skill showing how an extension supplies skills through resources_discover. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/MichaelKinsy/PiG/tree/main/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources
- **Repository:** https://github.com/michaelkinsy/pig
- **GitHub stars:** 933
- **License:** MIT
- **Skill name:** dynamic-resources
- **Collection:** https://github.com/MichaelKinsy/PiG
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs TypeScript scripts](https://github.com/MichaelKinsy/PiG/tree/HEAD/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources)
- [No network calls found in its scripts](https://github.com/MichaelKinsy/PiG/tree/HEAD/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources)
- [License: MIT](https://github.com/MichaelKinsy/PiG/tree/HEAD/coding/extension/host/subprocess/runtime-node/shims/pi-dist/pi-coding-agent/examples/extensions/dynamic-resources)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/dynamic-resources` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/dynamic-resources` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/dynamic-resources` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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-resources
```

Or copy the folder to `~/.gemini/skills/dynamic-resources` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/dynamic-resources`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/MichaelKinsy/PiG.git
```

Then 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.

## 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.

## Alternatives

- [Discovered skill](https://ai-powered.com/skills/discovered-skill): Discovered skill is an open-source agent skill for developer tools.
- [Bad extensions type skill](https://ai-powered.com/skills/bad-extensions-type-skill): Bad extensions type skill is an open-source agent skill for developer tools.
- [Context mode no pi skill](https://ai-powered.com/skills/context-mode-no-pi-skill): Context mode no pi skill is an open-source agent skill for developer tools.
- [Template skill](https://ai-powered.com/skills/template-skill): Template skill is an agent skill for developer tools.
- [Create canvas extension](https://ai-powered.com/skills/create-canvas-extension): Create canvas extension is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-melandlabs): Skill creator is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Good skill](https://ai-powered.com/skills/good-skill-hekivo): Good skill is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/dynamic-resources
