Vercel Composition Patterns
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
Explains x86-64 registers, the System V AMD64 calling convention, and how to read compiler-generated or inline assembly.
$ npx skills add mohitmishra786/low-level-dev-skills --skill assembly-x86 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mohitmishra786/low-level-dev-skills assembly-x86 --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/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/low-level-programming/assembly-x86 .claude/skills/assembly-x86 && 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 "assembly-x86" agent skill from https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86 into .claude/skills/assembly-x86/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assembly-x86", 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/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86Type 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 mohitmishra786/low-level-dev-skills --skill assembly-x86 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mohitmishra786/low-level-dev-skills assembly-x86 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/low-level-programming/assembly-x86 .agents/skills/assembly-x86 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "assembly-x86" agent skill from https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86 into .agents/skills/assembly-x86/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assembly-x86", 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 mohitmishra786/low-level-dev-skills --skill assembly-x86 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mohitmishra786/low-level-dev-skills assembly-x86 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/low-level-programming/assembly-x86 .cursor/skills/assembly-x86 && 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 "assembly-x86" agent skill from https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86 into .cursor/skills/assembly-x86/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assembly-x86", 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/mohitmishra786/low-level-dev-skills.git --path skills/low-level-programming/assembly-x86--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 mohitmishra786/low-level-dev-skills --skill assembly-x86 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mohitmishra786/low-level-dev-skills assembly-x86 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/low-level-programming/assembly-x86 .gemini/skills/assembly-x86 && 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 "assembly-x86" agent skill from https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86 into .gemini/skills/assembly-x86/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assembly-x86", 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 mohitmishra786/low-level-dev-skills assembly-x86Installs 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 mohitmishra786/low-level-dev-skills --skill assembly-x86 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/low-level-programming/assembly-x86 .github/skills/assembly-x86 && 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 "assembly-x86" agent skill from https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86 into .github/skills/assembly-x86/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assembly-x86", 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 mohitmishra786/low-level-dev-skills --skill assembly-x86 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mohitmishra786/low-level-dev-skills assembly-x86 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/low-level-programming/assembly-x86 .opencode/skills/assembly-x86 && 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 "assembly-x86" agent skill from https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/low-level-programming/assembly-x86 into .opencode/skills/assembly-x86/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assembly-x86", 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.
assembly-x86Explains x86-64 registers, the System V AMD64 calling convention, and how to read compiler-generated or inline assembly.
Generating and reading AT&T-syntax assembly from GCC or Clang is the starting point, followed by a full register table down to 8-bit sub-registers and their conventional purpose, the integer and floating-point argument registers, return-value registers, and the caller-saved versus callee-saved split for the System V AMD64 ABI used on Linux, macOS, and FreeBSD. Stack alignment rules, the 128-byte red zone available to leaf functions, and common instruction patterns round out what's needed to debug register and stack state or write inline assembly in C or C++.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit bdc5847. 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 c and bash).
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.
x86-64 Assembly Reference loads about 1.5k tokens when it runs, and up to ~2.6k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 501 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 mohitmishra786/low-level-dev-skills at commit bdc5847, republished under its MIT licence (© mohitmishra786). 501 words, ~1,460 tokens.
.claude/skills/assembly-x86/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Guide agents through x86-64 assembly: reading compiler output, understanding the ABI, writing inline asm, and common patterns.
%rsp / %rbp — what does it mean?"# AT&T syntax (GCC default)
gcc -S -O2 -fverbose-asm foo.c -o foo.s
# Intel syntax
gcc -S -masm=intel -O2 foo.c -o foo.s
# From GDB
(gdb) disassemble /s main # with source
(gdb) x/20i $rip
# From objdump
objdump -d -M intel -S prog # Intel + source (needs -g)| 64-bit | 32-bit | 16-bit | 8-bit high | 8-bit low | Purpose |
|---|---|---|---|---|---|
%rax | %eax | %ax | %ah | %al | Return value / accumulator |
%rbx | %ebx | %bx | %bh | %bl | Callee-saved |
%rcx | %ecx | %cx | %ch | %cl | 4th arg / count |
%rdx | %edx | %dx | %dh | %dl | 3rd arg / 2nd return |
%rsi | %esi | %si | — | %sil | 2nd arg |
%rdi | %edi | %di | — | %dil | 1st arg |
%rbp | %ebp | %bp | — | %bpl | Frame pointer (callee-saved) |
%rsp | %esp | %sp | — | %spl | Stack pointer |
%r8–%r11 | %r8d–%r11d | %r8w–%r11w | — | %r8b–%r11b | 5th–8th args / caller-saved |
%r12–%r15 | %r12d–%r15d | %r12w–%r15w | — | %r12b–%r15b | Callee-saved |
%rip | Instruction pointer | ||||
%rflags | %eflags | Status flags | |||
%xmm0–%xmm7 | FP/SIMD args and return | ||||
%xmm8–%xmm15 | Caller-saved SIMD | ||||
%ymm0–%ymm15 | AVX 256-bit | ||||
%zmm0–%zmm31 | AVX-512 512-bit |
Integer/pointer argument registers (in order):
%rdi, %rsi, %rdx, %rcx, %r8, %r9
Floating-point argument registers:
%xmm0–%xmm7
Return values:
%rax (low), %rdx (high if 128-bit)%xmm0 (low), %xmm1 (high)Caller-saved (scratch): %rax, %rcx, %rdx, %rsi, %rdi, %r8–%r11, %xmm0–%xmm15
Callee-saved (must preserve): %rbx, %rbp, %r12–%r15
Stack: 16-byte aligned before call; call pushes 8 bytes → 16-byte aligned at function entry after prologue.
Red zone: 128 bytes below %rsp may be used by leaf functions without adjusting %rsp. Not available in kernel/signal handlers.
| Pattern | Meaning |
|---|---|
mov %rdi, %rax | Copy rdi to rax |
mov (%rdi), %rax | Load 8 bytes from address in rdi |
mov %rax, 8(%rdi) | Store rax to rdi+8 |
lea 8(%rdi), %rax | Load effective address rdi+8 into rax (no memory access) |
push %rbx | Push rbx; rsp -= 8 |
pop %rbx | Pop into rbx; rsp += 8 |
call foo | Push return addr; jmp foo |
ret | Pop return addr; jmp to it |
xor %eax, %eax | Zero rax (smaller encoding than mov $0, %rax) |
test %rax, %rax | Set ZF if rax == 0 (cheaper than cmp $0, %rax) |
cmp $5, %rdi | Set flags for rdi - 5 |
jl label | Jump if signed less than |
| Feature | AT&T | Intel |
|---|---|---|
| Operand order | source, dest | dest, source |
| Register prefix | %rax | rax |
| Immediate prefix | $42 | 42 |
| Memory operand | 8(%rdi) | [rdi+8] |
| Size suffix | movl, movq | — (inferred) |
GCC emits AT&T by default. Use -masm=intel for Intel syntax.
// Basic: increment a register
int x = 5;
__asm__ volatile (
"incl %0"
: "=r"(x) // outputs: =r means write-only register
: "0"(x) // inputs: 0 means same as output 0
: // clobbers: none
);
// CPUID example
uint32_t eax, ebx, ecx, edx;
__asm__ volatile (
"cpuid"
: "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
: "a"(1) // input: leaf 1
);
// Atomic increment
static inline int atomic_inc(volatile int *p) {
int ret;
__asm__ volatile (
"lock; xaddl %0, %1"
: "=r"(ret), "+m"(*p)
: "0"(1)
: "memory"
);
return ret + 1;
}Constraint codes:
"r" — any general register"m" — memory operand"i" — immediate integer"a", "b", "c", "d" — specific registers (%rax, %rbx, %rcx, %rdx)"=" prefix — output (write-only)"+" prefix — read-write"memory" clobber — tells compiler memory may be modified (barrier)#include <immintrin.h> // includes all x86 SIMD headers
// Add 8 floats at once with AVX
__m256 a = _mm256_loadu_ps(arr_a); // load 8 floats (unaligned)
__m256 b = _mm256_loadu_ps(arr_b);
__m256 c = _mm256_add_ps(a, b);
_mm256_storeu_ps(result, c);Check CPU support at compile time: -mavx2 or -march=native.
Check at runtime: __builtin_cpu_supports("avx2").
For a full register and instruction reference, see references/reference.md.
skills/low-level-programming/assembly-arm for AArch64/ARM assemblyskills/compilers/gcc for -S -masm=intel flag detailsskills/debuggers/gdb for stepping through assembly (si, ni, x/i)© mohitmishra786, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/low-level-programming/assembly-x86 of mohitmishra786/low-level-dev-skills.
Open the folder on GitHubat commit bdc5847
x86-64 Assembly Reference 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 |
|---|---|---|---|---|---|---|
| x86-64 Assembly Reference this skillmohitmishra786/low-level-dev-skills | 252 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Vercel Composition Patternssupabase/supabase | 111k | 58 repos | ~726 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT |
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
mohitmishra786/low-level-dev-skills
Guides reading and writing AArch64 and ARM Thumb assembly: compiler output, inline asm, registers, the AAPCS calling convention and NEON or SVE basics.
mohitmishra786/low-level-dev-skills
Reference for RISC-V assembly on RV32 and RV64: register names and calling convention, extension naming, GCC and Clang inline asm, and QEMU with GDB debugging.
mohitmishra786/low-level-dev-skills
Guides your agent through Bazel for C/C++ projects: BUILD files, Bzlmod dependencies, toolchain registration, remote execution, dependency queries and sandbox debugging.
mohitmishra786/low-level-dev-skills
Binary hardening skill for security-hardened C/C++ builds. An agent skill from mohitmishra786/low-level-dev-skills.
mohitmishra786/low-level-dev-skills
GNU binutils skill for binary manipulation and analysis. An agent skill from mohitmishra786/low-level-dev-skills.
mohitmishra786/low-level-dev-skills
Build acceleration skill for C/C++ projects. An agent skill from mohitmishra786/low-level-dev-skills.
Categories
Explains x86-64 registers, the System V AMD64 calling convention, and how to read compiler-generated or inline assembly. Generating and reading AT&T-syntax assembly from GCC or Clang is the starting point, followed by a full register table down to 8-bit sub-registers and their conventional purpose, the integer and floating-point argument registers, return-value registers, and the caller-saved versus callee-saved split for the System V AMD64 ABI used on Linux, macOS, and FreeBSD. Stack alignment rules, the 128-byte red zone available to leaf functions, and common instruction patterns round out what's needed to debug register and stack state or write inline assembly in C or C++.
x86-64 Assembly Reference fits situations like: reading assembly a compiler generated for a C or C++ function; writing inline assembly or SIMD intrinsics in C or C++; debugging register or stack state using objdump or GDB output.
Run `npx skills add mohitmishra786/low-level-dev-skills --skill assembly-x86 -a claude-code`. Or copy the skill folder (skills/low-level-programming/assembly-x86 in mohitmishra786/low-level-dev-skills) into .claude/skills/assembly-x86 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mohitmishra786/low-level-dev-skills --skill assembly-x86 -a codex`. Or copy the skill folder (skills/low-level-programming/assembly-x86 in mohitmishra786/low-level-dev-skills) into .agents/skills/assembly-x86 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 mohitmishra786/low-level-dev-skills --skill assembly-x86 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/assembly-x86, .gemini/skills/assembly-x86, .github/skills/assembly-x86 and .opencode/skills/assembly-x86 in your project.
SKILL.md names no scripts, command-line tools or credentials: x86-64 Assembly Reference is instructions for the agent only.
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 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.
x86-64 Assembly Reference is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with x86-64 Assembly Reference: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mohitmishra786 (a GitHub user) maintains it in mohitmishra786/low-level-dev-skills, which has 252 GitHub stars. The repository holds 138 skills in this directory. The repository was last updated on June 27, 2026.
Source: mohitmishra786/low-level-dev-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.