Factory Droid Configuration Guide: AGENTS.md, Skills, Hooks, and MCP

Breaking down Factory Droid's AGENTS.md, skills, hooks, MCP, and permission configuration system and rollout order.
Based on a Factory Droid configuration guide, this article systematically breaks down the AI coding assistant's configuration system: AGENTS.md as the project-understanding entry point that tells Droid about repo structure, build commands, and code style; skills encapsulate reusable task workflows, and hooks insert automated validation at execution points—both should expand gradually as needed; MCP servers connect Droid to external capabilities like databases, documentation systems, and internal APIs; permission settings define the boundaries of writable directories, executable commands, and accessible services. The article emphasizes that all configuration should be committed to the repository as files and reviewed by the team, recommends a rollout order of AGENTS.md, permissions, hooks and skills, then MCP, and notes that treating configuration as a one-time task and over-configuration are two common pitfalls.
Factory Droid Configuration Guide: AGENTS.md, Skills, Hooks, and MCP

Factory Droid is an AI coding assistant built for developers, and it uses a set of configuration files to define behavioral boundaries and extensibility. The source material is a configuration guide that clearly specifies where AGENTS.md, Skills, Hooks, MCP servers, and permission settings each live, what they are for, and a starter configuration you can commit directly to a repository. This article breaks down the internal logic of this configuration system based on that guide and offers practical rollout recommendations.
AGENTS.md: The Onboarding Handbook for Your AI
AGENTS.md is the entry-point configuration file for Factory Droid, placed in the project root. Its role is similar to giving a newly onboarded engineer a project brief: it tells Droid about the repository's structure, build commands, code style, testing approach, and which operations require caution. The material emphasizes it as the first layer of "where AGENTS.md lives," meaning Droid reads this file first at startup to build its understanding of the project.
The key to a good AGENTS.md is being specific rather than vague. Instead of writing "please follow best practices," write clearly: "run tests with npm test" and "place new components in src/components." This file should evolve continuously with the project and be version-controlled like code, so that every team member's Droid instance behaves consistently.
Skills: Reusable Capability Modules
Skills are modules in Factory Droid that encapsulate specific task workflows. According to the material, skills have their own dedicated location, and each skill defines a reusable category of operations—for example, "generate a database migration" or "run the release checklist." Codifying repetitive work into skills reduces the overhead of re-describing requirements in every conversation.
From an engineering perspective, the value of skills lies in consistency: once a workflow is locked down, different developers get more predictable results when invoking Droid. It's recommended to start by extracting skills for the team's two or three most frequent tasks, validate their effectiveness, and then expand—avoiding the trap of building a sprawling skill library from the start that no one maintains.
Hooks: Inserting Automation at Key Points
Hooks allow custom actions to be triggered at specific points in Droid's execution flow. The material lists hooks as a standalone configuration item, indicating they have their own location and purpose. Typical scenarios include: automatically running formatting or lint after Droid modifies files, and triggering check scripts before commits.
The design philosophy behind hooks is to turn "after-the-fact remediation" into "in-flight interception." Rather than waiting for AI-generated code and then manually finding problems, use hooks to run validation at the generation stage itself. When configuring hooks, pay attention to idempotency and speed—avoid running the full test suite on every trigger, which would slow down the interaction rhythm.
MCP Servers: Connecting to External Tools
MCP (Model Context Protocol) servers let Droid connect to external systems and data sources. The material lists MCP servers alongside AGENTS.md, skills, and hooks as components of the configuration system, each with its own configuration location. Through MCP, Droid can query databases, read documentation systems, or call internal APIs—not just stare at files in the repository.
When introducing MCP servers, permission scope is the primary consideration. Every external connection expands the boundary of what Droid can reach, so follow the principle of least privilege and only expose the interfaces necessary to complete the task. Also assess the stability of external services to avoid Droid workflows being interrupted by unavailable dependencies.
MCP was proposed and open-sourced by Anthropic in late 2024. It is a standardized protocol for letting AI applications connect to external tools and data sources in a unified way. It uses a client-server model: the AI application acts as the client and sends requests to MCP servers; servers expose three categories of capabilities through standardized interfaces—tools (callable functions), resources (readable data), and prompt templates (reusable instruction fragments). The protocol is typically built on JSON-RPC, and transport can be either standard input/output of a local process or remote HTTP/SSE.
The significance of MCP is that it turns "every AI tool writes its own plugin" into "implement once, reuse everywhere": the same database MCP server can be used by Factory Droid and reused by other MCP-compatible clients. This also means that when introducing third-party MCP servers, you need to review their source and permission declarations just as you would review dependency libraries.
Permission Settings: Defining Behavioral Boundaries
Permission configuration determines what Droid can and cannot do. The material explicitly lists permissions as an area that needs to be configured correctly, alongside the items above. Reasonable permission settings include: which directories are writable, which commands are executable, and which external services are accessible.
Permissions are not a one-time setup. As the project phase changes, the permission scope should be reviewed. A practical approach is to commit permission configuration to the repository so that changes go through review like code changes—preventing one person's locally loosened permissions from becoming the team default.
A Starter Configuration You Can Commit
The core promise of the material is to provide a starter configuration that "today can commit to a repo." This means all the above configuration items—AGENTS.md, the skills directory, hook definitions, MCP configuration, and permission settings—should be stored as files in the repository and distributed with the project.
Recommended rollout order: first write AGENTS.md to establish project understanding, then configure permissions to define boundaries, then add hooks and skills as needed, and finally connect MCP servers to extend external capabilities. Commit each step to the repository and have the team review it, ensuring the configuration system grows with the project rather than being scattered across individual local environments.
Common Pitfalls
The biggest pitfall is treating configuration as a one-time task. Factory Droid's system is essentially a team collaboration agreement that requires ongoing maintenance. Another pitfall is over-configuration: piling up skills and hooks before requirements are clear only increases the cost of understanding and maintenance. Start with a minimal viable configuration and expand gradually based on actual pain points—that is the sustainable approach.
Related articles

A 19-Year-Old's Rental Horror Story: Ceiling Collapse, Bug Infestation, and the Lessons It Taught Me
At 19, my first off-campus rental brought bug infestations, no heat, a collapsed ceiling, and a ruined laptop with no renter's insurance. Here are the hard-won lessons for first-time student renters.

Veda Nurse's Cranial Nerve Exam: Why ASMR Role-Play Is Going Viral
Bilibili creator Veda's cranial nerve exam ASMR video goes viral, blending humor and sensory triggers through nurse role-play. This article analyzes its unique appeal and the audience psychology behind ASMR role-play.

LG Cinebeam AI Review: 120-Inch Giant Screen + 3000 Lumens, a New Choice for the Living Room Theater
LG Cinebeam AI projector review: 3000 ANSI lumens, 4K, 100 inches from about 8 cm and 120 inches from about 18 cm. Built-in webOS, AI Concierge voice recommendations, AI Sound Pro 11.1.2 virtual surround, and Game Optimizer—positioned for fixed living room installation, complementing the portable Cinebeam S.