SQLiteCpp: Instructions file for Codex

AGENTS.md

SQLiteCpp AGENTS.md is an instructions file for Codex, OpenCode from SRombauts/SQLiteCpp. It costs 1,401 tokens per session, scanned A, original, MIT.

Project instructions for AI agents working on SQLiteCpp, a C++11 wrapper around the SQLite database library. They describe the project, required coding rules, documentation maintenance, and error handling.

In plain words
What is it for?
Use them when asking an agent to modify, test, document, or maintain the SQLiteCpp codebase.
Why use it?
They give coding agents the project context and constraints needed to make changes that fit SQLiteCpp and do not break its design rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md.

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

About the project

SQLiteC++ is a C++ wrapper around SQLite's native C interface, providing classes for working with SQLite databases. It is used by C++ developers who want a lightweight interface with standard library types, exceptions, and resource management. The catalogue entries provide skills for working with the library.

SRombauts/SQLiteCpp · 2,807 stars · on GitHub · srombauts.github.io

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/srombauts/sqlitecpp/agents-md"><img src="https://agentmods.dev/badge/instructions/srombauts/sqlitecpp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,401 This file is loaded in full into every session.
When invoked 1,401 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.01401 $0.01401
Opus 5.5 $0.00560 $0.00560
Sonnet 5.5 $0.00280 $0.00280
Haiku 4.5 $0.00140 $0.00140

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

Security

Grade A, and why

SQLiteCpp 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 19d 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 · 115 lines

How it starts

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

SQLiteCpp AI Agents Custom Instructions

Project Overview

  • SQLiteCpp is a C++17 RAII wrapper around SQLite3 C APIs
  • Minimal dependencies: C++17 STL + SQLite3
  • Cross-platform: Windows, Linux, macOS
  • Thread-safe at SQLite multi-thread level

Maintaining This Documentation

IMPORTANT: When the user explains how to do something, corrects your behavior, or points out errors:

  1. Update AGENTS.md for universal SQLiteCpp constraints and best practices, or to correct guidance in this file.
  2. Update skills for task-specific guidance (build, testing, documentation, etc.), or to correct and extend skill content.

Goal: Keep this documentation accurate and comprehensive so future sessions benefit from corrections and clarifications.

Treat changes to AGENTS.md and skills as documentation maintenance. Commit them separately from implementation, tests, and CI changes, even when the same task prompts both kinds of work.

Core Non-Negotiables (MUST Follow)

  1. RAII only: Acquire resources in constructors, release in destructors
  2. Never throw in destructors: Use SQLITECPP_ASSERT() instead
  3. C++17 minimum: do not require C++20 without an explicit baseline change
    • C++11/C++14 compatibility is not maintained on the C++17 baseline; remove redundant language guards.
    • Add checks for optional newer features only when needed, preferring __cpp_* or __cpp_lib_* macros. Language mode alone does not establish feature availability.
    • Keep exported API and class definitions consistent between library and consumer compilation modes.
  4. Public API isolation: Headers must NOT include sqlite3.h
  5. Export macros: Public API must use SQLITECPP_API from SQLiteCppExport.h
  6. Threading constraint: One Database/Statement/Column per thread
  7. Tests required: New functionality must have tests in tests/
  8. Portability: Code must work on Windows, Linux, and macOS
  9. Const correctness: Use const for methods that don't modify object state, const& for read-only parameters

Read the full file on GitHub · 115 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. 19d ago Changed · +2 lines · +44 tokens per session 6222ef6291eb
  2. 21d ago Changed · +3 lines · +35 tokens per session a08b75a218f4
  3. 1mo ago Changed · +6 lines · +112 tokens per session 136920470d0f
  4. 1mo ago Changed · +4 lines · +78 tokens per session b0bb1ca20f37
  5. 1mo ago Changed · -3 tokens per session e694cf171376
  6. 2mo ago Changed · +8 lines · +98 tokens per session ff8e37bfa553
  7. 2mo ago First seen · 92 lines · 1,037 tokens per session scan A 55073d8633d4

Subscribe to this mod's changes

SQLiteCpp AGENTS.md is an instructions file published in the GitHub repository SRombauts/SQLiteCpp (2,807 stars, last pushed 13d ago), licensed MIT. It adds 1,401 tokens to every session, about $0.0056 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

SQLiteCpp AGENTS.md compared with instructions from other repositories

SQLiteCpp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SQLiteCpp AGENTS.mdSRombauts/SQLiteCppInstructions file2.8k13d agoMITA1,401Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode