Assets & References
Attach instruction documents, binary files, and downloadable assets to your Skilder skills.
Skills aren't just tools and code. You can attach references (instruction documents) and assets (binary files) that give agents the context they need to do their job well.
References
References are markdown documents that provide instructions, SOPs, domain knowledge, or any structured guidance for the agent. Think of them as the "how-to guide" that comes with the tools.
When to Use References
- Step-by-step workflows the agent should follow
- Domain-specific terminology or rules
- Output format specifications
- Constraints and guardrails
Creating a Reference
- Open a skill in the Skill Editor.
- In the file tree, right-click References > Add Reference.
- Give it a name (e.g., "Scouting Process") and a description.
- Write your content in markdown.
Tips for Good References
- Be specific. "Summarize in 3 bullet points" beats "keep it short."
- Structure with headings so agents can scan for relevant sections.
- Include examples of expected output when possible.
- Use constraints: "Never include PII" or "Always cite the source URL."
Assets
Assets are binary files — images, PDFs, spreadsheets, or any document up to 10 MB — that you attach to a skill. Agents can download and use these files during execution.
When to Use Assets
- Template files agents should fill in (Excel, CSV)
- Reference images or diagrams
- PDF documentation that agents need to read
- Sample data for testing or demonstration
Creating an Asset
- Open a skill in the Skill Editor.
- In the file tree, right-click Assets > Add Asset.
- Give it a name and description.
- Upload the file (max 10 MB).
Assets are stored as base64-encoded data and are available to any agent using the skill.
The @skilder-asset:/ Path Scheme
When an agent downloads an asset during execution, Skilder returns a special path:
@skilder-asset:/<resourceId>/<filename>This path can be passed to other tools that accept file paths. The runtime automatically resolves it to a local cached file.
How It Works
- Agent calls the
download_assettool with a skill path (e.g.,/My Skill/template.xlsx). - Skilder fetches the asset from the backend and caches it locally.
- The tool returns a
@skilder-asset:/path. - Other tools can use this path — the runtime resolves it to the actual file on disk.
Example
Agent: "I need the report template"
→ calls download_asset with path "/Sales Reports/quarterly-template.xlsx"
→ gets back @skilder-asset:/abc123/quarterly-template.xlsx
→ passes this path to another tool that fills in the spreadsheetCache Behavior
- Assets are cached locally for 1 hour (configurable via
SKILDER_ASSET_CACHE_MAX_AGE_MS). - Stale assets are garbage-collected automatically.
- Cache location defaults to
/tmp/skilder/assets/.
Skill Components Summary
| Component | Format | Purpose | Limit |
|---|---|---|---|
| References | Markdown | Instructions, SOPs, domain knowledge | No size limit |
| Scripts | Python, Bash, JS, TS | Executable code with SDK access | 30s timeout |
| Assets | Any binary file | Templates, images, PDFs, data files | 10 MB per file |
All three are managed in the Skill Editor file tree.
Next Steps
- Skill Editor — The full editing environment for managing skill components.
- Writing Scripts — Use the Script SDK to call tools and chain workflows.
- Create Your First Skill — Step-by-step guide to building a skill.
Writing Scripts
Use the Skilder Script SDK to call MCP tools, spawn sub-agents, and chain scripts together from TypeScript, Python, Bash, or JavaScript.
Tools
Manage MCP tool providers in Skilder. Browse featured servers, install them, or add your own custom servers to give AI agents the tools they need.