본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드7.8k · #13006

spreadsheet-proof-gate

하는 일

이 워크플로는 AI 에이전트가 끝내기 전에 작성된 요구 사항에 맞춰 Excel 작업을 확인하도록 합니다. 모든 시트, 열, 개수가 맞다는 증거가 필요한 사람을 위한 것입니다.

사용하는 경우

  • ✓통합 문서에 정확한 시트 이름, 열, 개수가 필요할 때.
  • ✓기존 Excel 파일을 편집하면서 결과가 맞는지 확실히 해야 할 때.
  • ✓위임받은 에이전트가 스프레드시트 작업을 했고 결과를 점검하고 싶을 때.

스킬 링크

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

AI에게 요청하는 예시

“제 예산 통합 문서를 이 사양에 맞게 업데이트한 다음, 완료라고 말하기 전에 Python 검사로 각 요구 사항이 충족되었음을 증명해 주세요.”

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

작동 방식

에이전트는 통합 문서 경로를 확인하고, 편집 전에 구조를 점검한 뒤 변경을 하고, 저장된 파일에 openpyxl 스크립트를 실행합니다. 각 요구 사항은 통과 또는 실패로 표시되며, 모든 항목이 통과하거나 설명될 때만 작업이 끝납니다.

기술 내용 (원본 SKILL.md)

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

Spreadsheet Proof Gate

Use this skill when you must modify, create, or validate an Excel workbook and the result must be proven against a user specification rather than merely described.

This skill combines:

  • workbook discovery and identity confirmation
  • pre-edit structure auditing
  • safe workbook editing
  • deterministic post-write verification from disk
  • a machine-checkable pass/fail checklist for every requested criterion
  • a hard finalization gate that rejects completion when any required criterion is unmet or unreconciled

This is a workflow skill. It does not require a specific editor, but it does require a direct Python verification pass with openpyxl before you report success.

When to use

Use this skill when any of the following are true:

  • the workbook path must be discovered
  • multiple similar Excel files may exist
  • the user requires exact sheet names, columns, counts, or samples
  • the task edits an existing workbook
  • a delegated agent may perform spreadsheet work
  • prior summaries are inconsistent or not trustworthy
  • exact post-edit workbook state matters
  • you must prove that mandatory criteria were satisfied

Core rule

Never finalize from narrative summary alone.

A workbook task is only complete when:

  1. the target workbook was identified from the anchored workspace path
  2. pre-edit structure matched the intended operation
  3. the edit was performed on the correct file
  4. the saved workbook was directly re-read from disk
  5. every requested criterion was checked in a deterministic verification report
  6. each criterion is marked as one of:
    • PASS
    • FAIL
    • UNAVAILABLE-IN-SOURCE
  7. any non-pass result is explicitly reconciled before finalizing

If any mandatory criterion is still FAIL, do not declare success.

If a criterion is UNAVAILABLE-IN-SOURCE, only finalize if:

  • the source workbook truly lacks the needed input,
  • you state that clearly,
  • and the user request did not require inventing unsupported data.

Workspace anchoring rule

All discovery, reads, writes, and verification must be anchored to the exact workspace path provided for the task.

Rules:

  • treat the provided workspace path as the authoritative root
  • resolve the workbook to an exact path under that root
  • do not silently switch to a similarly named file elsewhere
  • do not trust a delegated tool's reported path without independently confirming it
  • if the anchored file cannot be found, stop rather than guessing

Outcome contract

Your output to yourself and to the user should be based on proof, not inference.

For every task, maintain three artifacts internally:

  1. Candidate inventory
  2. Pre-edit audit checklist
  3. Post-write proof checklist

The post-write proof checklist is decisive.

Workflow

Phase 1: Discover candidate workbooks

Search under the exact workspace root for plausible Excel files:

  • .xlsx
  • .xlsm
  • .xls

Prefer files that:

  • match names mentioned by the user
  • live in likely data/output/project folders
  • have relevant modification times
  • contain expected sheet names
  • contain plausible row/column structure

If several files are plausible, inspect all plausible candidates before choosing.

Minimum evidence before selecting a workbook

Before choosing the workbook to edit, confirm at least:

  • exact anchored path
  • file existence
  • workbook readability
  • sheet names
  • approximate row counts in relevant sheets
  • relevant headers in target sheets

Do not select a workbook based on filename similarity alone.

Phase 2: Convert the user request into explicit criteria

Before editing, extract every requirement you can verify.

Possible criteria include:

  • required workbook path or output path
  • required sheet names
  • sheets to preserve
  • sheets to create
  • target sheet to edit
  • required columns
  • required formulas or summaries
  • minimum data rows
  • exact row counts
  • sample size
  • marker/flag count
  • selection rules
  • category coverage requirements
  • preservation of macros/formatting
  • preservation of untouched sheets

Turn these into an explicit checklist.

Criteria format

Represent each requested requirement as a discrete checkable item.

Good examples:

  • required-sheet: Summary exists
  • required-sheet: Sample exists
  • required-column: Sheet Sample has column "Selected"
  • sample-count: exactly 25 marked rows in Sample
  • coverage: at least 1 marked row where Product = Trade Finance
  • preservation: source sheet RawData still exists
  • `
자주 묻는 질문

증명 게이트(proof gate)란 무엇인가요?

모든 요구 사항이 통과하거나 설명되기 전까지 완료를 막는 최종 점검입니다.

에이전트의 요약에 의존하나요?

아닙니다. 스킬은 서술된 요약만으로 완료하지 말라고 안내합니다.

어떤 라이브러리가 파일을 검사하나요?

스킬은 직접 Python 검증 단계에서 openpyxl을 사용합니다.

상세 정보

작성자의 원본 설명

Edit Excel workbooks only after anchored preflight audit, then require deterministic Python/openpyxl post-write proof that every requested criterion is satisfied or explicitly reconciled before finalizing.

repo: HKUDS/AgentPilot

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬