qemu-workflow
Skill57 starsChanged 4 months agoMITView on GitHub
Optional, self-contained workflow for non-trivial multi-step QEMU research, debugging, local-only implementation, modeling, boot, build, and verification tasks. Use when the task benefits from auditable planning, source and artifact provenance, small reviewed rounds, evidence-backed verification, and a clear handoff; skip it for trivial read-only questions or a single targeted command.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- qemu-agent-feedbackSkill
- qemu-board-modelingSkill
- qemu-boot-runSkill
- qemu-buildSkill
- qemu-debugSkill
- qemu-imageSkill
- qemu-kernel-buildSkill
- qemu-linux-bootSkill
- qemu-model-verificationSkill
- qemu-peripheral-modelingSkill
- qemu-qtestSkill
- qemu-register-extractionSkill
- qemu-rst-documentationSkill
- qemu-tcg-backendSkill
- qemu-tcg-frontendSkill
- qemu-uboot-buildSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Keep intermediate documents, scripts, and harnesses in scripts/.
- Very specific: line 29
Before writing audit artifacts or configuring QEMU in a Git worktree, add .agents/, .oh-my-qemu/, and builds/ to the repository-local file …
- Very specific: line 50
Plan: Read planning.md in full. Capture the baseline, goal, scope, acceptance criteria, risks, and verification gates in audit.md.
- Distinctive: line 53
Record provenance: When the result depends on source revisions, toolchains, firmware, kernels, images, DTBs, root filesystems, or generated …
- Distinctive: line 61
Verify and review: Run the narrowest relevant gate after each round.
- Distinctive: line 70
If the task becomes blocked, preserve the last reproducible state and explain what input, authority, or external change is required to …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
QEMU Workflow
Audit workflow
For non-trivial workspace writes, use a stable
.oh-my-qemu/<task-slug>/ directory and create only needed entries:
.oh-my-qemu/<task-slug>/
├── audit.md # Baseline, plan, decisions, evidence, verification, and gaps
├── commands.md # Redacted commands, working directories, and results
├── logs/ # Decisive build, test, runtime, or diagnostic logs
├── scripts/ # Intermediate documents, scripts, traces, and harnesses
└── output/ # Generated deliverables, dependencies, and non-QEMU binariesKeep intermediate documents, scripts, and harnesses in scripts/; decisive
logs in logs/; and generated deliverables, third-party dependencies, and
non-QEMU binaries in output/. Keep QEMU builds under source-root
builds/build-<target>/. Record effective paths in audit.md.
Before writing audit artifacts or configuring QEMU in a Git worktree, add
.agents/, .oh-my-qemu/, and builds/ to the repository-local file from
git rev-parse --git-path info/exclude; preserve existing entries and avoid
duplicates. Never stage or commit those paths. Stage or commit source only when
the user explicitly requests it.
At handoff, reconcile git status --short with the baseline and verify the
excluded paths are absent. Report task and build directories, source changes,
pre-existing changes, and unresolved gaps.
QEMU upstream boundary
QEMU's official GitLab and mailing lists are upstream project channels. A
patch becomes an upstream contribution when sent to the mailing-list recipients
selected through MAINTAINERS; do not prepare or send agent-generated patches
for that submission. Local branches, commits, patch files, pushes, and pull
requests are not by themselves QEMU upstream contributions. Perform those Git
actions only when requested and follow the workspace's Git policy.
Run the workflow
- Plan. Read planning.md in full. Capture the
baseline, goal, scope, acceptance criteria, risks, and verification gates in
audit.md. Do not silently change acceptance criteria. - Record provenance. When the result depends on source revisions, toolchains, firmware, kernels, images, DTBs, root filesystems, or generated outputs, read provenance.md in full and record only the inputs that affect the claims being made.
- Work in small rounds. For source changes, multi-hypothesis debugging, or substantial validation, read iteration.md in full. Advance one coherent objective at a time and update the audit record before starting another.
- Verify and review. Run the narrowest relevant gate after each round. Preserve decisive logs, distinguish observation from inference, and use an independent review path when available. Fix blocking findings before claiming an acceptance criterion passed.
- Hand off. Classify the result as
PASS,FAIL, orINCONCLUSIVE. Summarize acceptance-criterion status, evidence paths, effective commands, source changes, policy limits, and unresolved gaps. Do not claim completion when evidence is missing.
If the task becomes blocked, preserve the last reproducible state and explain what input, authority, or external change is required to continue.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

