Agent skill
orcaflex-batch-manager-basic-batch-configuration
Sub-skill of orcaflex-batch-manager: Basic Batch Configuration (+1).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/orcaflex-batch-manager/basic-batch-configuration
SKILL.md
Basic Batch Configuration (+1)
Basic Batch Configuration
# configs/batch_config.yml
batch:
# Input files
input:
directory: "models/"
pattern: "*.yml" # or *.dat
recursive: false
# Output settings
output:
directory: "results/"
sim_subdirectory: ".sim"
log_directory: "logs/"
# Processing settings
processing:
mode: "parallel" # parallel, sequential, chunked
max_workers: 20 # Maximum parallel workers
adaptive_scaling: true # Auto-adjust workers
# Chunk settings for large batches
chunk_size: 50 # Files per chunk
pause_between_chunks: 5 # Seconds
# Analysis settings
analysis:
run_statics: true
run_dynamics: true
simulation_duration: 10800 # 3 hours
# Error handling
error_handling:
continue_on_error: true
max_retries: 2
timeout_per_file: 3600 # 1 hour max per file
# Progress tracking
progress:
enabled: true
update_interval: 10 # Seconds
save_checkpoint: true
checkpoint_interval: 100 # Files
Advanced Batch Configuration
# configs/batch_advanced.yml
batch:
# Input filtering
input:
directory: "models/operability/"
pattern: "*.yml"
filters:
include_patterns:
- "*_100yr_*"
- "*_10yr_*"
exclude_patterns:
- "*_draft_*"
- "*_test_*"
sort_by: "file_size" # Process largest first
# Resource optimization
resources:
max_workers: 30
min_workers: 4
# CPU management
cpu_threshold: 90 # Reduce workers if >90%
cpu_check_interval: 30 # Seconds
# Memory management
memory_threshold: 80 # Reduce workers if >80%
memory_check_interval: 60 # Seconds
# File size optimization
file_size_scaling: true
small_file_threshold: 1 # MB
large_file_threshold: 10 # MB
workers_for_large: 5 # Fewer workers for large files
# Processing pipeline
pipeline:
stages:
- name: "validation"
enabled: true
action: "validate_model"
- name: "preprocessing"
enabled: true
action: "prepare_environment"
- name: "simulation"
enabled: true
action: "run_simulation"
- name: "postprocessing"
enabled: true
action: "extract_results"
# Notifications
notifications:
on_start: true
on_complete: true
on_error: true
email: null # Optional email alerts
# Performance tracking
metrics:
track_per_file: true
track_memory: true
track_cpu: true
export_metrics: true
metrics_file: "batch_metrics.json"
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?