Логотип Rubric Forecasting

Rubric Forecasting

Організація
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.

Огляд

ВидавецьNeoSoul-AI
Репозиторійrubric-prediction-skill
Назва навичкиrubric-forecasting
Зірки
85
Форки
16
Файли в пакеті
70
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 70

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: NeoSoul-AI. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Rubric Forecasting у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NeoSoul-AI/rubric-prediction-skill.git \
  .claude/skills/rubric-forecasting
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Rubric Forecasting в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Rubric Forecasting, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Rubric Forecasting не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Додаткових файлів: 10.

Поширені запитання

Що робить навичка ШІ Rubric Forecasting?

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

Навіщо використовувати Rubric Forecasting у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Rubric Forecasting — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Rubric Forecasting у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Rubric Forecasting?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Rubric Forecasting?

Зі скількома забажаєте. У TypingMind ви можете використовувати Rubric Forecasting із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Rubric Forecasting?

Так. На GitHub цю навичку публікує NeoSoul-AI за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇