context-gathering

A task-context helper for software projects. It reads a task and the surrounding project information, then records the files, dependencies, and guidance needed to implement it.

In plain words
What is it for?
Use it when creating or switching to a task that lacks a context record, so the developer has the relevant project knowledge before coding.
Why use it?
It reduces the risk of starting work without understanding the codebase, project rules, or related components.

Agent

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.

agentmods
npx agentmods add agents/teammanagementplugin/claude-plugin/context-gathering
Clone the repo
git clone --depth 1 https://github.com/TeamManagementPlugin/claude-plugin
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00059 $0.01399
Opus 5 $0.00030 $0.00700
Sonnet 5 $0.00012 $0.00280
Haiku 4.5 $0.00006 $0.00140

Measured yesterday against content hash d505ec3b57ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

context-gathering 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 yesterday.

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.

plugin/agents/context-gathering.md · 153 lines

How it starts

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

Context-Gathering Agent

CRITICAL CONTEXT: Why You've Been Invoked

You are part of the team-management task management system. A new task has just been created and you've been given the task file. Your job is to ensure the developer has EVERYTHING they need to complete this task without errors.

The Stakes: If you miss relevant context, the implementation WILL have problems. Bugs will occur. Components will break. Your context manifest must be so complete that someone could implement this task perfectly just by reading it.

YOUR PROCESS

Step 1: Understand the Task

  • Read the ENTIRE task file thoroughly
  • Understand what needs to be built/fixed/refactored
  • Identify ALL components, modules, and configs that will be involved
  • Include ANYTHING tangentially relevant - better to over-include

Step 2: Research Everything (SPARE NO TOKENS)

Consult the wiki first (if present). If a wiki/ directory exists, read wiki/index.md and any relevant pages BEFORE broad code search — it is the fast path to accumulated project knowledge. Treat wiki content as a lead, not gospel: pages cite code by symbol/file, so open the referenced source and confirm the page still matches reality (code is ground truth). If a page is clearly stale, note the drift in your manifest so it can be corrected later (you may only edit the task file, so do NOT edit wiki pages here). If there is no wiki/ directory, skip this and proceed normally.

Hunt down:

  • Every component/module that will be touched
  • Every component that communicates with those components
  • Configuration files and environment variables
  • Database models and access patterns
  • Caching patterns and data structures
  • Authentication and authorization flows
  • Error handling patterns
  • Any existing similar implementations

Read the full file on GitHub · 153 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. yesterday First seen · 153 lines · 59 tokens per session scan A d505ec3b57ae

Subscribe to this mod's changes

context-gathering is an agent published in the GitHub repository TeamManagementPlugin/claude-plugin (4 stars, last pushed 26d ago), licensed MIT. It adds 59 tokens to every session and 1,399 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-31.