Skip to content
PluginStats

@ai-dossier/core weekly downloads statistics

By ai-dossier (5 listings) · npm · Claude Code

TypeScript library for parsing, signing, and verifying signed, versioned agent skills used in model-driven orchestration.

View on npm Stale · Dec 1, 2026

@ai-dossier/core has 455 recorded weekly downloads on npm, an increase of 53.2% over the past 30 days, ranking #2284 of 3,247 tracked listings.

Weekly downloads
455
Official API · Dec 5, 2026
7-day growth
-43.0%
-343 weekly downloads
30-day growth
+53.2%
+158 weekly downloads
90-day growth
-49.9%
-453 weekly downloads
Rank
#2284
▼ 230 in 7 days

About @ai-dossier/core

@ai-dossier/core

npm version npm downloads License: AGPL-3.0

Use one portable AI-agent skill across Claude Code, Codex, OpenCode, and MCP-compatible workflows.

@ai-dossier/core is the TypeScript library for developers building secure AI-agent workflows. It parses, verifies, signs, and lints dossiers: portable, versioned skills whose integrity and publisher can be checked before an LLM uses them.

Part of the ai-dossier ecosystem: use @ai-dossier/cli to author and install skills, @ai-dossier/mcp-server to expose them through MCP, and the ai-dossier project for the complete platform.

Installation

npm install @ai-dossier/core

Requires Node.js >= 20.0.0.

Quick Start

import {
  parseDossierContent,
  verifyIntegrity,
  lintDossier,
} from '@ai-dossier/core';

// 1. Parse a dossier
const dossier = parseDossierContent(rawContent);
console.log(dossier.frontmatter.title); // => "My Dossier"

// 2. Verify integrity
const integrity = verifyIntegrity(
  dossier.body,
  dossier.frontmatter.checksum?.hash
);
console.log(integrity.status); // => "valid" | "invalid" | "missing"

// 3. Lint for issues
const result = lintDossier(rawContent);
console.log(result.errorCount, result.warningCount);

API

Parsing
import {
  parseDossierContent,
  parseDossierFile,
  validateFrontmatter,
} from '@ai-dossier/core';
parseDossierContent(content: string): ParsedDossier

Parse a dossier content string into frontmatter and body. Accepts both ---dossier (JSON/YAML) and standard --- (YAML) delimiters, in either frontmatter shape: legacy (every Dossier field flat at the top level) or spec (Agent Skills fields name, description, license, compatibility, allowed-tools at the top level, every other field under metadata as dossier.<field> strings). frontmatter is always the same flat logical object; rawFrontmatter is the frontmatter as it sits on disk and shape says which layout it uses. Throws a SpecShapeError (message prefixed Invalid spec-shaped frontmatter:) when a spec-shaped frontmatter is ambiguous — see fromSpecFrontmatter.

const { frontmatter, body, raw, rawFrontmatter, shape } = parseDossierContent(content);
toSpecFrontmatter(logical) / fromSpecFrontmatter(spec)

Convert flat logical frontmatter to the spec shape and back. Values under metadata are strings: a string is stored as-is unless it would itself parse as JSON (then it is JSON-quoted), and any other value is stored as canonical JSON (encodeSpecValue / decodeSpecValue), so fromSpecFrontmatter(toSpecFrontmatter(x)) equals x. fromSpecFrontmatter throws SpecShapeError on anything ambiguous: a Dossier field at the top level, dossier.<agent-skills-field>, or a non-string metadata value.

parseDossierFile(filePath: string): ParsedDossier

Read and parse a dossier file from disk.

const parsed = parseDossierFile('./path/to/dossier.ds.md');
validateFrontmatter(frontmatter: DossierFrontmatter): string[]

Validate required fields and enum values. Returns an array of error messages (empty if valid).

const errors = validateFrontmatter(parsed.frontmatter);
if (errors.length > 0) {
  console.error('Validation errors:', errors);
}
Checksum Verification
import { calculateChecksum, verifyIntegrity } from '@ai-dossier/core';
calculateChecksum(body: string): string

Calculate the SHA-256 hash of dossier body content (excluding frontmatter).

verifyIntegrity(body: string, expectedHash: string | undefined): IntegrityResult

Compare the computed hash against the expected hash from frontmatter.

const result = verifyIntegrity(body, frontmatter.checksum?.hash);
// result.status: "valid" | "invalid" | "missing"
Signature Verification
import {
  buildVerificationPayload,
  verifySignature,
  verifyWithEd25519,
  verifyWithKms,
  loadTrustedKeys,
  findTrustedIdentifier,
  normalizePublicKey,
  isSupportedPublicKey,
} from '@ai-dossier/core';
verifySignature(content: string, signature: SignatureResult): Promise<VerifyResult>

Verify a signature using the verifier registry. Automatically selects the correct verifier based on signature.algorithm.

const parsed = parseDossierContent(content);
const result = await verifySignature(buildVerificationPayload(parsed), parsed.frontmatter.signature);
console.log(result.valid); // true | false
buildVerificationPayload(parsed: ParsedDossier): string

The bytes a parsed dossier's signature must verify against. Selects the scheme from signature.covers — absent: v1 (body only); frontmatter+body: v2 (flat frontmatter + body); spec-frontmatter+body: v3 (on-disk spec-shaped frontmatter minus metadata["dossier.signature"], + body) — and binds it to the file's shape: spec-shaped files verify only under v3, legacy files only under v1/v2. Throws on an unsigned dossier, an unknown covers, or a scheme/shape mismatch; treat a throw as a failed verification.

verifyWithEd25519(content: string, signature: string, publicKey: string): VerifyResult

Verify an Ed25519 signature directly. publicKey may be SPKI PEM, raw 32-byte base64, or base64 SPKI DER.

verifyWithKms(content: string, signature: string, keyId: string, region?: string): Promise<VerifyResult>

Verify an ECDSA-SHA-256 signature using AWS KMS.

loadTrustedKeys(filePath?: string): Map<string, string>…

Description from the npm listing.

  • agent-skill-verification
  • signature-verification
  • agent-security
  • llm-security
  • typescript
  • digital-signatures
  • workflow-validation
  • agent-skills
  • model-driven-orchestration
  • agent-orchestration
  • ai-agents
  • llm
  • skill-md
  • claude-code
  • claude-skills
  • supply-chain-security
  • signed
  • versioning

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@ai-dossier/core weekly downloads on npm, last 90 days: 455 weekly downloads as of Dec 5, 2026, -49.9% over 90 days.@ai-dossier/coreWeekly downloads on npm · Last 90 days455downloads / week-49.9% over 90 days02K4K6K8K10K12K14K16KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@ai-dossier/core weekly downloads on npm, last 90 days: 455 weekly downloads as of Dec 5, 2026, -49.9% over 90 days.

7/30/90-day growth

@ai-dossier/core weekly downloads growth on npm: -43.0% over 7 days, +53.2% over 30 days, -49.9% over 90 days.@ai-dossier/coreWeekly downloads growth on npm455downloads / week now7-day growth-343 weekly downloads-43.0%30-day growth+158 weekly downloads+53.2%90-day growth-453 weekly downloads-49.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@ai-dossier/core weekly downloads growth on npm: -43.0% over 7 days, +53.2% over 30 days, -49.9% over 90 days.

Ranking history

@ai-dossier/core npm ranking history: currently #2284 (by weekly downloads).@ai-dossier/corenpm ranking · by weekly downloads · Last 90 days#2284current rank#1000#1200#1400#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 34 observations · Updated Dec 5, 2026pluginstats.com
@ai-dossier/core npm ranking history: currently #2284 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 115, #4 (overall #2,284)
All npm: every listing in weekly downloads order

Listing placement

Claude Code614 listings · 31 pages · page 26, #9 (overall #509)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @ai-dossier/core
Date (UTC)Weekly downloadsChange vs. previous
455-53
508-267
775-8
783-252
1,035-2
1,037-16
1,053+255
798-69
867+292
5750
575+202
373-386
759-172
931—

Similar npm Claude Code plugins

All 20 @ai-dossier/core alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@ai-dossier/core. First seen Oct 16, 2026; last successful collection Dec 1, 2026. See the methodology.