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

@clawid/cli

v0.4.1

Published

CLI tool for signing and verifying AI agent skills

Downloads

45

Readme

@clawid/cli

Cryptographic verification for AI agent skills. Prove integrity and provenance of skill bundles with Ed25519 signatures.

⚠️ NOT A SAFETY AUDIT — ClawID verifies that a skill hasn't been tampered with and identifies who signed it. It does NOT audit code for malware.

npm version license

Installation

npm install -g @clawid/cli
# or
npx @clawid/cli

Quick Start

1. Generate Your Identity

clawid init

Creates an Ed25519 keypair and DID at ~/.clawid/keypair.json:

🔑 ClawID Identity Setup

✅ Identity created successfully!

   DID: did:key:z6MkwTCtz6NewTuV2MJsHvhrQew8Lp7uC1W7Syvg97WsAGjZ
   Public Key: fc931e2c3c0a729fd8c931634ad032d5e648b5dc5e66aecc090f32a1398844e8

2. Sign a Skill Bundle

clawid sign my-skill-v1.0.0.zip

Creates a .clawid-sig.json signature file alongside the zip.

3. Verify a Skill Bundle

clawid verify my-skill-v1.0.0.zip

Shows tiered verification result.

Commands

Identity Management

| Command | Description | |---------|-------------| | clawid init | Generate new Ed25519 keypair and DID | | clawid init --force | Overwrite existing identity | | clawid whoami | Display current identity |

Signing & Verification

| Command | Description | |---------|-------------| | clawid sign <path.zip> | Sign a skill bundle | | clawid sign <path> -o <output> | Specify output path | | clawid verify <path.zip> | Verify a signed skill | | clawid verify <path> --offline | Skip online proof check | | clawid verify <path> -s <sig> | Specify signature file |

Identity Proofs

Prove your identity to show as "Publisher Verified":

| Command | Description | |---------|-------------| | clawid proof github | Generate GitHub gist proof template | | clawid proof domain [domain] | Generate .well-known proof template | | clawid proof add <type> <url> | Add proof to identity | | clawid proof remove | Remove proof from identity | | clawid proof show | Show current proof configuration |

Example workflow:

# Generate gist content
clawid proof github
# → Copy output to a public GitHub gist named clawid.json

# Add proof to your identity
clawid proof add github https://gist.github.com/yourname/abc123

# Now your signatures include the proof
clawid sign my-skill.zip
# → Verifiers will see "Publisher Verified"

Remote Skills

Download and verify skills from URLs:

| Command | Description | |---------|-------------| | clawid wrap install <url> | Download, verify, and prepare skill | | clawid wrap install <url> --force | Install even if unknown publisher | | clawid wrap verify <url> | Download and verify (cleanup after) |

Verification Tiers

| Tier | Icon | Meaning | |------|------|---------| | Publisher Verified | ✅ | Signature valid + identity proven via GitHub/domain | | Integrity Verified | ✅ | Signature valid, proof skipped (offline mode) | | Unknown Publisher | ⚠️ | Signature valid but identity not proven | | Failed | 🚫 | Hash mismatch or invalid signature |

Signature File Format

The .clawid-sig.json file contains:

{
  "version": "1.0",
  "signer": {
    "did": "did:key:z6Mk...",
    "publicKey": "fc931e2c...",
    "proof": {
      "type": "github",
      "handle": "username",
      "url": "https://gist.github.com/..."
    }
  },
  "artifact": {
    "type": "skill-bundle-zip",
    "hash": "sha256:a1b2c3d4...",
    "filename": "my-skill.zip",
    "size": 12345
  },
  "timestamp": "2026-02-03T10:30:00Z",
  "signature": "e1555fa4..."
}

Library API

ClawID can be used as a library for integrating verification into other tools (MCP servers, package managers, installers):

import { verifySkill, downloadAndVerify } from '@clawid/cli';

// Verify local files
const result = await verifySkill('./skill.zip', './skill.clawid-sig.json');
console.log(result.tier);        // 'publisher_verified'
console.log(result.canInstall);  // true

// Verify remote skill
const remote = await downloadAndVerify('https://example.com/skill.zip');
if (remote.canInstall) {
  // Install from remote.zipPath
}

// Skip online proof verification
const offline = await verifySkill(zipPath, sigPath, { offline: true });

Installation Rules

| Tier | canInstall | |------|------------| | publisher_verified | true | | integrity_verified | true | | unknown_publisher | false | | failed | false |

Use the --force flag in CLI or check result.valid to override for unknown_publisher tier.

Types

interface VerificationResult {
  tier: 'publisher_verified' | 'integrity_verified' | 'unknown_publisher' | 'failed';
  valid: boolean;
  hashMatch: boolean;
  signatureValid: boolean;
  canInstall: boolean;
  signerDid: string;
  hasIdentityProof: boolean;
  proofVerified: boolean;
  proof?: {
    type: 'github' | 'domain';
    handle: string;
    verified: boolean;
  };
  error?: string;
}

interface DownloadAndVerifyResult extends VerificationResult {
  zipPath?: string;     // Path to downloaded file (if keepFiles: true)
  sigPath?: string;     // Path to signature file
  downloadError?: string;
}

CI Integration

Exit codes for CI pipelines:

| Exit Code | Meaning | |-----------|---------| | 0 | Verification passed | | 1 | Verification failed |

# In your CI pipeline
clawid verify skill.zip || exit 1

FAQ

Does verified mean safe? No. Verified means the bundle hasn't been tampered with and we know who signed it. Review code from unknown publishers.

Can attackers sign malware? Yes — that's why we show WHO signed it. Signature proves integrity, not intent.

What about dependencies? Out of scope. We verify the published bundle, not what it might download at runtime.

Links

License

MIT