spreadsheet-direct-verification
यह क्या करती है
यह स्किल AI एजेंट को वर्कबुक की असली स्थिति जानने के लिए स्क्रिप्ट से फ़ाइल की जाँच करना सिखाती है। यह उन लोगों के लिए है जिन्हें किसी के कहे पर नहीं, बल्कि फ़ाइल में जो है उस पर भरोसा चाहिए।
कब इस्तेमाल करें
- ✓जब कोई डेलिगेट किया गया एजेंट वर्कबुक के बारे में अलग-अलग संदेशों में विरोधी बातें बताए।
- ✓जब रिपोर्ट में शीट के नाम, पंक्तियों की संख्या या हेडर आपस में मेल न खाएं।
- ✓जब एजेंट कहे कि फ़ाइल सेव हो गई, पर उसने डिस्क पर जाँचा न हो।
Skill का लिंक
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-direct-verification/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“दूसरे एजेंट ने कहा कि उसने मेरी वर्कबुक अपडेट कर दी, पर संख्याएं मेल नहीं खातीं। स्क्रिप्ट से फ़ाइल खुद जाँचिए और बताइए असल में क्या है।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
agentpilot
7.8kआपके एजेंट को AgentPilot से प्रोजेक्ट को चरण-दर-चरण सुधारने में मदद करती है, जिसमें बदलाव सुझाए, परखे और स्कोर किए जाते हैं।
openspace
7.8kआपके एजेंट को OpenSpace सेट करने में मदद करती है, जो एजेंट स्किल्स सहेजता और वापस लाता है, और MCP के ज़रिए आपके AI ऐप से जुड़ता है।
rsi-arena
7.8kआपके एजेंट को AIME और Terminal-Bench जैसे मानक AI बेंचमार्क टेस्ट सेट करने और चलाने में मदद करती है, ताकि सुधार के तरीकों की तुलना हो सके।
experiment-guide
7.8kआपके एजेंट को छोटे प्रयोग बनाने, उनके नतीजे पढ़ने और जाँच के दौरान उपयोगी निष्कर्ष लिखने में मदद करती है।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।