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

@easynet/agent-skill

v1.0.37

Published

Agent Skills discovery, parsing, and prompt injection for Easynet agents

Downloads

2,335

Readme

@easynet/agent-skill

Introduction

@easynet/agent-skill discovers and loads skills, builds a SkillSet, and registers it into the default AgentContext so runtime packages can inject or route skills.

API Reference

| API | What it does | Minimal usage | | --- | --- | --- | | createAgentSkills | Load skills from config or a directory and register the resulting SkillSet. | await createAgentSkills("./skill.yaml") |

Usage

Load skills from the default embedded config:

import { createAgentSkills } from "@easynet/agent-skill";

const skillSet = await createAgentSkills();
console.log(skillSet.list());

Load skills from a custom config file:

import { createAgentSkills } from "@easynet/agent-skill";

await createAgentSkills("./skill.yaml");

YAML config

Example skill.yaml:

apiVersion: easynet.world/v1
kind: SkillConfig
metadata:
  name: agent-skill-default
spec:
  path: ./skills
  mode: prompt
  inject_metadata: true
  embedding_threshold: 0.85

Explanation:

  • spec.path: directory that contains skill folders with SKILL.md.
  • spec.mode: how matched skills are applied, such as prompt or subagent.
  • spec.inject_metadata: whether skill metadata is injected into the prompt.
  • spec.embedding_threshold: minimum semantic match score.

SKILL Structure

agent-skill now treats a skill as three progressive layers:

  1. Level 1: metadata in SKILL.md frontmatter (name, description).
  2. Level 2: the SKILL.md Markdown body, used as detailed instructions.
  3. Level 3: bundled resources loaded on demand, such as scripts/, references/, and assets/.

Example layout:

skills/
  code-review/
    SKILL.md
    references/
      CHECKLIST.md
    scripts/
      collect-context.sh
    assets/
      review-template.md

Level 3 is convention-based, not folder-name-locked:

  • scripts/: executable helper code or command wrappers.
  • references/: longer background docs, checklists, forms, protocol notes.
  • assets/: templates, sample data, images, or other payload files.

Any file under the skill directory except SKILL.md is treated as a resource. Resource type is inferred by extension:

  • Markdown/text/YAML/JSON -> instructions
  • Shell/JS/TS/Python/etc. -> code
  • everything else -> data

Level 3 Resource API

SkillSet exposes lazy resource access:

const skillSet = await createAgentSkills({ path: "./skills" });

const resources = await skillSet.listResources?.("code-review");
const docs = await skillSet.getResourcesByType?.("code-review", "instructions");
const script = await skillSet.readResource?.("code-review", "scripts/collect-context.sh");

Notes:

  • listResources(name) returns resource metadata only.
  • getResourcesByType(name, type) filters by inferred type.
  • readResource(name, relativePath) reads the file as a Buffer.
  • relative paths are constrained to stay inside the skill directory.