agentskit.js
Recipes

Skill marketplace + ready-made skills

Publish + install versioned skills through a registry. Four new ready-made skills.

Skills are prompts + behavior packaged for reuse. @agentskit/skills now ships a tiny marketplace primitive — publish semver-pinned SkillPackages, query them, install the latest matching range — and four new ready-made skills on top of the existing researcher / coder / planner / critic / summarizer set.

Install

npm install @agentskit/skills

Ready-made skills (S24 additions)

SkillPurpose
codeReviewerRigorous PR review with severity-tagged findings.
sqlGenNatural language → parameterized Postgres queries.
dataAnalystHypothesize → query → interpret business data.
translatorFaithful translation that preserves formatting.
import { codeReviewer, sqlGen, dataAnalyst, translator } from '@agentskit/skills'
import { createRuntime, composeSkills } from '@agentskit/runtime'

const runtime = createRuntime({
  adapter,
  systemPrompt: codeReviewer.systemPrompt,
})

Marketplace primitives

import {
  createSkillRegistry,
  parseSemver,
  compareSemver,
  matchesRange,
} from '@agentskit/skills'

const registry = createSkillRegistry()
await registry.publish({
  version: '1.0.0',
  publisher: 'acme',
  tags: ['ops'],
  skill: myOpsBot,
})

// Install the latest ^1 version:
const pkg = await registry.install('ops-bot', '^1.0.0')

Range syntax:

  • 1.2.3 (exact)
  • ^1.2.3 (same major)
  • ~1.2.3 (same minor)
  • >=1.2.3 (min version)
  • * (any)

Enough for a basic marketplace. Layer semver on top if you need full npm-compatible ranges. Bring your own backing store (Postgres table of (name, version) rows, S3 manifest + CDN, Git-backed, etc.) by implementing the same SkillRegistry contract.

See also

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page