sounio-codegen-backends

sounio-codegen-backends is a skill for Claude Code, Codex from Sounio-lang/sounio. It costs 55 tokens per session (352 once invoked), scanned A, original, Apache-2.0.

A set of instructions for changing Sounio’s code generators and runtime backends. These are the parts that turn the compiler’s internal program representation into code for Cranelift, LLVM, GPUs, or native executable files.

In plain words
What is it for?
Use it when editing Sounio lowering, intermediate representations, Cranelift, LLVM, GPU code generation, native ELF output, or related runtime code.
Why use it?
It helps preserve the compiler’s internal rules and keeps backend-specific feature settings from being mixed up. It also points to focused tests for checking each backend.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when editing Sounio lowering, intermediate representations, Cranelift, LLVM, GPU code generation, native ELF output, or related runtime code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sounio-lang/sounio/sounio-codegen-backends
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 Sounio-lang/sounio --skill sounio-codegen-backends
Clone the repo
git clone --depth 1 https://github.com/Sounio-lang/sounio

Made for: Claude Code, Codex.

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 sounio-codegen-backends

README.md
[![agentmods](https://agentmods.dev/badge/skills/sounio-lang/sounio/sounio-codegen-backends/github.svg)](https://agentmods.dev/skills/sounio-lang/sounio/sounio-codegen-backends)
Your own site
<a href="https://agentmods.dev/skills/sounio-lang/sounio/sounio-codegen-backends"><img src="https://agentmods.dev/badge/skills/sounio-lang/sounio/sounio-codegen-backends/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sounio-codegen-backends

Your own site · 80×15
<a href="https://agentmods.dev/skills/sounio-lang/sounio/sounio-codegen-backends"><img src="https://agentmods.dev/badge/skills/sounio-lang/sounio/sounio-codegen-backends.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 352 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.
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.00055 $0.00352
Opus 5 $0.00028 $0.00176
Sonnet 5 $0.00011 $0.00070
Haiku 4.5 $0.00006 $0.00035

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

Security

Grade A, and why

sounio-codegen-backends 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 9d 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.

skills/sounio-codegen-backends/SKILL.md · 38 lines

What it actually says

Sounio Codegen + Backends

Overview

Implement and debug lowering/codegen without breaking IR invariants or backend feature-flag boundaries.

Workflow

1) Pick the backend path and feature flags

  • Cranelift: compiler/src/codegen/cranelift.rs (feature: jit)
  • MIR→Cranelift: compiler/src/codegen/mir_cranelift.rs
  • LLVM: compiler/src/codegen/llvm/ (feature: llvm)
  • GPU: compiler/src/codegen/gpu/ (feature: gpu)
  • Native backend (ELF/linker): compiler/src/backend/native/

2) Keep IR invariants explicit

  • If you change HLIR/MIR shape, validate passes and analyses that assume SSA form.
  • Be conservative around effectful ops when doing backend optimizations.

3) Add targeted tests

  • Prefer Rust tests close to the backend (compiler/src/**/tests and compiler/tests/).
  • GPU tests typically require --features gpu (see .claude/commands/sounio-gpu.md).

References

  • Codegen map: references/codegen-navigation.md
  • Feature flags: references/feature-flags.md
  • Claude command references: .claude/commands/sounio-gpu.md, .claude/commands/sounio-build.md
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 38 lines · 55 tokens per session scan A b63634aa0762

Subscribe to this mod's changes

sounio-codegen-backends is a skill published in the GitHub repository Sounio-lang/sounio (6 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 352 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

vera-language

Write programs in the Vera programming language. Use when asked to write, edit, debug, or review Vera code (.vera files). Vera is a statically typed, purely functional language with algebraic effects, mandatory contracts, and typed slot references (@T.n) instead of variable names.

aallan/vera · 61 tokens

edge-python

Write, run, test and package Edge Python programs with the edge CLI. Use when editing .py files in an Edge Python project or when the user asks for Edge Python code.

dylan-sutton-chavez/edge-python · 39 tokens

kverus-run

Run the full Rust-to-Verus pipeline (migrate → spec → fix → eval → semantic audit → postprocess) in one command. Use when converting Rust code to verified Verus code end-to-end.

asterinas/KVerus · 47 tokens

kverus-semantic-audit

Compare original Rust source folders against migrated Verus code folders, identify executable-code differences that may change runtime semantics, and write per-file audit reports to an output folder. Use when checking whether Rust-to-Verus rewriting preserved executable behavior rather than merely verifying…

asterinas/KVerus · 59 tokens

kverus-migrate

Convert a Rust target into minimally modified Verus-compatible code using an explicit verification command. Use when migrating a specific file and iterating until the verification command succeeds.

asterinas/KVerus · 38 tokens

vera-language

Write programs in the Vera programming language. Use when asked to write, edit, debug, or review Vera code (.vera files). Vera is a statically typed, purely functional language with algebraic effects, mandatory contracts, and typed slot references (@T.n) instead of variable names.

aallan/vera · 61 tokens