Skip to content

flitzrrr/agent-skills / skills/execute-work-package

execute-work-package

Unverified

Execute a significant implementation unit (phase or major slice) using a gated subagent loop (blueprint -> gate -> execute -> digest) without creating new persistent artifacts.

FileKindSize
SKILL.mdskill md12.3 KB
scripts/start-l4l-oci.shexecutablescript1.8 KB
tpl-execution-blueprint.mdmarkdown613 B
tpl-execution-digest.mdmarkdown357 B
tpl-implementer-execute-prompt.mdmarkdown1.8 KB
tpl-implementer-preflight-prompt.mdmarkdown2.0 KB

scripts/start-l4l-oci.sh

View on GitHub
#!/usr/bin/env bash
set -euo pipefail

L4L_OCI_ROOT="${L4L_OCI_ROOT:-$HOME/git/l4l-oci}"
L4L_OCI_URL="${L4L_OCI_URL:-http://127.0.0.1:8765/mcp}"
L4L_OCI_DEFAULT_MODEL="${L4L_OCI_DEFAULT_MODEL:-qwen-openrouter}"
L4L_OCI_LOG_FILE="${L4L_OCI_LOG_FILE:-$L4L_OCI_ROOT/logs/l4l-oci-service.log}"
L4L_OCI_PID_FILE="${L4L_OCI_PID_FILE:-$L4L_OCI_ROOT/.l4l-oci/l4l-oci.pid}"

PY="$L4L_OCI_ROOT/.venv/bin/python"
if [ ! -x "$PY" ]; then
  echo "ERROR: Python not found at $PY" >&2
  exit 1
fi

if [ -z "${OPENROUTER_API_KEY:-}" ] && [ -z "${QWEN_API_KEY:-}" ]; then
  echo "ERROR: Neither OPENROUTER_API_KEY nor QWEN_API_KEY is set." >&2
  exit 1
fi

health_ok() {
  "$PY" - <<'PY'
import asyncio
import os
from fastmcp import Client

url = os.environ["L4L_OCI_URL"]

async def main() -> int:
    try:
        async with Client(url) as client:
            res = await client.call_tool("health", {})
        status = (res.data or {}).get("status")
        return 0 if status == "ok" else 1
    except Exception:
        return 1

raise SystemExit(asyncio.run(main()))
PY
}

export L4L_OCI_URL

if health_ok; then
  echo "l4l-oci already reachable at $L4L_OCI_URL"
  exit 0
fi

if [ -f "$L4L_OCI_PID_FILE" ]; then
  OLD_PID="$(cat "$L4L_OCI_PID_FILE" 2>/dev/null || true)"
  if [ -n "$OLD_PID" ] && ! kill -0 "$OLD_PID" 2>/dev/null; then
    rm -f "$L4L_OCI_PID_FILE"
  fi
fi

mkdir -p "$(dirname "$L4L_OCI_LOG_FILE")" "$(dirname "$L4L_OCI_PID_FILE")"

(
  cd "$L4L_OCI_ROOT"
  export L4L_OCI_DEFAULT_MODEL
  nohup "$PY" -m l4l_oci >>"$L4L_OCI_LOG_FILE" 2>&1 &
  echo "$!" >"$L4L_OCI_PID_FILE"
)

for _ in $(seq 1 30); do
  if health_ok; then
    echo "l4l-oci started at $L4L_OCI_URL"
    exit 0
  fi
  sleep 0.5
done

echo "ERROR: l4l-oci did not become healthy. Last log lines:" >&2
tail -n 40 "$L4L_OCI_LOG_FILE" >&2 || true
exit 1
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall