Paddle Build
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
Guide C++ competitive-programming judging with the bundled testlib.h.
$ npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill testlib-cpp-judging --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging .claude/skills/testlib-cpp-judging && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "testlib-cpp-judging" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging into .claude/skills/testlib-cpp-judging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testlib-cpp-judging", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judgingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill testlib-cpp-judging --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging .agents/skills/testlib-cpp-judging && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "testlib-cpp-judging" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging into .agents/skills/testlib-cpp-judging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testlib-cpp-judging", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill testlib-cpp-judging --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging .cursor/skills/testlib-cpp-judging && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "testlib-cpp-judging" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging into .cursor/skills/testlib-cpp-judging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testlib-cpp-judging", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/VectorSpaceLab/AREX-Skill.git --path skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill testlib-cpp-judging --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging .gemini/skills/testlib-cpp-judging && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "testlib-cpp-judging" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging into .gemini/skills/testlib-cpp-judging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testlib-cpp-judging", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install VectorSpaceLab/AREX-Skill testlib-cpp-judgingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging .github/skills/testlib-cpp-judging && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "testlib-cpp-judging" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging into .github/skills/testlib-cpp-judging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testlib-cpp-judging", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill testlib-cpp-judging --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging .opencode/skills/testlib-cpp-judging && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "testlib-cpp-judging" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging into .opencode/skills/testlib-cpp-judging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testlib-cpp-judging", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
testlib-cpp-judgingGuide C++ competitive-programming judging with the bundled testlib.h.
Testlib Cpp Judging is an agent skill from VectorSpaceLab/AREX-Skill. Guide C++ competitive-programming judging with the bundled testlib.h. Use when the user asks to author special or scored checkers, strict validators, deterministic generators, basic interactors, or a minimal local solution-checker workflow.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/testlib-usage.md` and `references/troubleshooting.md`).
It works with C++. The repository describes itself as: A Skill Library for Automated Machine Learning. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ac3fe1a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Testlib Cpp Judging loads about 1.9k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 849 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from VectorSpaceLab/AREX-Skill at commit ac3fe1a, republished under its Apache-2.0 licence (© VectorSpaceLab). 849 words, ~1,882 tokens.
.claude/skills/testlib-cpp-judging/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Use this skill when a task involves testlib.h, a special judge, a custom
checker or scorer, an input validator, a deterministic test generator, or a
testlib interactor. It is intentionally C++-only and header-only. Do not create
a Python harness for the ordinary local judging workflow.
This skill owns concrete Testlib APIs, streams, verdicts, command lines, and templates. When evaluator-facing evidence has triggered independent contract or oracle work, use checker and local evaluation to choose checker/scorer/interactor architecture, reconstruct legality and objectives, and validate the evaluator itself. Do not enter that route merely because a previously specified generator or validator is being implemented.
#include "testlib.h" before other includes.| Role | Registration | Main testlib interfaces | Purpose |
|---|---|---|---|
| Checker | registerTestlibCmd(argc, argv) | inf, ouf, ans, quitf | Judge contestant output against the input and reference answer |
| Validator | registerValidation(argc, argv) | strict inf, ensuref | Reject malformed or out-of-constraint input |
| Generator | registerGen(argc, argv, 1) | rnd, opt, println | Produce deterministic tests from command-line parameters |
| Interactor | registerInteraction(argc, argv) | inf, ouf, tout, stdout | Exchange a protocol with an interactive solution |
Testlib includes input-generation support; it is not limited to checkers and validators. When a local problem-finding campaign needs randomized, batch, or maximum-scale data, implement a problem-specific generator.cpp instead of hand-authoring large inputs or copying many variants. Parameterize the relevant case family, size, density/bias, structure, and seed tag with opt; use rnd for all randomness. The full command line determines Testlib's deterministic seed, so preserve that command exactly.
Define the coverage families and their expected oracle, invariant, or failure target before generating volume. Use one deterministic generator invocation per case, or a small coded batch driver that records every invocation in a manifest. Validate every intended-valid generated case with an independent validator before running the solution, and retain the generator command, input hash, validator result, and any failing seed and artifacts. Follow Checker and Local Evaluation for the complete coverage-to-retention workflow.
Always invoke a checker in this exact order:
checker <input-file> <contestant-output> <standard-answer>After registration, the mapping is:
inf: input fileouf: contestant or participant outputans: standard or jury answerNever swap ouf and ans. Even a checker that does not use the standard
answer still needs the third file argument; pass an empty placeholder file if
necessary.
Run these commands from a directory containing testlib.h, solution.cpp,
checker.cpp, case.in, and case.ans:
g++ -std=c++17 -O2 solution.cpp -o solution
g++ -std=c++17 -O2 -I. checker.cpp -o checker
timeout 2s ./solution < case.in > case.out
solver_status=$?
if [ "$solver_status" -ne 0 ]; then
echo "solution failed with status $solver_status" >&2
exit "$solver_status"
fi
./checker case.in case.out case.ans
checker_status=$?
echo "$checker_status"
exit "$checker_status"If the problem has validator.cpp, compile it and validate the input before
running the solution:
g++ -std=c++17 -O2 -I. validator.cpp -o validator
./validator < case.in || exit 1Capture solver_status before running the checker; a timeout, signal, or other
nonzero solution exit is a solver failure and must not be relabeled as an output
verdict. Capture checker_status immediately after the checker. For a
verdict-only checker under the default local Testlib configuration, status 0
means accepted and nonzero means rejection or judge failure. A points checker
using quitp instead returns a partial-points status (default 7) that a
points-aware runner must parse separately. Preserve checker diagnostics and any
reported points with the status.
_wa for a semantically wrong contestant answer, _pe for malformed
contestant output when you detect it explicitly, _fail for a broken jury
answer or checker invariant, and _ok only after all required checks pass.readSpace, readEoln, and
readEof; use bounded reads and ensuref for semantic constraints.rnd rather than rand, srand, or
random_shuffle; identical command lines should reproduce identical data.std::endl or an explicit flush.solution.cpp, checker logic, validator logic, and answer generation as
separate concerns.testlib.h workflow, not development of the
testlib repository itself.© VectorSpaceLab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging of VectorSpaceLab/AREX-Skill.
Open the folder on GitHubat commit ac3fe1a
Testlib Cpp Judging next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Testlib Cpp Judging this skillVectorSpaceLab/AREX-Skill | 328 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Paddle BuildPaddlePaddle/Paddle | 24k | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Fory Releaseapache/fory | 4.6k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime | 22k | — | ~3.3k | Automated safety check: Pass | MIT | |
| Code Audit3stoneBrother/code-audit | 893 | 1 repos | ~2.7k | Automated safety check: Pass | None | |
| Qt C++ Code Reviewx-tools-author/x-tools | 1.1k | 2 repos | ~4.3k | Automated safety check: Pass | BSD-3-Clause |
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
apache/fory
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.
microsoft/onnxruntime
Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.
3stoneBrother/code-audit
Professional code security audit skill covering 55+ vulnerability types.
x-tools-author/x-tools
Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.
doxygen/doxygen
Keeps all Doxygen and Doxywizard translations up to date across three mechanisms: translator C++ classes (src/translatorxx.h), Qt .ts locale files for the Doxywizard GUI (addon/doxywizard/i18n/)…
VectorSpaceLab/AREX-Skill
Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and…
VectorSpaceLab/AREX-Skill
A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…
VectorSpaceLab/AREX-Skill
Build and debug DB-GPT agents, tools, skills, teams, and AWEL workflows, including deterministic local DAG runs and HTTP-trigger topology without assuming an LLM, credential, or external service.
VectorSpaceLab/AREX-Skill
Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…
VectorSpaceLab/AREX-Skill
A skill your agent uses for giskard.agents async chat workflows, tools, prompt templates, structured outputs, retries, rate limiting, embeddings, and optional LiteLLM backend.
VectorSpaceLab/AREX-Skill
A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
Works with
Guide C++ competitive-programming judging with the bundled testlib.h. Testlib Cpp Judging is an agent skill from VectorSpaceLab/AREX-Skill.h.
Testlib Cpp Judging fits situations like: the user asks to author special; scored checkers; strict validators; deterministic generators.
Run `npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a claude-code`. Or copy the skill folder (skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging in VectorSpaceLab/AREX-Skill) into .claude/skills/testlib-cpp-judging in your project. Claude Code loads it when a task matches its description.
Run `npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a codex`. Or copy the skill folder (skills/task-oriented/FrontierCS/algorithmic-problem-solving/sub-skills/testlib-cpp-judging in VectorSpaceLab/AREX-Skill) into .agents/skills/testlib-cpp-judging in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add VectorSpaceLab/AREX-Skill --skill testlib-cpp-judging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testlib-cpp-judging, .gemini/skills/testlib-cpp-judging, .github/skills/testlib-cpp-judging and .opencode/skills/testlib-cpp-judging in your project.
SKILL.md names no scripts, command-line tools or credentials: Testlib Cpp Judging is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Testlib Cpp Judging is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Testlib Cpp Judging: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 893 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
VectorSpaceLab (a GitHub organization) maintains it in VectorSpaceLab/AREX-Skill, which has 328 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on September 3, 2026.
Source: VectorSpaceLab/AREX-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.