Agent skill
gmsh-openfoam-orcaflex-agent-usage-pattern
Sub-skill of gmsh-openfoam-orcaflex: Agent Usage Pattern.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/workflows/gmsh-openfoam-orcaflex/agent-usage-pattern
SKILL.md
Agent Usage Pattern
Agent Usage Pattern
An agent can invoke the full pipeline with a single structured call:
# Agent invocation (WRK item execution pattern)
import subprocess, json, sys
result = subprocess.run(
[
sys.executable,
"scripts/pipelines/gmsh_openfoam_orcaflex.py",
"--diameter", "1.0",
"--length", "5.0",
"--velocity", "1.5",
"--work-dir", "/tmp/wrk_run",
"--stub-mode", # remove when solvers are installed
"--json",
],
capture_output=True, text=True
)
data = json.loads(result.stdout.split("\n{")[1]) # strip pipeline print
# OR: read /tmp/wrk_run/pipeline_results.json
assert data["passed"], f"Pipeline failed: {data['issues']}"
drag = data["summary"]["drag_force_N"]
deflection = data["summary"]["max_deflection_m"]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?