Skip to content
Back to skills

Agentfem

ASecurity

Install, build, run, inspect or extend AgentFEM finite-element projects using the public workflow and declared capabilities. Use for AgentFEM modeling, results, migration and solver extensions.

  • 41 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentsgitapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add haoming-luo/agentfem --skill agentfem --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentfem?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agentfem
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/haoming-luo-agentfem/badge)](https://www.skillsdirectory.com/skills/haoming-luo-agentfem)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agentfem
description: Install, build, run, inspect or extend AgentFEM finite-element projects using the public workflow and declared capabilities. Use for AgentFEM modeling, results, migration and solver extensions.
---

# AgentFEM

People and agents use the same readable `case.py` and installed CLI. A prepared
project runs without AI. Choose the shortest path that satisfies the request.

## Start with the user's task

- **Install:** read `installation.onboarding` at
  https://haoming-luo.github.io/agentfem/agentfem.json. Reuse a working environment
  and the user's chosen channel. Finish with installed identity, doctor readiness
  and WSL workspace protection. Report version and environment location, then
  offer an optional example. Create or run one only when requested; an existing
  request to install and try a model is sufficient.
- **Run or edit a project:** read its instructions, `case.py` and
  `agentfem.toml`; use `check → run → inspect`. Model edits follow the workflow
  reference below. `check` already includes migration findings.
- **View results:** use `agentfem show latest --json` and the recorded artifacts.
  For interactive viewing, read `references/viewer.md`. Do not run a new
  simulation just to answer a result question.
- **Diagnose or upgrade:** inspect the specific failure or migration findings.
  Use `doctor --json` after environment/version changes or runtime failures.
- **Extend:** read the relevant ownership, validation and extension references
  before implementing numerical functionality.

Reuse context already checked within the task. Read one relevant capability
topic before requesting the full inventory. The installed API/options are
authoritative when online documentation describes a newer version.
For an uncertain keyword, query `agentfem capabilities --api MODULE.CALLABLE --json`;
for a concrete Step use `models.step_capability(...)`. Missing query
support in an older install calls for its installed help, not an automatic upgrade.

## Reference Routing

References are relative to this skill directory. Keep the whole directory when
installing the skill; read only what the current task needs.

1. `references/workflow.md`: constructing or changing a model.
2. `references/concepts.md`: selecting physical objects or maturity levels.
3. `references/scientific_workflows.md`: material history, contact, thermal
   transfer, Abaqus migration, restart, campaigns and specialized output.
   Search for the current topic; this is not an installation checklist.
4. `references/module_map.md`: locating code and ownership.
5. `references/validation.md`: changing scientific code or evaluating a
   numerical claim.
6. `references/extension_rules.md`: adding a public helper, provider, material
   family or extension boundary.
7. `references/viewer.md`: opening local results, display choices and exports.

## Common decisions

- Prefer Study → Model → materials/boundaries → `model.step` → Result.
  Keep physics in `case.py` and operational settings in `agentfem.toml`.
- Use public APIs and provider option contracts; keep lower-level operators and
  FEniCSx available when the task needs them. Reuse framework state, rollback,
  output and restart instead of writing a project-owned solver.
- Publish through Result and use its artifact paths; avoid case-owned
  connectivity or XDMF rewrites. `verify` checks provenance, while physical
  acceptance needs relevant reference, balance and convergence evidence.
- On WSL, protect project storage once with `agentfem workspace --protect`.
  Recheck custody before replacing/removing a runtime, not before every solve.
- If permissions or a private password entry are needed, give one concrete
  handoff. Resume from the completed stage instead of repeating installation.
- Offer one relevant next step after completing a task. Suggestions are not
  permission to run extra benchmarks, tune a model, install integrations or
  publish data. Keep support/account actions voluntary and explicitly requested.

Files in this skill

  • SKILL.md27.3 KB
  • agents/openai.yaml296 B
  • references/concepts.md7.9 KB
  • references/extension_rules.md1.5 KB
  • references/module_map.md5.5 KB
  • references/validation.md5.8 KB
  • references/workflow.md6.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.