aqwa-batch-execution-python-subprocess-pattern

Sub-skill of aqwa-batch-execution: Python Subprocess Pattern.

5 stars

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

$curl -o ~/.claude/skills/python-subprocess-pattern/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/marine-offshore/aqwa/batch-execution/python-subprocess-pattern/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/python-subprocess-pattern/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How aqwa-batch-execution-python-subprocess-pattern Compares

Feature / Agentaqwa-batch-execution-python-subprocess-patternStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

Run tests when repo has unresolved merge conflicts in config files by bypassing broken configs and executing tests directly

wave-based-parallel-plan-execution

5
from vamseeachanta/workspace-hub

Orchestrate phase execution by discovering dependencies, grouping into waves, spawning subagents, and collecting results with optional wave filtering

taxact-browser-automation-patterns

5
from vamseeachanta/workspace-hub

Patterns for automating TaxAct Business online (Ionic SPA) via Chrome browser MCP tools — field interaction, navigation, shadow DOM handling

python-import-path-mismatch-debugging

5
from vamseeachanta/workspace-hub

Diagnose and fix ModuleNotFoundError when a package is installed but imports still fail due to environment/path mismatches

python-import-path-debugging

5
from vamseeachanta/workspace-hub

Diagnose ModuleNotFoundError when a package is installed but still fails to import

portable-pattern-verification-workflow

5
from vamseeachanta/workspace-hub

Multi-package implementation with verification strategy for cross-platform configuration hardening

portable-config-baseline-pattern

5
from vamseeachanta/workspace-hub

Extract machine-agnostic settings into portable template files while keeping machine-specific hooks and plugins separate

portable-baseline-pattern-implementation

5
from vamseeachanta/workspace-hub

Implement portable configuration baselines by separating machine-agnostic settings from machine-specific hooks and plugins

portable-baseline-pattern-extraction

5
from vamseeachanta/workspace-hub

Extract and separate portable baseline config from machine-specific overrides in multi-environment projects