deskbrid: Instructions file for Claude Code

CLAUDE.md

deskbrid CLAUDE.md is an instructions file for Claude Code 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is coe0718/deskbrid's own configuration. It tells Claude Code 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/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/coe0718/deskbrid

Made for: Claude Code.

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/coe0718/deskbrid/claude-md"><img src="https://agentmods.dev/badge/instructions/coe0718/deskbrid/claude-md.svg" alt="Reviewed on agentmods" width="80" 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. 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.00633 $0.00633
Opus 5.5 $0.00253 $0.00253
Sonnet 5.5 $0.00127 $0.00127
Haiku 4.5 $0.00063 $0.00063

Measured 2mo ago against content hash 5f6f71f1e3c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 2mo 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 (31 stars, last pushed 1mo ago), licensed MIT. It adds 633 tokens to every session, about $0.0025 per session on Opus 5.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

deskbrid CLAUDE.md compared with instructions from other repositories

deskbrid CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deskbrid CLAUDE.mdcoe0718/deskbridInstructions file311mo agoMITB633Claude Code
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