LINUXMIND.DEVTHE GNU/LINUX WORLD

Linux 7.5 to add in-tree AI agent skills that guide kernel patches

Flat editorial illustration of an AI assistant sorting labelled patch cards into a source-tree filing cabinet

The Linux kernel is getting ready to document itself for machines. Sasha Levin, an NVIDIA engineer and co-maintainer of the kernel’s long-term-support branches, says he intends to send Linus Torvalds an “AI agent skills” series aimed at the Linux 7.5 merge window in late December. It adds a new agents/skills directory to the source tree, filled with instructions that tell AI agents how to carry out specific kernel processes. After a year in which AI-generated patches and bug reports overwhelmed maintainers, the project is choosing to codify the rules rather than fight the flood.

What an agent skill actually is

A skill is not code and not a new subsystem. It is in-tree documentation a model reads before it acts — a short, structured description of a routine task, written with the conventions the kernel already expects. Because it lives next to the code, it can be versioned with it and reviewed like anything else. The branch carrying the work is on Levin’s agents branch.

The first skills on the list

  • Working out the Fixes: tag for a patch.
  • Determining stable tags, the Cc: stable markers.
  • Finding other instances of a bug that has just been fixed.
  • Writing commit messages.
  • Writing KUnit tests.

Notice what these have in common: they are the mechanical, checkable parts of kernel work — exactly the places where an automated contributor is most likely to get the format wrong.

Why this is more than a gimmick

The context matters. Through 2026 the mailing lists have been buried in AI-generated patches and reports, and one long-serving developer stepped back from some roles because of the volume. Handing agents a written spec does not slow them down; it gives reviewers a fixed target. If a tool follows the in-tree skill, its commit message and tags arrive in the shape a maintainer expects, and the human only has to judge the change itself.

The limit is real, though. A skill can tell an agent how to write a commit message; it cannot tell it whether the change should exist. That judgement stays with people, and it should.

What changes for you

If you run Linux, nothing — this is upstream process, not a feature you install. If you submit patches, expect the tooling around you to get tidier: assistants that adopt these skills will produce cleaner submissions, which means less back-and-forth on style and more on substance.

The series is expected to go to Torvalds during the Linux 7.5 merge window in late December, and it could still change if he objects. Either way the direction is clear: the kernel would rather spell out its conventions for the tools that read it than argue with them patch by patch. The background is in the Phoronix report. Keep an eye on the 7.5 pull requests if you want to see which skills make the cut.




Leave a Reply

Your email address will not be published. Required fields are marked *