hypervisor-internals

hypervisor-internals is a skill for Claude Code, Codex from mohitmishra786/low-level-dev-skills. It costs 79 tokens per session (1,607 once invoked), scanned A, original, MIT.

A guide to the processor features used to build and run virtual machines. It explains Intel VT-x, AMD-V, virtual machine state, memory translation, exits, and virtual interrupts.

In plain words
What is it for?
Use it to study KVM and other hypervisors, debug VM exits and page-table faults, build educational hypervisors, and examine virtualization security.
Why use it?
It helps you understand what happens inside a hypervisor and investigate VM performance, security, or correctness problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to study KVM and other hypervisors, debug VM exits and page-table faults, build educational hypervisors, and examine virtualization security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mohitmishra786/low-level-dev-skills/hypervisor-internals
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 mohitmishra786/low-level-dev-skills --skill hypervisor-internals
Clone the repo
git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills

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 hypervisor-internals

README.md
[![agentmods](https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/hypervisor-internals/github.svg)](https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/hypervisor-internals)
Your own site
<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/hypervisor-internals"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/hypervisor-internals/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 hypervisor-internals

Your own site · 80×15
<a href="https://agentmods.dev/skills/mohitmishra786/low-level-dev-skills/hypervisor-internals"><img src="https://agentmods.dev/badge/skills/mohitmishra786/low-level-dev-skills/hypervisor-internals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,607 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.00079 $0.01607
Opus 5 $0.00039 $0.00804
Sonnet 5 $0.00016 $0.00321
Haiku 4.5 $0.00008 $0.00161

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

Security

Grade A, and why

hypervisor-internals 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/virtualization/hypervisor-internals/SKILL.md · 192 lines

How it starts

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

Hypervisor Internals

Purpose

Explain hardware virtualization internals for agents: Intel VT-x (VMXON, VMCS, VMLAUNCH/VMRESUME, VMEXIT reasons), AMD SVM (VMCB, #VMEXIT), Extended/Nested Page Tables (EPT/NPT), APIC virtualization, MSR bitmaps, virtual interrupt injection, and references for building minimal type-1 hypervisors.

When to Use

  • Understanding how KVM, Hyper-V, or VMware map to hardware features
  • Debugging VMEXIT storms or EPT violations
  • Studying hypervisor security research (CVE triage)
  • Building educational hypervisors (SimpleVisor, hvpp)
  • Tuning nested virtualization performance
  • Analyzing VM escape or side-channel mitigations

Workflow

1. Virtualization types

Type 1 (bare metal)     Type 2 (hosted)
├── Hyper-V             ├── KVM + QEMU
├── Xen                 ├── VirtualBox
├── VMware ESXi         └── Parallels
└── Runs directly on HW     Runs on host OS

2. Intel VT-x overview

VMX operation
├── VMXON — enter VMX root mode
├── VMCS setup — guest/host state fields
├── VMLAUNCH / VMRESUME — enter guest
├── Guest runs until VMEXIT
└── VMXOFF — exit VMX operation

Key structures:

  • VMCS (Virtual Machine Control Structure) — guest/host state, control fields
  • VMEXIT — forced exit to hypervisor (I/O, MSR, EPT fault, interrupt)
// Simplified VMX enable check (kernel/driver context)
#include <linux/cpufeature.h>
if (boot_cpu_has(X86_FEATURE_VMX))
    // VT-x supported

3. VMCS fields (conceptual)

Category Examples
Guest state GPRs, CR0/3/4, segment selectors, RIP, RSP
Host state Host RIP (VMEXIT handler), host CR3
Control Pin-based, proc-based, VMEXIT/entry controls
Exit info Exit reason, qualification, guest-linear-address

VMEXIT reasons (common):

Exit reason codes (Intel)
├── 10 — CPUID
├── 28 — CR access
├── 30 — I/O instruction
├── 48 — EPT violation
├── 0  — External interrupt
└── 1  — Triple fault

4. AMD SVM (AMD-V)

Read the full file on GitHub · 192 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. 9d ago First seen · 192 lines · 79 tokens per session scan A 41b98400a4bc

Subscribe to this mod's changes

hypervisor-internals is a skill published in the GitHub repository mohitmishra786/low-level-dev-skills (203 stars, last pushed 2mo ago), licensed MIT. It adds 79 tokens to every session and 1,607 once invoked, about $0.0004 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-09-03.