oh-my-qemu
AGENTS.md60 starsChanged 13 days agoMITView on GitHub
This file governs development of this repository. It is not installed into QEMU. Each installed skill must contain its own runtime rules and must not depend on or cite this file. QEMU's official GitLab and mailing lists are upstream channels. A patch becomes an upstream contribution only when it is sent to the mailing-list recipients selected through QEMU's MAINTAINERS. - Do not prepare or send agent-generated code or documentation for upstream submission. Follow QEMU's current docs/devel/code-provenance.rst. - Local branches, commits,…
We split this AGENTS.md into the rules it gives an agent
20 rules. About 0 are common, 5 are distinctive, and 15 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Do not prepare or send agent-generated code or documentation for upstream submission.
- Very specific: line 24
Put skills in skills/<skill-name>/SKILL.md.
- Distinctive: line 25
Keep each skill independently installable.
- Very specific: line 29
Keep data fields to name and description.
- Very specific: line 32
Keep SKILL.md concise. Put long material in one-level references/, scripts/, or assets/, and link every resource file from SKILL.md.
- Very specific: line 34
Keep bash helpers portable to bash 3.2, in function form with a guarded main dispatcher.
- Very specific: line 37
Keep the workflow gate library (qemu-workflow/scripts/gates.sh), the register-semantics RS-IR contract and its ir-ops.def vocabulary …
- Distinctive: line 46
Do not require checkpoint commits.
- Very specific: line 48
Every skill carries one identical canonical ## Audit workflow block, one ## QEMU upstream boundary block, and an ## Upstream references …
- Very specific: line 51
Keep skills/qemu-workflow/references/skill-routing.md current when catalog boundaries or the first-task path change.
- Very specific: line 53
Keep the architecture and workflow docs in docs/ (including their Graphviz sources) aligned with the skills when the catalog, phase …
- Distinctive: line 57
Every skill must include the compact audit contract.
- Very specific: line 69
Keep temporary tooling in scripts/, generated or third-party artifacts in output/, and QEMU build output in a named source-root directory …
- Very specific: line 74
Before creating audit artifacts or configuring QEMU, add .agents/, .oh-my-qemu/, and builds/ to the repository-local git rev-parse …
- Distinctive: line 82
When an agent reviews a change in this repository, report only P0 and P1 findings:
- Distinctive: line 90
Do not emit P2, P3, nit, style, or note findings in an agent review.
- Very specific: line 96
Keep install.sh self-contained and project-local.
- Very specific: line 98
run npx skills add, defaulting non-interactively to all skills for Codex and Claude Code.
- Very specific: line 102
update Git excludes only after a successful install for .agents/, .claude/skills/, .oh-my-qemu/, builds/, and skills-lock.json.
- Very specific: line 106
Keep validation in scripts/validate-codex-skills.mjs and public documentation in site/.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md 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 Skill Repository Agent Guide
This file governs development of this repository. It is not installed into QEMU. Each installed skill must contain its own runtime rules and must not depend on or cite this file.
QEMU upstream boundary
QEMU's official GitLab and mailing lists are upstream channels. A patch becomes
an upstream contribution only when it is sent to the mailing-list recipients
selected through QEMU's MAINTAINERS.
- Do not prepare or send agent-generated code or documentation for upstream
submission. Follow QEMU's current
docs/devel/code-provenance.rst. - Local branches, commits, patch files, pushes, and pull requests are not by themselves upstream contributions. Perform Git actions only when requested.
- Research, debugging, analysis, local experiments, verification, and workflow guidance are allowed.
Changes to this repository follow its local Git policy.
Skill rules
- Put skills in
skills/<skill-name>/SKILL.md. - Keep each skill independently installable. Do not depend on another skill, repository file, installer behavior, or plugin hook.
- Inside YAML frontmatter, put the Process Mission copyright and MIT SPDX
comments immediately after the opening
---and before the data fields. Keep data fields tonameanddescription. - Include matching
agents/openai.yamlwith quoteddisplay_name,short_description, and$skill-namedefault_prompt. - Keep
SKILL.mdconcise. Put long material in one-levelreferences/,scripts/, orassets/, and link every resource file fromSKILL.md. - Keep bash helpers portable to bash 3.2, in function form with a guarded main
dispatcher; keep Python helpers standard-library only. Resources must pass
bash -n/python3syntax checks in the validator. - Keep the workflow gate library (
qemu-workflow/scripts/gates.sh), the register-semantics RS-IR contract and itsir-ops.defvocabulary (qemu-register-extraction), the RS-IR translation references (qemu-peripheral-modeling/references/ir-to-registerinfo.mdandqemu-board-modeling/references/unimplemented-device.md), the field-lesson catalogs, the board/machine page template (qemu-rst-documentation), and the orchestrator/review phase, routing, and checklist references (qemu-modeler,qemu-model-review) consistent with their references when changing those contracts. - Do not require checkpoint commits. Stage or commit only when requested.
- Require explicit approval for external writes such as
gh issue create. - Every skill carries one identical canonical
## Audit workflowblock, one## QEMU upstream boundaryblock, and an## Upstream referencessection where QEMU docs apply. The validator enforces the two blocks. - Keep
skills/qemu-workflow/references/skill-routing.mdcurrent when catalog boundaries or the first-task path change. - Keep the architecture and workflow docs in
docs/(including their Graphviz sources) aligned with the skills when the catalog, phase protocol, or translation contract changes.
Every skill must include the compact audit contract. For a non-trivial task that writes to QEMU, use only the needed entries under:
.oh-my-qemu/<task-slug>/
├── audit.md
├── commands.md
├── logs/
├── scripts/
└── output/Keep temporary tooling in scripts/, generated or third-party artifacts in
output/, and QEMU build output in a named source-root directory such as
builds/build-aarch64/—never build/ or task output/. Change source files
only when they are the requested deliverable.
Before creating audit artifacts or configuring QEMU, add .agents/,
.oh-my-qemu/, and builds/ to the repository-local
git rev-parse --git-path info/exclude. Preserve existing entries, avoid
duplicates, never stage these paths, and verify them absent from
git status --short at handoff.
Agent review
When an agent reviews a change in this repository, report only P0 and P1 findings:
- P0: correctness, security, data loss, broken CI, or another release-blocking defect.
- P1: contract or acceptance-criteria violation, regression, missing required evidence, or a fix that must land before merge.
Do not emit P2, P3, nit, style, or note findings in an agent review. If an observation is useful but is not P0/P1, omit it from the findings list; report it only as an explicitly non-blocking note when the requester asks for one.
Installer rules
Keep install.sh self-contained and project-local. It must:
- run
npx skills add, defaulting non-interactively to all skills for Codex and Claude Code; - reject global installs and tracked installer-managed paths or lockfiles;
- support
--skilland use this checkout's local skill tree; - update Git excludes only after a successful install for
.agents/,.claude/skills/,.oh-my-qemu/,builds/, andskills-lock.json.
Direct npx skills add installs skills only and does not update Git excludes.
Keep validation in scripts/validate-codex-skills.mjs and public documentation
in site/. Validation covers metadata, the canonical audit and boundary
blocks, one-level resource layout and linkage, relative links, script syntax,
catalog names, installer markers, and retired names. It does not execute the
documented skill commands.
Run:
npm run codex:skills:validateWhere files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository19 other files it gives its agents.
- qemu-agent-feedbackSkill
- qemu-board-modelingSkill
- qemu-boot-runSkill
- qemu-buildSkill
- qemu-debugSkill
- qemu-imageSkill
- qemu-kernel-buildSkill
- qemu-linux-bootSkill
- qemu-modelerSkill
- qemu-model-reviewSkill
- qemu-model-verificationSkill
- qemu-peripheral-modelingSkill
- qemu-qtestSkill
- qemu-register-extractionSkill
- qemu-rst-documentationSkill
- qemu-tcg-backendSkill
- qemu-tcg-frontendSkill
- qemu-uboot-buildSkill
- qemu-workflowSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

