prediction-trade-journal

prediction-trade-journal is a skill for Claude Code, Codex from SpartanLabsXyz/simmer-sdk. It costs 22 tokens per session (877 once invoked), scanned A, original, MIT.

A trade-recording and reporting tool for prediction markets. It downloads trades, stores their results, and analyses measures such as win rate, profit and loss, and calibration.

In plain words
What is it for?
For syncing trade history from Simmer, viewing recent trades, generating weekly reports, and exporting records to CSV. It can also track outcomes and produce calibration analysis.
Why use it?
It removes the need to keep a manual trade history or work out results from separate records. Reports help compare strategies with what actually happened after markets resolve.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit For syncing trade history from Simmer, viewing recent trades, generating weekly reports, and exporting records to CSV. It can also track outcomes and produce calibration analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SpartanLabsXyz/simmer-sdk --skill prediction-trade-journal
Clone the repo
git clone --depth 1 https://github.com/SpartanLabsXyz/simmer-sdk

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prediction-trade-journal

README.md
[![agentmods](https://agentmods.dev/badge/skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal/github.svg)](https://agentmods.dev/skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal)
Your own site
<a href="https://agentmods.dev/skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal"><img src="https://agentmods.dev/badge/skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prediction-trade-journal

Your own site · 80×15
<a href="https://agentmods.dev/skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal"><img src="https://agentmods.dev/badge/skills/spartanlabsxyz/simmer-sdk/prediction-trade-journal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00877
Opus 5 $0.00011 $0.00439
Sonnet 5 $0.00004 $0.00175
Haiku 4.5 $0.00002 $0.00088

Measured 12d ago against content hash 2b86f0a9acb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

prediction-trade-journal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/status.py, tradejournal.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prediction-trade-journal/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prediction Trade Journal

Track every trade, learn from outcomes, improve your edge.

When to Use This Skill

Use this skill when the user wants to:

  • See their trade history
  • Track win rate and P&L
  • Generate trading reports
  • Analyze which strategies work best

Setup Flow

When user asks to install or configure this skill:

  1. Install the Simmer SDK

    pip install simmer-sdk
    
  2. Ask for Simmer API key

    • They can get it from simmer.markets/dashboard → SDK tab
    • Store in environment as SIMMER_API_KEY

Quick Commands

# Sync trades from API
python tradejournal.py --sync

# Show recent trades
python tradejournal.py --history 10

# Generate weekly report
python tradejournal.py --report weekly

# Export to CSV
python tradejournal.py --export trades.csv

API Reference:

  • Base URL: https://api.simmer.markets
  • Auth: Authorization: Bearer $SIMMER_API_KEY
  • Trades: GET /api/sdk/trades

How It Works

  1. Sync - Polls /api/sdk/trades to fetch trade history
  2. Store - Saves trades locally with outcome tracking
  3. Track - Updates outcomes when markets resolve
  4. Report - Generates win rate, P&L, and calibration analysis

CLI Reference

Command Description
--sync Fetch new trades from API
--history N Show last N trades (default: 10)
--sync-outcomes Update resolved markets
--report daily/weekly/monthly Generate summary report
--config Show configuration
--export FILE.csv Export to CSV
--dry-run Preview without making changes

Configuration

Setting Environment Variable Default
API Key SIMMER_API_KEY (required)

Storage

Trades are stored locally in data/trades.json:

{
  "trades": [{
    "id": "uuid",
    "market_question": "Will X happen?",
    "side": "yes",
    "shares": 10.5,
    "cost": 6.83,
    "outcome": {
      "resolved": false,
      "winning_side": null,
      "pnl_usd": null
    }
  }],
  "metadata": {
    "last_sync": "2025-01-29T...",
    "total_trades": 50
  }
}

Read the full file on GitHub · 149 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 149 lines · 22 tokens per session scan A 2b86f0a9acb8

Subscribe to this mod's changes

prediction-trade-journal is a skill published in the GitHub repository SpartanLabsXyz/simmer-sdk (48 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 877 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.