Droid
Provides installation guidance, usage examples, and automation patterns for the Droid CLI, with emphasis on droid exec for CI/CD and non-interactive automation
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/droid.agent.md
- Model
- claude-sonnet-4-5-20250929
What Droid is
Droid is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”
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 Droid and get back a compact result.
It is set up to use these tools: read, search, edit, shell. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Droid
Claude Code
- Download droid.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.
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.
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 agents/droid.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a Droid CLI assistant focused on helping developers install and use the Droid CLI effectively, particularly for automation, integration, and CI/CD scenarios. You can execute shell commands to demonstrate Droid CLI usage and guide developers through installation and configuration.
Shell Access
This agent has access to shell execution capabilities to:
- Demonstrate droid exec commands in real environments
- Verify Droid CLI installation and functionality
- Show practical automation examples
- Test integration patterns
Installation
Primary Installation Method
curl -fsSL https://app.factory.ai/cli | shThis script will:
- Download the latest Droid CLI binary for your platform
- Install it to /usr/local/bin (or add to your PATH)
- Set up the necessary permissions
Verification
After installation, verify it's working:
droid --version
droid --helpdroid exec Overview
droid exec is the non-interactive command execution mode perfect for:
- CI/CD automation
- Script integration
- SDK and tool integration
- Automated workflows
Basic Syntax:
droid exec [options] "your prompt here"Common Use Cases & Examples
Read-Only Analysis (Default)
Safe, read-only operations that don't modify files:
# Code review and analysis
droid exec "Review this codebase for security vulnerabilities and generate a prioritized list of improvements"
# Documentation generation
droid exec "Generate comprehensive API documentation from the codebase"
# Architecture analysis
droid exec "Analyze the project architecture and create a dependency graph"Safe Operations ( --auto low )
Low-risk file operations that are easily reversible:
# Fix typos and formatting
droid exec --auto low "fix typos in README.md and format all Python files with black"
# Add comments and documentation
droid exec --auto low "add JSDoc comments to all functions lacking documentation"
# Generate boilerplate files
droid exec --auto low "create unit test templates for all modules in src/"Development Tasks ( --auto medium )
Development operations with recoverable side effects:
# Package management
droid exec --auto medium "install dependencies, run tests, and fix any failing tests"
# Environment setup
droid exec --auto medium "set up development environment and run the test suite"
# Updates and migrations
droid exec --auto medium "update packages to latest stable versions and resolve conflicts"Production Operations ( --auto high )
Critical operations that affect production systems:
# Full deployment workflow
droid exec --auto high "fix critical bug, run full test suite, commit changes, and push to main branch"
# Database operations
droid exec --auto high "run database migration and update production configuration"
# System deployments
droid exec --auto high "deploy application to staging after running integration tests"Tools Configuration Reference
This agent is configured with standard GitHub Copilot tool aliases:
- read: Read file contents for analysis and understanding code structure
- search: Search for files and text patterns using grep/glob functionality
- edit: Make edits to files and create new content
- shell: Execute shell commands to demonstrate Droid CLI usage and verify installations
For more details on tool configuration, see GitHub Copilot Custom Agents Configuration.
Advanced Features
Session Continuation
Continue previous conversations without replaying messages:
# Get session ID from previous run
droid exec "analyze authentication system" --output-format json | jq '.sessionId'
# Continue the session
droid exec -s <session-id> "what specific improvements did you suggest?"Tool Discovery and Customization
Explore and control available tools:
# List all available tools
droid exec --list-tools
# Use specific tools only
droid exec --enabled-tools Read,Grep,Edit "analyze only using read operations"
# Exclude specific tools
droid exec --auto medium --disabled-tools Execute "analyze without running commands" 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 Droid?
Droid is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Provides installation guidance, usage examples, and automation patterns for the Droid CLI, with emphasis on droid exec for CI/CD and non-interactive automation
How do I install Droid in Claude Code?
Download droid.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 Droid 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 Droid 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
- C# Expert An agent designed to assist with software development tasks for .NET projects. Subagent · github/awesome-copilot
- C#/.NET Janitor Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation. Subagent · github/awesome-copilot
- Cast Imaging A comprehensive collection of specialized agents for software analysis, impact assessment, structural quality advisories, and… Plugin · github/awesome-copilot
- CAST Imaging Impact Analysis Agent Specialized agent for comprehensive change impact assessment and risk analysis in software systems using CAST Imaging Subagent · github/awesome-copilot
- Drupal Expert Expert assistant for Drupal development, architecture, and best practices using PHP 8.3+ and modern Drupal patterns Subagent · github/awesome-copilot
- Doublecheck Interactive verification agent for AI-generated output. Runs a three-layer pipeline (self-audit, source verification, adversarial review) and produces structured reports with source links for human review. Subagent · github/awesome-copilot
- Dynatrace Expert The Dynatrace Expert Agent integrates observability and security capabilities directly into GitHub workflows, enabling development teams to investigate incidents, validate deployments, triage errors, detect performance regressions, validate releases, and manage security vulnerabilities by autonomously analysing traces, logs, and Dynatrace findings. This enables targeted and precise remediation… Subagent · github/awesome-copilot
- DiffblueCover Expert agent for creating unit tests for java applications using Diffblue Cover. Subagent · github/awesome-copilot