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.
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.
curl -O https://raw.githubusercontent.com/SRombauts/SQLiteCpp/master/.claude/skills/sqlitecpp-build-cmake/SKILL.mdgit clone --depth 1 https://github.com/SRombauts/SQLiteCppWrote 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.
[](https://agentmods.dev/skills/srombauts/sqlitecpp/sqlitecpp-build-cmake)<a href="https://agentmods.dev/skills/srombauts/sqlitecpp/sqlitecpp-build-cmake"><img src="https://agentmods.dev/badge/skills/srombauts/sqlitecpp/sqlitecpp-build-cmake/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.
<a href="https://agentmods.dev/skills/srombauts/sqlitecpp/sqlitecpp-build-cmake"><img src="https://agentmods.dev/badge/skills/srombauts/sqlitecpp/sqlitecpp-build-cmake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.00867 |
| Opus 5.5 | $0.00011 | $0.00347 |
| Sonnet 5.5 | $0.00005 | $0.00173 |
| Haiku 4.5 | $0.00003 | $0.00087 |
Grade A, and why
sqlitecpp-build-cmake 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SQLiteCpp CMake Build
Quick builds
- Windows (VS 2026):
mkdir buildcd buildcmake -G "Visual Studio 18 2026" -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES=ON ..cmake --build . --config Release
- Unix/macOS:
mkdir build && cd buildcmake -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES=ON ..cmake --build .
Build scripts
build.bat(Windows) enables shared libs, tests, examples, and runsctest.build.sh(Unix) enables ASAN, shared libs, tests, examples, and runsctest.
Common options
SQLITECPP_BUILD_TESTS(OFF): build unit tests.SQLITECPP_BUILD_EXAMPLES(OFF): build examples.BUILD_SHARED_LIBS(OFF): build shared libs (DLLs).SQLITECPP_INTERNAL_SQLITE(ON): use bundled sqlite3 source.SQLITE_ENABLE_COLUMN_METADATA(ON): enablegetColumnOriginName().SQLITECPP_RUN_CPPLINT(ON): run cpplint target.SQLITECPP_RUN_CPPCHECK(ON): run cppcheck target.SQLITECPP_RUN_DOXYGEN(OFF): generate docs.SQLITECPP_USE_ASAN(OFF): address sanitizer.SQLITECPP_USE_UBSAN(OFF): undefined behavior sanitizer for the library and linked consumers.SQLITECPP_USE_GCOV(OFF): GCov coverage.SQLITECPP_DISABLE_STD_FILESYSTEM(OFF): disable std::filesystem support.SQLITECPP_DISABLE_EXPANDED_SQL(OFF): disable sqlite3_expanded_sql support.
Tests
ctest --output-on-failurectest --output-on-failure -Vctest --output-on-failure -R "Database"
Notes
- Tests can use a system
GTest; otherwise they fall back to thegoogletestsubmodule. - If the submodule is needed:
git submodule update --init --recursive. - SQLiteCpp requires CMake 3.16 or newer, C++17 or newer, and SQLite 3.38.0 or newer.
find_package(SQLite3 3.38.0 REQUIRED)checks discovered system SQLite versions. Custom SQLite targets are also covered by the source-level compile-time version check.- MSVC requires VS2017 15.9 / MSVC 19.16 or newer, enforced with a fatal configuration diagnostic.
cxx_std_17requests a standard mode; it does not prove complete C++17 feature support. Old MSVC toolsets are a special case: CMake can advertise standard meta-features even when the compiler has no standard-selection flag, and can map C++17 to/std:c++lateston VS2015 Update 3.CXX_STANDARD_REQUIREDtherefore does not guarantee an early rejection of unsupported MSVC versions. Preserve explicit minimum-version diagnostics when needed, usingmessage(FATAL_ERROR ...). See https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD_REQUIRED.html and https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards.- Keep the minimum CMake version deliberate and update CMake configuration and documentation together.
- The
...4.4policy maximum incmake_minimum_requireddoes not cap the supported CMake version; it opts into policy behavior through CMake 4.4 while still allowing newer CMake releases.
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.
- 19d ago Changed · +2 lines a45a3cf34b06
- 1mo ago Changed · +1 lines c58ae9f2b0e3
- 1mo ago Changed · +8 lines c62195f1ae66
- 1mo ago Changed · -1 lines 0784c6e7b847
- 2mo ago Changed · +5 lines e412c2ae0e7e
- 2mo ago First seen · 45 lines · 27 tokens per session scan A 9cea184465d9
sqlitecpp-build-cmake is a skill published in the GitHub repository SRombauts/SQLiteCpp (2,807 stars, last pushed 13d ago), licensed MIT. It adds 27 tokens to every session and 867 once invoked, about $0.0001 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.
sqlitecpp-build-cmake compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sqlitecpp-build-cmakeSRombauts/SQLiteCpp | Skill | 2.8k | 13d ago | MIT | A | 27 | Claude Code |
| cudf-query-engine-builderNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 99 | Claude Code, Codex |
| udf-writertaosdata/agent-skills | Skill | 2 | 16d ago | MIT | A | 66 | Claude Code, Codex |
| drogon-gen-orm-crudvoidvec/drogon-claude-plugin | Skill | 1 | 1mo ago | MIT | A | 56 | Claude Code |
| memgraph-cpp-query-modulesmemgraph/skills | Skill | 16 | 4d ago | none | A | 62 | Claude Code |
| vsql-extension-buildervillagesql/villagesql-skills | Skill | 5 | yesterday | none | E | 92 | Claude Code |
| no-bare-castsprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 52 | Claude Code, Codex |