Works with the AI Agents you already use

    Agent Engineering Pack: Run Coding Agents from Code, Reliabl

    by 호랑

    1

    It came out of building a multi-agent desktop orchestrator that runs several agents in parallel on Windows and Linux; each rule exists because something actually broke.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Agent Engineering Pack: Run Coding Agents from Code, Reliabl

    Agent Engineering Pack: Run Coding Agents from Code, Reliabl

    Example session with this skill installed

    My Node script spawns codex exec on Windows GitHub Actions. Locally it finishes in seconds, in CI it sometimes hangs forever and leaves orphan processes. How do I make this reliable?

    • Read your context and instructions
    • Compiled the agent engineering

    Diagnosis plan (windows-agent-process-pitfalls + headless-agent-cli-driver)

    CheckWhyHow
    TEMP sizeA TEMP folder with tens of thousands of entries can stall sandbox start-upCount entries in %TEMP%; give the run its own empty TEMP/TMP
    Shell shimspawn with shell:true goes through cmd.exe and loses the child's exitSpawn the resolved .exe/.js directly, no shell:true
    Process treeKilling the parent PID leaves grandchildren alive; PIDs get reusedPut the run in a Job Object (kill-on-close) or use taskkill /T on the tree
    Completion"Done" in the transcript is a claimVerify the side effect: expected file/commit exists and exit code is 0
    CI shellWindows runners default to pwshSet shell: bash explicitly in the workflow step

    Next step: bisect - run the same command with a fresh TEMP first; if it passes, the environment, not the agent, was the cause.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Agent Engineering Pack is a set of hard-won rules for anyone who runs coding agent CLIs (Claude Code, Codex CLI, Gemini CLI and similar) from code, CI or a plugin instead of an interactive terminal. It came out of building a multi-agent desktop orchestrator that runs several agents in parallel on Windows and Linux; each rule exists because something actually broke.

    The skill loads a short router (SKILL.md) and reads only the reference that matches your task:

    • headless-agent-cli-driver: probe what the CLI supports, handle approval prompts, treat "done" as a claim and verify side effects, hand files between agents with tokens and stability windows, avoid shell:true shims, keep auth environment variables out of logs.
    • windows-agent-process-pitfalls: why runs hang or leak (huge TEMP folders, PID reuse, missing Job Objects, 8.3 paths, CI shell defaults), with a bisect table to find the cause fast.
    • cross-agent-guard-hooks: enforce one safety policy across Claude Code hooks, Codex rules, git hooks and CI, tokenise commands instead of regex-matching strings, and document what each guard cannot catch.
    • ci-gate-split: remove skip shortcuts, run checks from the base branch so a PR cannot weaken its own gate, keep required checks stable, add an installer smoke test, a real-agent release gate and a dependency audit.

    Pure Markdown. No scripts run, no network access, no dependencies.

    Focuses on CLI-based agent drivers rather than API-only integrations. Windows-specific process advice is scoped to common orchestration pitfalls.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    Software
    Git

    Permissions

    Read Files
    Write Files
    Listed7 days ago

    What's inside

    Creator

    호랑

    호랑

    2 skills on Agensi

    Frequently Asked Questions

    This skill provides a collection of production-ready engineering patterns, wrapper scripts, and CI configurations designed to solve common issues like zombie processes on Windows and unreliable completion signals from agent CLIs.

    It is specifically designed for CLI-based agents such as Claude Code and Codex, providing agnostic patterns that work across Node.js, Python, and shell-based orchestrators.

    You will receive a comprehensive implementation guide containing structured logic for headless driving, process lifecycle management rules, and pre-configured safety gate templates for CI pipelines.

    Unlike standard prompts, this pack addresses low-level OS behaviors and non-deterministic exit states that LLMs often miss, ensuring your agents don't hang in production or bypass security hooks.

    The pack includes specific strategies for identifying and killing hung processes and resource leaks that are unique to the Windows process tree when spawning agentic sub-processes.

    The patterns are designed to be modular; you can integrate the safety gates into your existing GitHub Actions or GitLab CI/CD pipelines without needing to rewrite your entire orchestration layer.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.