Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions src/pages/guide/building-with-ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,34 @@ $ cp -r agent-skills/skills/tempo ~/.config/agents/skills/

Or add to your project's [`.agents/skills/`](https://github.com/tempoxyz/agent-skills/tree/main/skills) directory for project-specific access.

### npm Package Skills

For packages that ship their own agent skills, use [`skills-npm`](https://github.com/antfu/skills-npm) to automatically discover and symlink them:

:::code-group
```bash [npm]
npm add -D skills-npm
```
```bash [pnpm]
pnpm add -D skills-npm
```
```bash [bun]
bun add -D skills-npm
```
:::

Add a `prepare` script to your `package.json`:

```json
{
"scripts": {
"prepare": "skills-npm"
}
}
```

Skills from installed npm packages are symlinked to `skills/npm-<package-name>-<skill-name>` for your agent. Add `skills/npm-*` to your `.gitignore`.

### Usage

Once installed, the skill is automatically available. The agent will use it when relevant tasks are detected.
Expand Down