Logo Rubric Forecasting

Rubric Forecasting

Tổ chức
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.

Tổng quan

Nhà phát hànhNeoSoul-AI
Kho mãrubric-prediction-skill
Tên kỹ năngrubric-forecasting
Sao
85
Bản fork
16
Tệp đi kèm
70
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 70 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được NeoSoul-AI công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Rubric Forecasting trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NeoSoul-AI/rubric-prediction-skill.git \
  .claude/skills/rubric-forecasting
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Rubric Forecasting trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Rubric Forecasting ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Rubric Forecasting với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 10 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Rubric Forecasting làm được gì?

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

Vì sao nên dùng Rubric Forecasting trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Rubric Forecasting là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Rubric Forecasting trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/NeoSoul-AI/rubric-prediction-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Rubric Forecasting?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Rubric Forecasting với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Rubric Forecasting với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Rubric Forecasting có miễn phí không?

Có. Kỹ năng này được NeoSoul-AI phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇