# cournot

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 5400 installs
- Author: Cournot-AI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Cournot-AI/cournot-skills/tree/HEAD/skills/cournot/SKILL.md
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/skills/cournot

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Cournot-AI/cournot-skills --skill cournot -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cournot/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cournot/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Cournot-AI/cournot-skills --skill cournot -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cournot/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Cournot-AI/cournot-skills --skill cournot -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cournot/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Cournot-AI/cournot-skills cournot
```

2. **Manually: put the files in place**
- File: `.github/skills/cournot/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Cournot-AI/cournot-skills --skill cournot -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Cournot-AI/cournot-skills --path skills/cournot
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cournot/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Cournot-AI/cournot-skills --skill cournot -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Cournot-AI/cournot-skills/tree/HEAD/skills/cournot/SKILL.md

## When to use it
- 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
- /cournot divergence 20
- /cournot balance
- /cournot rotate

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
