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

pandora-cli-skills

v1.1.96

Published

Pandora CLI & Skills

Readme

Pandora CLI & Skills

Pandora is a production CLI and agent surface for prediction-market workflows: read-only discovery, mirror planning, sports consensus, on-chain execution, MCP serving, and shipped SDK contracts.

+----------------------------------------------------------------------------------+
| Start read-only.                                                                 |
| Learn the contract surface first.                                                |
| Add policy scopes, signer profiles, and secrets only on the runtime that         |
| actually needs to execute mutable work.                                          |
+----------------------------------------------------------------------------------+
+----------------------- README MAP -----------------------+
| humans  -> install, inspect, follow task guides          |
| agents  -> bootstrap, schema, MCP, policy/profile checks |
| trust   -> release verification, security, support       |
| sdk     -> TypeScript, Python, generated contracts       |
+----------------------------------------------------------+

Start Here

If you are reading this page on GitHub, use these jump points first:

For Humans

Use this path if you want the repo explained in order and prefer detailed guidance over terse machine contracts.

Anthropic skill install

If you want Claude.ai or Claude Code to use Pandora as a skill, start here:

Use the generated Anthropic skill bundle from the packaging flow. Do not zip and upload the repo root as a skill. Build it with npm run pack:anthropic-skill, then upload dist/pandora-skill.zip in Claude.ai or install dist/pandora-skill/ in Claude Code.

Detailed setup

npm install
npm run init-env
npm run doctor
npm run build
npx pandora help

What each step is for:

  • npm install: install the local CLI and docs/test dependencies
  • npm run init-env: scaffold the expected environment inputs
  • npm run doctor: inspect local runtime readiness before live work
  • npm run build: run the repo’s verification gates, including docs, trust, SDK parity, and benchmark checks
  • npx pandora help: browse the command surface manually

Human reading order

  1. docs/skills/command-reference.md for the command families and flags.
  2. docs/skills/trading-workflows.md for discover -> quote -> trade -> claim flows.
  3. docs/skills/mirror-operations.md for mirror planning, validation, deploy, sync, and status.
  4. docs/skills/portfolio-closeout.md for portfolio inspection, LP exits, and closeout.
  5. docs/trust/release-verification.md before installs, release checks, or operator handoff.

If you are testing the Anthropic skill itself rather than the repo manually, use the install guide first and then come back to the docs above for deeper workflow detail.

Safe human-first discovery

If you want to explore without touching signer material:

npx pandora --output json bootstrap
npx pandora --output json capabilities
npx pandora --output json schema
npx pandora --output json policy list
npx pandora --output json profile list

Those commands are the preferred front door for both humans and agents because they expose the current surface area without assuming execution readiness.

For Agents

Use this path if the consumer is an LLM, automation runtime, SDK client, or MCP host.

Choose the operating model first

Self-custody local runtime

Use this when the agent should execute with the user's own wallet and signer material.

  • run pandora mcp locally, or pandora mcp http on the user's own machine or server
  • keep signer material on the user's own runtime
  • prefer this path for live execution with user-owned funds

Hosted read-only / planning gateway

Use this when you want a shared remote endpoint for discovery, bootstrap, schema inspection, recipes, planning, audit, and receipts.

  • host pandora mcp http centrally
  • keep the shared gateway read-only by default
  • only add hosted mutation if you explicitly want a BYO-signer or custodial model
  • do not require self-custody users to route live execution through the shared gateway

One command: bootstrap the contract

npm install && npx pandora --output json bootstrap

Use bootstrap first for canonical tools, recommended next steps, default policy/profile hints, and doc routing.

One command: start local stdio MCP

npm install && npx pandora mcp

Use local stdio MCP when the agent runs on the same machine as Pandora. This is the default self-custody path for live execution.

One command: host remote read-only HTTP MCP

npm install && npx pandora mcp http --auth-scopes capabilities:read,contracts:read,help:read,schema:read,operations:read,scan:read,quote:read,portfolio:read,mirror:read,sports:read,network:indexer,network:rpc,network:polymarket,network:sports

Use remote HTTP MCP only when you intentionally want external agents to connect over the network. Start with read-only scopes and widen later. For most teams, this gateway should be the shared discovery and planning surface, not the default home of user signer material.

Recommended agent order

bootstrap
  -> capabilities
  -> schema
  -> policy list
  -> profile list
  -> profile explain (only when mutation is actually needed)

Agent-first docs

Recommendations

  • Prefer bootstrap over raw help output when the caller is an agent.
  • Prefer canonical tool names. Only use compatibility aliases for legacy callers or migration diffing.
  • Prefer self-custody local runtimes for live execution with user-owned funds.
  • Prefer a hosted HTTP gateway for shared discovery, planning, schema, recipes, audit, and receipt retrieval.
  • Prefer read-only planning first. Do not provision secrets until requiresSecrets, policyScopes, and profile explain say the workflow actually needs them.
  • Prefer --profile-id or --profile-file over raw --private-key when a command family supports profile-directed execution.
  • Prefer pandora mcp for local agents and pandora mcp http for intentionally hosted remote agents.
  • Prefer operations list|get|receipt|verify-receipt when you need persisted state or audit evidence for mutable work.
  • Prefer the trust docs before install, release verification, or external sharing of artifacts.

Critical Safety Rules

  • mirror plan|deploy|go do not use a generic +1h close rule. They use a sports-aware suggested targetTimestamp.
  • mirror deploy|go requires at least 2 independent public resolution URLs from different hosts in --sources.
  • Polymarket, Gamma, and CLOB URLs are discovery inputs only. They are not valid resolution sources.
  • Validation is payload-exact. Reuse the validation ticket or agentPreflight data for execute/live reruns.
  • Treat mutable profiles as not ready until profile explain confirms the exact tool, mode, and runtime context are usable.

Common Paths

Discovery and planning

npx pandora --output json bootstrap
npx pandora --output json capabilities
npx pandora --output json schema
npx pandora scan --output json --limit 10

Pricing before mutation

npx pandora quote --output json --market-address 0x... --side yes --amount-usdc 25

Local runtime checks

npm run doctor
npx pandora --output json profile list
npx pandora --output json profile explain --id market_observer_ro

Docs By Task

SDK Surfaces

Notes:

  • The shipped SDK surfaces are alpha.
  • The repository also vendors matching generated manifests under sdk/typescript/generated and sdk/python/pandora_agent/generated.
  • Use the SDK-local manifests first when embedding Pandora in a client.

Repository Layout

.
|-- cli/                  CLI entrypoint and runtime surface
|-- docs/skills/          operator and agent documentation
|-- docs/trust/           release, security, and support docs
|-- docs/benchmarks/      benchmark methodology and scorecards
|-- sdk/typescript/       TypeScript SDK surface
|-- sdk/python/           Python SDK surface
|-- sdk/generated/        shared generated contract bundle
|-- references/           contracts and protocol references
|-- scripts/              build, trust, benchmark, and release helpers
`-- tests/                CLI, MCP, workflow, and smoke coverage

Minimal Install Facts

  • Node.js >=18
  • Package bin: pandora
  • Main repo homepage: this README
  • Shareable/sanitized companion guide: README_FOR_SHARING.md

Short Version

Anthropic skill? Install the generated bundle -> test with Pandora-specific prompts -> keep repo root out of skill upload.
Human?  Install -> doctor -> build -> read command/workflow docs.
Agent?  bootstrap -> capabilities -> schema -> policy/profile -> MCP.
Live?   Add scopes and secrets only after exact readiness checks pass.