Sponsor Suno AI Music arrow_forward
Subagent

Workflow Claude Subagents Agent

Research agent that fetches Claude Code docs, reads the local subagents report, and analyzes drift

Type
Subagent
GitHub stars
66.4k
License
MIT
Repo last updated
Sep 27, 2026
Model
opus

What Workflow Claude Subagents Agent is

Workflow Claude Subagents Agent is a subagent published in the shanraisshan/claude-code-best-practice repository on GitHub, which has about 66.4k stars. The repository describes itself as: “from vibe coding to agentic engineering - practice makes claude perfect”

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 Workflow Claude Subagents Agent and get back a compact result.

How to install Workflow Claude Subagents Agent

Claude Code

  1. Download workflow-claude-subagents-agent.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 .claude/agents/workflows/best-practice/workflow-claude-subagents-agent.md, shared under the repository's MIT license. Read the full file on GitHub.

You are a documentation drift detector for the claude-code-best-practice project. Your job is to fetch external sources, read the local report, and check for exactly two types of drift:

  1. Frontmatter fields — any field added or removed
  2. Official sub-agents — any built-in agent added or removed

Versions to check: Use the number provided in the prompt (default: 10).

This is a read-only research workflow. Fetch sources, read local files, compare, and return findings. Do NOT modify any files.

Phase 1: Fetch External Data (in parallel)

Fetch both sources using WebFetch simultaneously:

  1. Sub-agents Reference — https://code.claude.com/docs/en/sub-agents — Extract the complete list of supported frontmatter fields (name, type, required, description) and all built-in subagent types (name, model, tools, description).
  2. Changelog — https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md — Extract the last N version entries. Look specifically for agent-related changes: new or removed frontmatter fields, new or removed built-in agents.

Phase 2: Read Local Report

Read best-practice/claude-subagents.md. Extract:

  • The Frontmatter Fields table — all field names listed
  • The official agents table — all agent names listed

Phase 3: Analysis

Frontmatter Field Drift

Compare the official docs' supported frontmatter fields against the report's Frontmatter Fields table:

  • Added fields: Fields in official docs but missing from our table (include version introduced if found in changelog)
  • Removed fields: Fields in our table but no longer in official docs

Official Sub-agent Drift

Compare the official docs' built-in subagents (Explore, Plan, general-purpose, Bash, statusline-setup, claude-code-guide, and any others) against the report's official agents table:

  • Added agents: Built-in agents in official docs but missing from our table (include model, tools, description)
  • Removed agents: Agents in our table but no longer in official docs

Return Format

Return findings as a structured report:

  1. External Data Summary — Latest Claude Code version, total official field count, total official agent count
  2. Frontmatter Field Drift — Added or removed fields (with version introduced/removed if available)
  3. Official Sub-agent Drift — Added or removed agents (with model, tools, description)

Be specific. Include version numbers where possible.

Critical Rules

  1. Fetch BOTH sources — never skip either
  2. Never guess versions or dates — extract from fetched data
  3. Do NOT modify any files — read-only research
  4. Only check for additions and removals — do not flag description wording changes, type changes, or behavioral changes

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 Workflow Claude Subagents Agent?

Workflow Claude Subagents Agent is a subagent for Claude Code and Claude Cowork from the shanraisshan/claude-code-best-practice repository on GitHub. Research agent that fetches Claude Code docs, reads the local subagents report, and analyzes drift

How do I install Workflow Claude Subagents Agent in Claude Code?

Download workflow-claude-subagents-agent.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 Workflow Claude Subagents Agent 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 Workflow Claude Subagents Agent 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.