CLI-First Decision Matrix

•
2
•

Optimizes multi-step agent workflows through intelligent tool selection, parallel execution orchestration, and context-efficient CLI usage.

The CLI-First Decision skill establishes an execution and cost-optimization protocol for complex agent tasks. It provides a structured 6-step decision framework that prioritizes the most efficient tool for the job—balancing dedicated file tools like FastCtx, powerful terminal utilities (ripgrep, ast-grep, jq), and programmatic TypeScript/Python orchestration via Programmatic Tool Calling (PTC). By managing dependency graphs, enforcing concurrency-safe parallelization, and pruning intermediate payloads before they pollute model context, this skill prevents execution thrashing and guarantees reliable, evidence-backed software modifications.

주요 기능

01Precise tool routing across FastCtx, ast-grep, codebase-memory, and CLI utilities
02Programmatic Tool Calling (PTC) orchestration with in-memory payload filtering
032 GitHub stars
04Six-step decision framework to select the shortest reliable execution path
05Dependency-aware parallel execution and pipeline chaining (stdin/stdout)
06Safe write boundaries with dry-run verification and rollback checks

사용 사례

01Orchestrating multi-file refactoring workflows with AST-based structural code rewrites
02Safely coordinating parallel sub-agents across complex codebases without file write collisions
03Optimizing agent latency and token costs by running batch searches and shell pipelines