Skip to content

Commit fa0cc06

Browse files
codexstar69claude
andauthored
Add Factory Droid CLI as a supported install target (#1)
Droid loads skills from ~/.factory/skills, project-level .factory/skills, and the legacy ~/.agents/skills path. Add a `droid` install target for the personal directory and document the project-scoped and legacy alternatives. Update the skill description, preflight directory probe, orchestration backend notes, README and llms agent tables, install and getting-started guides, package keywords, and the issue template runtime list. Claude-Session: https://claude.ai/code/session_017RrDYju9sBScMvVY5WaMz6 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4bea477 commit fa0cc06

9 files changed

Lines changed: 48 additions & 6 deletions

File tree

‎.github/ISSUE_TEMPLATE/bug_report.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A clear description of what went wrong.
1515
1. Target codebase (language/framework):
1616
2. Command used: `/bug-hunter ...`
1717
3. Mode: (single-file / small / parallel / loop)
18-
4. Agent runtime: (Pi / Claude Code / Codex / Cursor / other)
18+
4. Agent runtime: (Pi / Claude Code / Codex / Cursor / Factory Droid CLI / other)
1919

2020
## Expected behavior
2121

‎CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Factory Droid CLI support: `install --agent droid` and `doctor --agent droid`
13+
target `~/.factory/skills/bug-hunter`, and the docs cover Droid's
14+
project-scoped `.factory/skills` and legacy `~/.agents/skills` locations.
15+
16+
### Changed
17+
18+
- Skill description, preflight directory probe, and orchestration backend notes
19+
list Factory Droid CLI alongside the other supported coding agents.
20+
1021
## [3.1.1] - 2026-08-04
1122

1223
### Added

‎README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,13 @@ That is the recommended first run. It is scan-only.
6565
| Kiro | `kiro` |
6666
| Windsurf | `windsurf` |
6767
| OpenCode | `opencode` |
68+
| Factory Droid CLI | `droid` |
6869
| Other file-based agents | `agents` |
6970

7071
Always pass `--agent` when more than one coding agent is installed. Auto-detection is available, but an explicit target prevents installation into the wrong skill directory.
7172

73+
Factory Droid CLI (`droid`) installs into `~/.factory/skills/bug-hunter` and loads the skill for every repository. Use `--path "$PWD/.factory/skills/bug-hunter"` instead when the skill should be checked into a single repository. Droid also reads the legacy `~/.agents/skills` location, so an existing `--agent agents` install already works there.
74+
7275
See [agent installation](docs/agent-installation.md) for paths, source installs, updates, removal, and custom targets.
7376

7477
## Use it with any agent

‎SKILL.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: bug-hunter
3-
description: "Adversarial bug hunting with a sequential-first pipeline (Recon, Hunter, Skeptic, Referee) that can optionally use safe read-only parallel triage. Scans without mutation by default; fixing, autonomous edits, and commits each require explicit flags. Use this skill whenever the user wants bug finding, security audits, regression checks, or code review focused on runtime behavior."
3+
description: "Adversarial bug hunting with a sequential-first pipeline (Recon, Hunter, Skeptic, Referee) that can optionally use safe read-only parallel triage. Scans without mutation by default; fixing, autonomous edits, and commits each require explicit flags. Runs in any skills-capable coding agent, including Claude Code, Factory Droid CLI (droid), Codex, Cursor, Copilot, Kiro, Windsurf, and OpenCode. Use this skill whenever the user wants bug finding, security audits, regression checks, or code review focused on runtime behavior."
44
---
55

66
# Bug Hunt - Adversarial Bug Finding
@@ -193,7 +193,8 @@ Before doing anything else, verify the environment:
193193
`$HOME/.claude/skills/bug-hunter`, `$HOME/.codex/skills/bug-hunter`,
194194
`$HOME/.cursor/skills/bug-hunter`, `$HOME/.kiro/skills/bug-hunter`,
195195
`$HOME/.copilot/skills/bug-hunter`, `$HOME/.windsurf/skills/bug-hunter`,
196-
`$HOME/.opencode/skills/bug-hunter`.
196+
`$HOME/.opencode/skills/bug-hunter`, `$HOME/.factory/skills/bug-hunter`
197+
(Factory Droid CLI), `.factory/skills/bug-hunter` (Droid project scope).
197198
- Use this path for all file reads and shell commands.
198199
199200
2. **Verify skill files exist**: Run
@@ -274,7 +275,7 @@ Before doing anything else, verify the environment:
274275
})
275276
```
276277
277-
**Option C — `interactive_shell` (Claude Code, Codex, other CLI agents):**
278+
**Option C — `interactive_shell` (Claude Code, Codex, Factory Droid CLI, other CLI agents):**
278279
- Set `AGENT_BACKEND = "interactive_shell"`
279280
- Dispatch pattern:
280281
```

‎bin/bug-hunter‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const AGENT_DIRS = [
3232
{ agent: 'kiro', dir: path.join(os.homedir(), '.kiro', 'skills', SKILL_NAME) },
3333
{ agent: 'copilot', dir: path.join(os.homedir(), '.copilot', 'skills', SKILL_NAME) },
3434
{ agent: 'windsurf', dir: path.join(os.homedir(), '.windsurf', 'skills', SKILL_NAME) },
35-
{ agent: 'opencode', dir: path.join(os.homedir(), '.opencode', 'skills', SKILL_NAME) }
35+
{ agent: 'opencode', dir: path.join(os.homedir(), '.opencode', 'skills', SKILL_NAME) },
36+
{ agent: 'droid', dir: path.join(os.homedir(), '.factory', 'skills', SKILL_NAME) }
3637
];
3738

3839
function usage() {
@@ -46,7 +47,7 @@ function usage() {
4647
4748
Options:
4849
--agent <name> Target agent: claude-code, codex, cursor, kiro, copilot,
49-
windsurf, opencode, agents
50+
windsurf, opencode, droid (Factory Droid CLI), agents
5051
--path <dir> Exact custom skill directory (overrides --agent)
5152
--skip-doctor Do not run the environment check after installation
5253

‎docs/agent-installation.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,31 @@ manifest are preserved.
4444
| GitHub Copilot | `copilot` | `~/.copilot/skills/bug-hunter` |
4545
| Windsurf | `windsurf` | `~/.windsurf/skills/bug-hunter` |
4646
| OpenCode | `opencode` | `~/.opencode/skills/bug-hunter` |
47+
| Factory Droid CLI | `droid` | `~/.factory/skills/bug-hunter` |
4748

4849
Install into several targets by running the command once for each target.
4950

51+
## Factory Droid CLI
52+
53+
The `droid` target installs into the personal skill directory that Droid reads
54+
for every repository:
55+
56+
```bash
57+
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz install --agent droid
58+
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz doctor --agent droid
59+
```
60+
61+
Droid also loads skills from these locations:
62+
63+
- `<repo>/.factory/skills/bug-hunter` — checked into one repository. Install it
64+
with `--path "$PWD/.factory/skills/bug-hunter"`.
65+
- `~/.agents/skills/bug-hunter` — legacy shared location, which the `agents`
66+
target already uses.
67+
68+
Project-scoped skills take precedence over personal ones, so avoid installing
69+
both unless the repository must pin its own version. Restart `droid` after
70+
installing, then request a scan in natural language or with `/bug-hunter`.
71+
5072
## Verify a target
5173

5274
```bash

‎docs/getting-started.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Use another target when needed:
4141
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz install --agent claude-code
4242
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz install --agent cursor
4343
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz install --agent copilot
44+
npx --yes https://github.com/codexstar69/bug-hunter/archive/refs/heads/main.tar.gz install --agent droid
4445
```
4546

4647
See [agent installation](agent-installation.md) for every supported target.

‎llms-full.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Optional slash form:
5252
| GitHub Copilot | `copilot` |
5353
| Windsurf | `windsurf` |
5454
| OpenCode | `opencode` |
55+
| Factory Droid CLI | `droid` |
5556

5657
Use an explicit target. Verify with `doctor --agent <target>`.
5758

‎package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"windsurf",
2828
"opencode",
2929
"kiro",
30+
"droid",
31+
"factory-ai",
3032
"multi-agent",
3133
"adversarial",
3234
"static-analysis"

0 commit comments

Comments
 (0)