All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Chao Liu <chao.liu.zevorn@gmail.com>
Cc: qemu-devel@nongnu.org,  John Snow <jsnow@redhat.com>,
	 Cleber Rosa <crosa@redhat.com>
Subject: Re: [RFC PATCH v2 01/10] AGENTS.md: add basic AGENTS.md for QEMU
Date: Fri, 15 May 2026 08:55:12 +0100	[thread overview]
Message-ID: <87zf21ayzj.fsf@draig.linaro.org> (raw)
In-Reply-To: <agaXcTwX9PiV6Mqr@ZEVORN-PC.localdomain> (Chao Liu's message of "Fri, 15 May 2026 12:26:18 +0800")

Chao Liu <chao.liu.zevorn@gmail.com> writes:

> On Thu, May 14, 2026 at 07:36:01AM +0100, Alex Bennée wrote:
>> Chao Liu <chao.liu.zevorn@gmail.com> writes:
>> 
>> > Hi Alex,
>> > On Mon, May 11, 2026 at 06:04:50PM +0100, Alex Bennée wrote:
>> >> This was written initially written by ECA based on its understanding of the
>> >> code base. I then expanded it with links to the various documents and
>> >> the general coding style.
>> >> 
>> >> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> >> 
>> >> ---
>> >> v4
>> >>   - will add AGENTS to list as we go
>> >>   - moved QOM, QAPI and trace details into qemu-code-explorer skill
>> >>   - add section on Security policy
>> >> v3
>> >>   - More MUST
>> >>   - Remove build and test in favour of agent reference
>> >> v2
>> >>   - more build details and source overview
>> >>   - more on commit style
>> >>   - give plan files a place to live
>> >>   - add Daniel's agent suggestion
>> >> ajb:
>> >>   - I made a slight tweak to use pyenv to run single tests
>> >> ---
>> >>  .gitignore |  1 +
>> >>  AGENTS.md  | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> >>  2 files changed, 79 insertions(+)
>> >>  create mode 100644 AGENTS.md
>> >> 
>> > Do you think we should add CLAUDE.md, GEMINI.md, or other agent-specific
>> > prompt files that simply link to AGENTS.md, to better support different
>> > agent CLIs?
>> 
>> Surely all the mainline agents will read AGENTS.md by now?
>> 
> That's true, but in terms of skill compatibility specifically, there are
> still some subtle differences. I ran detailed tests on opencode, claude,
> gemini, and codex, and here are the results:
>
>                        | codex    | claude     | opencode  | gemini
>   ---------------------+----------+------------+-----------+----------
>   AGENTS.md            | yes (1°) | yes (fb)   | yes (1°)  | no (1)
>   .agents/skills/      | yes      | no (2)     | yes       | yes
>   SKILL.md             | yes      | yes        | yes       | yes
>   native dir           | .codex/  | .claude/   | .opencode/| .gemini/
>   x-tool compat        | none     | none       | .cl/.ag(3)| .agents/
>   auto-trigger         | yes      | yes        | yes       | yes
>
>   (1°) = primary, (fb) = fallback.
>
>   (1) Gemini CLI natively reads GEMINI.md, not AGENTS.md.  Redirect via
>       .gemini/settings.json: { "context": { "fileName": ["AGENTS.md"] } }.
>
>   (2) Claude Code only scans .claude/skills/; .agents/skills/ silently
>       ignored.  Workaround: symlink .claude/skills -> ../.agents/skills.
>
>   (3) OpenCode scans both .claude/skills/ and .agents/skills/ as compat
>       paths, in addition to its native .opencode/skills/.
>
> The current impl maintains maximum compatibility. If we need to fill
> the gaps, a good approach might be to add a script that registers
> .agents/skills/ for agents with poorer compatibility.
>
> Also, I'm still trying to test these skills with as many models as
> possible. I'll report back once I have results. Thanks Alex for the
> contribution.

Thanks for trying them all out. I don't think the model itself makes too
much difference (I've been using Gemini and Opus) but my agent framework
is ECA. I must admit I haven't tried any of the TUI agent apps.

I should post v3 later today with a split AGENTS.md (basic code-provenance
and security policy for merging, with the rest in a following patch).

>
> Thanks,
> Chao

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  reply	other threads:[~2026-05-15  7:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 17:04 [RFC PATCH v2 00/10] AGENTS.md and associated skills Alex Bennée
2026-05-11 17:04 ` [RFC PATCH v2 01/10] AGENTS.md: add basic AGENTS.md for QEMU Alex Bennée
2026-05-11 17:58   ` Peter Maydell
2026-05-11 19:10     ` Alex Bennée
2026-05-12  8:39       ` Peter Maydell
2026-05-14  2:58   ` Chao Liu
2026-05-14  6:36     ` Alex Bennée
2026-05-15  4:26       ` Chao Liu
2026-05-15  7:55         ` Alex Bennée [this message]
2026-05-11 17:04 ` [RFC PATCH v2 02/10] scripts/expand-macro.py: helper script exploding macros Alex Bennée
2026-05-11 17:31   ` Daniel P. Berrangé
2026-05-11 17:04 ` [RFC PATCH v2 03/10] .agents/skills: add qemu-code-explorer skill Alex Bennée
2026-05-11 17:32   ` Daniel P. Berrangé
2026-05-11 18:00     ` Alex Bennée
2026-05-11 17:04 ` [RFC PATCH v2 04/10] .agents/skills: add qemu-build skill Alex Bennée
2026-05-12 14:40   ` Chao Liu
2026-05-11 17:04 ` [RFC PATCH v2 05/10] .agents/skills: add qemu-testing skill Alex Bennée
2026-05-11 17:04 ` [RFC PATCH v2 06/10] .agents/skills: add qemu-code-reviewer skill Alex Bennée
2026-05-12  3:21   ` Chao Liu
2026-05-12  9:19     ` Alex Bennée
2026-05-12 14:43       ` Chao Liu
2026-05-11 17:04 ` [RFC PATCH v2 07/10] .agents/skills: add qemu-mail-thread skill Alex Bennée
2026-05-11 18:01   ` Alex Bennée
2026-05-12  3:07   ` Chao Liu
2026-05-11 17:04 ` [RFC PATCH v2 08/10] .agents/skills: add qemu-issue-helper skill Alex Bennée
2026-05-11 17:04 ` [RFC PATCH v2 09/10] .agents/skills: add qemu-issue-triage agent skill Alex Bennée
2026-05-11 17:04 ` [RFC PATCH v2 10/10] MAINTAINERS: add a section for AI agents Alex Bennée
2026-05-11 17:33   ` Daniel P. Berrangé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zf21ayzj.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=chao.liu.zevorn@gmail.com \
    --cc=crosa@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.