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

@openweave/weave-skills

v1.0.1

Published

WeaveSkills — Skill Module Registry for OpenWeave agent extensibility

Downloads

179

Readme

@openweave/weave-skills

WeaveSkills — Skill Module Registry (M19)
Pluggable skill architecture for the OpenWeave agent.


Overview

WeaveSkills provides the infrastructure for registering, enabling and executing optional skill modules in the OpenWeave agent.

Each skill is an independent module that implements the SkillModule interface. The SkillRegistry manages lifecycle; .weave.config.json persists the enabled state.

.weave.config.json          ← per-project skill config
       │
       ▼
  SkillRegistry             ← runtime registry (in-memory)
  ├── register(module)
  ├── enable(id) / disable(id)
  ├── execute(id, context)
  └── executeAll(context)

Usage

Define a skill

import type { SkillModule, SkillContext, SkillResult } from '@openweave/weave-skills';

export const mySkill: SkillModule = {
  id: 'my-skill',
  name: 'My Skill',
  description: 'Does something useful at agent runtime',
  version: '1.0.0',
  enabled: true,
  tags: ['dev'],
  async execute(ctx: SkillContext): Promise<SkillResult> {
    // ctx.files, ctx.graph, ctx.session, ctx.git are available
    return { success: true, output: 'All done.' };
  },
};

Register and execute

import { SkillRegistry, loadSkillConfig } from '@openweave/weave-skills';
import { mySkill } from './my-skill.js';

const registry = new SkillRegistry();
registry.register(mySkill);

// Apply persisted config (enables/disables from .weave.config.json)
const config = loadSkillConfig();
registry.loadFromConfig(config);

// Execute a single skill
const result = await registry.execute('my-skill', {
  projectRoot: process.cwd(),
  files: [],
  graph: null,
  session: null,
  git: null,
});

CLI

Manage skills from the terminal via weave skills:

weave skills list                    # List all configured skills
weave skills enable auto-fix         # Enable a skill
weave skills disable code-review     # Disable a skill
weave skills info test-gen           # Show config entry for a skill
weave skills list --json             # Machine-readable output

Config is saved to .weave.config.json in the project root:

{
  "skills": {
    "auto-fix": true,
    "code-review": false,
    "test-gen": true
  }
}

API Reference

SkillRegistry

| Method | Description | |--------|-------------| | register(module) | Register a skill (throws on duplicate id) | | replace(module) | Register or overwrite a skill | | unregister(id) | Remove a skill | | enable(id) | Mark skill as enabled | | disable(id) | Mark skill as disabled | | get(id) | Get RegisteredSkill by id | | has(id) | Check registration | | list() | All skills (enabled + disabled) | | listEnabled() | Only enabled skill modules | | execute(id, ctx) | Execute one skill; throws if disabled | | executeSafe(id, ctx) | Execute one skill; returns failed result instead of throwing | | executeAll(ctx) | Execute all enabled skills; returns Map<id, SkillResult> | | loadFromConfig(cfg) | Apply a SkillConfig to the registry | | toConfig() | Serialize registry state to SkillConfig |

Config helpers

| Function | Description | |----------|-------------| | loadSkillConfig(root?) | Read .weave.config.jsonSkillConfig | | saveSkillConfig(cfg, root?) | Write (merge) SkillConfig to file | | setSkillEnabled(id, enabled, root?) | Toggle a single skill | | mergeSkillConfig(updates, root?) | Merge partial updates | | configExists(root?) | Check if config file exists |


Phase 9 Skill IDs

The following skill ids are planned for M20–M22:

| Phase | Id | Description | |-------|----|-------------| | M20 | auto-fix | Apply VULN patches automatically | | M20 | code-review | Structured review of git diff HEAD | | M20 | test-gen | Generate missing Vitest unit tests | | M20 | docs-gen | JSDoc + README + CHANGELOG generation | | M20 | refactor | Code smell detection + diff preview | | M21 | pipeline-aware | CI/CD log diagnosis | | M21 | dep-audit | Dependency CVE + outdated detection | | M21 | perf-profile | Build/test bottleneck analysis | | M21 | container-advisor | Dockerfile best-practice audit | | M21 | deploy-provision | Interactive production provisioning | | M22 | onboarding | Interactive project tour | | M22 | commit-composer | Conventional Commits message generation | | M22 | context-memory | Cross-session architectural memory | | M22 | multi-repo | Multi-repository reasoning | | M22 | cli-interactive | REPL weave chat with all skills |