context-gathering

context-gathering is an agent for Claude Code from TeamManagementPlugin/claude-plugin. It costs 59 tokens per session (1,399 once invoked), scanned A, original, MIT.

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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the team-management plugin — 9 commands, 17 agents, 6 hooks, 1 MCP server shipped together

Good fit Use it when creating or switching to a task that lacks a context record, so the developer has the relevant project knowledge before coding.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/teammanagementplugin/claude-plugin/context-gathering
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/TeamManagementPlugin/claude-plugin

Made for: Claude Code.

Or install team-management, the plugin that ships this one along with the rest of its 9 commands, 17 agents, 6 hooks, 1 MCP server.

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-gathering

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/teammanagementplugin/claude-plugin/context-gathering"><img src="https://agentmods.dev/badge/agents/teammanagementplugin/claude-plugin/context-gathering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00059 $0.01399
Opus 5.5 $0.00024 $0.00560
Sonnet 5.5 $0.00012 $0.00280
Haiku 4.5 $0.00006 $0.00140

Measured 3mo ago against content hash d505ec3b57ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 3mo ago 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 (6 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 1,399 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-31.

Related

context-gathering compared with agents from other repositories

context-gathering next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-gatheringTeamManagementPlugin/claude-pluginAgent61mo agoMITA59Claude Code
design-producerminhnv0807/ai-business-skillsAgent72527d agoMITA28Claude Code
mkt-strategistminhnv0807/ai-business-skillsAgent72527d agoMITA42Claude Code
developerhowar31/magi-workflowAgent32mo agoMITA83Claude Code
security-masterjonase47/ccprAgent12mo agoMITA542Claude Code
project-plannerjonase47/ccprAgent12mo agoMITA390Claude Code
arbitration-orchestratorishwarjha/legalantAgent66mo agoMITA56Claude Code