cournot — Claude Code skill: probabilities and divergence rankings
A skill that queries Cournot for event probabilities and pricing-divergence rankings, and manages balances and API keys. Runs only on /cournot or an explicit request.
npx skills add Cournot-AI/cournot-skills --skill cournot -a claude-codeWhat cournot does
The skill wires your agent into the Cournot API. A plain event query returns the API's assessment and supporting evidence; the agent does not add an estimate of its own. Separate commands cover the cached pricing-divergence ranking, balance and masked key, importing an existing key, rotation preview, and topping up an account.
Ranking has a hard limit. divergence [count] takes an integer from 1 to 100, defaulting to 10. A fractional value such as 2.5 is rejected before any API call, and rounding it is not allowed. Page turns reuse the saved snapshot from the last ranking instead of starting a fresh query.
Node.js is required. The environment variables are all optional: COURNOT_CREDENTIAL_DIR sets where credentials live, COURNOT_API_KEY overrides the saved key, COURNOT_API_BASE points at a different API. Anonymous use works without a key. Rotation runs only after the user confirms, because the old key stops working once it goes through — the skill shows a preview first.
What it helps with
- pull an event probability from the Cournot API
- see the pricing-divergence ranking
- check balance and the masked key
- import an existing API key
- preview a key rotation before it runs
Example prompts for the agent
- /cournot divergence 20
- /cournot balance
- /cournot rotate
How to install cournot
1Skills CLI (Vercel)
npx skills add Cournot-AI/cournot-skills --skill cournot -a claude-code2Manually: put the files in place
~/.claude/skills/cournot/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cournot/
1Skills CLI (Vercel)
npx skills add Cournot-AI/cournot-skills --skill cournot -a codex2Manually: put the files in place
.agents/skills/cournot/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Cournot-AI/cournot-skills --skill cournot -a cursor2Manually: put the files in place
.cursor/skills/cournot/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Cournot-AI/cournot-skills cournot2Manually: put the files in place
.github/skills/cournot/SKILL.md1Skills CLI (Vercel)
npx skills add Cournot-AI/cournot-skills --skill cournot -a gemini-cli2Platform CLI
gemini skills install https://github.com/Cournot-AI/cournot-skills --path skills/cournotManually: put the files in place
.devin/skills/cournot/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Cournot-AI/cournot-skills --skill cournot -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cournot
How do I install cournot in Claude Code?
Run npx skills add Cournot-AI/cournot-skills --skill cournot -a claude-code. The skill lands at ~/.claude/skills/cournot/SKILL.md.
What does cournot do?
It answers event-probability queries through the Cournot API, shows the pricing-divergence ranking, and handles balance, keys and account top-ups.
When does the skill not trigger?
Only /cournot or an explicit request to use Cournot starts it. Casual questions about odds are ignored.