Overview
Resources are created as part of the skill creation and update workflow. They cannot be created independently - they must be associated with a parent skill. Resources bundle supporting files like reference documentation, scripts, assets, and other content with your skills.Creating Resources with New Skills
When creating a skill usingskills.create, you can include an array of resources:
Input Schema
Array of resource objects to create with the skill
Example: Creating a Skill with Resources
Resource Types
Thekind field helps organize and identify resources:
reference
Documentation, guides, API references, and other text-based reference material. Default type if not specified.
script
Executable scripts in any language (bash, Python, JavaScript, etc.) that automate tasks or provide utilities.
asset
Static assets like images, data files, configuration templates, or binary files.
other
Any other type of resource that doesn’t fit the above categories.
Skill Mentions in Resources
Resources support the same[[skill-name]] mention syntax as skill markdown:
- Validated during creation to ensure referenced skills exist and are accessible
- Rendered as clickable links in the
renderedContentfield - Tracked as graph links for the knowledge graph
- Synced automatically when resource content changes
Validation
Resources undergo validation during creation:- Path validation - Must be non-empty and unique within the skill
- Mention validation - All
[[skill-name]]mentions must reference accessible skills - Vault access - Referenced skills must be in the same vault or an accessible vault
- Content validation - Mention syntax must be well-formed
Access Control
Resources inherit access control from their parent skill:- Resources belong to the skill’s vault
- Read/write permissions match the skill’s vault permissions
- Resources are automatically deleted when their parent skill is deleted
Related Endpoints
skills.create- Create a skill with resourcesskills.update- Update resources (see Update Resources)resources.getById- Retrieve a resourceskills.getById- Get a skill with all its resources