Factory AI Droid CLI for Openclaw

A high-performance software engineering agent that integrates with Openclaw Skills to build, debug, and deploy code via the droid CLI.

mitchellbernstein
v1.0.0
Jan 25, 2026
0
3.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install factory-ai

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install factory-ai using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Factory AI Droid CLI?

The Factory AI Droid CLI is a sophisticated software engineering agent designed to streamline the entire development lifecycle through natural language. By integrating deeply with your codebase and supporting multiple LLMs like Claude and OpenAI, it enables developers to execute complex tasks such as feature implementation, code refactoring, and cloud deployment directly from the terminal. As a key component of the Openclaw Skills ecosystem, it bridges the gap between high-level engineering intent and low-level code execution using both interactive sessions and automated execution modes.

Factory AI Droid CLI Use Cases

  • Automating feature development like creating UI components or complex authentication flows.
  • Debugging application errors by providing stack traces for automated analysis and patch generation.
  • Streamlining Git workflows by generating semantic commit messages and automated pull requests.
  • Deploying applications to cloud providers like fly.io through simple natural language commands.
  • Performing multi-file refactoring and codebase analysis with deep organizational context.

How Factory AI Droid CLI Works

  1. The user authenticates the agent using the droid login command or by configuring the FACTORY_API_KEY environment variable.
  2. A task is initiated via interactive mode for conversational engineering or exec mode for direct, automated task completion.
  3. The droid agent parses the local codebase, utilizing any configured MCP servers or plugins to extend its context and tool access.
  4. The agent generates code changes or executes system commands based on the specified model and user prompt.
  5. Changes can be automatically applied or reviewed, with session data preserved to maintain context for subsequent engineering tasks within the Openclaw Skills environment.

Factory AI Droid CLI Setup

Installation and Authentication

The droid binary should be located in your local bin directory. To begin using this skill with Openclaw Skills, authenticate your account:

# Standard login
droid login

# Or configure via environment variables
export FACTORY_API_KEY=your-api-key

Verify connectivity by listing available MCP servers:

droid mcp list

Factory AI Droid CLI Data Schema & Taxonomy

Component Description
Sessions Persistent history stored by session-id for multi-turn conversation and context continuity.
MCP Servers Modular protocol integrations that extend the agent's toolset and local/remote data access.
Plugins Custom extensions used to modify or enhance the core behavior of the droid CLI.
Exec Output Responses provided in human-readable text or structured JSON for programmatic automation.

Factory AI Droid CLI Advanced Features

  • Full support for MCP (Model Context Protocol) to connect the agent to external tools and data sources.
  • Non-interactive Exec Mode for integrating AI-driven code changes into CI/CD pipelines.
  • Session management allowing users to resume previous engineering contexts via specific session IDs.
  • Model flexibility with support for Anthropic Claude, OpenAI, xAI, and other major LLM providers.
  • Deep codebase understanding that provides context across the entire organization rather than just a single file.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*