From rtfi
Use when discussing RTFI risk scores, compliance thresholds, or tuning risk factors. Provides guidance on interpreting scores and optimizing settings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rtfi:risk-scoringThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
RTFI calculates a Compliance Risk Score (0-100) based on measurable session factors. Higher scores indicate higher probability of instruction non-compliance.
RTFI calculates a Compliance Risk Score (0-100) based on measurable session factors. Higher scores indicate higher probability of instruction non-compliance.
| Factor | Weight | Description | Threshold |
|---|---|---|---|
| Context Length | 25% | Tokens in context relative to max | 128,000 |
| Agent Fanout | 30% | Concurrent parallel agents | 5 |
| Autonomy Depth | 25% | Steps since human confirmation | 10 |
| Decision Velocity | 20% | Tool calls per minute | 20 |
Agent fanout has the highest weight because MOSAIC research shows parallel execution is the highest-risk factor for instruction non-compliance.
| Score Range | Risk Level | Recommendation |
|---|---|---|
| 0-30 | Low | Normal operation |
| 31-50 | Moderate | Monitor closely |
| 51-70 | Elevated | Consider verification checkpoints |
| 71-85 | High | Strong recommendation to verify |
| 86-100 | Critical | High probability of instruction violation |
Create .claude/rtfi.local.md:
# RTFI Settings
## Threshold
Risk score threshold for alerts (0-100): 70
## Action Mode
What happens when threshold exceeded: alert
Options: alert, block, confirm
To lower your session's risk score:
When RTFI alerts:
RTFI WARNING: Risk score 75.2 exceeds threshold 70.
Factors: context=0.45, agents=0.60, autonomy=0.80, velocity=0.30
High probability of instruction non-compliance.
This means:
The primary driver here is autonomy depth - consider adding a checkpoint.
Use /rtfi:sessions and /rtfi:risky to review patterns:
This data helps calibrate your threshold for optimal balance between safety and productivity.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub lcatlett/rtfi --plugin rtfi