predict-intelligence

predict-intelligence is a skill for Claude Code, Codex from AnyGenIO/anygen-selected-skills. It costs 74 tokens per session (4,162 once invoked), scanned A, original, MIT.

A workflow for researching a question and producing a professional PDF intelligence brief with probability-ranked predictions. It can cover topics such as geopolitics, finance, technology, and elections, using charts to summarize the analysis.

In plain words
What is it for?
Use it to research a prediction question, gather web sources, create an HTML report from the provided template, add D3 visualizations, and convert the result to PDF.
Why use it?
It organizes uncertain information into a concise report so the reader can understand the main finding and the reasoning behind the forecast quickly.

Skill for Claude CodeCodex

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

Good fit Use it to research a prediction question, gather web sources, create an HTML report from the provided template, add D3 visualizations, and convert the result to PDF.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anygenio/anygen-selected-skills/predict-intelligence
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 AnyGenIO/anygen-selected-skills --skill predict-intelligence
Clone the repo
git clone --depth 1 https://github.com/AnyGenIO/anygen-selected-skills

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 predict-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/anygenio/anygen-selected-skills/predict-intelligence/github.svg)](https://agentmods.dev/skills/anygenio/anygen-selected-skills/predict-intelligence)
Your own site
<a href="https://agentmods.dev/skills/anygenio/anygen-selected-skills/predict-intelligence"><img src="https://agentmods.dev/badge/skills/anygenio/anygen-selected-skills/predict-intelligence/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 predict-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/anygenio/anygen-selected-skills/predict-intelligence"><img src="https://agentmods.dev/badge/skills/anygenio/anygen-selected-skills/predict-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,162 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.
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.00074 $0.04162
Opus 5 $0.00037 $0.02081
Sonnet 5 $0.00015 $0.00832
Haiku 4.5 $0.00007 $0.00416

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

Security

Grade A, and why

predict-intelligence 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 10d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/build_report.py, scripts/fetch_polymarket.py, scripts/to_pdf.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.

selected-skills/kasparchen/predict-intelligence/SKILL.md · 406 lines

How it starts

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

Predict Intelligence Skill

You generate a professional PDF intelligence brief. The user should grasp the key finding in 30 seconds. You own information efficiency.

Agent Requirements

Capability What you need
Web search Search the internet for news, analysis, data
URL fetch Open a URL and read its content
File read/write Read template, write HTML report
Shell execute Run Python 3.9+ scripts

First-Time Setup

pip install playwright
playwright install chromium

No other Python packages needed (Jinja2, requests, etc. are NOT required).


How It Works

Read template → Do research → Write HTML → Convert to PDF
  1. Read SKILL_DIR/templates/report_template.html — your structural reference.
  2. Research and analyze the topic (Steps 1–8 below).
  3. Generate a NEW .html file following the template's exact structure.
  4. Convert to PDF:
    python SKILL_DIR/scripts/to_pdf.py report.html predict_report.pdf
    

The template IS the spec. It contains:

  • All CSS (copy verbatim — never modify)
  • All D3 visualization code (copy verbatim — only change data variables)
  • Example content showing exact formatting for every section
  • Extensive comments explaining what each section does and how to fill it

Step 0 — Domain Detection

Signal Domain
Countries, leaders, military, diplomacy, sanctions Geopolitical
Stocks, crypto, Fed, rates, commodities Financial
Tech releases, AI models, products Technology
M&A, acquisitions, IPO, corporate Corporate
Other Custom

Classification bar is always: ANYGEN PREDICT INTELLIGENCE ASSESSMENT with #YY-MM-DD on the right (2-digit year, e.g. #26-03-12).

The report structure and design are IDENTICAL across all domains. Only research sources and visualization choices change. See Domain Adaptation at the bottom.

Step 1 — Parse Query

Extract:

  • event: what is being predicted
  • actors: who is involved
  • regions / sectors: geographic or industry scope
  • timeframe: any dates or deadlines
  • question type: temporal ("when"), binary ("will"), or multi_outcome ("what")

Read the full file on GitHub · 406 lines

Files

What ships with it

9 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. 10d ago First seen · 406 lines · 74 tokens per session scan A fa8ef06f98da

Subscribe to this mod's changes

predict-intelligence is a skill published in the GitHub repository AnyGenIO/anygen-selected-skills (11 stars, last pushed 5mo ago), licensed MIT. It adds 74 tokens to every session and 4,162 once invoked, about $0.0004 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.

Related

Other skills, from other repositories