/foam skill (Foam-Agent)
SkillCommunity
A Claude Code skill that runs Foam-Agent's plan, write, run and repair loop for an OpenFOAM case from one prompt. By CSML at RPI (csml-rpi).
363 starsUpdated 3 days agoGitHub data from 5 Nov 2026
At a glance
- Type
- Skill
- Works with
- OpenFOAM
- Tool versions
- Uses whichever OpenFOAM target the Foam-Agent server is configured for (Foundation v10 by default)
- Operating systems
- Linux
- Needs a OpenFOAM licence
- No
- AI clients documented
- Claude Code
- Licence
- MIT
- Language
- Markdown
What it can do
- Calls plan, shows the chosen case name, solver and subtasks, and asks you to confirm before it writes anything.
- Generates the case files with input_writer and runs them with a one-hour default timeout.
- On failure, loops through review, apply_fixes and run up to five times.
- Offers optional visualisation once the run succeeds.
Limitations
- Only works with the Foam-Agent MCP server installed and connected.
- Adds no meshing or HPC tools of its own.
Install
Cloned repositories include the skill at .claude/skills/foam.md; with the foamagent MCP server registered, run /foam followed by your requirement, for example "/foam Simulate lid-driven cavity flow at Re=1000".Source: github.com/csml-rpi/Foam-Agent/blob/main/docs/mcp.md#claude-code-skill
MCP servers and skills run code on your computer. Review the source before installing.
AI-generated models, drawings and results must be checked by a qualified engineer before use.