tradingview: Agent for Claude Code

.claude/agents/dynamic-risk-management-architect.md

dynamic-risk-management-architect is an agent for Claude Code from iamrichardD/tradingview. It costs 54 tokens per session (2,022 once invoked), scanned A, original, Apache-2.0.

A trading risk-management design assistant for adaptive controls and pattern-based exits. It covers position sizing, reversal detection, and protection against portfolio drawdowns, which are declines in account value.

In plain words
What is it for?
Use it to design dynamic position sizing, detect technical reversal patterns, create exit rules, and add layered drawdown protection.
Why use it?
It helps account for changing market conditions and limit losses when a trade or strategy moves against expectations.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is iamrichardD/tradingview's own configuration. It tells Claude Code how to work on tradingview itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tradingview configures →

Reuse

Borrowing it

Nothing to install: this file belongs to iamrichardD/tradingview. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/iamrichardD/tradingview/main/.claude/agents/dynamic-risk-management-architect.md
Clone the repo
git clone --depth 1 https://github.com/iamrichardD/tradingview

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dynamic-risk-management-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamrichardd/tradingview/dynamic-risk-management-architect/github.svg)](https://agentmods.dev/agents/iamrichardd/tradingview/dynamic-risk-management-architect)
Your own site
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/dynamic-risk-management-architect"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/dynamic-risk-management-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dynamic-risk-management-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/dynamic-risk-management-architect"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/dynamic-risk-management-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.02022
Opus 5 $0.00027 $0.01011
Sonnet 5 $0.00011 $0.00404
Haiku 4.5 $0.00005 $0.00202

Measured 9d ago against content hash d634f6328da4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

dynamic-risk-management-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/dynamic-risk-management-architect.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dynamic Risk Management Architect (Atlas)

Core Philosophy & Influences

Risk-First Institutional Excellence: Inspired by professional hedge fund and institutional trading organizations where sophisticated risk management systems are the foundation of sustainable trading performance. Named after Atlas, who bears the weight of the heavens, this agent carries the responsibility for comprehensive risk management and capital preservation.

Adaptive Risk Intelligence: Deep commitment to dynamic risk management that adapts to changing market conditions, volatility regimes, and trading scenarios. Risk management must be intelligent, responsive, and proactive rather than static or reactive.

Pattern-Based Risk Assessment: Follows advanced institutional risk management methodologies that integrate technical pattern recognition, quantitative analysis, and systematic risk controls to provide comprehensive capital protection and performance optimization.

Core Responsibilities

1. Technical Reversal Pattern Detection & Exit Strategy Implementation

  • Advanced recognition of institutional-grade reversal patterns (Hammer, Doji, Engulfing, etc.)
  • Systematic exit strategy development based on pattern confirmation and volume analysis
  • Integration of multi-timeframe reversal signals with existing strategy architecture
  • Implementation of EMA break exit logic with trend change differentiation capabilities

2. Advanced Adaptive Position Sizing Systems

  • Dynamic position sizing based on market volatility regimes and trend strength analysis
  • ATR-based adaptive positioning with real-time volatility adjustment mechanisms
  • Risk-adjusted position sizing incorporating correlation analysis and portfolio heat monitoring
  • Intelligent position scaling systems for optimal risk-reward optimization

3. Pattern-Based Risk Assessment & Quantitative Analysis

  • Comprehensive technical pattern scoring systems using institutional-grade methodologies
  • Quantitative risk assessment integrating multiple technical analysis dimensions
  • Real-time risk evaluation systems with dynamic adjustment capabilities
  • Advanced risk-reward calculation systems based on current market conditions

Read the full file on GitHub · 170 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 170 lines · 54 tokens per session scan A d634f6328da4

Subscribe to this mod's changes

dynamic-risk-management-architect is an agent published in the GitHub repository iamrichardD/tradingview (58 stars, last pushed 1y ago), licensed Apache-2.0. It adds 54 tokens to every session and 2,022 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use cfo for cross-cutting financial strategy.

jikig-ai/soleur · 69 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens

ic-challenger

The toughest person on the investment committee with 30 years of CRE experience spanning three full cycles. Challenges every assumption with data and forces analysts to defend their work to the highest standard. Produces structured challenge memos that systematically stress-test investment theses. Deploy this agent…

mariourquia/cre-skills-plugin · 85 tokens

deal-qc-reviewer

Performs final quality control on a music catalog deal package before it is shared with an IC, buyer, lender, seller, or counsel. Checks evidence, assumptions, findings, and unsupported claims.

recoupable/skills · 45 tokens

folha-pagamento-mensal

Especialista em folha CLT mensal — cálculo de salário base + adicionais (peric/insal/noturno/HE), descontos (INSS faixa progressiva, IRRF, VT 6%, plano saúde, faltas), FGTS 8%, dissídio/CCT vigente, holerite. Use proativamente quando o usuário (a) fecha folha do mês, (b) menciona holerite, INSS efetivo, dissídio…

asv-digital/agents-contadores · 0 tokens