kdbx AGENTS.md

kdbx AGENTS.md is an instructions file for Codex, OpenCode from yarrasys/kdbx. It costs 3,066 tokens per session, scanned B, original, MIT.

Repository guidance for kdbx, a Go command-line program that stores project secrets in KeePassXC vault files and supplies them to programs without printing them.

In plain words
What is it for?
Use it when modifying kdbx, its commands, security behavior, tests, or documentation.
Why use it?
It gives developers and coding agents one source of rules, project status, and a map of the codebase before they make changes.

Instructions file for CodexOpenCode

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/yarrasys/kdbx/agents-md
Clone the repo
git clone --depth 1 https://github.com/yarrasys/kdbx

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yarrasys/kdbx/agents-md.svg)](https://agentmods.dev/instructions/yarrasys/kdbx/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/yarrasys/kdbx/agents-md"><img src="https://agentmods.dev/badge/instructions/yarrasys/kdbx/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,066 This file is loaded in full into every session.
When invoked 3,066 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.03066 $0.03066
Opus 5 $0.01533 $0.01533
Sonnet 5 $0.00613 $0.00613
Haiku 4.5 $0.00307 $0.00307

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

Security

Grade B, and why

kdbx AGENTS.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 3d 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 the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

- Secret intake is stdin, `--from-env`, or an interactive no-echo prompt. **Never argv.**

Makes network callslowCapability

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

- **Every install route is live**: the curl installer, `go install`, `brew install
AGENTS.md · 191 lines

How it starts

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

AGENTS.md

Canonical guidance for anyone — human or AI — working on this repository. CLAUDE.md is a symlink to this file so there is one source of truth.

Working with kdbx (using the CLI) is documented in README.md. This file is about changing it.

What this is

github.com/yarrasys/kdbx — a single Go binary (MIT) that stores a project's secrets in per-project, per-environment KeePassXC vaults and injects them into child processes without ever printing them. It is a port of the Python kdbx skill in yarrasys/extensions, which is now the frozen reference implementation.

Current status — read this first

Released and consumed. The repo is public at https://github.com/yarrasys/kdbx, CI is green on Linux, macOS and Windows, and the current release is v0.1.2. As of 2026-07-30:

  • 19 packages, full suite green under -race, cross-compiles to darwin/linux/windows × amd64/arm64. 8 CLI-contract scenarios pass.
  • 15 commands: init set get list delete mv run export import check envs rekey guard mcp completion. install-launcher was removed — the binary is its own launcher.
  • Vaults are standard KDBX4 (Argon2, key-file-only), so keepassxc-cli and the KeePassXC desktop app read Go-written vaults directly. The Python↔Go parity harness that verified the original port has been retired now that the Python reference is no longer a consumer.
  • golangci-lint v2 runs clean locally and in CI. main is protected: the lint and three-OS test checks are required (admins may still push directly).
  • Every install route is live: the curl installer, go install, brew install yarrasys/tap/kdbx (v0.1.1) and ghcr.io/yarrasys/kdbx (v0.1.2). Releases ship six archives plus SHA256SUMS and a keyless cosign signature — see SECURITY.md.
  • The consuming change has landed: yarrasys/extensions merged the skill-and-plugin switch to the binary in PR #36, freezing its Python implementation.

Read the full file on GitHub · 191 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. 3d ago First seen · 191 lines · 3,066 tokens per session scan B d5f935c4e996

Subscribe to this mod's changes

kdbx AGENTS.md is an instructions file published in the GitHub repository yarrasys/kdbx (4 stars, last pushed 14d ago), licensed MIT. It adds 3,066 tokens to every session, about $0.0153 per session on Opus 5. A static security scan graded it B with 2 findings (asks the agent to reveal its instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.