droid

droid is a skill for Codex from phuongduyphan/cc-tmux-agents. It costs 42 tokens per session (1,573 once invoked), scanned A, original, MIT.

A bridge that sends coding tasks to Factory's Droid command-line agent running in a tmux terminal session.

In plain words
What is it for?
Use it to start a Droid session, send guidance, capture its latest output, wait for completion, or interrupt it.
Why use it?
It lets another coding agent work on a task while you control progress checks, follow-up instructions, and stopping the session.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it to start a Droid session, send guidance, capture its latest output, wait for completion, or interrupt it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuongduyphan/cc-tmux-agents/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 phuongduyphan/cc-tmux-agents --skill droid
Clone the repo
git clone --depth 1 https://github.com/phuongduyphan/cc-tmux-agents

Made for: 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 droid

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/droid/github.svg)](https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/droid)
Your own site
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/droid"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/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 droid

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/droid"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/droid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,573 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.00042 $0.01573
Opus 5 $0.00021 $0.00787
Sonnet 5 $0.00008 $0.00315
Haiku 4.5 $0.00004 $0.00157

Measured 11d ago against content hash 0196ce0323de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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 11d 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.

agents-skills/droid/SKILL.md · 83 lines

How it starts

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

$droid — delegate to Droid CLI

Spawns Droid's TUI (Factory's AI coding agent) in a detached tmux session so Codex can offload work to it. The user stays in the loop: they ask Codex when to check progress, what guidance to send, and when to stop.

Primitive

All operations go through a single dispatcher:

~/.agents/skills/droid/bin/droid-agent [--session <name>] <verb> [args]

Verbs:

  • start [task...] — create session (default codex-droid), launch droid, type the task and press Enter. Returns immediately (non-blocking).
  • send <message> — type message + Enter. For follow-up guidance. Does not interrupt current generation; Droid queues the input.
  • keys <name> — send a raw tmux key (Escape, C-c, Enter, etc.). Used for interrupts.
  • capture [lines] — print last N ANSI-stripped rendered lines (default 500). Read-only, non-destructive.
  • wait [stable] [timeout]block until the agent goes idle, then exit. Run it in the foreground to block until the sub-agent finishes (the mode for Codex and other CLI orchestrators; see "Wait for completion" below). stable = secs the working indicator must stay gone before declaring idle (default 6); timeout = overall cap in secs (default 1800).
  • stop — kill-session. Destroys the tmux session.
  • list — list active codex-droid* sessions.

How to respond to the user

User says Do
$droid <task> / "delegate to droid" start <task>, then run wait in the foreground (blocks this turn until droid is idle); on return, capture + report.
$droid <task> + "tell me when it's done" / "notify me" Same as $droid <task>; foreground wait is already the default.
"check droid" / "progress" / "what's droid doing" / "ask droid for progress" capture. Show the relevant tail, add a one-line diagnosis (running / idle / error / prompt). Do not send ESC.
"interrupt droid" / "esc droid" keys Escapecapture.
"tell droid: X" / "send droid: X" send X.
"kill droid" / "stop droid" stop.

Read the full file on GitHub · 83 lines

Files

What ships with it

1 file 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. 11d ago First seen · 83 lines · 42 tokens per session scan A 0196ce0323de

Subscribe to this mod's changes

droid is a skill published in the GitHub repository phuongduyphan/cc-tmux-agents (8 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,573 once invoked, about $0.0002 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.