dynamic-resources

Demonstrates loading skills, prompts, and themes dynamically via the resources_discover extension event.

154|27|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/openvetta/open-vetta --skill dynamic-resources-openvetta
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dynamic-resources
Source: https://github.com/openvetta/open-vetta/tree/main/packages/coding-agent/examples/extensions/dynamic-resources
Command: npx skills add https://github.com/openvetta/open-vetta --skill dynamic-resources-openvetta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers building extensions for the Vetta coding agent need a working reference for how to register skills, prompt templates, and themes at runtime instead of shipping static files. ## Core Features & Use Cases - Dynamic Skill Registration: Exposes a SKILL.md file to the agent through the resources_discover event hook. - Prompt and Theme Bundling: Ships a prompt template (dynamic.md) and a UI theme (dynamic.json) alongside the skill from one extension. - Use Case: An extension author copies this example to learn how to return skillPaths, promptPaths, and themePaths from the resources_discover handler so the agent discovers their resources automatically. ## Quick Start Ask the agent to summarize the current repository structure and mention any build or test commands using the dynamically loaded prompt template.

Frequently Asked Questions about dynamic-resources

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

FAQPage Schema
How do I dynamically load a skill in a coding agent extension?▼

Implement a handler for the resources_discover event that returns an object with skillPaths pointing to your SKILL.md file. The agent discovers and loads the skill from the returned paths at runtime.

How do I register prompt templates and themes from an extension?▼

Return promptPaths and themePaths arrays from the resources_discover handler alongside skillPaths. Each path should point to a markdown prompt file or a JSON theme file bundled with your extension.

What is the resources_discover event in the Vetta coding agent?▼

It is an extension lifecycle event fired by the agent to collect resource locations. Extensions respond with file paths for skills, prompts, and themes, which the agent then loads into its available resources.

Does this example skill perform any task by itself?▼

No, it is a minimal demonstration skill. Its SKILL.md only contains a name and description, serving as a reference for how extensions expose resources rather than providing operational instructions.