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

@eidentic/skills

v0.2.4

Published

Skill substrate for Eidentic — parse SKILL.md manifests, manage skill banks, run test-gated executable skills, and evolve skills with LLM feedback.

Readme

@eidentic/skills

Skill substrate for Eidentic — parse SKILL.md prompt skill manifests, manage skill banks (approve / list / register), run test-gated executable skills signed with ed25519 keypairs, and evolve skills with LLM-driven feedback loops. The skill system enables agents that improve their own behavior over time.

Install

pnpm add @eidentic/skills

Usage

import { SkillBank, SkillSet, evolveSkill } from "@eidentic/skills";
import type { ExecutableSkillDef } from "@eidentic/skills";
import { AIModel } from "@eidentic/model";
import { anthropic } from "@ai-sdk/anthropic";

// Load a prompt skill from SKILL.md.
const skillMd = `
---
name: summarize
description: Summarize long documents concisely.
allowed-tools: [read_document]
---
When asked to summarize, produce a bullet-point list of key points...
`;
const promptSkills = SkillSet.fromManifests([
  { content: skillMd, source: "inline:summarize" },
]);

// Agent core enforces this capability after skill_use activates the prompt skill.

// Executable skills use a separate, test-gated bank.
const executableSkill: ExecutableSkillDef = {
  name: "summarize-text",
  description: "Summarize text concisely.",
  tests: [{ name: "returns text", input: "hello", check: out => typeof out === "string" }],
  run: async input => String(input),
};
const bank = new SkillBank();
await bank.register(executableSkill);

// Approve for use in agents (agent-authored skills are quarantined until approved)
bank.approve("summarize-text");

// Evolve an executable skill using LLM-driven refinement
const result = await evolveSkill(executableSkill, {
  model: new AIModel(anthropic("claude-sonnet-4-5")),
  maxRounds: 3,
});

When skill_use activates a prompt skill, core enforces its allowed-tools in both the next model schema and runtime dispatch. Omitted/empty lists deny every non-skill_* tool; * is an explicit full-capability grant. The active capability is restored from session history on continuation or resume, so reconnecting cannot silently widen the skill's authority.

Signed production banks

requireSigned: true is fail-closed: it accepts only serialized code skills executed through a SandboxPort. In-process run functions remain supported by the default unsigned/trusted development bank, but cannot be registered in a signed bank because JavaScript closures and their captured state cannot be represented honestly by a portable content signature.

To migrate a signed deployment, move the executable body to code, provide a real sandbox, approve agent-authored skills, then sign the approved lock and attach it with setSignature. SkillBank snapshots definitions and locks at registration, and verifies the stored content digest again before approval, signature attachment, and execution. Test inputs must be structured-cloneable so the asynchronous test gate cannot observe caller mutations after registration begins.

Links

Apache-2.0