Tool v1.0.0

factory-ai

使用 Factory AI 的 droid CLI 执行软件工程任务,支持交互模式、执行模式、MCP 服务器和插件

ClawHub 更新于 2026-03-24 17 浏览
下载 SKILL

技能说明

使用 Factory AI 的 droid CLI 执行软件工程任务,支持交互模式、执行模式、MCP 服务器和插件

使用场景

Factory AI's droid CLI streamlines software engineering with interactive exec mode MCP servers and plugins

查看英文原始说明

Use Factory AI's droid CLI for software engineering tasks. Supports interactive mode, exec mode, MCP servers, and plugins.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/factory-ai
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 7.0 kB
SKILL.md text/markdown
---
name: factory-ai
description: Use Factory AI's droid CLI for software engineering tasks. Supports interactive mode, exec mode, MCP servers, and plugins.
metadata: {"clawdbot":{"emoji":"🤖","requires":{"bins":["droid"]}}
---

# Factory AI Droid CLI

Use `droid` to build features, debug, refactor, and deploy code.

## Installation

Already installed at: `/Users/mitchellbernstein/.local/bin/droid`

## Authentication

```bash
droid login
# or set FACTORY_API_KEY env var
export FACTORY_API_KEY=your-api-key
```

## Commands

### Interactive Mode
```bash
droid                           # Start fresh session
droid "fix the login bug"       # Start with prompt
droid -r                        # Resume last session
droid -r session-id             # Resume specific session
```

### Non-Interactive (Exec Mode)
```bash
droid exec "analyze this file"
droid exec "commit my changes with a good message"
droid exec "deploy to fly.io"
droid exec --help               # Show exec options
```

### Options for Exec
```bash
droid exec --force "fix lint errors"    # Auto-apply without confirmation
droid exec --json "analyze code"        # JSON output
droid exec --model claude "task"        # Specify model
```

### MCP Servers
```bash
droid mcp list                    # List installed MCP servers
droid mcp add server-name         # Add MCP server
droid mcp remove server-name      # Remove MCP server
```

### Plugins
```bash
droid plugin list                 # List plugins
droid plugin add name             # Add plugin
```

## Usage Patterns

### Feature Development
```bash
droid exec "add a user settings page with dark mode toggle"
```

### Debugging
```bash
droid exec "fix this error: [paste error]"
```

### Code Review
```bash
droid exec "review the PR for security issues"
```

### Git Operations
```bash
droid exec "create a PR for my changes"
droid exec "write a good commit message for the staged changes"
```

### Deployment
```bash
droid exec "deploy to fly.io"
```

### Multi-file Changes
```bash
droid
# Then in interactive mode:
@src/components/
@src/api/
Implement authentication flow
```

## Notes

- Droid has deep codebase understanding across your org
- Supports model flexibility (OpenAI, Anthropic, xAI, etc.)
- MCP servers for extended capabilities
- Session-based memory for context continuity

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。