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

@npcink/openclaw-adapter-cli

v0.2.0

Published

Local signed key-pair CLI for Npcink OpenClaw Adapter.

Readme

Npcink OpenClaw Adapter CLI

Local signed key-pair CLI for connecting OpenClaw-style clients to Npcink Adapter without sending a WordPress Application Password to chat, prompts, tool commands, logs, proposal payloads, or copied handoff text.

Usage

Connect from the user's local machine:

cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter connect --site=https://example.com --profile=example

Check the local profile and signed Adapter health:

cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter status --profile=example

The status output includes derived boundary and proposal_execution fields. In a healthy Adapter connection, core_proxy_execute=false and commit_execution=false indicate that Core keeps final execution authority separate from Adapter diagnostics. To decide whether a specific proposal can execute, read GET /proposals/{proposal_id} and then use the Adapter approve-and-execute or execute routes after Core approval and commit-preflight.

Call Adapter through the signed local wrapper:

cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter request --profile=example GET /health
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter request --profile=example GET /capabilities

Prefer the narrow read helpers for local AI client sessions. They build the Adapter body, keep output redacted, and reduce route/JSON mistakes:

cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter read-request create --profile=example --ability-id=npcink-abilities-toolkit/wp-ops-diagnostics-detail --input-file=/tmp/read-input.json --purpose="Review bounded diagnostics" --data-classes=diagnostics,logs --redaction-level=strict --max-rows=10 --tail-lines=5 --denied-fields=authorization,cookie,application_password
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter read-request status --profile=example READ_REQUEST_ID
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter read-ability --profile=example --ability-id=npcink-abilities-toolkit/wp-ops-diagnostics-detail --input-file=/tmp/read-input.json --read-request-id=READ_REQUEST_ID

For AI-generated page visuals that need a stable aspect ratio, use the bounded recipe helper. It reads GET /help, verifies openclaw_recipes.ai_image_ratio_crop_media_adoption, and then runs only the requested client-side step. It does not approve or execute proposals:

cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter recipe ai-image-ratio-crop-media-adoption inspect --profile=example
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter recipe ai-image-ratio-crop-media-adoption crop --profile=example --attachment-id=123 --aspect-ratio=16:9
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter recipe ai-image-ratio-crop-media-adoption result --profile=example RUN_ID
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter recipe ai-image-ratio-crop-media-adoption adoption-plan --profile=example --preview-url=PREVIEW_URL --post-id=7424 --old-url=OLD_URL --title="WordPress AI hero" --alt-text="WordPress AI proposal workflow hero" --source-type=ai_generated --attribution-text="AI-generated image reviewed before adoption"

Add --submit-proposal to adoption-plan only after reviewing the returned plan. Final approval and execution still use the Core/Adapter approved proposal flow.

Final Adapter write routes are guarded by client intent. Use --intent=preflight for POST /proposals/{proposal_id}/commit-preflight. Use --intent=commit only when the operator explicitly confirmed final write execution:

cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter request --profile=example POST /proposals/PROPOSAL_ID/commit-preflight --intent=preflight
cd ~ && npm exec --yes --package @npcink/[email protected] -- npcink-openclaw-adapter request --profile=example POST /proposals/PROPOSAL_ID/approve-and-execute --intent=commit

The CLI refuses final execute routes when --intent=commit is missing, or when the request body still contains preview markers such as dry_run=true, commit=false, or commit_execution=false.

CLI output is redacted by default for local connection identifiers, profile paths, key ids, signatures, authorization headers, cookies, tokens, passwords, and secrets. The Adapter also exposes client_policy on /connection/manifest, /health, and /help so AI clients can read a machine-readable policy before choosing routes.

For local WordPress development sites with self-signed .local HTTPS, add --insecure-local-tls.

Security Boundary

The CLI generates the private key locally and stores it under ~/.npcink-openclaw-adapter/keypair-profiles/. Npcink OpenClaw Adapter stores only the approved public key and verifies signed REST requests. Do not ask an AI client to read, print, summarize, or copy the profile JSON file.