← Browse

@alsk1992/predictit

A

PredictIt political prediction market (read-only)

skillclaude

Install

agr install @alsk1992/predictit --target claude

Writes 2 files into .claude/skills/, pinned to git-a44fee1b.

  • .claude/skills/predictit/SKILL.md
  • .claude/skills/predictit/index.ts

Document


name: predictit description: "PredictIt political prediction market (read-only)" emoji: "🗳️" commands:

  • /pi

PredictIt

Read-only integration with PredictIt, a US political prediction market. View markets and prices.

Quick Start

# Search markets
/pi search president

# Get market details
/pi market 6867

# List all markets
/pi all

Commands

CommandDescription
/pi search [query]Search markets
/pi market <id>Get market details
/pi allList all active markets

Examples:

/pi search election       # Search election markets
/pi market 6867           # Get specific market
/pi all                   # List all markets

Features

  • Political Markets - US elections, congress, policy
  • Real-time Prices - Last trade and best bid/ask
  • Contract Details - Individual outcomes with prices

Notes

  • PredictIt is read-only (no trading API)
  • Prices shown are last trade price
  • Market volume not exposed by API
  • US politics focused

Price Data

FieldDescription
lastTradePriceMost recent trade price
bestBuyYesCostBest offer to buy Yes
bestBuyNoCostBest offer to buy No
bestSellYesCostBest bid to sell Yes
bestSellNoCostBest bid to sell No

Resources

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-a44fee1bfc0d2026-07-31