Agent Rules Desk

This section describes the current release, its compatibility requirements and first run.

Agent Rules Desk manages rules for two supported agents in one project. The personal edition shows conflicts and exact file changes before applying them, with a local backup and rollback.

A ZIP package containing a Node.js command-line tool. It previews changes to explicit agent rule files, reads one JSON input object and returns one JSON response.

Compatibility

  • Linux Debian 13 (trixie), arm64 or amd64, with Node.js 24.22.3. Formats: AGENTS.md for Codex CLI 0.171.0 and CLAUDE.md for Claude Code 2.1.328. It does not launch the agents themselves. Windows and macOS are unsupported in R1.
  • For technical users familiar with terminals, JSON and agent instruction files. Desk does not mean a separate desktop window.
  • Only explicit editable files within the authorised project scope are managed.

Current release.

Recommended launch price: €40 · per year · Users: 1 · excluding VAT

Agent Rules Desk — Process diagram
Process overview. The capabilities, inputs, outputs and limits are described below.

Capabilities

  • Reading of explicit global and local rule files in two supported agent formats.
  • Visible distinction between managed rules and manually maintained sections.
  • Conflict detection and an exact change preview before applying updates.
  • Atomic application of an explicitly confirmed change.
  • Preservation of manual content and existing permission boundaries.
  • Repeatable application without duplicate rules and restoration from a versioned backup.
  • One project and two qualified agents for one user.
  • Local backup and undo of the applied change.

How it works

  1. Extract the entire personalized ZIP, keep its licence files and open a terminal in the extracted folder.
  2. Set rules_desk_prefix to a separate installation directory and run the installer. sh tools/install --prefix "${rules_desk_prefix:?}" --locale en
  3. For the first run, copy fixtures/projects/one to a separate disposable project. Following docs/en/README.md, prepare a rules-desk-profile/1 profile with the AGENTS.md and CLAUDE.md targets, allowed rules and manual sections to retain.
  4. Send one JSON object to the preview command on standard input. It must contain project, the disposable project path, and profile, the complete prepared profile object. node bin/rules-desk.mjs preview --json
  5. Save the complete JSON response and review its conflicts and proposed changes. This preview is the first result; applying or rolling back changes uses separate documented commands and explicit confirmation.

What you provide

  • A project directory with explicit AGENTS.md or CLAUDE.md rule files.
  • A rules-desk-profile/1 JSON profile with allowed rules and manual sections to retain.

What you receive

  • A conflict and file-change preview.
  • Updated rule files with manual content preserved.
  • A versioned backup and rollback record.
  • First result: A JSON preview of changes and conflicts in the disposable project's agent rules.

Scope and limits

  • Hidden system prompts and private chat state are not read or rewritten.
  • The tool does not grant new permissions or edit unrelated repositories.
  • The personal edition excludes team distribution and multiproject history.

Questions and answers

Will handwritten rules be removed?
The workflow preserves manual sections and shows any conflict before a change is confirmed.
Can the same update be applied twice?
Repeated application leaves the same rule set without duplicates.
Does the tool expand an agent’s permissions?
No. Existing permission boundaries remain in force; the tool manages explicit rule files only.