vendor-cpp11
Skill by duckdb
Re-vendors cpp11 into src/vendor/ from the krlmlr/cpp11 fork and regenerates the R binding. It is for maintainers of the duckdb package when the fork has changed, such as after an upstream release or a patch change.
Install vendor-cpp11
Built from the published package, never by AI.
git clone --depth 1 https://github.com/duckdb/duckdb-r /tmp/duckdb-r && mkdir -p ~/.claude/skills && cp -r /tmp/duckdb-r/.claude/skills/vendor-cpp11 ~/.claude/skills/vendor-cpp11Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/duckdb/duckdb-r /tmp/duckdb-r && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/duckdb-r/.claude/skills/vendor-cpp11 ~/.gemini/antigravity-cli/skills/vendor-cpp11Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
vendor-cpp11 is an agent skill from the duckdb publisher. It re-vendors cpp11 into src/vendor/ from the krlmlr/cpp11 fork and regenerates the binding made with cpp11::cpp_register(). It is meant for cases where the fork has moved, such as an upstream release or a patch that was added, resolved or retired.
The skill installs the fork's cpp11 generator from krlmlr.r-universe.dev and checks the installed version. It splits the vendoring into two commits so the version and date header lines do not hide the code change. It ends by compiling each src/*.cpp file with g++ as a syntax check and running a flavor name guard script.
Written from the project's SKILL.md and checked against it.
What it can do
- Re-vendor cpp11Refreshes src/vendor/cpp11/ and src/vendor/cpp11.hpp from the krlmlr/cpp11 fork.
- Install the right generatorInstalls the fork's cpp11 package from krlmlr.r-universe.dev and checks its version.
- Split commitsSeparates the code change from the version and date header lines in two commits.
- Regenerate bindingRuns cpp11::cpp_register() to rewrite src/cpp11.cpp and R/cpp11.R when the generator changed.
- Verify glueCompiles each src/*.cpp file with g++ -fsyntax-only and runs a flavor name guard.
- Commit notesGuides the commit message to list upstream arrivals and retired patch departures.
What you need
- R
- g++
- cpp11 installed from krlmlr.r-universe.dev
Try asking
- Re-vendor cpp11 from the krlmlr fork after an upstream release
- Regenerate the cpp11 binding after the generator changed
- Split the cpp11 vendoring diff into two commits
Good to know
- Not meant to run on a schedule, only when the fork changes.
- The R test suite does not compile these headers, so the syntax pass is used instead.
- Makevars exists only after ./configure.
- A full build is described as an hour cold, so the syntax pass is the quicker check.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/vendor-cpp11/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to vendor-cpp11
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
vendor-cpp11: common questions
Why does the skill split the vendoring into two commits?
cpp_vendor() stamps version and date lines into every file, and those lines change on each run. The first commit keeps the old lines so the code change is easy to read.
Which cpp11 does the skill need installed?
It needs the krlmlr fork, not CRAN's cpp11, because the flavor names and cpp_vendor() arguments come from the fork.
Does the skill replace the full package build?
No. The source says a full build is the real proof, but the g++ syntax pass catches the header problems it plausibly would.
How do I install vendor-cpp11?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is vendor-cpp11 free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is vendor-cpp11 safe to use?
It scores 66 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to vendor-cpp11?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
