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

@agenticprimitives/agent-skills

v0.0.0-alpha.6

Published

Off-chain skill CLAIM credentials + on-chain SkillDefinitionRegistry helpers (spec 251). Definitions on chain; the agent↔skill claim is a private vault credential pointing to a (skillId, version).

Readme

@agenticprimitives/agent-skills

Agents get hired for what they can do — but publishing a full capability map on chain is an operational leak. Discovery needs shared, versioned skill definitions everyone can point at; trust needs claims an agent cannot fake and an endorser cannot be impersonated on. This package splits the two cleanly: a skill definition is a public, versioned, on-chain anchor in SkillDefinitionRegistry; a skill claim — a Smart Agent's relation to a skill — is a private verifiable credential in that agent's vault, pointing at the on-chain (skillId, version). There is no on-chain claim registry, by design.

Because the claim's subject and issuer are Smart Agent addresses, endorsements carry real weight: a certifying body signs the endorsementDigest with its own on-chain identity (ERC-1271-verifiable), the claim survives the subject's key rotations, and selective public assertion — when the agent opts in — reuses the generic attestations credential-hash path rather than a skill-specific contract.

Part of agenticprimitives — the trust substrate for the agent economy: one canonical Smart Agent identity with custody, delegation, naming, credentials, and audit evidence designed as one system.

What ships today

This SDK owns the credential shape (SkillClaimCredential), the self/endorsed builders, the commitment/digest math, and a thin on-chain definition reader (spec 251):

  • BuildersbuildSelfSkillClaim (subject == issuer; proficiency capped at SELF_MAX_PROFICIENCY; self-meaningless relations forbidden) and buildEndorsedSkillClaim (cross-issued; returns the endorsementDigest the issuer signs).
  • CodelistsSKILL_KIND (lockstep with SkillDefinitionRegistry.KIND_* on chain — a cross-stack test reads the live .sol), SKILL_RELATION, SkillVisibility. All are keccak hashes of the ns/skill# C-box concept URIs.
  • MathcomputeSkillId, conceptHash, skillClaimId, skillEndorsementDigest, skillClaimHash.
  • Definition readerskillDefinitionExists(read, registry, ref) via an injected readContract function (no viem/contract dependency) + SKILL_DEFINITION_READ_ABI.
import { buildEndorsedSkillClaim, SKILL_RELATION, skillDefinitionExists } from '@agenticprimitives/agent-skills';

const { credential, endorsementDigest } = buildEndorsedSkillClaim({
  chainId: 84532,
  subject: kcAgent,             // the Smart Agent the claim is about
  issuer:  certifyingBody,      // a different SA endorses it
  definition: { skillId, version: 1 },   // points to the on-chain SkillDefinitionRegistry
  relation: SKILL_RELATION.certifiedIn,
  proficiencyScore: 9000,
  nonce,
});
// the issuer signs `endorsementDigest` (ERC-1271); the app stores `credential` in the subject's vault.

Vault I/O is the app's job — this package is transport-agnostic and builds the credential only. evidenceCommit is a bytes32 commitment/merkle root, never a URI; the preimage stays in the vault.

How it's different

Skill taxonomies and agent-capability frameworks (OASF-style schemas, marketplace skill catalogs) describe what a skill is; they have no answer for who verifiably has it. The deltas here:

  1. Claims are credentials, not catalog rows. A claim is a signed VC bound to a persistent Smart Agent address — endorsable by another on-chain identity, revocable, and intact through credential recovery.
  2. Public taxonomy, private possession. Definitions are shared on-chain anchors; the agent↔skill association never touches the chain unless the holder opts in. Competitors' public skill registries make every participant's capability map free intelligence.
  3. Lockstep, CI-checked. SKILL_KIND.Leaf === SkillDefinitionRegistry.KIND_LEAF is asserted by a cross-stack test against the live Solidity — the SDK cannot drift from the contract.

Geo is the independent sibling @agenticprimitives/geo-features — no skill↔geo mapping exists on chain or in the SDKs; a "skill X in region Y" fact is two separate claims. Neutral substrate: no vertical vocabulary (domain language lives in apps, per ADR-0021).

Status

W1 foundational — the off-chain skill-claim layer of the spec-251 skills/geo substrate is shipped. The on-chain peer is SkillDefinitionRegistry.sol in packages/contracts. See AUDIT.md.

Testnet/pilot-ready. Production launch is gated on the public checklist in the root README — including third-party contract audit and governance key rotation. Track every security finding live in docs/audits/findings.yaml.

Authoritative spec: specs/251-skills-and-geo-features.md. Bounded surface: CLAUDE.md + capability.manifest.json.

Build

pnpm --filter @agenticprimitives/agent-skills typecheck
pnpm --filter @agenticprimitives/agent-skills test
pnpm --filter @agenticprimitives/agent-skills build