aqwa-batch-execution-python-subprocess-pattern
Sub-skill of aqwa-batch-execution: Python Subprocess Pattern.
Best use case
aqwa-batch-execution-python-subprocess-pattern is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of aqwa-batch-execution: Python Subprocess Pattern.
Teams using aqwa-batch-execution-python-subprocess-pattern should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/python-subprocess-pattern/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How aqwa-batch-execution-python-subprocess-pattern Compares
| Feature / Agent | aqwa-batch-execution-python-subprocess-pattern | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of aqwa-batch-execution: Python Subprocess Pattern.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Python Subprocess Pattern
## Python Subprocess Pattern
```python
import subprocess
from pathlib import Path
AQWA_EXE = Path("/ansys_inc/v251/aqwa/bin/lnx64/Aqwa")
def run_aqwa(work_dir: Path, job_name: str, job_type: str = "std") -> bool:
"""Run AQWA batch. Returns True on success."""
result = subprocess.run(
[str(AQWA_EXE), job_type, job_name],
cwd=str(work_dir), capture_output=True, text=True,
)
mes = (work_dir / f"{job_name}.mes")
if mes.exists() and any(
kw in mes.read_text(errors="replace").upper()
for kw in ("ERROR", "FATAL", "ABORT")
):
return False
return (work_dir / f"{job_name}.res").exists()
```Related Skills
orcaflex-reporting-fixture-proof-pattern
Build and extend fixture-backed OrcaFlex reporting proof paths in digitalmodel using stable metadata baselines, normalized HTML snapshots, and reusable reporting test helpers.
digitalmodel-worktree-test-execution-with-shared-venv
Run digitalmodel tests from isolated worktrees without uv editable-dependency failures by using the main repo's existing virtualenv and PYTHONPATH.
plan-gated-issue-execution-wave
Execute a multi-issue architecture/planning wave in a plan-gated repo, then safely transition approved issues into implementation with file-based Codex prompts, local approval markers, subprocess monitoring, and cleanup handling for sandbox/hook edge cases.
work-around-merge-conflicts-in-test-execution
Run tests when repo has unresolved merge conflicts in config files by bypassing broken configs and executing tests directly
wave-based-parallel-plan-execution
Orchestrate phase execution by discovering dependencies, grouping into waves, spawning subagents, and collecting results with optional wave filtering
taxact-browser-automation-patterns
Patterns for automating TaxAct Business online (Ionic SPA) via Chrome browser MCP tools — field interaction, navigation, shadow DOM handling
python-import-path-mismatch-debugging
Diagnose and fix ModuleNotFoundError when a package is installed but imports still fail due to environment/path mismatches
python-import-path-debugging
Diagnose ModuleNotFoundError when a package is installed but still fails to import
portable-pattern-verification-workflow
Multi-package implementation with verification strategy for cross-platform configuration hardening
portable-config-baseline-pattern
Extract machine-agnostic settings into portable template files while keeping machine-specific hooks and plugins separate
portable-baseline-pattern-implementation
Implement portable configuration baselines by separating machine-agnostic settings from machine-specific hooks and plugins
portable-baseline-pattern-extraction
Extract and separate portable baseline config from machine-specific overrides in multi-environment projects