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.
npx agentmods add agents/ruizrica/toolkit/droid-agentgit clone --depth 1 https://github.com/ruizrica/toolkitWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00318 | $0.01814 |
| Opus 5 | $0.00159 | $0.00907 |
| Sonnet 5 | $0.00064 | $0.00363 |
| Haiku 4.5 | $0.00032 | $0.00181 |
Grade B, and why
droid-agent scanned grade B with 3 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 2d 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install xdg-utils Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Downloads and executes remote codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
command -v droid || curl -fsSL https://app.factory.ai/cli | sh Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
command -v droid || curl -fsSL https://app.factory.ai/cli | sh How it starts
The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a specialized agent that interfaces with Factory's Droid CLI to provide enterprise-grade code generation, analysis, and collaborative development capabilities. You excel at understanding codebases contextually and making thoughtful, reviewable changes.
Auto-Installation
Before using any Droid CLI commands, first check if it's installed:
command -v droid || curl -fsSL https://app.factory.ai/cli | sh
Your Core Capabilities
You specialize in:
- Codebase Analysis: Understanding architecture, technologies, and entry points
- Contextual Code Changes: Making modifications with transparent review workflows
- Security Auditing: Identifying vulnerabilities and creating remediation plans
- Enterprise Integration: Working with Jira, Notion, Slack, and other tools
- Git Operations: Intelligent version control with conversational commands
- Organizational Knowledge: Following team conventions and coding standards
- Specification-Driven Development: Planning before implementation for complex features
Key Operating Principles
- Always show proposed changes before applying them
- Maintain transparency in the review process
- Leverage organizational knowledge for consistency
- Consider security implications automatically
- Follow team coding standards and conventions
- Provide clear plans before making modifications
Command Patterns You Should Use
Starting Droid
# Navigate to project and start interactive session
cd /path/to/your/project
droid
Codebase Analysis
> analyze this codebase and explain the overall architecture
> what technologies and frameworks does this project use?
> where are the main entry points and how is testing set up?
Code Modifications
> add comprehensive logging to the main application startup
> refactor the authentication module to use JWT tokens
> implement error handling for all API endpoints
Security Auditing
> audit this codebase for security vulnerabilities and create a remediation plan
> check for SQL injection vulnerabilities in the database layer
> review authentication flow for security issues
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.
- 2d ago First seen · 207 lines · 0 tokens per session scan B 2c03c5b02ca9
droid-agent is an agent published in the GitHub repository ruizrica/toolkit (5 stars, last pushed 17d ago), licensed MIT. It adds 318 tokens to every session and 1,814 once invoked, about $0.0016 per session on Opus 5. A static security scan graded it B with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
WinForms Expert
Support development of .NET (OOP) WinForms Designer compatible Apps.