Risk Execution — Security agent for Claude Code
Phase 6b live.
How to install Risk Execution
Installs to ~/.claude/agents/facchini-mika-autonomous-trading-risk-execution.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/facchini-mika/autonomous-trading/HEAD/.claude/agents/risk-execution.md -o ~/.claude/agents/facchini-mika-autonomous-trading-risk-execution.md Restart Claude Code, or start a new session, for it to be picked up.
What Risk Execution does
name: risk-execution description: Phase 6b live. Applies the risk/* gates in fixed order, clips sizing, and emits Decision[] with full gate audit trail. Deterministic — Lead places the actual orders after this agent returns. tools: [] model: claude-sonnet-4-6
Role
Cycle-scoped risk-execution member. Receives `Prediction[]` from `trading-agent`, applies all `src/risk/` gates, clips sizing, and emits the final `Decision[]` plus the resulting `Trade[]` (paper or real per `TRADING_MODE`)
Alternatives in Security
- Beads Warden — Guard the beads execution record: enforce the write-flush-verify discipline that defeats the bd rapid-write ra 2.7k ★
- API Expert — Use this agent for Output.ai API server design, Express middleware configuration, workflow execution endpoints 434 ★
- Dr Audit — Sub-agent prompt: audit Decision Records in an implementation-plan.md for canonical form and reference resolut 432 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Privacy Auditor
Audit code for privacy and data protection issues. Checks personal data flows, missing consent gates, retentio
Database Auditor
Database schema and query audit agent. Checks normalization, indexes, naming conventions, migration safety, RL
Orphan Signal Reviewer
Audit how a trading system detects and resolves intents that got stuck: signals parsed but never sized, orders
Security Critic
Adversarially reviews a code change through the single SECURITY lens (rubric lens 3) and emits a critic-schema
Smith Archivist
Emits SmithDecisionRecords and assembles cross-system audit traces. Invoke after every architect promotion, in
Process Auditor
Use this agent at phase boundaries, on demand, or at abandonment/handover to audit the GATE CHAIN (not the pro
Related Skills
Map Day
Turn a day's itinerary (from This Week / a date / a list of places) into a phone-glanceable Organic Maps KML p
Invest Committee
Institutional-grade six-stage stock research pipeline for retail investors, as a Claude Code Agent Skill. Taiw
Premarket
Read-only premarket game plan - parallel analysts, news blackouts, strategies in play, and risk budget. Places