sf-portfolio-review — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sf-portfolio-review (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.
npm install -g @spfunctions/cli
sf loginPortfolio data is user-scoped — requires auth.
sf me portfolio --json --limit 20Returns:
live, halted, paused)If status: halted, the autopilot is paused — check why with sf me portfolio --json | jq .haltedReason.
sf portfolio history --json --ticks 20 --trades 20 --since 2026-04-01Returns the last N ticks + trades since the date:
Pull more if needed:
sf portfolio tick <tickId> --json # full detail of one tick
sf portfolio trade <tradeId> --json # full detail of one tradesf portfolio view list --json
sf portfolio strategy list --jsonViews = saved investment universes (e.g., "macro events with σ>30¢ window 30d"). Strategies = playbooks the autopilot applies to view results.
If either is empty, the autopilot is running with defaults. Document this.
sf portfolio cloud status --jsonReturns:
running, idle, error)Produce a structured summary:
1. PnL attribution For each tick → trade → P&L: which thesis or strategy generated the entry?
| Position | Entry | Current | P&L | Thesis | Strategy |
|---|---|---|---|---|---|
| KXFED-26JUL-T3.50 | 32¢ | 45¢ | +$13 | fed-cuts-by-july | macro-momentum |
2. Decisions made Per tick, what did the LLM choose to do?
3. Risk gate trips How many ticks hit risk gates (max exposure, max concentration, max daily loss)? Each gate trip is in the tick's riskGates field.
4. Anomalies
syncPositions mismatch)Structure:
## Portfolio summary (as of <date>)
Cash: $<n>
Exposure: $<n>
P&L: Daily $<n> | Total $<n>
Status: <live|halted|paused>
## Recent activity (last <N> days)
- <N> ticks, <N> trades, <N> kill condition fires
- Top P&L contributors: <position> +$<n>, <position> -$<n>
- Strategies: <list>
- Risk gates tripped <N> times (top reason: <reason>)
## Anomalies / things to address
- <issue 1>
- <issue 2>
## Next actions
- <action 1>
- <action 2># Find the tick that contains the decision
sf portfolio history --json --ticks 50 --since <date> | jq '.ticks[] | select(.actions[]?.ticker == "<ticker>")'
# Then inspect the tick
sf portfolio tick <tickId> --jsonThe tick has handoffNote (what the LLM was given) and decisions (what it chose), which together explain the reasoning.
sf setup --sync-positions
sf status --json | jq .positionSyncStateIf positionSyncState.drift > 0, run sf setup --sync-positions to push local exchange state to server context. The autopilot reads server-side, so drift causes wrong decisions.
haltedReason. Resume with sf portfolio resume.sf-autopilot-setup to enable.evalError.message — often budget exhaustion or model rate limit.sf-autopilot-setup — initial autopilot configurationsf-discipline-audit — adversarial review of open positionssf-thesis-monitor — for thesis-linked monitoring config~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.