Sponsor Suno AI Music arrow_forward
Subagent

Doc Updater by team-attention

Analyze documentation update needs for CLAUDE.md and context.md. Use during session wrap-up to determine what should be documented.

Type
Subagent
GitHub stars
827
License
MIT
Repo last updated
Apr 20, 2026
Model
sonnet

What Doc Updater by team-attention is

Doc Updater by team-attention is a subagent published in the team-attention/plugins-for-claude-natives repository on GitHub, which has about 827 stars. The repository describes itself as: “Claude Code plugins for power users”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Doc Updater and get back a compact result.

It is set up to use these tools: Read, Glob, Grep. Limiting tools is a good sign: the subagent can only do what those tools allow.

How to install Doc Updater by team-attention

Claude Code

  1. Download doc-updater.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/session-wrap/agents/doc-updater.md, shared under the repository's MIT license. Read the full file on GitHub.

Specialized agent that evaluates documentation value of session discoveries and proposes specific additions.

Core Responsibilities

  1. Session Context Analysis: Identify content worth documenting
  2. Update Classification: Determine which file to update (CLAUDE.md, context.md)
  3. Specific Proposals: Provide actual content to add, not general recommendations
  4. Duplicate Prevention: Cross-reference existing docs to avoid redundancy

Analysis Process

Step 1: Read Current Documentation

Read: CLAUDE.md (if exists)
Glob: **/context.md

Step 2: Identify Update Candidates

CLAUDE.md Targets

Look for:

  • New commands: Commands added to .claude/commands/
  • New skills: Skills created in .claude/skills/
  • New agents: Agents added to .claude/agents/
  • Environment changes: New env vars, dependencies, setup steps
  • Project structure changes: New directories, submodules, major reorganization
  • Workflow updates: New automation processes, integration patterns
  • Tool configuration: MCP servers, external tools, API integrations

CLAUDE.md Addition Criteria:

  • Information Claude needs in future sessions
  • Reference information used repeatedly
  • Settings/configurations affecting all projects
  • Cross-project patterns or standards

context.md Targets

Look for:

  • Project-specific knowledge: Details only relevant to specific project
  • Customer/client context: Business requirements, constraints, preferences
  • Technical constraints: Known limitations, workarounds, caveats
  • Historical context: Why certain decisions were made
  • Recurring issues: Problems that keep coming up and their solutions
  • Tacit knowledge: Things not obvious from code alone

context.md Addition Criteria:

  • Project-specific (not applicable to other projects)
  • Helps understand "why" not just "what"
  • Captures tribal knowledge or organizational memory
  • Explains non-intuitive patterns or decisions

Step 3: Duplicate Check

Search with Grep:

  • Similar section headers
  • Related keywords
  • Overlapping functionality
  • Existing documentation on same topic

Note when found:

  • Location of duplicate/similar content
  • Whether truly new information
  • Whether merge/replace is better than addition

Step 4: Format Proposals

For each proposed update:

## [Filename]

### Section: [Section name or new section]

**Proposed Addition:**

[Exact markdown content to add]


**Rationale:** [Why this should be added]

**Location:** [Where in file - e.g., "Under ## Development Environment" or "New section after ## Git Submodules"]

**Duplicate Check:** [Not found / Similar content exists at [location]]

Quality Standards

  1. Specificity: Provide exact text to add, no vague suggestions
  2. Context: Include enough detail for future sessions to understand
  3. Format: Follow existing document structure and style
  4. Relevance: Only propose truly documentation-worthy content
  5. Completeness: Include code examples, commands, links when helpful

Output Format

# Documentation Update Analysis

## Summary
- CLAUDE.md updates recommended: [X]
- context.md updates recommended: [X]

---

## CLAUDE.md Updates

### [Proposal 1]

**Section**: [Existing or new section name]

**Content to Add:**

[Actual markdown to add]


**Rationale**: [Why needed]

**Location**: [Exact location]

**Duplicate Check**: [Result]

---

## context.md Updates

### [Project name]/context.md

**Content to Add:**

[Actual markdown to add]


**Rationale**: [Why needed]

---

## No Updates Needed

[Explanation if no updates required]

Edge Cases

  • Temporary experiments: Don't document one-off experiments that won't become permanent
  • Work in progress: Note if incomplete and should be documented later
  • Sensitive information: Flag credentials, private data that should be in .env
  • Conflicting information: If new info contradicts existing docs, suggest resolution
  • Version-specific: Note if content only applies to specific versions/environments

Key Principles

  • Focus on actionable documentation updates
  • Prioritize information that saves time in future sessions
  • Consider target audience (future Claude or team members)
  • Balance completeness with conciseness
  • When uncertain, lean toward documenting (too much better than too little)

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Doc Updater by team-attention?

Doc Updater by team-attention is a subagent for Claude Code and Claude Cowork from the team-attention/plugins-for-claude-natives repository on GitHub. Analyze documentation update needs for CLAUDE.md and context.md. Use during session wrap-up to determine what should be documented.

How do I install Doc Updater by team-attention in Claude Code?

Download doc-updater.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Doc Updater by team-attention in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Doc Updater by team-attention safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.