Gcc
davila7/claude-code-templates
Git Context Controller (GCC) - Manages agent memory as a versioned file system under .GCC/.
Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation.
$ npx skills add hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents compiler-toolchain --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/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/compiler/skills/compiler-toolchain .claude/skills/compiler-toolchain && 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 "compiler-toolchain" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchain into .claude/skills/compiler-toolchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compiler-toolchain", 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/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchainType 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 hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents compiler-toolchain --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/compiler/skills/compiler-toolchain .agents/skills/compiler-toolchain && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "compiler-toolchain" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchain into .agents/skills/compiler-toolchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compiler-toolchain", 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 hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents compiler-toolchain --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/compiler/skills/compiler-toolchain .cursor/skills/compiler-toolchain && 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 "compiler-toolchain" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchain into .cursor/skills/compiler-toolchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compiler-toolchain", 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/hdl-tools/digital-chip-design-agents.git --path plugins/compiler/skills/compiler-toolchain--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 hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents compiler-toolchain --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/compiler/skills/compiler-toolchain .gemini/skills/compiler-toolchain && 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 "compiler-toolchain" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchain into .gemini/skills/compiler-toolchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compiler-toolchain", 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 hdl-tools/digital-chip-design-agents compiler-toolchainInstalls 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 hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/compiler/skills/compiler-toolchain .github/skills/compiler-toolchain && 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 "compiler-toolchain" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchain into .github/skills/compiler-toolchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compiler-toolchain", 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 hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hdl-tools/digital-chip-design-agents compiler-toolchain --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hdl-tools/digital-chip-design-agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/compiler/skills/compiler-toolchain .opencode/skills/compiler-toolchain && 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 "compiler-toolchain" agent skill from https://github.com/hdl-tools/digital-chip-design-agents/tree/master/plugins/compiler/skills/compiler-toolchain into .opencode/skills/compiler-toolchain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compiler-toolchain", 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.
compiler-toolchainCompiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation.
Compiler Toolchain is an agent skill from hdl-tools/digital-chip-design-agents. Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation. Use when building a compiler for a custom RISC-V extension, proprietary ISA, or any processor where no existing toolchain targets it correctly.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Digital HDL Design Full-stack Agents. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 38736b1. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteBashFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are ld and markdown).
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.
Compiler Toolchain loads about 2.8k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 1,239 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, BashAutomated 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 hdl-tools/digital-chip-design-agents at commit 38736b1, republished under its MIT licence (© hdl-tools). 1,239 words, ~2,765 tokens.
.claude/skills/compiler-toolchain/SKILL.md (or your agent's skills folder).When this skill is loaded and a user presents a compiler or ISA task, do not
execute stages directly. Immediately spawn the
digital-chip-design-agents:compiler-orchestrator agent and pass the full user
request and any available context to it. The orchestrator enforces the stage
sequence, loop-back rules, and sign-off criteria defined below.
Use the domain rules in this file only when the orchestrator reads this skill mid-flow for stage-specific guidance, or when the user asks a targeted reference question rather than requesting a full flow execution.
Before executing or advising on any stage, read the following files if they exist:
memory/compiler/knowledge.md — known failure patterns, successful tool flags, PDK/tool quirks.
Incorporate its guidance into every stage decision. If absent, proceed without it.memory/compiler/run_state.md — current run identity (run_id, design_name, tool,
last_stage). Use this to resume correctly after interruption. If absent, a new run
is starting; the orchestrator will create this file before the first stage.This pre-run read applies whether this skill is loaded by a user or called by the orchestrator mid-flow. It ensures the fix database is consulted before any diagnosis step.
Build and validate a complete compiler toolchain (LLVM or GCC based) for a custom processor ISA. Bridges hardware and software — without a working toolchain no software can run on the designed chip.
clang, llc, llvm-mc, llvm-objdump) — primary toolchain for new ISA backendsgcc, as, ld, objdump) — alternative backend; well-tested for RISC-V extensionsqemu-system-*) — instruction-accurate ISA emulation for toolchain validation without hardwaregreenhills) — safety-critical compiler and debugger IDEiar) — certified compiler for ARM/RISC-Varmcc, dialect arm) — LLVM-based compiler for Arm targets| ISA Feature | Toolchain Component |
|---|---|
| Instruction encoding | Assembler, disassembler |
| Register file | Register allocator, ABI |
| Calling convention | ABI, function call lowering |
| Branch/jump | Control flow, delay slot handling |
| Load/store addressing | Memory access patterns |
| SIMD/vector | Auto-vectorisation, intrinsics |
| Atomics | Memory model, concurrency |
| Multiply/divide | Integer arithmetic lowering |
| FPU presence | FP ABI (hard-float vs soft-float) |
| Custom instructions | Intrinsics, builtin functions |
<arch>-<vendor>-<os>RegisterInfo.td: register classes, aliases, reserved registersInstrInfo.td: all instruction definitions with encodingCallingConv.td: argument and return value register rulesSchedModel.td: latency and throughput per instruction classTargetMachine.cpp: entry point, subtarget selectionISelDAGToDAG.cpp: selection DAG → machine instruction loweringFrameLowering.cpp: stack frame, prologue/epilogueAsmPrinter.cpp: assembly text emissionllvm-tblgen compiles .td without errorsllc compiles C snippets; verify .s output manuallyllvm-mc --show-encoding verifies instruction encoding| Issue | Fix |
|---|---|
| TableGen pattern not matching | Add explicit Pat<> with matching operand types |
| Stack corrupt | Verify prologue saves all callee-saved regs |
| Calling convention mismatch | Cross-check CCAssignToReg vs ABI spec |
R_<ARCH>_*.section, .global, .type, .size, .align all working.debug_info emitted for a C function (needed for GDB)readelf -aMEMORY {
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 512K
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
}
ENTRY(_start)
SECTIONS {
.text : { *(.text.reset) *(.text*) *(.rodata*) } > FLASH
.data : { *(.data*) } > RAM AT > FLASH
.bss : { *(.bss*) *(COMMON); PROVIDE(__bss_end = .); } > RAM
.stack : { . = ALIGN(16); PROVIDE(__stack_top = .); . += STACK_SIZE; } > RAM
}crt0.S): copy .data LMA→VMA; zero .bss; call main()__stack_top; size configurable at link time.data initialised correctly at runtime.bss zeroed at startup| Library | Contents | Source |
|---|---|---|
| compiler-rt | Integer multiply/divide, soft-float | LLVM |
| newlib/picolibc | C standard library (bare-metal) | Port |
| libstdc++/libc++ | C++ standard library | LLVM/GCC |
| libm | Math library | newlib |
_write, _read, _sbrk, _exit, _close_sbrk: heap using __heap_start/__heap_end linker symbols_write: route to UART or semihosting for debug output.init_array section to linker scriptprintf, malloc, memcpy, strlen: all functionalmain()| Tier | Pass Criteria |
|---|---|
| Smoke (hello world) | 100% |
| Unit (per-instruction asm tests) | 100% |
| Compiler (C feature tests) | ≥ 99% |
| Runtime (C library tests) | ≥ 99% |
| Application (representative workloads) | Correct output |
| Performance | Within 10% of target |
After each stage completes (regardless of whether an orchestrator session is active),
write or overwrite one JSON record in memory/compiler/experiences.jsonl keyed by
run_id. This ensures data is persisted even if the flow is interrupted or called
without full orchestrator context.
Use run_id = compiler_<YYYYMMDD>_<HHMMSS> (set once at flow start; reuse on each
stage update). Every JSON record written must include a top-level "run_id" field
whose value matches this key — this is what makes overwrites unambiguous. Set
signoff_achieved: false until the final sign-off stage completes.
Write memory/compiler/run_state.md as the first action before launching any tool:
run_id: compiler_<YYYYMMDD>_<HHMMSS>
design_name: <design>
tool: <primary tool>
start_time: <ISO-8601>
last_stage: <first stage name>Update last_stage after each stage completes. This file lets wakeup-loop prompts
and resumed sessions identify the correct run without relying on in-memory state.
Create the file and parent directories if they do not exist.
If mcp__plugin_ecc_memory__add_observations is available in this session, emit each
applied fix as an observation to entity chip-design-compiler-fixes after writing to
experiences.jsonl. Skip silently if the tool is absent — JSONL is the canonical record.
© hdl-tools, MIT. 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 plugins/compiler/skills/compiler-toolchain of hdl-tools/digital-chip-design-agents.
Open the folder on GitHubat commit 38736b1
Compiler Toolchain 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 |
|---|---|---|---|---|---|---|
| Compiler Toolchain this skillhdl-tools/digital-chip-design-agents | 212 | — | ~2.8k | Automated safety check: Notes | MIT | |
| Gccdavila7/claude-code-templates | 32k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Compile Knowledgesickn33/agentic-awesome-skills | 47k | 1 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Compileratopile/atopile | 4k | — | ~1k | Automated safety check: Pass | MIT | |
| Testing Core Processorsmastra-ai/mastra | 29k | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Gcczhinkgit/embeddedskills | 733 | — | ~993 | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Git Context Controller (GCC) - Manages agent memory as a versioned file system under .GCC/.
sickn33/agentic-awesome-skills
Compile durable, non-obvious findings into an interlinked markdown knowledge store — atomic files, [[wiki-links]], a maintained index — so an agent gets smarter across sessions instead of relearning…
atopile/atopile
How the atopile compiler builds and links TypeGraphs from .ato (ANTLR front-end → AST → TypeGraph → Linker → DeferredExecutor), plus the key invariants and test entrypoints.
mastra-ai/mastra
A skill your agent uses when writing or debugging integration tests for error processors in packages/core/src/processors/.
zhinkgit/embeddedskills
GCC 嵌入式工程构建工具(CMake + arm-none-eabi-gcc),用于扫描 CMake 型嵌入式工程、 列出预设、配置、编译、重建、清理和分析 ELF 大小。当用户提到 GCC、arm-none-eabi、 CMake 嵌入式编译、Ninja 构建、ELF 大小分析、arm-gcc、交叉编译、cmake --build、 cmake --preset 时自动触发,也兼容…
penpot/penpot
Process, filter, and transform JSON data using jq - the lightweight and flexible command-line JSON processor.
hdl-tools/digital-chip-design-agents
Microarchitecture exploration, PPA estimation, risk assessment, and architecture sign-off for digital chip design.
hdl-tools/digital-chip-design-agents
Design for Test — scan architecture planning, scan insertion, ATPG pattern generation, MBIST for embedded memories, and JTAG boundary scan.
hdl-tools/digital-chip-design-agents
Embedded firmware and device drivers — BSP development, peripheral driver implementation (UART, SPI, I2C, GPIO, DMA, Timer), RTOS integration (FreeRTOS, Zephyr), and system validation.
hdl-tools/digital-chip-design-agents
Formal property verification (FPV) and logical equivalence checking (LEC).
hdl-tools/digital-chip-design-agents
FPGA prototyping — ASIC-to-FPGA RTL adaptation, multi-FPGA partitioning, synthesis and timing closure on FPGA, hardware bring-up, and software validation on the prototype.
hdl-tools/digital-chip-design-agents
UVM-based functional verification — testbench architecture, test planning, directed and constrained-random stimulus, functional and code coverage closure, formal assist, and regression sign-off.
Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation. Compiler Toolchain is an agent skill from hdl-tools/digital-chip-design-agents. Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation.
Compiler Toolchain fits situations like: building a compiler for a custom RISC-V extension; proprietary ISA; any processor where no existing toolchain targets it correctly.
Run `npx skills add hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a claude-code`. Or copy the skill folder (plugins/compiler/skills/compiler-toolchain in hdl-tools/digital-chip-design-agents) into .claude/skills/compiler-toolchain in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a codex`. Or copy the skill folder (plugins/compiler/skills/compiler-toolchain in hdl-tools/digital-chip-design-agents) into .agents/skills/compiler-toolchain 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 hdl-tools/digital-chip-design-agents --skill compiler-toolchain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compiler-toolchain, .gemini/skills/compiler-toolchain, .github/skills/compiler-toolchain and .opencode/skills/compiler-toolchain in your project.
SKILL.md names no scripts, command-line tools or credentials: Compiler Toolchain is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Bash.
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 notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Compiler Toolchain is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k 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 Compiler Toolchain: Gcc (davila7/claude-code-templates, 32k stars), Compile Knowledge (sickn33/agentic-awesome-skills, 47k stars), Compiler (atopile/atopile, 4k stars) and Testing Core Processors (mastra-ai/mastra, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hdl-tools (a GitHub organization) maintains it in hdl-tools/digital-chip-design-agents, which has 212 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 3, 2026.
Source: hdl-tools/digital-chip-design-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.