Resolve prediction

From stevehuang0115/crewly · View interactive version

Resolve prediction is an AI agent skill from the GitHub repository stevehuang0115/crewly. Close a recorded prediction with what actually happened so your calibration score updates.

How to use this skill

Skill file

Resolve Prediction

Record the outcome of a prediction made with record-prediction. Pass --accurate true|false; if you only pass an outcome, a plain verdict such as correct, wrong, yes, no is understood — anything else needs the explicit flag. The response includes your updated calibration score.

Parameters

| Flag | JSON Field | Required | Description |

|------|-----------|----------|-------------|

| --id | id | Yes | Prediction id (pred-...) |

| --outcome / -o | outcome | Yes | What actually happened |

| --accurate / -a | accurate | No* | true / false — required unless outcome is a plain verdict |

| --session / -s | sessionName | No | Your session name — defaults to $CREWLY_SESSION_NAME |

Examples

bash execute.sh --id pred-1718000000-ab12cd --outcome "merged Thursday" --accurate true
bash execute.sh --id pred-1718000000-ab12cd --outcome wrong
bash execute.sh '{"id":"pred-1718000000-ab12cd","outcome":"slipped a week","accurate":false}'

Output

{ "success": true, "prediction": {...}, "calibrationScore": 0.82 }

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.