prediction-markets-skill
CLAUDE.md3 starsChanged 5 months agoMITView on GitHub
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
All public-facing content (SKILL.md, references, scripts, README, commits) in English.
- Very specific: line 11
Every script: JSON to stdout, errors to stderr, non-zero exit on failure, --help with examples, timeout, retry with backoff on 429/5xx, …
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
prediction-markets-skill — project rules
Language & audience
All public-facing content (SKILL.md, references, scripts, README, commits) in English. Target: US developers/traders.
Hard rules
- Scripts: Python 3.10+, stdlib ONLY (urllib.request, json, argparse). No pip dependencies, ever.
- Network calls only to documented Kalshi/Polymarket API hosts. No telemetry, no third-party services.
- Core skill is read-only. Trading logic lives only in the separate trading skill (v1.5+).
- API endpoints and base URLs come ONLY from docs-raw/ (fetched live docs), never from model memory.
- Every script: JSON to stdout, errors to stderr, non-zero exit on failure, --help with examples, timeout, retry with backoff on 429/5xx, pagination, geo-block detection.
Definition of done (per script)
Runs against live API, returns valid JSON in <5s, tested on 3+ distinct queries, listed in SKILL.md routing table.
Evals
- Trigger eval: skill-creator run_loop.py, target precision/recall ≥0.9 on held-out test.
- Task evals: evals/tasks.json, review via eval-viewer/generate_review.py before any SKILL.md rewrite.
Style
SKILL.md <500 lines. References ≤300 lines or add a TOC. Gotchas use WHEN/WRONG/RIGHT/GOTCHA format.
Sources of truth
- Kalshi: docs.kalshi.com (verify live at session start if touching API code)
- Polymarket: docs.polymarket.com (Gamma / CLOB / data-api)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

