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

@gsknnft/skill-ledger

v0.1.0

Published

Manifest, inventory, and doctor utilities for agent SKILL.md installations.

Readme

@gsknnft/skill-ledger

npm version License: MIT TypeScript CI

Manifest, inventory, and doctor utilities for agent SKILL.md installations.

skill-safe answers: is this skill safe enough to install?

skill-ledger answers: what skills are installed, where did they come from, what scan approved them, what scope do they belong to, and are they still in a healthy state?

Install

pnpm add @gsknnft/skill-ledger

Manifest Shape

type SkillLedgerManifest = {
  version: "skill-ledger.manifest.v1";
  generatedAt?: string;
  sourceId?: string;
  skills: SkillLedgerEntry[];
};

Each entry stores source, scope, integrity, scan summary, scanner metadata, and install/update timestamps.

Doctor

skill-ledger doctor ./manifest.json
skill-ledger-doctor ./manifest.json
skill-ledger-doctor ./manifest.json --json
skill-ledger-doctor ./manifest.json --check-remote

The doctor computes:

  • total skills
  • scope counts
  • duplicate ID / resolved URL groups
  • review and block counts from skill-safe
  • optional remote integrity drift checks
  • missing remote skill files when remote checks are enabled

Build A Manifest

skill-ledger build ./skills --out manifest.json
skill-ledger build ./skills ./more-skills --scope repo --source-id my-workspace

build recursively discovers SKILL.md and skill.md files, records their SHA-256 integrity, and creates review-required ledger entries. It does not mark new skills as verified. Run skill-safe first or update entries with a trusted scan summary before install automation treats them as approved.

The library also supports an optional verifier adapter. This lets a caller scan an already-installed directory and enrich entries with skill-safe output without making skill-safe a runtime dependency of the ledger package.

Review A Manifest

skill-ledger list ./manifest.json
skill-ledger list ./manifest.json --markdown
skill-ledger list ./manifest.json --json

The list command is intentionally simple: it produces a human-reviewable skill inventory for UI import, release notes, local review, or CI artifacts.

Validate A Manifest

skill-ledger validate-manifest ./manifest.json
skill-ledger validate-manifest ./manifest.json --json

Validation checks the manifest version, required entry fields, integrity format, scanner metadata, scan action/severity values, and duplicate IDs.

This is not a safety scan. Use @gsknnft/skill-safe to verify SKILL.md content, then store that scan summary in the ledger entry.

Library

import {
  ManifestBuilder,
  buildManifestFromDirectories,
  computeDoctorSummary,
  formatManifestMarkdown,
  loadManifest,
  validateManifest,
} from "@gsknnft/skill-ledger";

const discovered = await buildManifestFromDirectories(["./skills"], {
  verifier: {
    verify(discovery) {
      // Call skill-safe here, then map its report into scanner + scan.
      return {
        scanner: {
          name: "@gsknnft/skill-safe",
          version: "0.3.0",
          reportVersion: "skill-safe.report.v1",
        },
        scan: {
          safeToInstall: false,
          recommendedAction: "review",
          severity: "caution",
          riskScore: 0,
          flagCount: 0,
          categories: {},
          mappings: { owasp: [], mitreAtlas: [], nistAiRmf: [] },
        },
      };
    },
  },
});
console.log(formatManifestMarkdown(discovered));

const manifest = await loadManifest("./manifest.json");
const validation = validateManifest(manifest);
const summary = await computeDoctorSummary(manifest);

Security Model

The package is inventory and audit tooling. It does not execute skills.

Remote checks are opt-in and use fetch. Core manifest and doctor operations are deterministic when --check-remote is not enabled.

Pair with @gsknnft/skill-safe for scan reports and install decisions.

The Skill Suite

skill-ledger is one layer in a broader ecosystem of composable skill governance packages.

| Package | Responsibility | |---|---| | @gsknnft/skill-safe | Scan / report / gate — static pre-install scanner | | @gsknnft/skill-ledger | Manifest / inventory / doctor — what is installed (this package) | | @gsknnft/skill-ui | Review workbench — visual review of scan results and ledger state | | @gsknnft/skill-safe-judge | Semantic review — optional LLM review layer | | @gsknnft/skill-safe-runtime | Runtime enforcement — tool-call and trace policy |

See skill-safe docs/SKILL_SUITE.md for canonical boundary definitions.

Known Limitations

skill-ledger is inventory and audit tooling. It does not:

  • Execute skills. It records what has been scanned and installed, not what is safe to run.
  • Make install decisions. Install gates belong to skill-safe. The ledger records the decision.
  • Verify content integrity in real time. Remote drift checks are opt-in and best-effort.
  • Prove provenance. Source fields are recorded as-provided. Cryptographic signing is out of scope.

Docs