context-manager

context-manager is a cursor rule for Cursor from kok-o/contextos-agents. It costs 21 tokens per session (251 once invoked), scanned A, original, Apache-2.0.

Agent-requested: invoke when working on context-manager. Compatibility alias for context-os context selection and budgeting.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Install with agentmods
npx agentmods add rules/kok-o/contextos-agents/context-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/kok-o/contextos-agents

Made for: Cursor.

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/rules/kok-o/contextos-agents/context-manager/github.svg)](https://agentmods.dev/rules/kok-o/contextos-agents/context-manager)
Your own site
<a href="https://agentmods.dev/rules/kok-o/contextos-agents/context-manager"><img src="https://agentmods.dev/badge/rules/kok-o/contextos-agents/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/rules/kok-o/contextos-agents/context-manager"><img src="https://agentmods.dev/badge/rules/kok-o/contextos-agents/context-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 251 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 unknown 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.00021 $0.00251
Opus 5.5 $0.00008 $0.00100
Sonnet 5.5 $0.00004 $0.00050
Haiku 4.5 $0.00002 $0.00025

Measured today against content hash 9d6de057db87, 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 today.

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.

.cursor/rules/context-manager.mdc · 42 lines

What it actually says

Skill: context-manager

Resolve supporting resource paths relative to .agents/core/skills/context-manager. Read examples and references only when needed.

context-manager

Overview

Deprecated compatibility identifier. Use context-os for the canonical instructions.

When to Use

An existing configuration or user explicitly names context-manager.

Rules & Patterns

Apply the canonical skill without loading a duplicate process. Existing authorization, proportional verification, and optional role declarations carry forward. The resolver redirects this identifier and reports an alias warning.

Code Examples

Explicit context-manager selection resolves to context-os; inspect the resolver result rather than assuming both bodies were loaded.

Validation Checklist

  • Canonical guidance is used.
  • Alias resolution adds no duplicate body.
  • Evidence scope and limitations are stated.

Common Mistakes

Treating this compatibility name as an independent engine or a mandatory ceremony.

Integration Notes

Keep legacy links available. Read references/context-rules.md only for compatibility details.

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. today First seen · 42 lines · 21 tokens per session scan A 9d6de057db87

Subscribe to this mod's changes

context-manager is a cursor rule published in the GitHub repository kok-o/contextos-agents (10 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 251 once invoked, about $0.0001 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-10-25.