Skip to content

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

Closed

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.

Activity

  1. safishamsi commented on Apr 7, 2026

    @safishamsi
    Member

    Shipped in b079c67.

    graphify install --platform droid copies the skill to .factory/skills/graphify/SKILL.md. graphify droid install writes the always-on rules to AGENTS.md. The skill uses the Task tool for parallel subagent dispatch, same pattern as the other platforms.

    MCP works as-is via droid mcp add graphify "graphify --mcp" --type stdio as you noted.

  2. added a commit that references this issue on Apr 27, 2026
  3. ne0ark commented on May 2, 2026

    @ne0ark

    Hello @safishamsi ,

    Is there a way to use hooks to continuously keep it updated?

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions