GPaste: Instructions file for Codex

AGENTS.md

GPaste AGENTS.md is an instructions file for Codex, OpenCode from Keruspe/GPaste. It costs 8,088 tokens per session, scanned A, original, BSD-2-Clause.

A repository guide for working on Keruspe/GPaste, a clipboard manager for Linux. It documents the build commands, code conventions, D-Bus interfaces, and optional features.

In plain words
What is it for?
Use it when building, configuring, or changing GPaste with Meson and Ninja, or when working on its GNOME, encryption, database, or keyring features.
Why use it?
It gives coding agents the project rules and build details they need, including which missing dependencies can silently disable features.

Instructions file for CodexOpenCode

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

This is Keruspe/GPaste's own configuration. It tells Codex and OpenCode how to work on GPaste 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 GPaste configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Keruspe/GPaste. 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/Keruspe/GPaste/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Keruspe/GPaste

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/keruspe/gpaste/agents-md"><img src="https://agentmods.dev/badge/instructions/keruspe/gpaste/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,088 This file is loaded in full into every session.
When invoked 8,088 The same file — it is already loaded in full.
Security scan A 0 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.08088 $0.08088
Opus 5.5 $0.03235 $0.03235
Sonnet 5.5 $0.01618 $0.01618
Haiku 4.5 $0.00809 $0.00809

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

Security

Grade A, and why

GPaste AGENTS.md 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 10d 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.

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.

AGENTS.md · 236 lines

How it starts

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

AGENTS.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Build

GPaste uses Meson + Ninja:

meson setup build
ninja -C build

The build directory is build, not builddir.

Build options (meson setup build -Doption=value, or meson configure build). The feature ones default to auto: enabled when the dependency is found, skipped otherwise, so a build silently loses a feature if its dependency is missing — pass enabled to make that fatal.

Option Type Default Description
encryption feature auto libsodium-based history encryption (G_PASTE_ENABLE_ENCRYPTION)
sqlite feature auto SQLite storage backends, needs SQLite ≥ 3.35 (G_PASTE_ENABLE_SQLITE)
libsecret feature auto passphrase in the keyring, only with encryption: enabled without it is a configure error, auto then disabled (G_PASTE_ENABLE_LIBSECRET)
pwquality feature auto password strength rating: the passphrase of an encrypted history, and a new password item (G_PASTE_ENABLE_PWQUALITY)
gnome-shell bool true GNOME Shell extension + mutter clipboard backend, needing introspection (G_PASTE_ENABLE_GNOME_SHELL); the overview's search provider is installed either way
introspection bool true Generate GIR data
vapi bool true Generate Vala bindings (errors out without introspection)
systemd bool true systemd user units, which the D-Bus service files name (SystemdService=) only when installed
bash-completion, zsh-completion, fish-completion bool true Shell completions

Four string options — dbus-services-dir, dbus-interfaces-dir, control-center-keybindings-dir and systemd-user-unit-dir — override install paths that are otherwise queried from dbus-1 (the first two), gnome-keybindings and systemd via pkg-config. Setting them is how a packager avoids pulling those in as build dependencies; they are still required at runtime.

Read the full file on GitHub · 236 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. 10d ago Changed · +268 tokens per session 90871b9cbd36
  2. 16d ago Changed · +2 lines · +223 tokens per session 85ecabd46d56
  3. 17d ago Changed · +7 lines · +245 tokens per session 2248c86bc699
  4. 1mo ago Changed · +6 lines · +247 tokens per session 6ab02e9e7167
  5. 1mo ago Changed · +1 lines · -20 tokens per session d7a83d586295
  6. 1mo ago Changed · +3 lines · +171 tokens per session c41d9f52de0c
  7. 1mo ago Changed · -195 lines · -36,733 tokens per session 8a5c6821efd6
  8. 2mo ago Changed · +5 lines · +4,031 tokens per session fdf2b0ce8e91
  9. 2mo ago First seen · 407 lines · 39,656 tokens per session scan A a1e6c7a107db

Subscribe to this mod's changes

GPaste AGENTS.md is an instructions file published in the GitHub repository Keruspe/GPaste (962 stars, last pushed 10d ago), licensed BSD-2-Clause. It adds 8,088 tokens to every session, about $0.0324 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-08-30.

Related

GPaste AGENTS.md compared with instructions from other repositories

GPaste AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
GPaste AGENTS.mdKeruspe/GPasteInstructions file96210d agoBSD-2-ClauseA8,088Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode