Agent skill
workflow-orchestrator
Orchestrate multiple Codex CLI workflows using done-signal files, optional locks, and simple dependencies.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/workflow-orchestrator-edwrld-config-files-2829842e
Metadata
Additional technical details for this skill
- short description
- Orchestrate CLI workflows with done signals
SKILL.md
Workflow Orchestrator
Use this skill when the user wants multiple CLI workflows to coordinate via done-signal files, optionally with file locks.
Core behavior
- Ask the user for a done-signal file naming scheme (default suggestion:
/tmp/workflow-<name>.done). - Ask the user whether any shared resources need locks (files, migration runner, build outputs). If yes, ask for lock file paths.
- Express dependencies by listing each workflow's
--wait-fordone files (one per dependency). - Warn if a done file already exists from a prior run; recommend deleting it or using a run-specific name.
Scripts
Use scripts/run-workflow.sh to run a workflow with dependencies and optional locking.
Usage
run-workflow.sh \
--wait-for /tmp/workflow-A.done \
--done-file /tmp/workflow-B.done \
--lock /tmp/workflow-shared.lock \
-- ./your-workflow-command --with args
--wait-forcan be repeated for multiple dependencies.--done-fileis touched only if the workflow exits successfully.--lockis optional; if provided, the script usesflockwhen available, otherwise a lock directory.
Recommended dependency pattern
Use sentinel files as dependency edges:
- Workflow A:
--done-file /tmp/workflow-A.done - Workflow B:
--wait-for /tmp/workflow-A.done --done-file /tmp/workflow-B.done - Workflow C:
--wait-for /tmp/workflow-B.done
If the user wants more structure, propose a small text config where each workflow lists its done and wait_for files, then translate it into the script calls.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?