Zum Inhalt springen
Skillpedia
PDF, Word & Folien7.8k · #13006

spreadsheet-proof-gate

Was er macht

Dieser Workflow zwingt den KI-Agenten, einen Excel-Auftrag vor dem Abschluss gegen deine schriftlichen Anforderungen zu prüfen. Er richtet sich an Personen, die einen Nachweis brauchen, dass jedes Blatt, jede Spalte und jede Zählung stimmt.

Wann du ihn nutzt

  • ✓Wenn du exakte Blattnamen, Spalten oder Zählungen in einer Arbeitsmappe brauchst.
  • ✓Wenn du eine bestehende Excel-Datei bearbeitest und sicher sein musst, dass das Ergebnis stimmt.
  • ✓Wenn ein beauftragter Agent Tabellenarbeit erledigt hat und du das Ergebnis prüfen willst.

Link zum Skill

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-audit-edit-validate-merged/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-audit-edit-validate-merged/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Aktualisiere meine Budget-Arbeitsmappe nach dieser Vorgabe und belege mit einer Python-Prüfung, dass jede Anforderung erfüllt ist, bevor du sagst, dass du fertig bist.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent prüft den Pfad der Arbeitsmappe, untersucht ihre Struktur vor der Bearbeitung, nimmt die Änderung vor und führt danach ein openpyxl-Skript auf der gespeicherten Datei aus. Jede Anforderung wird mit bestanden oder nicht bestanden markiert. Die Arbeit gilt erst als fertig, wenn alle Punkte bestanden oder begründet sind.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
  • `
Häufige Fragen

Was ist ein Proof Gate?

Eine abschließende Prüfung, die den Abschluss blockiert, bis jede Anforderung bestanden oder erklärt ist.

Verlässt er sich auf die Zusammenfassung des Agenten?

Nein. Der Skill sagt, niemals nur anhand einer erzählenden Zusammenfassung abzuschließen.

Welche Bibliothek prüft die Datei?

Der Skill verwendet openpyxl in einem direkten Python-Prüfdurchgang.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
7.8k
Platz im Ranking
#13006
Lizenz
MIT
Aktualisiert
1.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills