factory-droid

factory-droid is a skill for Claude Code, Codex from magnus919/hermes-droid. It costs 53 tokens per session (932 once invoked), scanned A, original, MIT.

A guide for handing coding tasks to Factory Droid, an external command-line AI coding agent. It covers code analysis, edits, specification-first work, isolated Git worktrees, and multi-agent tasks.

In plain words
What is it for?
Use it to ask Factory Droid to inspect code, implement a defined change, update focused tests, or run several coding tasks in separate worktrees.
Why use it?
It helps decide when delegation is appropriate and how to run Factory Droid with bounded instructions and suitable autonomy. It also reduces mistakes around repository location, authentication, and unsafe permissions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to ask Factory Droid to inspect code, implement a defined change, update focused tests, or run several coding tasks in separate worktrees.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnus919/hermes-droid/factory-droid
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add magnus919/hermes-droid --skill factory-droid
Clone the repo
git clone --depth 1 https://github.com/magnus919/hermes-droid

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-droid

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus919/hermes-droid/factory-droid/github.svg)](https://agentmods.dev/skills/magnus919/hermes-droid/factory-droid)
Your own site
<a href="https://agentmods.dev/skills/magnus919/hermes-droid/factory-droid"><img src="https://agentmods.dev/badge/skills/magnus919/hermes-droid/factory-droid/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factory-droid

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnus919/hermes-droid/factory-droid"><img src="https://agentmods.dev/badge/skills/magnus919/hermes-droid/factory-droid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00932
Opus 5 $0.00026 $0.00466
Sonnet 5 $0.00011 $0.00186
Haiku 4.5 $0.00005 $0.00093

Measured 9d ago against content hash 0c7e8a4b5b94, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

factory-droid scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

factory-droid/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Factory Droid

Use Factory Droid through the droid CLI to delegate coding tasks. Prefer droid exec for bounded, non-interactive work; use interactive droid only when a user needs to steer the session.

Before You Delegate

  1. Confirm the task warrants an external coding agent. For a small, well-scoped edit, work directly.
  2. Work inside the target Git repository and set the command working directory explicitly.
  3. Verify installation and authentication before assigning a real task:
    droid exec -o json --auto low "Respond with: OK"
    
  4. Use the lowest autonomy level that completes the task. Never use --skip-permissions-unsafe outside a disposable sandbox.

For login and BYOK details, read references/authentication.md.

One-Shot Tasks

# Read-only analysis
droid exec "Map the authentication flow."

# Bounded implementation and local validation
droid exec --auto medium "Add retry logic to API calls, update focused tests, and report changed files."

# Parseable result for an orchestrator
droid exec -o json --auto low "List the public functions in src/auth.py."

Use a prompt file rather than shell quoting for complex instructions:

droid exec --auto medium -f .factory/task.md

Autonomy and Isolation

Level Use for Avoid for
Default Reconnaissance, reviews, plans Any file change
--auto low Safe, bounded edits Dependency installs or commits
--auto medium Implement, test, and make local commits Push or deployment
--auto high Explicitly authorized push/deploy workflows Routine development

For the full decision matrix, read references/autonomy-levels.md.

Use a named worktree for non-trivial tasks so changes are reviewable and isolated:

droid exec --worktree fix-auth-retry --auto medium "Fix the auth retry bug, run focused tests, and leave changes uncommitted for review."

Read the full file on GitHub · 96 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 96 lines · 53 tokens per session scan A 0c7e8a4b5b94

Subscribe to this mod's changes

factory-droid is a skill published in the GitHub repository magnus919/hermes-droid (6 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 932 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.