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

delegated-file-edit-verification

하는 일

이 스킬은 다른 도구나 에이전트가 편집을 끝냈다고 말한 뒤 AI가 파일을 직접 확인하도록 합니다. 스프레드시트, 데이터베이스 등 파일을 만들 때 AI 도우미를 쓰는 사람을 위한 것입니다.

사용하는 경우

  • ✓다른 에이전트가 파일을 저장하거나 업데이트했다고 말해서 확인해야 할 때.
  • ✓작업이 특정 폴더나 위치에 파일이 있어야 하는 경우.
  • ✓스프레드시트나 데이터 파일에 올바른 헤더와 행 수가 있어야 할 때.

스킬 링크

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/delegated-file-edit-verification/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“도우미가 제 스프레드시트를 업데이트했다고 합니다. 파일 자체를 확인하고 정말 잘 되었는지 알려 주세요.”

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

작동 방식

작업을 넘기기 전에 AI는 출력에 무엇이 있어야 하는지 적어 둡니다. 도우미가 끝나면 파일의 존재, 위치, 구조, 개수를 확인하고, 보고가 맞지 않으면 절대 경로와 명확한 점검으로 다시 실행합니다.

기술 내용 (원본 SKILL.md)

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

Delegated File Edit Verification

Use this workflow whenever another agent, subprocess, or delegated tool claims it successfully created or modified a file. The goal is to prevent false acceptance of incomplete, misplaced, or incorrect edits.

This skill is especially useful for structured files such as spreadsheets, CSVs, databases, and generated artifacts, but the same pattern applies to any delegated file-edit task.

Core principle

Never accept a delegated "done" message on summary alone.

Immediately verify the result yourself in the target workspace using direct commands that inspect:

  • file existence
  • exact path
  • expected structure
  • expected size or counts
  • key headers, fields, or identifiers

If the delegate's summary and your verification disagree, treat the task as incomplete. Re-run the task using absolute paths and explicit acceptance checks.

When to use this

Use this workflow when:

  • a sub-agent says it wrote or updated a file
  • the task depends on a specific workspace or output location
  • the output is structured and can be checked mechanically
  • prior executions showed path confusion, stale files, or inconsistent summaries
  • correctness matters more than trusting the delegate's narrative

Procedure

1. Record the intended output contract before delegating

Before handing off the task, write down the minimum facts that must be true if the task succeeds.

Include:

  • absolute target path
  • required file name
  • required file type
  • expected sheets, tabs, tables, or sections
  • expected row counts or approximate size
  • required headers or columns
  • any sentinel values that should appear

Example contract:

  • file exists at /workspace/results/report.xlsx
  • workbook contains sheets summary and data
  • data sheet has more than 1,000 rows
  • headers include id, created_at, status

Do not rely on vague goals like "updated spreadsheet correctly."

2. Delegate with explicit acceptance criteria

When delegating, include:

  • the absolute input path
  • the absolute output path
  • the exact required structure
  • a request to report what was changed
  • a request to include paths actually used

Good delegation prompt:

  • Read /workspace/input/source.xlsx
  • Write the cleaned workbook to /workspace/output/cleaned.xlsx
  • Ensure sheets summary and records exist
  • Ensure records includes headers id, date, amount
  • Report the exact absolute path written and row counts per sheet

3. Verify immediately after the delegate reports success

Do not move on. Run direct checks in the target workspace right away.

For all files, verify:

  • the file exists at the expected absolute path
  • modification time is recent
  • file size is plausible
  • there is not a second similarly named file in another directory

For structured files, verify the internal structure too:

  • workbook sheet names
  • CSV header row
  • row counts
  • required columns
  • sample records or sentinel values

4. Prefer direct machine checks over narrative summaries

Trust commands and file inspection, not the delegate's prose.

Examples of useful checks:

  • list the exact file path
  • print sheet names
  • count rows
  • print header names
  • inspect a few sample rows
  • compare timestamps before and after

5. If verification conflicts with the delegated summary, mark the task incomplete

Examples of conflicts:

  • delegate says file exists, but it does not
  • delegate claims sheet data exists, but workbook contains different sheets
  • reported row count differs materially from actual count
  • expected headers are missing
  • output was written to a relative or unexpected location
  • the delegate inspected one file but wrote another

When this happens:

  • do not accept the result
  • state the exact mismatch
  • rerun the task
  • require absolute paths for every input and output
  • require a final report tied to those exact paths

6. Re-run with absolute paths and constrained scope

The most common recovery is to eliminate ambiguity.

On rerun:

  • provide absolute paths only
  • restate the acceptance contract
  • instruct the delegate to verify its own output before reporting success
  • ask it to print the exact path and structural facts used

Example rerun instruction:

  • Re-run using only these absolute paths:
    • input: /workspace/input/source.xlsx
    • output: /workspace/output/cleaned.xlsx
  • Before reporting success, verify:
    • file exists
    • workbook sheets are summary and records
    • records row count exceeds 1000
    • headers
자주 묻는 질문

도우미의 보고가 틀리면 어떻게 되나요?

안내서는 작업을 미완료로 보고, 절대 경로와 명확한 점검을 사용해 다시 실행하라고 말합니다.

어떤 파일에 가장 적합한가요?

스프레드시트, CSV, 데이터베이스처럼 구조화된 파일에 가장 유용합니다.

크기만 확인하나요, 내용도 확인하나요?

내용도 확인합니다. 핵심 헤더, 필드, 식별자와 함께 크기와 개수를 살핍니다.

상세 정보

작성자의 원본 설명

Verify delegated file-edit results directly in the target workspace before accepting success, and rerun with absolute paths if the delegate's report conflicts with reality.

repo: HKUDS/AgentPilot

인기도

GitHub 스타
7.8k
순위
#12851
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬