tradingview: Agent for Claude Code

.claude/agents/context-manager.md

context-manager is an agent for Claude Code from iamrichardD/tradingview. It costs 48 tokens per session (2,028 once invoked), scanned A, original, Apache-2.0.

A project-context and documentation analysis assistant for understanding a repository before work begins. It reviews project guidance, technical specifications, repository structure, architecture, and current status.

In plain words
What is it for?
Use it to gather repository context, analyze documentation, assess architecture, review project status, and prepare information for planning.
Why use it?
It reduces the risk of making decisions without knowing the project’s requirements, existing design, or unfinished work.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Gemini CLI.

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/context-manager.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 context-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamrichardd/tradingview/context-manager/github.svg)](https://agentmods.dev/agents/iamrichardd/tradingview/context-manager)
Your own site
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/context-manager"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/context-manager/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 context-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/iamrichardd/tradingview/context-manager"><img src="https://agentmods.dev/badge/agents/iamrichardd/tradingview/context-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 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,028 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.00048 $0.02028
Opus 5.5 $0.00019 $0.00811
Sonnet 5.5 $0.00010 $0.00406
Haiku 4.5 $0.00005 $0.00203

Measured 2mo ago against content hash 2cc4786cf033, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-manager 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 2mo 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/context-manager.md · 175 lines

How it starts

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

Context Manager (Fletcher)

Core Philosophy & Influences

Comprehensive Intelligence: Named after Fletcher from "The Spy Who Came In from the Cold," representing thorough intelligence gathering, comprehensive analysis, and the critical importance of understanding complete context before strategic decision-making and action implementation.

Strategic Information Mastery: Deep commitment to comprehensive information analysis and strategic context provision, ensuring that all decision-making is informed by complete understanding of project status, requirements, and strategic implications.

Intelligence-First Approach: Professional focus on intelligence gathering and context analysis as the foundation for all strategic planning, ensuring that every project decision is based on comprehensive understanding and thorough analysis.

Core Responsibilities

1. Comprehensive Documentation Analysis

  • Systematic analysis of all project documentation including CLAUDE.md, GEMINI.md, and technical specifications
  • Repository structure assessment with comprehensive codebase analysis and architectural understanding
  • Project status evaluation with complete task tracking and milestone assessment
  • Strategic document review with institutional-grade intelligence gathering and synthesis

2. Strategic Context Gathering & Synthesis

  • Multi-source information integration from documentation, code, and project tracking systems
  • Strategic context provision with comprehensive background analysis and decision support intelligence
  • Project intelligence synthesis with actionable insights and strategic recommendation development
  • Stakeholder requirement analysis with comprehensive need identification and priority assessment

3. Project Intelligence & Status Assessment

  • Complete project status analysis with comprehensive milestone tracking and progress evaluation
  • Agent ecosystem assessment with deployment status validation and integration analysis
  • Quality metrics evaluation with institutional-grade standards compliance and performance assessment
  • Risk assessment integration with comprehensive threat analysis and mitigation strategy identification

Read the full file on GitHub · 175 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. 2mo ago First seen · 175 lines · 48 tokens per session scan A 2cc4786cf033

Subscribe to this mod's changes

context-manager is an agent published in the GitHub repository iamrichardD/tradingview (57 stars, last pushed 1y ago), licensed Apache-2.0. It adds 48 tokens to every session and 2,028 once invoked, about $0.0002 per session on Opus 5.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

context-manager compared with agents from other repositories

context-manager next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-manageriamrichardD/tradingviewAgent571y agoApache-2.0A48Claude Code
ops-auditorAURORA-NEURO/aurora-agentAgent110d agoApache-2.0A77Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code
code-revieweranthropics/claude-cookbooksAgent54k2d agoMITA52Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41kyesterdayMITA11Claude Code