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

@atomic-content-protocol/cli

v0.3.2

Published

CLI tool for the Atomic Content Protocol

Readme

@atomic-content-protocol/cli

Command-line tool for the Atomic Content Protocol — create, validate, enrich, search, and serve ACOs from your terminal.

Install

npm install -g @atomic-content-protocol/cli

Or run without installing:

npx @atomic-content-protocol/cli init ./my-vault

Commands

acp init [path]                 Initialise a vault (.acp/config.json) in path (default: .)
acp create                      Create an ACO from --title/--body or --url
acp validate [path]             Validate every ACO in a vault, or one .md file
acp enrich <id>                 Enrich one ACO with tags, summary, entities, classification
acp enrich-batch                Enrich every ACO in the vault (filters, budget, concurrency)
acp search <query>              Full-text search over titles and bodies
acp serve                       Start the MCP server (stdio) over the vault
acp stats                       Counts, enrichment coverage and token totals

Every command accepts --vault <path>. Without it, the CLI walks up from the current directory to the nearest .acp/config.json (like git finds .git), and falls back to the current directory.

Run acp <command> --help for options.

Examples

acp init ./vault --yes
acp create --title "Why ACP exists" --body "Knowledge that can't be found isn't useful." --tags protocol,knowledge
acp create --url https://example.com/article            # fetched, source_type=link
acp enrich 0193f5e6-... --pipelines unified,embed --yes  # embed needs OpenAI or Ollama
acp enrich-batch --filter-status draft --max-cost 0.50 --concurrency 4 --yes
acp validate --json

--max-cost is enforced before anything is sent to a provider: the CLI estimates each ACO, enriches as many as fit the budget, and reports the rest as deferred.

Exit codes

| Code | Meaning | |---|---| | 0 | Success | | 1 | Runtime error (provider failure, missing ACO, …) | | 2 | Usage error (bad flag, invalid config) | | 3 | validate found invalid ACOs | | 4 | Enrichment requested but no provider configured |

Set ACP_DEBUG=1 to see stack traces.

Configuration

Provider keys come from the environment:

export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...          # also enables the embed pipeline
export ACP_QUALITY=fast               # fast (default) | balanced | best

.acp/config.json (written by acp init):

{
  "vault_path": ".",
  "author": { "id": "[email protected]", "name": "Your Name" },
  "enrichment": {
    "quality": "fast",
    "anthropic": { "model": "claude-haiku-4-5" },
    "openai": { "model": "gpt-5.6-luna", "embedding_model": "text-embedding-3-small" }
  }
}

vault_path is relative to the config file, so a vault can be moved or committed. Unknown keys are rejected so typos are caught.

Claude Desktop

{
  "mcpServers": {
    "acp": {
      "command": "npx",
      "args": ["@atomic-content-protocol/cli", "serve", "--vault", "/path/to/vault"],
      "env": { "ANTHROPIC_API_KEY": "sk-ant-..." }
    }
  }
}

Links

Stewardship

The Atomic Content Protocol is an open standard stewarded by Stacks, Inc — the company behind Stacklist.

License

Apache-2.0