원클릭으로
middleware-pipeline
Use composable middleware behaviors for provider/tool execution: retry, caching, timeout, telemetry, and budget guards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use composable middleware behaviors for provider/tool execution: retry, caching, timeout, telemetry, and budget guards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build a lightweight skill index and load full skill instructions only on demand to reduce startup context pressure.
Select and run a multi-agent workflow pattern for work that exceeds one agent's reliable scope. Use for parallel research, independent reviews, cross-domain changes, or high-risk implementation planning.
Select and run a multi-agent workflow pattern for work that exceeds one agent's reliable scope. Use for parallel research, independent reviews, cross-domain changes, or high-risk implementation planning.
Use this skill whenever the agent makes a mistake, the user observes an avoidable failure, a pattern recurs, or someone says "the agent keeps doing X". Files an "Engineer the Harness" entry — Mitchell Hashimoto's discipline: every failure becomes a permanent prevention mechanism. Always invoke this instead of just fixing the immediate symptom.
Use composable middleware behaviors for provider/tool execution: retry, caching, timeout, telemetry, and budget guards.
Use this skill whenever the agent makes a mistake, the user observes an avoidable failure, a pattern recurs, or someone says "the agent keeps doing X". Files an "Engineer the Harness" entry — Mitchell Hashimoto's discipline: every failure becomes a permanent prevention mechanism. Always invoke this instead of just fixing the immediate symptom.
| name | middleware-pipeline |
| description | Use composable middleware behaviors for provider/tool execution: retry, caching, timeout, telemetry, and budget guards. |
| allowed-tools | Read, Bash(node .harness/scripts/middleware-demo.mjs:*) |
| suggested-turns | 5 |
Provides five composable behaviors via src/core/middleware/pipeline.mjs:
withRetry()withCaching()withTimeout()withTelemetry()withBudget()const run = composeMiddleware(baseRun, [
withTelemetry({ sink }),
withBudget({ maxInputTokens: 100000 }),
withTimeout({ ms: 30000 }),
withRetry({ attempts: 2 }),
withCaching(),
]);
node .harness/scripts/middleware-demo.mjs