virtio-device

virtio-device is a skill for Claude Code, Codex from jordanhubbard/agentos. It costs 0 tokens per session (250 once invoked), scanned A, original, BSD-2-Clause.

A guide to emulating virtio devices that a virtual machine guest can use through a virtual machine monitor.

In plain words
What is it for?
Use it when implementing or checking virtio-mmio or virtio-pci devices, guest device-tree entries, and their network backends.
Why use it?
It prevents guest-facing virtio devices from being confused with host hardware or connected through the wrong memory and interrupt paths.

Skill for Claude CodeCodex

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

Good fit Use it when implementing or checking virtio-mmio or virtio-pci devices, guest device-tree entries, and their network backends.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jordanhubbard/agentos/virtio-device
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 jordanhubbard/agentos --skill virtio-device
Clone the repo
git clone --depth 1 https://github.com/jordanhubbard/agentos

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 virtio-device

README.md
[![agentmods](https://agentmods.dev/badge/skills/jordanhubbard/agentos/virtio-device/github.svg)](https://agentmods.dev/skills/jordanhubbard/agentos/virtio-device)
Your own site
<a href="https://agentmods.dev/skills/jordanhubbard/agentos/virtio-device"><img src="https://agentmods.dev/badge/skills/jordanhubbard/agentos/virtio-device/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 virtio-device

Your own site · 80×15
<a href="https://agentmods.dev/skills/jordanhubbard/agentos/virtio-device"><img src="https://agentmods.dev/badge/skills/jordanhubbard/agentos/virtio-device.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 250 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.00000 $0.00250
Opus 5 $0.00000 $0.00125
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured today against content hash 994549709250, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

virtio-device 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/guest_dtb.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/virtio-device/SKILL.md · 24 lines

What it actually says

virtio device (guest-facing)

The VMM emulates virtio-mmio (or virtio-pci) for guests using libvmm virtio_mmio_*_init. That is a different virtio world from QEMU's host virtio-mmio, which is a physical device for a driver PD.

Invariants

  • Guest IPA for emulated net is AOS_VIRTIO_NET_GUEST_IPA (0x0A010000).
  • That IPA must fault into the VMM. It must not be identity-mapped host MMIO.
  • Backend is sDDF queues (aos_net_virt_pump until a nic_drv exists).
  • QEMU buses at 0x0A000000 are a kill-dated crutch.

Forbidden

  • virq_register of a host INTID as the I/O path for a class that has an emulated virtio device.
  • Guest DTB pointing only at QEMU virtio-mmio for that class.

Helper

Run make test-host; the platform guest-path tests validate the effective device-tree inputs and reject host-device passthrough.

Files

What ships with it

1 file 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. today Changed · -1 lines 994549709250
  2. 6d ago First seen · 25 lines · 0 tokens per session scan A e513dbd3a7c2

Subscribe to this mod's changes

virtio-device is a skill published in the GitHub repository jordanhubbard/agentos (30 stars, last pushed today), licensed BSD-2-Clause. It costs nothing until one of its globs matches a file; then it loads 250 tokens. 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-04.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens