droid

droid is an agent for coding agents from sheawinkler/ContextLattice. It costs 0 tokens per session (475 once invoked), scanned A, original, Apache-2.0.

A runtime integration template for connecting the Droid coding agent to ContextLattice, a local service for sharing project context and recording agent state.

In plain words
What is it for?
Use it when running Droid or mobile and remote coding agents with ContextLattice, including preflight checks, context loading, and handoffs between tasks.
Why use it?
It gives Droid a consistent way to load task context, use an explicit working directory, and report whether it is idle, working, blocked, or finished.

Agent

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.

agentmods
npx agentmods add agents/sheawinkler/contextlattice/droid
Clone the repo
git clone --depth 1 https://github.com/sheawinkler/ContextLattice

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/agents/sheawinkler/contextlattice/droid.svg)](https://agentmods.dev/agents/sheawinkler/contextlattice/droid)
Your own site
<a href="https://agentmods.dev/agents/sheawinkler/contextlattice/droid"><img src="https://agentmods.dev/badge/agents/sheawinkler/contextlattice/droid.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00475
Opus 5 $0.00000 $0.00237
Sonnet 5 $0.00000 $0.00095
Haiku 4.5 $0.00000 $0.00047

Measured 4d ago against content hash 6100febe3389, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

docs/public_overview/templates/agents/droid.md · 42 lines

What it actually says

Droid Integration Template

Runtime:

  • Orchestrator: http://127.0.0.1:8075
  • Agent profile: droid
  • Stable agent id: droid_agent
  • Optional install: brew install --cask droid

Use this for Droid or mobile/remote agents where local shell access may be mediated by another harness. Droid is an optional structured local/headless coding or review worker when the CLI is installed.

ContextLattice does not install Droid automatically. Runner execution is optional and adapter-first: ContextLattice packages context and records lifecycle; the Droid adapter owns local CLI invocation.

Paste into Droid/custom instructions when available:

Use ContextLattice at http://127.0.0.1:8075 as the local memory and context contract.
Use stable agent_id droid_agent.
Before non-trivial work, run contextlattice context "<task>" --project <project> --pretty. Use MCP or HTTP only when the CLI is unavailable; never guess missing context.
Use explicit cwd or worktree for code mutation.
Use contextlattice_agent_adapter state to report idle, working, awaiting_user, blocked, or done when possible.
Write concise checkpoints for durable decisions and a short handoff before compaction, thread transfer, or account transfer.
Do not auto-merge, git push, or treat ContextLattice context as prompt filler.
Post-compaction readback is optional and bounded; use it only when the prior objective state is needed.

Operator workflow:

CONTEXTLATTICE_AGENT_ID=droid_agent contextlattice context "current task" --project contextlattice --pretty
contextlattice resume --project contextlattice --pretty
contextlattice remember "checkpoint summary" --project contextlattice --pretty
contextlattice finish "verified result" --success --project contextlattice --pretty

Optional runner execution:

TASK_AGENT=droid python3 scripts/task_agent_worker.py --task-agent droid --worker-name local-droid-01

The repo-local Droid adapter uses droid exec --file <prompt> --cwd <path> by default. Keep custom flags operator-controlled through DROID_ARGS, DROID_AUTO_LEVEL, DROID_OUTPUT_FORMAT, and DROID_USE_SPEC.

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. 4d ago First seen · 42 lines · 0 tokens per session scan A 6100febe3389

Subscribe to this mod's changes

droid is an agent published in the GitHub repository sheawinkler/ContextLattice (152 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 475 tokens. 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-30.

Related

Other agents, from other repositories

Explore

Fast read-only codebase & docs exploration. Returns structured findings, never raw file dumps.

BlackBeltTechnology/pi-agent-dashboard · 18 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

nodejs-expert

Specializes in Node.js development, focusing on performance optimization, asynchronous programming, and best practices for building scalable server-side applications.

BlackBeltTechnology/pi-agent-dashboard · 25 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

design-builder

Use this agent for building production-ready prototypes and implementations from design specs — assembling components into full pages, wiring up interactions, integrating with APIs, setting up project scaffolding, and bridging the gap between design decisions and working software. Dispatch after the design-lead has…

Owl-Listener/designpowers · 85 tokens