context-manager

context-manager is an agent for Claude Code from darrenhinde/OpenAgentsControl. It costs 19 tokens per session (4,394 once invoked), scanned C, original, MIT.

A project-context manager that finds context files, checks their structure, and keeps them organized. Context files contain project information that an coding agent needs to work consistently.

In plain words
What is it for?
Use it to discover context locations, validate context-file layouts, and organize project guidance for agent work.
Why use it?
It reduces the time spent searching for project instructions and helps catch context files that are missing or incorrectly structured.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions Claude Code; mentions OpenCode.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is if [ ! -d "../team-context/.git" ]; then.

Part of the oac plugin — 12 skills, 6 commands, 7 agents, 1 hook shipped together

Good fit Use it to discover context locations, validate context-file layouts, and organize project guidance for agent work.

Compare 6 agents from other repositories ↓
About the project

OpenAgents Control is a framework that adds plan-first, approval-based coding workflows to OpenCode, an AI coding framework. Developers and teams use it to make agents follow shared coding patterns, work across several programming languages, and validate changes through testing and review. The catalogue includes its agents, skills, commands, plugin, and hook.

darrenhinde/OpenAgentsControl · 4,992 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/darrenhinde/OpenAgentsControl
agentmods
npx agentmods add agents/darrenhinde/openagentscontrol/context-manager

Made for: Claude Code.

Or install oac, the plugin that ships this one along with the rest of its 12 skills, 6 commands, 7 agents, 1 hook.

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/darrenhinde/openagentscontrol/context-manager/github.svg)](https://agentmods.dev/agents/darrenhinde/openagentscontrol/context-manager)
Your own site
<a href="https://agentmods.dev/agents/darrenhinde/openagentscontrol/context-manager"><img src="https://agentmods.dev/badge/agents/darrenhinde/openagentscontrol/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/darrenhinde/openagentscontrol/context-manager"><img src="https://agentmods.dev/badge/agents/darrenhinde/openagentscontrol/context-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00019 $0.04394
Opus 5.5 $0.00008 $0.01758
Sonnet 5.5 $0.00004 $0.00879
Haiku 4.5 $0.00002 $0.00439

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

Security

Grade C, and why

context-manager scanned grade C with 2 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 3mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$repo"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Download via curl
plugins/claude-code/agents/context-manager.md · 746 lines

How it starts

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

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. 3mo ago First seen · 746 lines · 19 tokens per session scan C ba551087f9c4

Subscribe to this mod's changes

context-manager is an agent published in the GitHub repository darrenhinde/OpenAgentsControl (4,992 stars, last pushed 5d ago), licensed MIT. It adds 19 tokens to every session and 4,394 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). 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-managerdarrenhinde/OpenAgentsControlAgent5.0k5d agoMITC19Claude Code
memoryherbert-julio-azion/specialist-agentAgent213mo agoMITA22Claude Code
_context-managernavox-labs/agentsAgent163mo agoMITB44Claude Code
Reviewermonkilabs/opencastleAgent8210d agoMITA30Claude Code
marketingherbert-julio-azion/specialist-agentAgent213mo agoMITA25Claude Code
wiki-ingestkarlorz/llm-wikiAgent5todaynoneA64Claude Code
memory-curatorwbind-core/termpipe-mcpAgent021d agononeA45Claude Code