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

@axsept/event-schema

v1.0.0-beta.0

Published

Open-standard JSON Schema for the HumanAIEvent wire format used by SkillChain-compatible integration wrappers.

Readme

@axsept/event-schema

The open-standard JSON Schema for the HumanAIEvent wire format used by SkillChain-compatible integration wrappers.

This package is part of the SkillChain integration protocol. It contains only the schema and its TypeScript types — no business logic, no anonymization rules, no API client. Wrappers that need anonymization use @axsept/anonymizer; wrappers that need an MCP-server runtime use @axsept/mcp-server.

Install

npm install @axsept/event-schema

Use

Validating an event in TypeScript

import Ajv2020 from "ajv/dist/2020.js";
import addFormats from "ajv-formats";
import { HumanAIEventSchema, type HumanAIEvent, PROTOCOL_VERSION } from "@axsept/event-schema";

const ajv = new Ajv2020({ allErrors: true, strict: false });
addFormats(ajv);
const validate = ajv.compile(HumanAIEventSchema);

const event: HumanAIEvent = {
  protocol_version: PROTOCOL_VERSION,
  event_id: "evt_01HFG2X7K8Q9P0R1S2T3U4V5W6",
  timestamp: new Date().toISOString(),
  source: {
    provenance: "claude-mcp",
    session_id: "sess_01HFG2X7K8Q9P0R1S2T3U4V5XY",
    wrapper_version: "0.1.0",
    client: "claude-code",
  },
  description: "Designed a fraud-defense architecture and recorded the rationale.",
  skills: [
    {
      name: "system design",
      proficiency: 0.85,
      evidence_snippet: "Reframed the fraud model as 'screen, not proof'.",
    },
  ],
};

if (!validate(event)) {
  throw new Error("invalid event: " + JSON.stringify(validate.errors));
}

Loading the schema directly (e.g., in Python or another language)

The raw JSON Schema is shipped at node_modules/@axsept/event-schema/schema/HumanAIEvent.v1.json (or via the package export @axsept/event-schema/schema/HumanAIEvent.v1.json). Any JSON Schema 2020-12-compliant validator can load it.

What HumanAIEvent is for

It is the wire format every SkillChain-compatible wrapper emits to the SkillChain BFF. A wrapper observes a user working with an AI agent, extracts the skill-relevant content (locally, with PII / secrets stripped), and posts one or more HumanAIEvent payloads. The BFF deduplicates, ingests, and feeds the events into the engine's skill-extraction and verification pipeline.

The schema is versioned with semver:

  • Major version changes (e.g., 1.x → 2.0) are reserved for breaking changes. The BFF accepts events from the current and previous major version for at least 12 months after a major bump.
  • Minor version changes (1.0 → 1.1) are additive only — new optional fields or new enum values that older consumers can safely ignore.
  • Patch version changes are clarifications and bugfixes; no functional changes.

What about the rest of the protocol?

The full integration protocol — attribution model, anonymization rules, auth model, runtime contracts, conformance suite, scaffold, versioning policy — lives at:

License

Apache-2.0