Agent Skills
Experimental. There are several skills so far, and whether they help is still being measured: see Evaluation: Agent skills.
The MCP server lets an assistant search the guide, but it only finds a pattern if it
thinks to look for it at the right moment. An assistant new to Waveflow often doesn’t: it declares a
DataList and then unpacks the words by hand anyway. A skill fills that gap. It is a folder with
a SKILL.md file, holding a name, a one-line description and short instructions:
- The assistant sees only the description of each installed skill, about one line each.
- When a task matches a description, it loads that skill’s instructions: the rules that always apply, and which guide page to read before which step.
- It reads the skill’s other files, if any, only when the instructions point to them.
The format is an open standard (Agent Skills). Claude Code, Codex, Gemini CLI, GitHub Copilot and other agents read it, each from its own folder.
The skills
| skill | use it for |
|---|---|
waveflow-start |
any task that uses Waveflow: how to look up its API and guide (the MCP tools, or the same commands in a shell), installing Waveflow when a session does not have it, and how to begin a design |
waveflow-architecture |
the big picture of a Waveflow design – a system around a DUT of devices, memories and the interconnect; a device as kernels plus adaptors; kernels on streams only, leaf or composite – and how to map an algorithm onto it in a short chat answer: the stages and a rate check, the kernels, what each talks to, the devices, the system, the build order and the skill for each piece |
waveflow-schema |
defining a message as a DataSchema (DataList, EnumField, FixedField, arrays) and moving it in Python and in Vitis HLS: serializing it, reading and writing it on a stream or memory, and generating its C++ header |
waveflow-kernel-hls |
writing a Vitis HLS kernel body: one firing per message, the lane loop over packed samples with the generated array utils, PIPELINE II=1, state kept across commands, fixed-point datapaths, and the deadlocks and reset traps C simulation does not show |
waveflow-kernel |
writing a kernel from the interfaces its user describes: each one mapped to a stream port and the adaptor it needs (a queue, a register bank, an interrupt, a memory reader or writer), how commands and data travel when the user does not say, the pysim behaviour (run_iter), and a harness test that asserts counts |
waveflow-device |
building a device: a kernel’s memory readers and writers (MemRStream / MemWStream, the writer’s echo as “done”), the views a host reaches it through (queues, register bank, interrupts; build_mm_device), credit across a bus, BRAM, and what becomes the HLS top and sub-top |
waveflow-pipeline |
building a composite kernel: when to split into stages, the children and links (add_comp, add_if), each link’s depth, StreamBroadcast (drain your own copy before waiting on a sibling), a token per job, the last stage answering, and testing each stage then the whole |
waveflow-shared-kernel |
sharing one expensive kernel among several clients, or feeding a kernel’s output back to its own input: what to read before each step (the Sharing a kernel page, the arbiter, the demux, the FFT’s per-frame direction), the reference design os_filterbank, and a checklist – whole frames, a credit that bounds the loop, each client’s outputs on their own ports, counts asserted |
waveflow-system |
putting a design together and verifying it: HwSystem(sim, dut) and its derived testbench, each module alone in its harness, the build DAG (add_system_steps with a prefix per system, run_dag_cli, --through), the steps that need no toolchain and those that need Vitis / Vivado, a golden per module, error scenarios, and tests that count so a deadlock or a dropped word cannot pass |
waveflow skills list prints each skill’s description, which is what decides when an assistant loads
it.
Installing them into a project
The skills ship with the Waveflow package, so a project gets the skills that match its version of
Waveflow. waveflow init installs them, along
with the MCP server config and an AGENTS.md; that is the usual way. To install only the skills,
from the project folder, with the virtual environment active:
waveflow skills install
This copies every skill into two folders:
| folder | read by |
|---|---|
.claude/skills/ |
Claude Code |
.agents/skills/ |
the cross-agent location, read by Codex and others |
--for claude (or --for agents) installs into one folder only, and --dir <path> installs into
another project. A skill already installed is left alone, so your edits to it are never overwritten.
--force replaces it, for example after upgrading Waveflow. Commit the folders with the project, so
everyone working on it, and every assistant, gets the same skills.
Each agent also needs the MCP server: a skill tells the assistant which page to read, and the server is how it reads the page.
On claude.ai/code, a session works from a clone of your repository, so it is offered exactly the
skills committed there: run waveflow init (or waveflow skills install) once on your machine and
commit both folders.
In the Waveflow repository itself
The Waveflow repository commits the same copies (.claude/skills/, .agents/skills/) and its own
AGENTS.md, so an assistant opened on the repository – locally, or in a claude.ai/code chat – is offered the skills
too. waveflow/skills/ is the source: after editing a skill there, refresh the copies with
waveflow skills install --dir . --force and commit them. A test
(tests/mcp/test_skills.py) fails when a copy differs from its source.
Testing a skill
A skill is tested the way the MCP server is: with a blind test. Two runs on the same
spec differ only in --skills <folder>, which installs the skill into the trial folder. The report
says whether the agent loaded the skill, and whether that was before or after it wrote its first file.
The specs and the review sheets are in evaluation/skill_tests/.