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-desktopgit 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-desktop)<a href="https://agentmods.dev/skills/agentproto/ts/ap-desktop"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-desktop/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-desktop"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-desktop.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.00075 | $0.00980 |
| Opus 5.5 | $0.00030 | $0.00392 |
| Sonnet 5.5 | $0.00015 | $0.00196 |
| Haiku 4.5 | $0.00007 | $0.00098 |
Grade A, and why
ap-desktop 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ap-desktop
MCP profile: full only
desktop_conversation_list, desktop_conversation_read,
desktop_conversation_create and desktop_conversation_ask exist only on the
daemon's full MCP profile. In a session narrowed to core, orchestrator,
apps or admin they are not in tools/list at all, so a call fails before
reaching the daemon. If a Desktop tool is "missing", check the profile of the
connection that is asking.
Everything here reads the apps' own local stores or talks to them through the daemon; nothing writes to a Claude or Codex data store directly.
Tools
Task: ask a Desktop chat a question and read the answer
- List with
appandq; note the row'sexternalId. - Read the last messages first, so the question does not repeat what the chat already said.
- Ask with
urgency: "next-turn"and awaitMsthat fits the work. Checkdelivered.via:inboxmeans the message is parked and no reply will come insidewaitMs; do not loop on it. - To start a new conversation instead, create it: a Codex thread runs now, a Claude draft needs a human to open the link and send.
Gotchas
idis the app's own conversation id;externalIdis its daemon address (cc:<id>/codex:<id>). Both are accepted byreadandask.- A Claude draft is not a conversation until a human opens the link and sends;
do not loop waiting for a
threadIdthat will not appear. readlooks the id up among the 500 most recent conversations of that app, archived ones included: an archived chat is readable by id even though a default list hides it, but an id outside that window, or unknown, is an error, never a guess.listshows chats that never called agentproto, but only those with an addressable session. Rows are newest first by last activity and carrylastActivityMs,cwd,titleandarchived.limitis 1 to 500 (default 50). On a Node older than 22.5 the Codex rows are empty without an error, and the Claude rows still come back.read:tailis 1 to 200 (default 20).- Codex
create:cwdmust be an absolute path to an existing directory;promptis at most 20,000 characters;timeoutMsdefaults to 120,000 (min 1,000, max 600,000); a failed or timed-out first turn is an error result. The creating session is recorded as the thread's owner, so its lateraskpasses the messaging ACL. Claudecreate:cwdmust be absolute, and the 14,000 character cap onpromptis below the schema's 20,000 ceiling. ask:textis at most 20,000 characters;urgencyis neverinterrupt;waitMsis at most 300,000 and0only sends. A parked message (delivered.viaisinbox) is read at the chat's next hook poll and normally yields no reply insidewaitMs; thenotesays so. On Codex,desktopWakeisaccepted,unavailable,busyoruncertain. A session caller needs the chat's workspace, a grant or a peer group that allows it.- On a messaging refusal (e.g.
forbidden_recipient) runpermissions_explainfor the exact rule rather than retrying, and never echo a credential.
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 · 72 lines · 75 tokens per session scan A 758a59dbb39c
ap-desktop is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed today), licensed Apache-2.0. It adds 75 tokens to every session and 980 once invoked, about $0.0003 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-desktop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ap-desktopagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 75 | Claude Code, Codex |
| skill-creator-primersammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 74 | Claude Code |
| extract-wisdomsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 43 | Claude Code |
| llm-wikisammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 82 | Claude Code |
| apply-mantel-stylessammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 37 | Claude Code, Codex |
| authoring-claude-mdsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| home-assistantsammcj/agentic-coding | Skill | 175 | today | Apache-2.0 | A | 57 | Claude Code |