Install
$ agentstack add skill-batteryshark-rekit-cc-build ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
C/C++ Compiler (clang)
**🔨 Construct tier — this skill produces an artifact, it doesn't read a sample.**
Purpose
cc-build creates the native artifacts RE work needs: PoCs, test harnesses, decompiler fixtures, and shared libraries. It compiles but does not run the result. Use exec-observe for an executable or emulate-code for shellcode and object bytes.
What it does
Thin, honest wrapper over clang (falls back to cc/gcc): picks a compiler, builds the argv, runs it, and reports the artifact path/size plus the compiler diagnostics.
--emit exe|obj|asm|ir— link an executable, a.o, assembly (.s), or LLVM IR
(.ll, clang only). asm/ir are great for seeing what the compiler generates.
- Cross-compile with
--targetand/or--arch. --std,--opt,--shared,--static, and--cflags "…"for anything else.
Prerequisites
- A C compiler —
clang(macOS:xcode-select --install; Linux: install clang/LLVM)
or gcc. Checked flexibly (clang || cc || gcc); absent → honest install hint.
Safety
executes_input: no — the produced binary is never run. Caveat: compiling untrusted source still invokes a compiler, so it's tier 1, not 0. The usual input is your own trusted PoC source.
Usage
rekit run cc-build poc.c --out poc # build an exe
rekit run cc-build shellcode_stub.c --emit obj # → .o for emulate-code
rekit run cc-build foo.c --emit asm --opt 0 # see the codegen
rekit run cc-build mod.c --shared --target aarch64-linux-gnu # cross-compiled .so
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: batteryshark
- Source: batteryshark/rekit
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.