Logo van Rubric Forecasting

Rubric Forecasting

Organisatie
NeoSoul-AI
rubric-forecasting

Use for structured forecasting tasks that require deterministic rubric scoring, calibrated option ranking, explicit evidence tracking, and script-based numeric computation.

Overzicht

UitgeverNeoSoul-AI
Repositoryrubric-prediction-skill
Skillnaamrubric-forecasting
Sterren
85
Forks
16
Meegeleverde bestanden
70
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 70

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door NeoSoul-AI op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Rubric Forecasting in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NeoSoul-AI/rubric-prediction-skill.git \
  .claude/skills/rubric-forecasting
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Rubric Forecasting in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Rubric Forecasting automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Rubric Forecasting niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Rubric Forecasting Skill

Goal

Generate topic-specific rubric dimensions around the current forecast, then score, rank, and normalize candidate outcomes against those dynamic dimensions, with a traceable evidence ledger, sensitivity analysis, and structured natural-language reasoning.

Required Input Contract

Before computing, collect as much as possible of:

  • question: Clear, verifiable problem statement
  • options[]: Mutually exclusive, reasonably complete candidate outcomes
  • resolution_rule: How the outcome will be adjudicated later
  • evidence[]: Evidence list

Optional fields:

  • forecast_time: Forecast version timestamp (for logging, not a hard information boundary)
  • close_time: Target observation/adjudication time (records the question window)
  • rubric_dimensions[]: Topic-specific rubric dimensions; suggest 3–6, each with:
  • key
  • label
  • weight
  • why_it_matters
  • base_option_scores: Baseline scores per option (default all zeros if omitted)
  • normalization_temperature: Softmax temperature, default 1.0
  • monitoring_signals[]: Signals to monitor going forward

If critical fields are missing and cannot be filled, return insufficient_spec.

Non-Negotiable Constraints

  • Never perform weighted sums, normalization, or any score arithmetic by hand in LLM text.
  • All numeric work must be done by the script engine.
  • If the script is unavailable, fails, or output lacks an engine field, fail-closed and return insufficient_spec.

Evidence Schema (Per Item)

Each evidence item should include:

  • id
  • claim
  • timestamp
  • source
  • supports_option (which option(s); string or array)
  • stance (for|against)
  • strength (weak|medium|strong|extreme)
  • dimension_scores: Per-dimension scores for this question’s rubric, e.g.:
  • {"incumbent-stability": 0.82, "party-fragmentation": 0.71, "market-conviction": 0.90}
  • dependency_group (group for same-source / strongly related evidence)

Scoring Rules

0) Topic-Specific Rubric Design

Before calling the script, produce a topic-specific rubric for the current forecast—not a fixed dimension set.
Each dimension must specify:

  • Why it is directly relevant to this question
  • Its relative weight in the overall judgment
  • A 0–1 score per evidence item on that dimension

1) Strength Factor

  • weak = 0.6
  • medium = 1.0
  • strong = 1.6
  • extreme = 2.2

2) Rubric Weighted Score

Evidence quality:

quality = sum(weight_i * dimension_score_i)

The dimension set is not fixed; it is determined dynamically by the forecast question.

3) Dependency Penalty

Within the same dependency_group, the first item has no penalty; the 2nd and later are multiplied by 0.5.

4) Evidence Contribution

contribution = quality * strength_factor * dependency_penalty

  • When stance = for: add to the target option
  • When stance = against: subtract from the target option

5) Option Aggregation

raw_score(option) = base_option_score(option) + sum(contribution_i(option))

6) Normalization

Convert raw scores to normalized scores (sum to 1) via softmax:

  • normalized_score(option) = softmax(raw_score / temperature)

Engine Execution

Run via script (choose one; from repo root or after pip install of this package):

bash
python scripts/rubric_forecast.py --input /path/to/input.json

or:

bash
python -m rubric_forecast --input /path/to/input.json

or (after install):

bash
rubric-forecast --input /path/to/input.json

or:

bash
cat /path/to/input.json | python -m rubric_forecast

Sensitivity Check (Mandatory)

Run sensitivity at least once:

  • Remove the single evidence item with largest absolute contribution, recompute normalized scores
  • Emit delta_top_score

Output Format (JSON First)

json
{
  "status": "ok",
  "final_answer": "option_x",
  "raw_option_scores": [{"option": "x", "score": 1.27}],
  "normalized_scores": [{"option": "x", "score": 0.61}],
  "rubric_dimensions": [
    {
      "key": "incumbent-stability",
      "label": "Incumbent stability",
      "weight": 0.34,
      "why_it_matters": "Directly affects whether the PM might leave office early."
    }
  ],
  "normalization_temperature": 1.0,
  "evidence_ledger": [
    {
      "id": "e1",
      "supports_option": "x",
      "stance": "for",
      "strength": "strong",
      "quality": 0.72,
      "contribution": 1.152,
      "dimension_scores": {
        "incumbent-stability": 0.88
      }
    }
  ],
  "conflict_resolution_notes": [],
  "sensitivity": [
    {
      "drop_evidence_id": "e1",
      "delta_top_score": -0.18
    }
  ],
  "reasoning_text": "The real disagreement sits on incumbent stability versus succession pressure. The leading scenario looks like yes because… but no is far from ruled out because… So the fair read is: yes leads slightly; what could flip the call is new evidence on the key dimensions.",
  "rubric_multidim_analysis": {
    "question": "Will product Z ship before 2026-08-01?",
    "rubric_design_summary": "This question uses the following topic-specific rubric dimensions…",
    "method_overview": "This run uses a topic-specific rubric, not a fixed template…",
    "decision_summary": "The top-scoring option is currently yes…",
    "reasoning_narrative": "The key thing to watch is… the evidence leans yes for now… but no is not excluded… overall…",
    "option_analyses": [
      {
        "option": "yes",
        "position": "Leading",
        "score_statement": "Raw score 1.20, normalized 0.62.",
        "dimension_analysis": [
          {
            "dimension": "incumbent-stability",
            "label": "Incumbent stability",
            "assessment": "Positive driver",
            "analysis": "Net contribution on incumbent-stability dimension +0.31…"
          }
        ],
        "evidence_logic": {
          "supporting": ["e1 (for, contribution +1.23): …"],
          "opposing": ["e3 (against, contribution -0.42): …"]
        },
        "risk_note": "Somewhat sensitive to a single key evidence item…"
      }
    ]
  },
  "monitoring_signals": [],
  "assumptions": [],
  "engine": {
    "name": "rubric-forecast-engine",
    "version": "2.3.0",
    "strict_decoupling": true,
    "computed_by": "rubric_forecast.engine",
    "input_sha256": "..."
  }
}

Failure Modes

json
{
  "status": "insufficient_spec",
  "missing_fields": [],
  "blocking_reasons": [],
  "next_required_inputs": [],
  "engine": {
    "name": "rubric-forecast-engine",
    "version": "2.3.0",
    "strict_decoupling": true,
    "computed_by": "rubric_forecast.engine",
    "input_sha256": null
  }
}

Execution Checklist

  • Does input satisfy the contract?
  • Are time fields for logging/management only (not hard constraints)?
  • Was a topic-specific rubric_dimensions set produced for this question?
  • Does all math come from script output?
  • Were evidence correlation and conflicts handled?
  • Was sensitivity analysis completed?
  • Is natural-language reasoning (reasoning_text) present?
  • Is structured explanation (rubric_multidim_analysis) present?
  • Does output include engine.strict_decoupling = true?

Autopilot mode (standalone Python)

You can run the full discover → forecast → policy → LifeFun writes → optional on-chain loop without Node:

  • CLI: pip install -e ".[autopilot]" then rubric-autopilot run (see AUTOPILOT.md).
  • HTTP (OpenClaw-compatible with lifefun-frontend): rubric-autopilot serve exposes POST /api/forecast and POST /api/autopilot/run (optional AUTOPILOT_WEBHOOK_TOKEN + Authorization: Bearer …).
  • Pluggable DApp discovery: AUTOPILOT_ADAPTER=lifefun (default) or register a class via setuptools entry point group rubric_forecast.adapters.
  • EIP-712 / mint_with_sig signatures always come from the backend; the local keystore only signs the EVM transaction that submits mintWithSig / intakeReasoning.

Execution Boundary (recommended)

For OpenClaw-integrated unattended execution you may use either:

  • lifefun-frontend server runtime (/api/autopilot/run), or
  • rubric-autopilot serve on a trusted host with keystore + AUTOPILOT_WEBHOOK_TOKEN.

Keep this skill’s LLM contract focused on deterministic forecasting (run_forecast) and audited JSON; do not hand-compute scores in chat.

OpenClaw should schedule/trigger only; it should not hold executor private keys.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Aantal overige bestanden: 10.

Veelgestelde vragen

Wat doet de AI-skill Rubric Forecasting?

Use for structured forecasting tasks that require deterministic rubric scoring, calibrated option ranking, explicit evidence tracking, and script-based numeric computation.

Waarom Rubric Forecasting gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Rubric Forecasting bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Rubric Forecasting in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Rubric Forecasting gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Rubric Forecasting gebruiken?

Zoveel als je wilt. Je kunt Rubric Forecasting gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Rubric Forecasting gratis?

Ja. Deze skill is door NeoSoul-AI op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇