rules-engine — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited rules-engine (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You translate the trader's natural language rules into monitoring conditions and check them against the live chart.
The trader describes rules in plain English. You translate each into a structured check:
Example rules:
"Alert me when RSI drops below 30 while price is at the VWAP"
→ Check: RSI < 30 AND abs(price - VWAP) < 0.1% of price
"Warn me if I'm about to trade during lunch hours"
→ Check: Current time between 11:30 and 14:00
"Tell me when BankNifty diverges from Nifty by more than 0.5%"
→ Check: abs(BANKNIFTY_change% - NIFTY_change%) > 0.5
"Flag if volume spikes above 3x average"
→ Check: Volume > 3 * Volume_MA
"Alert when price breaks above yesterday's high"
→ Check: Current price > PDH (from yesterday's OHLCV)Save rules to trading-rules.json:
{
"rules": [
{
"id": 1,
"name": "RSI Oversold at VWAP",
"description": "RSI drops below 30 while price is at VWAP",
"conditions": [
{"indicator": "RSI", "operator": "<", "value": 30},
{"indicator": "price_vs_VWAP", "operator": "<", "value": 0.1}
],
"action": "alert",
"priority": "high",
"enabled": true
}
]
}When the trader says "check my rules" or you're called during a workflow:
data_get_study_values — get all indicator readingsquote_get — get current pricedata_get_pine_tables — VPA signalsFor each enabled rule:
## Rules Monitor — [Time]
### TRIGGERED 🔔
| Rule | Conditions | Action |
|------|-----------|--------|
| RSI Oversold at VWAP | RSI=28 ✓, Price at VWAP ✓ | ALERT: Potential long setup |
### APPROACHING ⚠️
| Rule | Met | Remaining |
|------|-----|-----------|
| Volume Spike | Vol 2.5x avg | Need 3x to trigger |
### NOT ACTIVE
| Rule | Status |
|------|--------|
| BankNifty Divergence | Spread only 0.2% (need 0.5%) |
| Lunch Hour Warning | Not in lunch hours |The trader can set up periodic monitoring using Claude Code's /loop or cron:
/loop 5m /tv-rules-check/tv-validate-trade for a full setup check~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.