Skip to content

Add Factory Droid (factory.ai) platform support #20

Description

@zyaiire

Summary

Request to add support for Factory Droid (the AI coding assistant by Factory AI) as a first-class platform, alongside the existing Claude Code, Codex, OpenCode, and OpenClaw support.

Background

Factory Droid (droid) is a terminal-based AI coding agent with a skill system and MCP integration that is structurally similar to the already-supported platforms:

Feature Factory Droid Already supported platforms
Skill/Slash commands .factory/skills/ or ~/.factory/skills/ (Markdown) .claude/skills/, .agents/skills/, etc.
Project instructions AGENTS.md (already used by Codex/OpenCode/OpenClaw adapters) Same
Sub-agent dispatch Task tool with worker droid (parallel capable) Agent tool / spawn_agent
MCP server droid mcp add <name> "<cmd>" --type stdio MCP stdio protocol (already implemented in serve.py)
Hooks Droid hooks (pre_tool_use, post_tool_use) Claude PreToolUse, git hooks

What would need to change

  1. New skill file: graphify/skill-droid.md — adapted from skill-codex.md with Droid-specific sub-agent dispatch (Task tool instead of spawn_agent) and Droid skill directory paths.
  2. CLI registration: Add "droid" to _PLATFORM_CONFIG in __main__.py with skill destination .factory/skills/graphify/SKILL.md.
  3. Install command: graphify install --platform droid and graphify droid install / graphify droid uninstall.
  4. AGENTS.md: Same as existing Codex/OpenCode/OpenClaw adapter — no change needed.
  5. MCP integration: Already works via droid mcp add graphify "graphify --mcp" --type stdio — documentation only.

Why this is a good fit

  • The core Python library is platform-agnostic and requires zero changes.
  • The AGENTS.md adapter from the Codex integration works as-is.
  • The MCP stdio server in serve.py is protocol-standard and already compatible.
  • Only the skill description file and CLI registration need additions.

Proposed file structure

graphify/
├── skill-droid.md          # NEW - Droid-specific skill instructions
├── skill.md                # existing (Claude Code)
├── skill-codex.md          # existing (OpenAI Codex)
├── skill-opencode.md       # existing (OpenCode)
└── skill-claw.md           # existing (OpenClaw)

I am willing to submit a PR for this if the feature request is accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions