본문으로 건너뛰기
Skillpedia
에이전트280k · #129

agent-harness-construction

하는 일

이 도구는 AI 에이전트가 도구를 쓰는 방식을 정리하고 개선해 작업을 완료하도록 돕습니다. 무엇을 할지, 어떻게 할지, 무언가 잘못되면 어떻게 할지를 명확히 이해하게 하여 성공할 가능성을 높입니다.

사용하는 경우

  • ✓AI 에이전트가 쓸 수 있는 도구를 정의하거나 조정할 때.
  • ✓AI 에이전트가 작업을 더 안정적이고 효율적으로 하기를 원할 때.
  • ✓AI 에이전트가 작업을 완료하거나 오류에서 복구하는 데 어려움을 겪을 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/agent-harness-construction/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/pi/core/skills/agent-harness-construction/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 AI 에이전트가 길을 잃지 않도록, 사용하는 도구를 어떻게 더 잘 정리할 수 있을까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 도구의 이름을 짓는 방법, 받아야 할 정보, 돌려줘야 할 정보에 대한 명확한 규칙을 정하는 방식으로 작동합니다. 여기에는 오류를 처리하는 방법과 응답에 포함할 내용도 포함됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Agent Harness Construction

Use this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.

Core Model

Agent output quality is constrained by:

  1. Action space quality
  2. Observation quality
  3. Recovery quality
  4. Context budget quality

Action Space Design

  1. Use stable, explicit tool names.
  2. Keep inputs schema-first and narrow.
  3. Return deterministic output shapes.
  4. Avoid catch-all tools unless isolation is impossible.

Granularity Rules

  • Use micro-tools for high-risk operations (deploy, migration, permissions).
  • Use medium tools for common edit/read/search loops.
  • Use macro-tools only when round-trip overhead is the dominant cost.

Observation Design

Every tool response should include:

  • status: success|warning|error
  • summary: one-line result
  • next_actions: actionable follow-ups
  • artifacts: file paths / IDs

Error Recovery Contract

For every error path, include:

  • root cause hint
  • safe retry instruction
  • explicit stop condition

Context Budgeting

  1. Keep system prompt minimal and invariant.
  2. Move large guidance into skills loaded on demand.
  3. Prefer references to files over inlining long documents.
  4. Compact at phase boundaries, not arbitrary token thresholds.

Architecture Pattern Guidance

  • ReAct: best for exploratory tasks with uncertain path.
  • Function-calling: best for structured deterministic flows.
  • Hybrid (recommended): ReAct planning + typed tool execution.

Benchmarking

Track:

  • completion rate
  • retries per task
  • pass@1 and pass@3
  • cost per successful task

Anti-Patterns

  • Too many tools with overlapping semantics.
  • Opaque tool output with no recovery hints.
  • Error-only output without next steps.
  • Context overloading with irrelevant references.
자주 묻는 질문

‘마이크로 도구’, ‘중간 도구’, ‘매크로 도구’는 무엇인가요?

도구의 크기가 다른 것입니다. 마이크로 도구는 작고 중요한 작업용, 중간 도구는 흔한 작업용, 매크로 도구는 크고 시간이 오래 걸리는 작업용입니다.

‘행동 공간 품질’이란 무엇인가요?

AI 에이전트가 쓸 수 있는 도구의 명확성과 정리 상태를 뜻합니다. 좋은 ‘행동 공간’은 에이전트가 어떤 도구를 어떻게 써야 할지 정확히 알게 해 줍니다.

‘오류 복구’가 왜 중요한가요?

AI 에이전트가 실패에서 회복하도록 돕기 때문입니다. 오류의 근본 원인과 재시도 방법을 알면, 에이전트가 포기하지 않고 작업을 끝낼 수 있습니다.

상세 정보

작성자의 원본 설명

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent's tool set, action space, or observation format.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#129
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬