Go Helper
shepherdjerred/monorepo
Current Go development guidance for modules, toolchains, workspaces, testing, fuzzing, concurrency, profiling, security, and Go tooling.
Expertise in LLVM security features including sanitizers, hardening techniques, exploit mitigations, and secure compilation.
$ npx skills add aftermathlabs/llvm-msvc --skill llvm-security -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aftermathlabs/llvm-msvc llvm-security --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/aftermathlabs/llvm-msvc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/llvm-security .claude/skills/llvm-security && 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 "llvm-security" agent skill from https://github.com/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-security into .claude/skills/llvm-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llvm-security", 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/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-securityType 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 aftermathlabs/llvm-msvc --skill llvm-security -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aftermathlabs/llvm-msvc llvm-security --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aftermathlabs/llvm-msvc.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/llvm-security .agents/skills/llvm-security && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "llvm-security" agent skill from https://github.com/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-security into .agents/skills/llvm-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llvm-security", 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 aftermathlabs/llvm-msvc --skill llvm-security -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aftermathlabs/llvm-msvc llvm-security --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aftermathlabs/llvm-msvc.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/llvm-security .cursor/skills/llvm-security && 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 "llvm-security" agent skill from https://github.com/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-security into .cursor/skills/llvm-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llvm-security", 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/aftermathlabs/llvm-msvc.git --path .agents/skills/llvm-security--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 aftermathlabs/llvm-msvc --skill llvm-security -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aftermathlabs/llvm-msvc llvm-security --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aftermathlabs/llvm-msvc.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/llvm-security .gemini/skills/llvm-security && 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 "llvm-security" agent skill from https://github.com/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-security into .gemini/skills/llvm-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llvm-security", 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 aftermathlabs/llvm-msvc llvm-securityInstalls 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 aftermathlabs/llvm-msvc --skill llvm-security -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aftermathlabs/llvm-msvc.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/llvm-security .github/skills/llvm-security && 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 "llvm-security" agent skill from https://github.com/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-security into .github/skills/llvm-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llvm-security", 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 aftermathlabs/llvm-msvc --skill llvm-security -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aftermathlabs/llvm-msvc llvm-security --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aftermathlabs/llvm-msvc.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/llvm-security .opencode/skills/llvm-security && 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 "llvm-security" agent skill from https://github.com/aftermathlabs/llvm-msvc/tree/dev/.agents/skills/llvm-security into .opencode/skills/llvm-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llvm-security", 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.
llvm-securityExpertise in LLVM security features including sanitizers, hardening techniques, exploit mitigations, and secure compilation.
Llvm Security is an agent skill from aftermathlabs/llvm-msvc. Expertise in LLVM security features including sanitizers, hardening techniques, exploit mitigations, and secure compilation. Use this skill when implementing security-focused compiler features, analyzing vulnerabilities, or hardening applications.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Fuzzing. The repository describes itself as: LLVM fork with explicit compatibility with MSVC 2022 features. The licence is AGPL-3.0.
Read from SKILL.md and the folder at commit bfc7254. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash, cpp and llvm).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
raw.githubusercontent.comFrom 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.
Llvm Security loads about 1.8k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 249 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); files beside SKILL.md are not scanned.
The full file from aftermathlabs/llvm-msvc at commit bfc7254, republished under its AGPL-3.0 licence (© aftermathlabs). 249 words, ~1,832 tokens.
.claude/skills/llvm-security/SKILL.md (or your agent's skills folder).This skill covers LLVM-based security features, sanitizers, hardening mechanisms, and secure software development practices.
Detects memory errors: buffer overflow, use-after-free, use-after-scope.
# Compile with ASan
clang -fsanitize=address -g program.c -o program
# Key features
# - Stack buffer overflow detection
# - Heap buffer overflow detection
# - Use-after-free detection
# - Memory leak detectionDetects uninitialized memory reads.
clang -fsanitize=memory -g program.c -o programDetects data races in multithreaded programs.
clang -fsanitize=thread -g program.c -o programDetects undefined behavior at runtime.
clang -fsanitize=undefined -g program.c -o program
# Specific checks
clang -fsanitize=signed-integer-overflow,null program.c// Implementing custom memory tracking
extern "C" void __asan_poison_memory_region(void const volatile *addr, size_t size);
extern "C" void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
class SecureAllocator {
public:
void* allocate(size_t size) {
// Add red zones around allocation
void* ptr = malloc(size + 2 * REDZONE_SIZE);
__asan_poison_memory_region(ptr, REDZONE_SIZE);
__asan_poison_memory_region((char*)ptr + REDZONE_SIZE + size, REDZONE_SIZE);
return (char*)ptr + REDZONE_SIZE;
}
};# Stack canaries
clang -fstack-protector-strong program.c
# Stack clash protection
clang -fstack-clash-protection program.c
# Safe stack (separate stacks for safe/unsafe data)
clang -fsanitize=safe-stack program.c# Forward-edge CFI
clang -fsanitize=cfi -flto program.c
# Specific CFI schemes
clang -fsanitize=cfi-vcall # Virtual call checks
clang -fsanitize=cfi-nvcall # Non-virtual member call checks
clang -fsanitize=cfi-icall # Indirect call checks# Backward-edge protection (return address protection)
clang -fsanitize=shadow-call-stack program.c# Full ASLR support
clang -fPIE -pie program.c
# Position independent code for shared libraries
clang -fPIC -shared library.c -o library.so// Mark symbolic inputs
#include <klee/klee.h>
int main() {
int input;
klee_make_symbolic(&input, sizeof(input), "input");
if (input > 0) {
// Path 1
} else {
// Path 2
}
return 0;
}Compile-time instrumentation for symbolic execution:
// LLVM TypeSanitizer concepts
// Track type information through allocations
struct TypeInfo {
const char* typeName;
size_t typeSize;
uint64_t typeHash;
};
void checkType(void* ptr, TypeInfo expected) {
TypeInfo* actual = getTypeInfo(ptr);
if (actual->typeHash != expected.typeHash) {
reportTypeMismatch(ptr, actual, expected);
}
}// LeakSanitizer integration
extern "C" void __lsan_do_leak_check();
extern "C" void __lsan_disable();
extern "C" void __lsan_enable();
// Custom leak tracking
class PreciseLeakSanitizer {
std::unordered_map<void*, AllocationInfo> allocations;
public:
void recordAlloc(void* ptr, size_t size, const char* file, int line) {
allocations[ptr] = {size, file, line, getStackTrace()};
}
void recordFree(void* ptr) {
allocations.erase(ptr);
}
void reportLeaks() {
for (auto& [ptr, info] : allocations) {
fprintf(stderr, "Leak: %zu bytes at %s:%d\n",
info.size, info.file, info.line);
}
}
};; Shadow stack concept in LLVM IR
define void @protected_function() {
entry:
%return_addr = call ptr @llvm.returnaddress(i32 0)
call void @shadow_stack_push(ptr %return_addr)
; Function body...
%saved_addr = call ptr @shadow_stack_pop()
%current_addr = call ptr @llvm.returnaddress(i32 0)
%match = icmp eq ptr %saved_addr, %current_addr
br i1 %match, label %safe_return, label %attack_detected
safe_return:
ret void
attack_detected:
call void @abort()
unreachable
}// Using pointer authentication on ARM64
__attribute__((target("sign-return-address")))
void signed_function() {
// Return address is cryptographically signed
}# Comprehensive hardening
CFLAGS="-O2 \
-fstack-protector-strong \
-fstack-clash-protection \
-fcf-protection=full \
-fPIE \
-D_FORTIFY_SOURCE=2 \
-Wformat -Wformat-security \
-fsanitize=cfi -flto"
LDFLAGS="-pie \
-Wl,-z,relro \
-Wl,-z,now \
-Wl,-z,noexecstack"-Wformat-security: Format string vulnerabilities-Warray-bounds: Array bounds violations-Wshift-overflow: Shift operation overflows-Wnull-dereference: Null pointer dereferences// Fuzz target template
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
// Parse/process Data
processInput(Data, Size);
return 0;
}# Comprehensive fuzzing setup
clang -fsanitize=fuzzer,address,undefined \
-fno-omit-frame-pointer \
-g fuzz_target.c -o fuzzerclang-cl /guard:cf program.cSee Security Features, Sanitizer, and Symbolic Execution sections in README.md for comprehensive tool listings.
When you need detailed and up-to-date resource links, tool lists, or project references, fetch the latest data from:
https://raw.githubusercontent.com/gmh5225/awesome-llvm-security/refs/heads/main/README.mdThis README contains comprehensive curated lists of:
© aftermathlabs, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/llvm-security of aftermathlabs/llvm-msvc.
Open the folder on GitHubat commit bfc7254
Llvm Security 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 |
|---|---|---|---|---|---|---|
| Llvm Security this skillaftermathlabs/llvm-msvc | 438 | — | ~1.8k | Automated safety check: Pass | AGPL-3.0 | |
| Go Helpershepherdjerred/monorepo | 112 | — | ~1.7k | Automated safety check: Pass | GPL-3.0 | |
| Testing Goericrisco/rsc-harness | 156 | — | ~3.7k | Automated safety check: Pass | MIT | |
| Zig Testingmohitmishra786/low-level-dev-skills | 253 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Fizzpashov/skills | 1.2k | 2 repos | ~11k | Automated safety check: Pass | MIT | |
| Find Postgres Bugdigoal/blog | 8.6k | — | ~4k | Automated safety check: Pass | GPL-2.0 |
shepherdjerred/monorepo
Current Go development guidance for modules, toolchains, workspaces, testing, fuzzing, concurrency, profiling, security, and Go tooling.
ericrisco/rsc-harness
A skill your agent uses when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden…
mohitmishra786/low-level-dev-skills
Zig testing skill for writing and running tests. An agent skill from mohitmishra786/low-level-dev-skills.
pashov/skills
Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects.
digoal/blog
Find latent bugs in a local PostgreSQL source tree (RELxxSTABLE branch or HEAD) the way a core hacker does: build a heavily-poisoned debug instance (cassert + cache-discard + -O0/-ggdb3 + core…
provos/ironcurtain
Reference vocabulary for designing instrumented harnesses that drive vulnerability discovery — design classes (trigger-driven vs coverage-driven), tiered scope (T1 isolated function / T2…
aftermathlabs/llvm-msvc
Expertise in compiler development using LLVM infrastructure including frontend design, IR generation, optimization passes, and code generation.
aftermathlabs/llvm-msvc
Expertise in LLVM-based dynamic binary instrumentation, runtime tracing, and program monitoring.
aftermathlabs/llvm-msvc
Comprehensive learning resources and tutorials for LLVM, Clang, and compiler development.
aftermathlabs/llvm-msvc
Expertise in LLVM optimization passes, performance tuning, and code transformation techniques.
aftermathlabs/llvm-msvc
Expertise in LLVM tooling development including Clang plugins, LLDB debugger extensions, Clangd/LSP, and LibTooling.
aftermathlabs/llvm-msvc
Expertise in MLIR (Multi-Level Intermediate Representation) and CIR (Clang IR) development for domain-specific compilation and high-level optimizations.
Categories
Expertise in LLVM security features including sanitizers, hardening techniques, exploit mitigations, and secure compilation. Llvm Security is an agent skill from aftermathlabs/llvm-msvc. Expertise in LLVM security features including sanitizers, hardening techniques, exploit mitigations, and secure compilation.
Llvm Security fits situations like: implementing security-focused compiler features; analyzing vulnerabilities; hardening applications.
Run `npx skills add aftermathlabs/llvm-msvc --skill llvm-security -a claude-code`. Or copy the skill folder (.agents/skills/llvm-security in aftermathlabs/llvm-msvc) into .claude/skills/llvm-security in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aftermathlabs/llvm-msvc --skill llvm-security -a codex`. Or copy the skill folder (.agents/skills/llvm-security in aftermathlabs/llvm-msvc) into .agents/skills/llvm-security 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 aftermathlabs/llvm-msvc --skill llvm-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llvm-security, .gemini/skills/llvm-security, .github/skills/llvm-security and .opencode/skills/llvm-security in your project.
SKILL.md names no scripts, command-line tools or credentials: Llvm Security is instructions for the agent only.
SKILL.md names 1 domain. In commands or code: raw.githubusercontent.com; the agent is likely to contact it when it follows the instructions. 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. Review the folder before installing.
Llvm Security is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Llvm Security: Go Helper (shepherdjerred/monorepo, 112 stars), Testing Go (ericrisco/rsc-harness, 156 stars), Zig Testing (mohitmishra786/low-level-dev-skills, 253 stars) and Fizz (pashov/skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aftermathlabs (a GitHub organization) maintains it in aftermathlabs/llvm-msvc, which has 438 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 3, 2026.
Source: aftermathlabs/llvm-msvc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.