llvm-learning

llvm-learning is a skill for Claude Code from gmh5225/awesome-llvm-security. It costs 39 tokens per session (2,154 once invoked), scanned A, original, MIT.

A guided collection of learning materials for LLVM and Clang, the toolchains used to build compilers and process C and C++ code. It covers beginner through advanced compiler development.

In plain words
What is it for?
Use it to learn LLVM internals, LLVM’s intermediate representation, compiler optimizations, Clang tooling, code generation, just-in-time compilation, MLIR, and compiler security features.
Why use it?
It gives learners a structured path instead of making them search through scattered compiler documentation. It also points to official tutorials and reference material.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to learn LLVM internals, LLVM’s intermediate representation, compiler optimizations, Clang tooling, code generation, just-in-time compilation, MLIR, and compiler security features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gmh5225/awesome-llvm-security/llvm-learning
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gmh5225/awesome-llvm-security --skill llvm-learning
Clone the repo
git clone --depth 1 https://github.com/gmh5225/awesome-llvm-security

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for llvm-learning

README.md
[![agentmods](https://agentmods.dev/badge/skills/gmh5225/awesome-llvm-security/llvm-learning.svg)](https://agentmods.dev/skills/gmh5225/awesome-llvm-security/llvm-learning)
Your own site
<a href="https://agentmods.dev/skills/gmh5225/awesome-llvm-security/llvm-learning"><img src="https://agentmods.dev/badge/skills/gmh5225/awesome-llvm-security/llvm-learning.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,154 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.02154
Opus 5 $0.00019 $0.01077
Sonnet 5 $0.00008 $0.00431
Haiku 4.5 $0.00004 $0.00215

Measured 8d ago against content hash 238d85ccc47b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

llvm-learning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/llvm-learning/SKILL.md · 314 lines

How it starts

The opening of the file, as written. The whole thing — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LLVM Learning Skill

This skill provides curated learning paths and resources for mastering LLVM, Clang, and compiler development.

Learning Paths

Beginner Path

  1. Start with Kaleidoscope: Official LLVM tutorial building a simple language
  2. Understand LLVM IR: Learn the intermediate representation
  3. Write Simple Passes: Transform IR with custom passes
  4. Explore Clang: Understand C/C++ frontend

Intermediate Path

  1. Deep Dive into Optimization: Study built-in optimization passes
  2. Backend Development: Target code generation
  3. Analysis Frameworks: Pointer analysis, dataflow
  4. Clang Tooling: LibTooling, AST matchers

Advanced Path

  1. MLIR: Multi-level IR for domain-specific compilation
  2. JIT Compilation: ORC JIT framework
  3. Security Features: Sanitizers, CFI implementation
  4. Contribute to LLVM: Patches, reviews, community

Official Resources

Documentation

Tutorials

Community Resources

Books and Guides

  • Learn LLVM 12 by Kai Nacke: Comprehensive practical guide
  • LLVM Techniques, Tips, and Best Practices: Advanced patterns
  • Getting Started with LLVM Core Libraries: Foundation concepts
  • LLVM Essentials: Quick start guide

Video Resources

  • LLVM Developer Meetings: Recorded talks on YouTube
  • LLVM Weekly: Newsletter with latest developments
  • EuroLLVM/US LLVM: Conference recordings

GitHub Learning Projects

# Highly recommended starter projects
banach-space/llvm-tutor     # Comprehensive pass examples
hunterzju/llvm-tutorial     # Step-by-step tutorials
jauhien/iron-kaleidoscope   # Kaleidoscope in Rust
bigconvience/llvm-ir-in-action  # IR examples

Read the full file on GitHub · 314 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 314 lines · 39 tokens per session scan A 238d85ccc47b

Subscribe to this mod's changes

llvm-learning is a skill published in the GitHub repository gmh5225/awesome-llvm-security (880 stars, last pushed 24d ago), licensed MIT. It adds 39 tokens to every session and 2,154 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

walk-g1-g7

Walk the floor->north-star roadmap (self-growing-machine.form G1-G7) using ONLY form-cli — nothing else. For each open step: form-cli roadmap (the plan) -> form-cli asm (learn LLVM's lowering offline from clang) -> form-cli close (a LOCAL oracle drafts the recipe, the kernel validates) -> validate.sh four-way -> ship.…

seeker71/Coherence-Network · 183 tokens

cpp-mentor

A general, self-adapting C++ mentor for any project. On first run with an empty profile it onboards: settles the goal and domain, derives a namespace from the goal, agrees conventions, and audits the developer's level in both C++ and the project's topic — then saves a per-project profile and calibrates to it. On…

sectapunterx/cpp-mentor · 234 tokens

clangd-graph-rag

This skill enables deep semantic and structural analysis of C/C++ codebases using a pre-built Neo4j GraphRAG. It provides insights into call chains, class hierarchies, macro causality, and type aliases.

2015xli/clangd-graph-rag · 0 tokens

automotive-examples-code

Production-ready automotive code examples from automotive-claude-code-agents. Includes BMS ECU firmware (C), ADAS perception pipeline (Python), battery thermal modeling, network topologies, multi-region cloud deployment (Terraform/K8s), and automotive protocol demos. Use when the user wants real working code for…

pangzhenying2025/hermes-automotive-skills · 80 tokens

leetcode-helper

Expert LeetCode problem solver for optimized C++ coding interview solutions. Use when: the user pastes a LeetCode problem, asks for an optimized algorithm, wants C++ LeetCode code, needs a dry run, asks for line-by-line explanation, wants a hint before the solution, wants brute force to optimized progression, wants…

Zephyrex21/claude-leetcode-helper · 98 tokens

developer-assembly-x86-fundamentals

Fundamentos x86/x64 — modos de endereçamento, segmentos, modo real vs protegido. Independente de assembler.

cslsolucoes/SkillsORM · 35 tokens