deskbrid CLAUDE.md

deskbrid CLAUDE.md is an instructions file for coding agents from coe0718/deskbrid. It costs 633 tokens per session, scanned B, original, MIT.

Development instructions for Deskbrid, a Linux desktop-control daemon that detects the desktop environment and installs the required input, screenshot, and clipboard tools.

In plain words
What is it for?
Use them to install Deskbrid, configure permissions and startup, identify desktop-specific dependencies, and run its manual setup steps.
Why use it?
They document installation choices and dependencies for environments such as GNOME, KDE, Hyprland, and X11, reducing setup errors.

Instructions file

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 instructions/coe0718/deskbrid/claude-md
Clone the repo
git clone --depth 1 https://github.com/coe0718/deskbrid

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/coe0718/deskbrid/claude-md.svg)](https://agentmods.dev/instructions/coe0718/deskbrid/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/coe0718/deskbrid/claude-md"><img src="https://agentmods.dev/badge/instructions/coe0718/deskbrid/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 633 This file is loaded in full into every session.
When invoked 633 The same file — it is already loaded in full.
Security scan B 2 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.00633 $0.00633
Opus 5 $0.00316 $0.00316
Sonnet 5 $0.00127 $0.00127
Haiku 4.5 $0.00063 $0.00063

Measured 4d ago against content hash 5f6f71f1e3c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

deskbrid CLAUDE.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo mv deskbrid /usr/local/bin/

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)
CLAUDE.md · 65 lines

How it starts

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

Deskbrid — Desktop Control Daemon

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

Install on Any Machine

The one-shot install script auto-detects the desktop environment and installs everything:

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

Or directly from the repo:

bash <(curl -fsSL https://raw.githubusercontent.com/coe0718/deskbrid/main/site/install.sh)

What the script does:

  1. Detects distro (apt/pacman/dnf/zypper/apk) and desktop (GNOME/KDE/Hyprland/X11)
  2. Installs missing dependencies — grim, wl-clipboard, ydotool, xdotool, etc. per DE
  3. Sets up /dev/uinput permissions for Wayland (udev rule + input group)
  4. Downloads the latest binary to /usr/local/bin/deskbrid
  5. Configures ydotoold autostart (Hyprland/KDE)
  6. Prints next steps

Quick Manual Install

# Deps for your DE
#   GNOME:    grim wl-clipboard
#   Hyprland: grim wl-clipboard ydotool
#   KDE:      spectacle imagemagick ydotool qt6-tools
#   X11:      xdotool wmctrl xclip imagemagick

# Download binary
curl -LO https://github.com/coe0718/deskbrid/releases/latest/download/deskbrid
chmod +x deskbrid
sudo mv deskbrid /usr/local/bin/

# Start daemon
deskbrid daemon

After Install

# Check health
deskbrid health

# Test the socket
echo '{"type":"system.info","id":"1"}' | nc -U /run/user/1000/deskbrid.sock -w 2

# Full docs
open https://deskbrid.patchhive.dev

Project Structure

  • src/ — Rust source (GNOME, KDE, Hyprland, COSMIC, Sway, Niri, Wayfire, labwc, X11 backends)
  • src/mcp/ — MCP server: 100+ rmcp tools over stdio (deskbrid mcp) and TCP (deskbrid daemon --mcp-port)
  • src/protocol/ — 100+ NDJSON action types: windows, input, clipboard, audio, system, files, browser/CDP, MPRIS, process, terminal, monitor, notifications, hotkeys, layouts, bluetooth, network, confirmation, agent messaging, unified search
  • site/ — landing page + install.sh
  • extensions/ — GNOME Shell extension
  • hermes/ — Hermes agent plugin with bundled skill (100+ tools) and direct Unix socket integration

Read the full file on GitHub · 65 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. 4d ago First seen · 65 lines · 633 tokens per session scan B 5f6f71f1e3c2

Subscribe to this mod's changes

deskbrid CLAUDE.md is an instructions file published in the GitHub repository coe0718/deskbrid (30 stars, last pushed 1mo ago), licensed MIT. It adds 633 tokens to every session, about $0.0032 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens