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

copyprompt-cli

v1.1.5

Published

CopyPrompt CLI: search, copy and use community AI prompts straight from your terminal. Includes an MCP-powered agent that works with any model.

Readme

copyprompt-cli

Community prompts from CopyPrompt, straight in your terminal. Zero dependencies, just Node 20+.

The package is copyprompt-cli; the command it installs is copyprompt.

Quick start (npx, no install)

npx copyprompt-cli login        # paste a key from copyprompt.dev/settings#api
npx copyprompt-cli search "product photography"
npx copyprompt-cli get <slug>   # every search result prints its slug
npx copyprompt-cli add <slug>

The API needs a key from an account with a confirmed e-mail (see login below), so login comes first.

Or install once and use the short command everywhere:

npm i -g copyprompt-cli
copyprompt search "product photography"

get copies the prompt straight to your clipboard (PowerShell's Set-Clipboard on Windows, with clip.exe as a fallback; pbcopy on macOS, wl-copy/xclip on Linux). With no clipboard utility available, the text goes to stdout, so you can pipe it: copyprompt get slug | other-command.

Commands

copyprompt get <slug> [--vars key=value ...]

Fetches the prompt and copies the final text. Templates with {{variables}} are interpolated on the spot:

copyprompt get <slug> --vars product="a running shoe" light_color=golden

Variables you left out are reported, never silently dropped.

copyprompt search <query> [-c category] [--github]

Lists up to 10 prompts with rating, copies and a ready-to-paste get command:

copyprompt search refactor -c code

--github (or -g) lists only repository-backed publications (plugins, scripts, skills hosted on GitHub).

Categories: image, video, text, code, agents, audio, design3d, productivity, chatbot, marketing, data, education, research, other.

copyprompt add <slug> [--dir <folder>]

Installs a skill into .claude/skills/<slug> (use --dir for another skills folder). It fetches the package, prints every file in full, and asks before writing anything. Answer y and only then does it touch your disk.

copyprompt add <slug>

There is no --yes, and there never will be. A skill is not a dependency that runs in a sandbox: it is a set of instructions your agent will follow, written by a stranger. A flag to skip the review would turn this into curl | sh - the first person would read the package and everyone after would copy the line with the flag already in it, quite possibly from a README written by the author of the package. The review is the whole point.

For the same reason it prints every file, not just the SKILL.md: a confirmation that hides part of what it authorizes is not a confirmation, and a payload would live in scripts/setup.sh, not in the file you were shown.

It refuses to install if the destination already exists, if any path in the package would land outside the destination folder, or if there is no terminal to review in (a pipe is not a yes).

copyprompt login

Stores your API key in ~/.copyprompt.json (owner-only permissions); sent as Authorization: Bearer on every command.

copyprompt login                            # asks for the key, hidden prompt
echo "$COPYPROMPT_KEY" | copyprompt login   # scripts and CI

copyprompt login <key> still works, but a key typed as an argument stays in your shell history and shows up in the process list while the command runs, and it stays there after you revoke the key. The two forms above leave no trace.

A key is required, not an upgrade: since 3 Sep 2026 the API has no anonymous path, and it has to come from an account with a confirmed e-mail. The rate limit is 600 req/h per key. The catalog stays fully readable on the website without any of this - what closed was machine consumption without an owner. Create yours at copyprompt.dev/settings#api.

copyprompt --version

Prints the installed version. copyprompt help lists every command.

Configuration

| Env | Default | What for | | -------------------- | ------------------------ | --------------------------------- | | COPYPROMPT_API_URL | https://copyprompt.dev | Point at another instance or your dev server (http://localhost:3322) |

Language

The CLI speaks English; the API is language-neutral and returns the text each author wrote. The website itself is bilingual: English at copyprompt.dev and Brazilian Portuguese at copyprompt.dev/pt.

Your AI can use it too

The same catalog is available over MCP; connect Claude, GPT or your own agent and let the AI search the prompts on its own.

copyprompt chat: your own agent, no third-party client

The CopyPrompt MCP server was never tied to Claude: it is JSON-RPC over HTTP. What was missing was a client: the program that holds the conversation, offers the tools to a model, runs what the model asks for and feeds the result back. chat is that client, and it lives here.

copyprompt chat -p claude      # ANTHROPIC_API_KEY
copyprompt chat -p kimi        # MOONSHOT_API_KEY
copyprompt chat -p glm         # ZAI_API_KEY
copyprompt chat -p gemini      # GEMINI_API_KEY
copyprompt chat -p ollama      # no key, talks to localhost:11434

Providers: openai, kimi, glm, deepseek, groq, claude, gemini, ollama, lmstudio. Override the model with COPYPROMPT_MODEL and the endpoint with COPYPROMPT_MODEL_BASE_URL; a new model does not need a new release of this CLI.

Piping works too, for a single question:

echo "find me a product photography prompt" | copyprompt chat -p ollama

Where the keys go

Two keys, and they never meet:

  • your model key is read from the environment and goes straight to that provider; it is not stored, not logged, and never touches copyprompt.dev;
  • your CopyPrompt key (~/.copyprompt.json, from copyprompt login) only ever goes to our MCP server.

That separation is the reason the agent lives in the CLI instead of on the website: on the website, your model key would have to reach our servers first.