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 skills add agentproto/ts --skill ap-devicesgit clone --depth 1 https://github.com/agentproto/tsWrote 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.
[](https://agentmods.dev/skills/agentproto/ts/ap-devices)<a href="https://agentmods.dev/skills/agentproto/ts/ap-devices"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-devices/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.
<a href="https://agentmods.dev/skills/agentproto/ts/ap-devices"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-devices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00091 | $0.01333 |
| Opus 5.5 | $0.00036 | $0.00533 |
| Sonnet 5.5 | $0.00018 | $0.00267 |
| Haiku 4.5 | $0.00009 | $0.00133 |
Grade A, and why
ap-devices 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ap-devices
MCP profile
pair_*, join_token_* and most device_* tools are on the admin and full
MCP profiles. device_offer and device_pair_pending are full only. In a
session narrowed to core, orchestrator or apps they are not in
tools/list. device_prompt and join_token_* also need the daemon to have
the matching registry wired, so they can be missing even on full.
All traffic between paired machines is end-to-end encrypted and crosses a
rendezvous broker that sees only ciphertext. By default that is the hosted
broker; pair_offer says so with rendezvousIsHostedDefault.
Secrets: what never to print
An offer url, a join token, and a device_offer link are bootstrap
secrets. Pass each only to the one place it is for, and never put it in a
log, a chat message, a file in a repository, or a PR. Short pairing codes are
shown to the human, who compares them; they are not a reason to repeat the
offer URL. Use neutral names for machines (build-box, team-laptop).
Tools
Journey 1: pair a client (phone or another CLI)
pair_offer(addttlMinutesif the person needs longer than 10 minutes). Hand theurlto the person: the other CLI runsagentproto pair accept "<url>"; a phone usesagentproto pair offer --qror--urlfrom a terminal, which gives the web pair page link.- When they say the client connected, call
pair_pendingand read out the shortcode. - Human gesture: the person compares that code with the one on the
client's screen. Only when they say it matches, call
pair_confirmwith the code. If it does not match or the client is unknown,pair_decline. Never confirm on your own initiative, and never confirm by client name. pair_listshows the result;pair_revokecuts a client off later.
Journey 2: register a host machine you want to drive
- On the machine to be driven,
pair_offerwithhost: true. A plain offer is refused bydevice_add. - On the controlling daemon, call
device_addwith thatofferUrland anamesuch asbuild-box. - Human gesture: the operator of the host machine runs
pair_pendingthere andpair_confirmwith the matching code. Until then the host is registered on one side only and drives nothing. device_sessionslists the host's sessions or tails one; it is read-only and needs no opt-in. To send prompts withdevice_prompt, the host must also runagentproto devices allow-spawn on(off by default; restart the daemon for it to apply).- Check
device_listforonline,lastErrorandstalebefore blaming the session.
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.
- today First seen · 106 lines · 91 tokens per session scan A 5d3ac04fba3d
ap-devices is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed today), licensed Apache-2.0. It adds 91 tokens to every session and 1,333 once invoked, about $0.0004 per session on Opus 5.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-12-02.
ap-devices compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ap-devicesagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 91 | Claude Code, Codex |
| deepevalsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 19 | Claude Code, Codex |
| prompt-enhancersammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 63 | Claude Code, Codex |
| ambitious-model-usesammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 58 | Claude Code |
| ml-llm-wikisammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 80 | Claude Code, Codex |
| llm-prompting-guidesammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 79 | Claude Code, Codex |
| tao-run-automlNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 235 | Claude Code |