Logo di Rubric Forecasting

Rubric Forecasting

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

Panoramica

Pubblicato daNeoSoul-AI
Repositoryrubric-prediction-skill
Nome della skillrubric-forecasting
Stelle
85
Fork
16
File inclusi
70
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 70

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da NeoSoul-AI su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Rubric Forecasting in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NeoSoul-AI/rubric-prediction-skill.git \
  .claude/skills/rubric-forecasting
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Rubric Forecasting in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Rubric Forecasting non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Rubric Forecasting non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

e 10 file in più.

Domande frequenti

Cosa fa la skill IA Rubric Forecasting?

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

Perché usare Rubric Forecasting su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Rubric Forecasting è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Rubric Forecasting in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Rubric Forecasting?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Rubric Forecasting?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Rubric Forecasting: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Rubric Forecasting è gratuita?

Sì. È pubblicata su GitHub da NeoSoul-AI con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇