deskbrid: Instructions file for Codex

AGENTS.md

deskbrid AGENTS.md is an instructions file for Codex, OpenCode from coe0718/deskbrid. It costs 1,036 tokens per session, scanned A, original, MIT.

Project instructions for Deskbrid, a daemon that lets an AI agent control a Linux desktop through a local Unix socket. It can work with windows, keyboard and mouse input, clipboards, screenshots, and system information.

In plain words
What is it for?
Use it to list or arrange windows, type and click, read or write the clipboard, capture or compare screenshots, and inspect desktop or system status.
Why use it?
It explains how to install, start, communicate with, and test the desktop-control service in the repository.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Codex.

This is coe0718/deskbrid's own configuration. It tells Codex and OpenCode how to work on deskbrid itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything deskbrid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to coe0718/deskbrid. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/coe0718/deskbrid/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/coe0718/deskbrid

Made for: Codex, OpenCode.

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 deskbrid AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/coe0718/deskbrid/agents-md/github.svg)](https://agentmods.dev/instructions/coe0718/deskbrid/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/coe0718/deskbrid/agents-md"><img src="https://agentmods.dev/badge/instructions/coe0718/deskbrid/agents-md/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.

agentmods 80×15 button for deskbrid AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/coe0718/deskbrid/agents-md"><img src="https://agentmods.dev/badge/instructions/coe0718/deskbrid/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,036 This file is loaded in full into every session.
When invoked 1,036 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01036 $0.01036
Opus 5.5 $0.00414 $0.00414
Sonnet 5.5 $0.00207 $0.00207
Haiku 4.5 $0.00104 $0.00104

Measured 2mo ago against content hash a5e93bd74a02, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deskbrid AGENTS.md scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

bash <(curl -fsSL https://deskbrid.patchhive.dev/install.sh)
AGENTS.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deskbrid

Deskbrid bridges AI agents to any Linux desktop over a Unix socket. Control windows, inject keystrokes, take screenshots, manage clipboards — on GNOME, KDE, Hyprland, COSMIC, Sway, Niri, Wayfire, Labwc, or X11.

Install

bash <(curl -fsSL https://deskbrid.patchhive.dev/install.sh)

Auto-detects distro + DE, installs deps, sets up uinput, downloads binary.

Quick Start

deskbrid daemon                               # start daemon
deskbrid windows list                         # CLI: list windows
deskbrid clipboard read                       # CLI: read clipboard
deskbrid screenshot                           # CLI: screenshot
# Socket (agent-native)
echo '{"type":"system.info","id":"1"}' | nc -U $XDG_RUNTIME_DIR/deskbrid.sock -w 2
echo '{"type":"windows.list","id":"2"}' | nc -U $XDG_RUNTIME_DIR/deskbrid.sock -w 2

Features

  • Windows & Workspaces — list, focus, close, minimize, maximize, tile, move/resize
  • Input — keyboard typing, key combos, mouse control
  • Clipboard — read/write with history
  • Screenshots — capture, OCR, diffing
  • System — info, battery, idle, power management, pressure (PSI)
  • Audio — volume, mute, sink management
  • Network & Bluetooth — WiFi, device pairing
  • Vision — element detection, text recognition, state detection via Tesseract OCR (vision.find_element, vision.find_by_text, vision.detect_state)
  • Storage — disk usage stats and filesystem scanning (storage.usage, storage.scan)
  • Monitor DDC/CI — brightness, contrast, input source, power over I2C without compositor
  • MPRIS — media player control
  • Terminal — PTY sessions
  • Files — search, read, write, watch
  • Notifications — send, dismiss, history
  • Speech — text-to-speech via spd-say/espeak-ng (speech.speak, speech.stop, speech.voices)
  • Keyboard Layouts — list, switch, add, remove
  • Desktop Settings — gsettings read/write, schema discovery (GNOME, KDE, X11, Hyprland, Sway, COSMIC, Labwc, Niri, Wayfire)
  • Backlight — list, get, set brightness via sysfs (all backends)
  • Print — list printers, set default, list/cancel/pause/resume jobs, send files to printer (CUPS)
  • Self-update — deskbrid update pulls latest from GitHub releases
  • Confirmation Mode — require explicit approval for destructive actions before execution
  • Agent Messaging — inter-agent mailbox for message passing between sessions
  • Unified Search — cross-surface search (windows, apps, files, clipboard, audit log) with relevance scoring
  • Keyring Access — Secret Service integration for secure credential storage and retrieval
  • Rate Limiting — per-namespace, per-agent token bucket limits (configurable via permissions.toml)
  • Sandboxed Profiles — named agent profiles with allow/deny/confirm gates, profile-scoped rate limits
  • Auto-Suspend — dangerous command blocking, burst detection, heartbeat timeout canary suspension
  • Locks — distributed resource locks for multi-agent coordination with token-based ownership
  • Region Watching — screen region monitoring with text-change detection
  • Agent Registry — session and agent tracking for multi-agent coordination

Read the full file on GitHub · 91 lines

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. 2mo ago First seen · 91 lines · 1,036 tokens per session scan A a5e93bd74a02

Subscribe to this mod's changes

deskbrid AGENTS.md is an instructions file published in the GitHub repository coe0718/deskbrid (31 stars, last pushed 1mo ago), licensed MIT. It adds 1,036 tokens to every session, about $0.0041 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

deskbrid AGENTS.md compared with instructions from other repositories

deskbrid AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deskbrid AGENTS.mdcoe0718/deskbridInstructions file311mo agoMITA1,036Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot