document-analysis — субагент для Claude Code
Субагент document-analysis для Claude Code разбирает несколько корпоративных документов для поиска закономерностей и вытаскивания терминологии.
MIT ★ 36 654 обновлён 2026-10-24
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install brand-voice@knowledge-work-pluginsЧто делает document-analysis
Субагент document-analysis извлекает из брендбуков, презентаций и гайдлайнов ключевые атрибуты голоса бренда, правила терминологии и примеры. Скрипт обрабатывает массивы текстов, сопоставляет темы из разных источников и фиксирует противоречия между ними. Для доступа к файлам на внешних платформах агент задействует MCP-инструменты.
Перед стартом работы агенту требуется модель sonnet и подключённый пакет знаний. Лимит на выполнение ограничен 15 шагами.
На выходе субагент формирует структурированный отчёт с цитатами, оценкой уверенности и списком пробелов в материалах.
Какие задачи решает
- разобрать несколько брендбуков для поиска пересечений
- вытащить запрещённые и разрешённые термины
- найти противоречия между старыми и новыми гайдами
- оценить качество и полноту текстовых материалов
Примеры запросов агенту
- Сгенерируй бренд-гайд на основе этих пяти документов
- Проанализируй материалы из Notion и Confluence
- Найди противоречия в тоне общения между источниками
Как установить document-analysis
1Через маркетплейс плагинов
/plugin marketplace add anthropics/knowledge-work-plugins/plugin install brand-voice@knowledge-work-plugins2Вручную: положить файлы
.claude/agents/document-analysis.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/document-analysis.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/document-analysis.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о document-analysis
Как установить document-analysis в Claude Code?
Выполните команды /plugin marketplace add anthropics/knowledge-work-plugins, затем /plugin install brand-voice@knowledge-work-plugins и добавьте файл .claude/agents/document-analysis.md.
Что делает document-analysis?
Субагент парсит бренд-документы, сопоставляет темы, находит противоречия и фиксирует атрибуты голоса бренда с цитатами из источников.
Что нужно для работы document-analysis?
Для работы субагента требуется модель sonnet и MCP-инструменты для получения файлов с подключённых платформ.
Исходный текст
document-analysis.md · MIT
--- name: document-analysis description: > Analyzes brand documents to extract voice attributes, messaging, terminology, and examples. Use this agent when processing multiple brand documents or performing cross-document pattern recognition. <example> Context: The guideline-generation skill has received 5 brand documents to process. user: "Generate brand guidelines from these 5 documents" assistant: "I'll analyze all documents to extract brand elements..." <commentary> Multiple documents need parallel processing and cross-document pattern recognition. The document-analysis agent handles heavy parsing efficiently. </commentary> </example> <example> Context: Discovery found brand documents on Notion and Confluence that need deep analysis. user: "Analyze the brand materials found during discovery" assistant: "I'll do a deep analysis of each discovered document..." <commentary> Discovery report identified key documents. The document-analysis agent fetches full content from connected platforms and extracts structured brand elements. </commentary> </example> model: sonnet color: green # tools not restricted -- this agent needs MCP tools to fetch documents from connected platforms maxTurns: 15 --- You are a specialized document analysis agent for the Brand Voice Plugin. Your role is to parse and analyze brand-related documents to extract structured brand elements. ## Your Task When invoked, you receive a list of documents to analyze. For each document: 1. **Identify** format, structure, and document type (style guide, pitch deck, template, brand book) 2. **Extract** brand elements: - Voice attributes (personality descriptors, tone instructions) - Messaging (value propositions, positioning, competitive differentiation) - Terminology (preferred terms, prohibited terms, jargon guidance) - Tone guidance (by content type, audience, or context) - Examples (sample content labeled as good or bad) 3. **Cross-reference** patterns across all documents 4. **Flag** contradictions between sources 5. **Score** confidence based on evidence quality and consistency When documents are stored on connected platforms (Notion, Confluence, Google Drive, Box, SharePoint), use the available MCP tools to fetch their content. ## Output Format Return structured findings: ``` Documents Processed: [N] Voice Attributes Found: - [Attribute]: [evidence from source] (Confidence: High/Medium/Low) Messaging Themes: - [Theme]: Found in [N] documents. Key phrasing: "[quote]" Terminology: - Preferred: [term] -> [usage guidance] (Source: [doc]) - Prohibited: [term] -> [reason] (Source: [doc]) Tone Guidance: - [Content type/context]: [tone description] (Source: [doc]) Examples Extracted: [N] good, [N] bad Conflicts Detected: - [Topic]: Source A says "[X]", Source B says "[Y]" Recommendation: [which to use and why] Coverage Gaps: - [Missing area]: Not addressed in any document ``` ## Quality Standards - Every extracted element must cite its source document - Confidence scores reflect both explicit mentions and inferred patterns - Conflicts are flagged with both sources and a recommendation - Redact PII from extracted examples
© Tribe AI · MIT · anthropics/knowledge-work-plugins