spreadsheet-direct-verification
하는 일
이 스킬은 보고 내용이 서로 맞지 않을 때 AI 에이전트가 스크립트로 통합 문서를 직접 살펴보도록 합니다. 누가 말한 내용이 아니라 스프레드시트에 실제로 무엇이 있는지 알아야 하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓위임받은 에이전트가 메시지마다 통합 문서에 대해 서로 다른 사실을 말할 때.
- ✓보고서의 시트 이름, 행 수, 머리글이 서로 맞지 않을 때.
- ✓에이전트가 파일을 저장했다고 말하면서 디스크에서 확인하지 않았을 때.
스킬 링크
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-direct-verification/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“다른 에이전트가 제 통합 문서를 업데이트했다고 하는데 숫자가 맞지 않습니다. 스크립트로 파일 자체를 확인하고 실제로 무엇이 있는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 openpyxl로 디스크에서 통합 문서를 읽는 스크립트를 씁니다. 스크립트는 경로, 시트 이름, 머리글, 행 수, 예상 출력 파일 존재 여부를 출력하며, 최종 답변은 그 보고서를 바탕으로 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Spreadsheet Direct Verification
Use this workflow when a higher-level or delegated agent has interacted with spreadsheet files, but its summaries or claims are inconsistent, incomplete, or hard to trust.
The goal is to replace uncertain narrative summaries with a direct, reproducible inspection from disk before you finalize your answer.
When to use this
Apply this skill when any of the following happen:
- A delegated agent reports conflicting workbook facts across messages
- Sheet names, row counts, headers, or output paths are inconsistent
- The agent says a file was created or modified, but did not verify it from disk
- The task depends on exact workbook contents, especially after edits
- You need a trustworthy final summary of what actually exists on disk
Core principle
When spreadsheet state matters, trust a deterministic script over a conversational summary.
Inspect the workbook directly with Python and openpyxl, and print a compact report covering:
- workbook path
- whether the file exists
- sheet names
- per-sheet headers
- per-sheet row counts
- totals for "marked" rows, if relevant to the task
- whether expected output files exist
Use the script output as the basis for your final response.
Workflow
- Identify the workbook(s) and expected output file(s).
- Determine what "marked row" means for the task.
- Examples:
- rows with a non-empty marker column
- rows with
x,yes,true, or1 - rows highlighted by a prior workflow that also wrote a marker column
- Examples:
- Run a direct Python inspection on the files from disk.
- Compare the script output against any delegated summary.
- If they differ, treat the script as authoritative.
- Only then provide the final user-facing summary.
Minimum verification checklist
Before finalizing, verify and record:
- exact input workbook path inspected
- exact output workbook path inspected
- whether each file exists
- all sheet names in each workbook
- header row for each relevant sheet
- number of non-empty data rows per sheet
- number of marked rows per sheet, if applicable
- whether modifications appear in the saved output file
Production planning validation checklist
For manufacturing and production planning spreadsheets, extend the verification to include:
Max daily minutes per press: Verify that no press exceeds the daily labor minute limit (e.g., 450 minutes per day per press).
- Sum labor minutes grouped by press and date
- Flag any press-date combinations exceeding the threshold
Max weekly hours per team member: Verify that no team member exceeds weekly hour limits (e.g., 37.5 hours per week).
- Sum assigned hours grouped by team member and week
- Flag any team-member-week combinations exceeding the threshold
Required roles per press: Verify that each press assignment includes all required roles (e.g., 1 operator + 1 water spider per press).
- Count distinct role assignments per press per shift or date
- Flag any press assignments missing required roles
Minimum changeover requirements per press: Verify that required changeovers are scheduled (e.g., minimum 3 changeovers per press per week).
- Count changeover events grouped by press and time period
- Flag any press-period combinations below the minimum threshold
Example production planning verification script extension
Extend the base inspection script with these production-specific checks:
# Add to the INPUTS list if you have separate labor/assignment sheets
# Extend MARKER_CANDIDATES for production-specific columns
PRODUCTION_MARKER_CANDIDATES = MARKER_CANDIDATES | {"press", "team_member", "role", "changeover", "date", "week"}
# Production constraint thresholds (adjust per task)
MAX_DAILY_MINUTES_PER_PRESS = 450
MAX_WEEKLY_HOURS_PER_MEMBER = 37.5
REQUIRED_ROLES_PER_PRESS = {"operator", "water_spider"} # or {"Operator", "Water Spider"}
MIN_CHANGEOVERS_PER_PRESS_PER_WEEK = 3
def validate_production_constraints(ws, headers):
"""Return a dict of constraint violations found in the worksheet."""
violations = {
"daily_minutes_exceeded": [],
"weekly_hours_exceeded": [],
"missing_roles": [],
"insufficient_changeovers": [],
}
if not headers:
return violations
normalized_headers = [normalize(h).lower() for h in headers]
# Find column indices
press_idx = next((i for i, h in enumerate(normalized_headers
자주 묻는 질문
스크립트는 무엇을 보고하나요?
통합 문서 경로, 시트 이름, 머리글, 행 수, 예상 출력 파일이 있는지 여부를 보고합니다.
표시된 행이란 무엇인가요?
스킬은 작업 내용에 따라 달라진다고 설명합니다. 예를 들어 특정 열에 값이 있는 행을 가리킬 수 있습니다.
요약보다 스크립트를 믿는 이유는 무엇인가요?
결정적인 스크립트가 실제 파일을 읽기 때문에, 대화형 요약보다 보고서가 더 믿을 만하다고 스킬은 설명합니다.
상세 정보
작성자의 원본 설명
Use a deterministic Python/openpyxl inspection pass to verify workbook structure, counts, marked rows, and output-file existence when delegated spreadsheet summaries seem inconsistent.
repo: HKUDS/AgentPilot
인기도
- GitHub 스타
- 7.8k
- 순위
- #13016
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
agentpilot
7.8k작업을 준비하고 AgentPilot 루프를 실행해 변경을 제안, 테스트, 점수화하면서 프로젝트를 단계적으로 개선하도록 돕습니다.
openspace
7.8k에이전트 스킬을 저장하고 가져오는 도구인 OpenSpace를 설정하고, MCP를 통해 AI 앱에 연결하도록 돕습니다.
rsi-arena
7.8kAIME나 Terminal-Bench 같은 표준 AI 벤치마크 테스트를 설정하고 실행해 서로 다른 개선 방법을 비교하도록 돕습니다.
experiment-guide
7.8k프로그램을 개선하는 방법을 조사하면서 작은 실험을 계획하고, 결과를 읽고, 발견 사항을 기록하도록 돕습니다.
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.