npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kuralle-agents/skills

v0.11.0

Published

Anthropic-style Agent Skills with progressive disclosure for Kuralle

Readme

@kuralle-agents/skills

Anthropic-style Agent Skills for Kuralle — SKILL.md folders with 3-level progressive disclosure:

  1. Level 1 (always): name + description in the system prompt
  2. Level 2 (on demand): full SKILL.md body via load_skill
  3. Level 3 (on read): bundled resources via read_skill_resource

Scripts are not bash. A skill references pre-registered durable tools or flows by name via allowedTools (validated at wire time).

Quick start

import { createRuntime, defineAgent, defineTool } from '@kuralle-agents/core';
import { defineSkill } from '@kuralle-agents/skills';
import { z } from 'zod';

const lookupOrder = defineTool({
  name: 'lookup_order',
  description: 'Fetch order status.',
  input: z.object({ orderId: z.string() }),
  execute: async ({ orderId }) => db.orders.get(orderId),
});

const returnsPolicy = defineSkill({
  name: 'returns-policy',
  description: 'Return policy guidance. Use when the customer asks about returns.',
  allowedTools: ['lookup_order'],
  body: '1. Run lookup_order with the order id.\n2. Apply the 30-day window.',
  resources: { 'exceptions.md': '# Gift cards are non-returnable' },
});

const agent = defineAgent({
  id: 'support',
  model,
  instructions: 'Calm support agent.',
  tools: { lookup_order: lookupOrder },
  skills: [returnsPolicy],
});

Set AgentConfig.skills to inline defineSkill objects, a Skill[], or a SkillStore (MemorySkillStore, BundledSkillStore, FsSkillStore).

SKILL.md authoring

---
name: returns-policy
description: Explains the 30-day return window for customer inquiries.
allowed-tools: lookup_order
---

# Returns policy
Confirm the order id, then run `lookup_order`.

Frontmatter limits (Agent Skills spec): name ≤ 64 chars, description ≤ 1024 chars.

Parse files with parseSkillMarkdown(md, { path, directoryName }).

Stores

| Store | Runtime | Notes | |-------|---------|-------| | MemorySkillStore | Node + Workers | Default; inline defineSkill objects | | BundledSkillStore | Node + Workers | Record<name, Skill> manifest | | FsSkillStore | Any FileSystem | Lists */SKILL.md under a root (uses @kuralle-agents/fs / AgentConfig.workspace backend) |

Multi-turn & reloading

A load_skill result stays in the conversation transcript (restored each turn), so a loaded skill is reused across turns without reloading — a follow-up about an already-loaded skill is answered from context. load_skill is model-driven with no framework-level dedup: each call re-fetches the body, and the model decides whether to reload. Nudge reuse in the agent instructions ("reuse a skill already loaded earlier"); a redundant reload only costs tokens, never correctness. An agent can also load multiple skills in a single turn.

Live smokes

KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-skills/examples/support-skill.ts        # one skill, one turn
KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-skills/examples/multi-turn-skills.ts    # 5 skills, multi-turn selection
KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-skills/examples/skill-history-inspect.ts # proves cross-turn reuse

Security

Treat skill bodies as trusted author content. Do not load skills from untrusted sources without review. read_skill_resource is confined to each skill's own resources (no cross-skill path traversal).