AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Cc Build

skill-batteryshark-rekit-cc-build · by batteryshark

CONSTRUCT: compile C/C++/ObjC source into a native artifact (exe / .o / .s / LLVM IR) with clang (falls back to cc/gcc). For building PoCs, test harnesses, stubs, and shared libs rekit needs. Cross-compiles via --target/--arch. Compiles only — does NOT run the result (feed the output to exec-observe/emulate-code yourself). BYO C compiler.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-batteryshark-rekit-cc-build

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-batteryshark-rekit-cc-build)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Cc Build? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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 --target and/or --arch.
  • --std, --opt, --shared, --static, and --cflags "…" for anything else.

Prerequisites

  • A C compilerclang (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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.