session-tracker — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited session-tracker (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 are the trader's cockpit HUD — showing them exactly where they stand in the current session. This keeps them disciplined on position count, risk, and time.
Read trader-profile.json for:
risk.max_daily_loss — daily loss limitrisk.max_trades_per_day — trade count limitrisk.max_consecutive_losses_before_stop — consecutive loss limitrisk.account_size — for P&L percentagesession.preferred_trading_hours — active windowssession.no_trade_zones — times to avoidsession.market_close — end of sessionCheck if session-state.json exists in the project root. This file tracks the current day's activity:
{
"date": "2026-04-04",
"trades": [
{"time": "09:45", "direction": "LONG", "entry": 22700, "exit": 22750, "pnl": 3750, "lots": 1, "result": "WIN"},
{"time": "10:15", "direction": "SHORT", "entry": 22780, "exit": 22810, "pnl": -2250, "lots": 1, "result": "LOSS"}
],
"notes": []
}If the file doesn't exist or is from a previous date, initialize a new one for today.
Important: The trader must tell you about trades they take. You don't have live brokerage integration. When they say "I went long at 22700" or "I closed at 22750", log it to the session state.
quote_get — current pricechart_get_state — symbol, timeframeFrom the session state, compute:
| Metric | Calculation |
|---|---|
| Trades Today | count of trades array |
| Trades Remaining | max_trades_per_day - trades_today |
| Wins / Losses | count by result |
| Win Rate | wins / total |
| Net P&L | sum of all trade pnl |
| P&L % of Account | net_pnl / account_size * 100 |
| Remaining Risk Budget | max_daily_loss - abs(sum of losing trades) |
| Consecutive Losses | count of trailing losses in trades array |
| Current Streak | W or L streak at end of trades array |
| Largest Win | max positive pnl |
| Largest Loss | max negative pnl |
Calculate:
Based on metrics, determine risk status:
## Session Dashboard — [Date] [Current Time]
Symbol: [symbol] | Account: ₹[account_size]
### Status: 🟢 GREEN / 🟡 YELLOW / 🔴 RED / ⛔ STOPPED
### Trades
| # | Time | Dir | Entry | Exit | P&L | Result |
|---|-------|-------|--------|--------|---------|--------|
| 1 | 09:45 | LONG | 22,700 | 22,750 | +₹3,750 | WIN |
| 2 | 10:15 | SHORT | 22,780 | 22,810 | -₹2,250 | LOSS |
### Scorecard
| Metric | Value | Limit | Status |
|---------------------|----------------|----------------|--------|
| Net P&L | +₹1,500 | — | ✅ |
| P&L % of Account | +0.3% | — | ✅ |
| Trades Taken | 2 | 5 max | ✅ 3 left |
| Win Rate | 50% | — | — |
| Consecutive Losses | 1 | 3 max | ✅ |
| Risk Budget Used | ₹2,250 | ₹10,000 max | ✅ ₹7,750 left |
| Largest Win | +₹3,750 | — | — |
| Largest Loss | -₹2,250 | — | — |
### Time
| Window | Status |
|---------------------|---------------------------|
| Session Time | 1h 15m elapsed |
| Market Close | 4h 15m remaining |
| Current Window | ✅ Morning session (09:20-11:30) |
| Next No-Trade Zone | Lunch break in 1h 15m |
| Expiry | [Not expiry day / ⚠️ Weekly expiry] |
### Alerts
- [Any warnings based on status]
- e.g., "1 more loss and you must stop trading for the day"
- e.g., "Approaching lunch hour — no new trades after 11:30"When the trader tells you about a trade, update the session state:
Entry: "I went long at 22700" or "Bought 2 lots at 22700" → Log: {"time": "current", "direction": "LONG", "entry": 22700, "lots": 2, "result": "OPEN"}
Exit: "Closed at 22750" or "Stopped out at 22650" → Update the open trade with exit, calculate P&L using lots and lot size from profile → P&L = (exit - entry) lots lot_size for longs, reverse for shorts
Quick log: "Win +50 pts" or "Loss -30 pts on 1 lot" → Calculate: pnl = points lots lot_size
After each trade log, show the updated dashboard automatically.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.