pandora-cli-skills
v1.1.96
Published
Pandora CLI & Skills
Maintainers
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:
- Anthropic skill install:
docs/skills/install-anthropic-skill.md - Humans:
docs/skills/command-reference.md - Agents:
docs/skills/agent-quickstart.md - MCP / JSON contracts:
docs/skills/agent-interfaces.md - Policy packs / signer profiles:
docs/skills/policy-profiles.md - Release trust:
docs/trust/release-verification.md - Security posture:
docs/trust/security-model.md - Support guarantees:
docs/trust/support-matrix.md - Root doc router:
SKILL.md
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 helpWhat each step is for:
npm install: install the local CLI and docs/test dependenciesnpm run init-env: scaffold the expected environment inputsnpm run doctor: inspect local runtime readiness before live worknpm run build: run the repo’s verification gates, including docs, trust, SDK parity, and benchmark checksnpx pandora help: browse the command surface manually
Human reading order
docs/skills/command-reference.mdfor the command families and flags.docs/skills/trading-workflows.mdfor discover -> quote -> trade -> claim flows.docs/skills/mirror-operations.mdfor mirror planning, validation, deploy, sync, and status.docs/skills/portfolio-closeout.mdfor portfolio inspection, LP exits, and closeout.docs/trust/release-verification.mdbefore 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 listThose 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 mcplocally, orpandora mcp httpon 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 httpcentrally - 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 bootstrapUse 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 mcpUse 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:sportsUse 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
docs/skills/agent-quickstart.md: fastest safe bootstrap pathdocs/skills/agent-interfaces.md: JSON envelopes, schema, MCP, recovery, and error contractsdocs/skills/policy-profiles.md: policy packs, signer profiles, gateway scopes, and readiness guidancedocs/skills/recipes.md: reusable safe workflows compiled from ordinary Pandora commands
Recommendations
- Prefer
bootstrapover rawhelpoutput 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, andprofile explainsay the workflow actually needs them. - Prefer
--profile-idor--profile-fileover raw--private-keywhen a command family supports profile-directed execution. - Prefer
pandora mcpfor local agents andpandora mcp httpfor intentionally hosted remote agents. - Prefer
operations list|get|receipt|verify-receiptwhen 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|godo not use a generic+1hclose rule. They use a sports-aware suggestedtargetTimestamp.mirror deploy|gorequires 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
agentPreflightdata for execute/live reruns. - Treat mutable profiles as not ready until
profile explainconfirms 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 10Pricing before mutation
npx pandora quote --output json --market-address 0x... --side yes --amount-usdc 25Local runtime checks
npm run doctor
npx pandora --output json profile list
npx pandora --output json profile explain --id market_observer_roDocs By Task
- General command surface:
docs/skills/command-reference.md - Trading and claim flows:
docs/skills/trading-workflows.md - Mirror planning and operations:
docs/skills/mirror-operations.md - Portfolio and closeout:
docs/skills/portfolio-closeout.md - Capability map and category routing:
docs/skills/capabilities.md - Agent bootstrap:
docs/skills/agent-quickstart.md - Agent interface contracts:
docs/skills/agent-interfaces.md - Policies, profiles, and scopes:
docs/skills/policy-profiles.md - Recipes:
docs/skills/recipes.md - Benchmarks and scorecards:
docs/benchmarks/README.md,docs/benchmarks/scenario-catalog.md,docs/benchmarks/scorecard.md - Trust and release posture:
docs/trust/release-verification.md,docs/trust/release-bundle-playbook.md,docs/trust/security-model.md,docs/trust/support-matrix.md
SDK Surfaces
- TypeScript SDK:
sdk/typescript/README.md - Python SDK:
sdk/python/README.md - Shared generated contracts:
sdk/generated
Notes:
- The shipped SDK surfaces are alpha.
- The repository also vendors matching generated manifests under
sdk/typescript/generatedandsdk/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 coverageMinimal 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.