@ai-sdk-x/skill
An auxiliary context tool.
Primarily designed for Serverless environments using unstorage as its backing cache.
NOTE
If you are building an agent locally or on a server, the standard approach is to use bash + prompt.
Installation
bash
npm add @ai-sdk-x/skill unstorageOverview
Most serverless environments have no persistent filesystem. @ai-sdk-x/skill lets you:
- Download skills from Git repositories into any unstorage-compatible backend (S3, R2, KV…)
- List / Get skills at runtime and inject them into your agent's context
- Store skills in a database — use
isomorphic-gitto clone, then recursively persist files. Convert non-text files to Markdown (e.g. viaenv.AI.toMarkdown()on Cloudflare Workers).
Example: S3 Storage
See the S3 example on GitHub.