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

@caspian-dev/cli

v0.1.0

Published

Caspian CLI validator (binary `caspian`) — vendor-neutral conformance checker for the Composable Agent Skill Protocol.

Readme

@caspian-dev/cli

Caspian CLI validator — the vendor-neutral conformance checker for the Composable Agent Skill Protocol. Installs the caspian binary into your PATH.

Install

# global (recommended for CI gates)
npm install -g @caspian-dev/cli

# or run without installing
npx @caspian-dev/cli validate ./

Requires Node.js ≥ 22.13.

Validate

caspian validate <path>

<path> may be a single .md file, a directory (walked recursively for *.md), or a glob pattern (expanded by the CLI, not the shell — quote your patterns).

caspian validate ./skills/my-skill.md
caspian validate ./
caspian validate '**/*.md'

Exit codes

| Exit | Meaning | |---|---| | 0 | All files valid (warnings allowed) | | 1 | At least one file produced an error diagnostic | | 2 | Usage error (unknown flag, missing input, glob matched nothing) | | 3 | Internal validator error (please report) |

Output

Default output is human-readable with ANSI colors when stdout is a TTY (auto-detected via chalk; honors NO_COLOR). Each file gets a per-file block with <file>:<line> — <code> <severity>: <message>, optional hint: and doc: sub-lines, followed by a summary footer <N> files: <X> errors, <Y> warnings.

See JSON output below for the machine-readable mode.

JSON output (--format=json)

Programmatic CI consumers, jq pipelines, and third-party dashboards should use --format=json. The output is a single JSON document on stdout, pretty-printed with 2-space indent.

caspian validate --format=json ./skills/

Schema (v1)

{
  "schemaVersion": "1",
  "results": [
    {
      "file": "skills/maya-lint.md",
      "valid": true,
      "diagnostics": [
        {
          "code": "CASPIAN-W001",
          "severity": "warning",
          "line": 7,
          "field": "metadata",
          "message": "Unrecognized frontmatter field outside the recognized allow-list: `metadat`. Did you mean `metadata`?",
          "doc": "https://caspian.dev/diagnostics#caspian-w001"
        }
      ]
    }
  ],
  "summary": {
    "files": 12,
    "errors": 0,
    "warnings": 3
  }
}
  • schemaVersion is the stable contract identifier. v1.0 ships "1".
  • results[].file is the path as walked, with forward slashes regardless of OS.
  • results[].valid is true iff no severity: "error" diagnostic is present (warnings are allowed).
  • diagnostics[].field is omitted when the diagnostic does not target a specific field (e.g., CASPIAN-E001 BOM).
  • diagnostics[].doc is omitted only for unknown codes (not present in the v1.0 18-code registry — should never occur).
  • summary.files counts walked-and-validated files (skipped files emit warnings on stderr; they are not included in the summary).

Schema stability

schemaVersion: "1" is a stable contract. Adding optional fields (e.g., a future summary.skipped count or diagnostic.hint field) is non-breaking and does NOT bump the version. Removing or renaming any field, changing a field's type, or changing the semantics of an existing field bumps schemaVersion to "2" (or higher).

When schemaVersion is bumped, the prior version is documented as deprecated in CHANGELOG.md for at least one minor release before the old shape is removed. Downstream consumers should pin against parsed.schemaVersion === "1" and emit a warning when they encounter a different value.

Strict-warnings recipe

Default exit semantics: caspian exits 0 when only warnings are present. To gate CI on a zero-warnings, zero-errors invariant, pipe through jq:

caspian validate --format=json ./skills/ | jq -e '.summary.errors == 0 and .summary.warnings == 0'

jq -e exits non-zero when the predicate evaluates to false, propagating a failing exit code to the surrounding CI step.

See also

License

Apache-2.0. See LICENSE.