Logo: Rubric Forecasting

Rubric Forecasting

Organisatioun
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.

Iwwersiicht

EditeurNeoSoul-AI
Repositoryrubric-prediction-skill
Skill-Nummrubric-forecasting
Stären
85
Forks
16
Matgeliwwert Dateien
70
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 70 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    NeoSoul-AI huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Rubric Forecasting an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Rubric Forecasting an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Rubric Forecasting automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Rubric Forecasting net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

An nach 10 weider Dateien.

Heefeg gestallte Froen

Wat mécht de KI-Skill Rubric Forecasting?

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

Firwat Rubric Forecasting op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Rubric Forecasting besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Rubric Forecasting an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Rubric Forecasting benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Rubric Forecasting benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Rubric Forecasting domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Rubric Forecasting gratis?

Jo. NeoSoul-AI huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇