tools-script-executor
Installation
SKILL.md
Script Executor Skill
Enforcement
Execution mode: All marketplace scripts must be executed through the executor proxy.
Executor is cwd-pass-through. All cwd control is explicit at the call site. See standards/cwd-policy.md for the single uniform cwd-relative resolution rule (ADR-002) and the cwd-unchanged invariant every script obeys.
Prohibited actions:
- Do not execute marketplace scripts directly by path; always use the executor notation
- Do not modify
.plan/execute-script.pymanually; regenerate via/marshall-steward - Do not hard-code PYTHONPATH; the executor manages it automatically
- Do not rely on ambient cwd for path resolution inside scripts; follow standards/cwd-policy.md
Constraints:
- All scripts use
python3 .plan/execute-script.py {notation} {subcommand} {args} - Bootstrap pattern is only for first run when executor does not exist yet
- Plan-scoped logging requires
--plan-idor--audit-plan-id - Plan-metadata scripts resolve
.plan/viafile_ops.get_base_dir(), which uses the single uniform cwd walk-up (set_base_dir()→PLAN_BASE_DIR→ nearest ancestor containing.plan/local; ADR-002) — main in phases 1-4, the pinned worktree in phase-5+. Worktree-scoped build / CI / Sonar scripts accept either--plan-id(auto-resolves the worktree viamanage-status get-worktree-path) or--project-dir(explicit override / escape hatch — the two flags are mutually exclusive); the merge lock is the single main-anchored resolver. Seestandards/cwd-policy.md