Markitdown
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Audit generated Excel reports by enumerating populated output rows, exposing formulas, and checking that each subtotal range includes all visible detail rows.
$ npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/OpenSpace excel-subtotal-audit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/benchmarks/gdpval/skills/excel-subtotal-audit .claude/skills/excel-subtotal-audit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "excel-subtotal-audit" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-audit into .claude/skills/excel-subtotal-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excel-subtotal-audit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-auditType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/OpenSpace excel-subtotal-audit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .agents/skills && cp -r skills-src/benchmarks/gdpval/skills/excel-subtotal-audit .agents/skills/excel-subtotal-audit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "excel-subtotal-audit" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-audit into .agents/skills/excel-subtotal-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excel-subtotal-audit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/OpenSpace excel-subtotal-audit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/benchmarks/gdpval/skills/excel-subtotal-audit .cursor/skills/excel-subtotal-audit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "excel-subtotal-audit" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-audit into .cursor/skills/excel-subtotal-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excel-subtotal-audit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/OpenSpace.git --path benchmarks/gdpval/skills/excel-subtotal-audit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/OpenSpace excel-subtotal-audit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/benchmarks/gdpval/skills/excel-subtotal-audit .gemini/skills/excel-subtotal-audit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "excel-subtotal-audit" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-audit into .gemini/skills/excel-subtotal-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excel-subtotal-audit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/OpenSpace excel-subtotal-auditInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .github/skills && cp -r skills-src/benchmarks/gdpval/skills/excel-subtotal-audit .github/skills/excel-subtotal-audit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "excel-subtotal-audit" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-audit into .github/skills/excel-subtotal-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excel-subtotal-audit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/OpenSpace excel-subtotal-audit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/OpenSpace.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/benchmarks/gdpval/skills/excel-subtotal-audit .opencode/skills/excel-subtotal-audit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "excel-subtotal-audit" agent skill from https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/excel-subtotal-audit into .opencode/skills/excel-subtotal-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excel-subtotal-audit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
excel-subtotal-auditAudit generated Excel reports by enumerating populated output rows, exposing formulas, and checking that each subtotal range includes all visible detail rows.
Excel Subtotal Audit is an agent skill from HKUDS/OpenSpace. Audit generated Excel reports by enumerating populated output rows, exposing formulas, and checking that each subtotal range includes all visible detail rows.
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.
It sits in Documents & Office, covering Excel spreadsheets. It works with Microsoft Excel. The repository describes itself as: "OpenSpace: The Skill Management Layer for AI Agents" -- https://open-space.cloud/. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3827781. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Excel Subtotal Audit loads about 3.5k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 1,751 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HKUDS/OpenSpace at commit 3827781, republished under its MIT licence (© HKUDS). 1,751 words, ~3,467 tokens.
.claude/skills/excel-subtotal-audit/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this workflow after generating or modifying an Excel report to catch silent spreadsheet defects that simple file-exists or sheet-exists checks will miss.
The core idea is:
This is especially useful for generated financial statements, operational summaries, rollups, grouped exports, and any worksheet where formulas summarize nearby detail rows.
Use this skill when:
Do not stop at "the report was written successfully."
Instead, prove that:
Always audit the workbook after writing it, using a fresh read from disk if possible. This verifies the actual persisted artifact rather than in-memory assumptions.
Checklist:
Why: a writer may have inserted the wrong range, overwritten cells, or shifted rows during formatting.
Print a row-by-row audit log of all populated rows in the report area.
For each row, print:
This creates a human- and machine-inspectable trace of what the generator actually produced.
A useful printed line looks like:
The exact format does not matter as much as consistency and inclusion of formulas.
A row is populated if at least one relevant output cell contains:
Prefer auditing a defined report column range rather than the entire sheet.
Identify rows that represent subtotals, totals, or section summaries.
Common signals:
For each subtotal row, capture:
Do not assume the formula is correct just because a subtotal row exists.
This is the key step.
For each section, determine which visible detail rows should contribute to the subtotal without using the subtotal formula itself as the source of truth.
Possible ways to derive the expected rows:
The important rule:
The expected detail set must be computed independently from the formula being checked.
Otherwise, the audit only repeats the original mistake.
If the report hides rows, collapses groups, or applies filters, inspect whether the subtotal is supposed to summarize:
This skill specifically targets the case where you want to ensure the subtotal includes all visible detail rows in the section.
If your report semantics differ, state them explicitly and audit against those rules.
Parse each subtotal formula and compare its referenced range against the independently derived detail rows.
Look for defects such as:
A generated subtotal like:
=SUM(B8:B11)
may look valid, but if the section's visible detail rows are actually 8 through 12, row 12 has been silently omitted.
This is exactly the kind of defect this audit should catch.
If the independently derived detail rows and formula-covered rows do not match, treat it as a generation failure.
Report:
Example failure message:
Subtotal audit failed on sheet "P&L", row 24 ("Total Operating Expenses"): formula =SUM(C18:C22) but visible detail rows are 18-23; missing row 23.
Do not soften these findings into warnings if correctness matters.
Preserve the printed populated-row trace and subtotal comparison results in logs or artifacts.
This helps with:
For the target columns, collect for each row:
If classification is ambiguous, use explicit report rules rather than guessing.
Even with automated checks, print the full row trace so a reviewer can spot:
You can implement this in any language with an Excel reader. The audit logic matters more than the library.
Useful capabilities:
If formulas are complex, start by auditing common subtotal patterns first, such as:
Then extend as needed.
Pseudocode:
function audit_sheet(sheet): rows = collect_rows(sheet) print_populated_rows(rows)
subtotals = [r for r in rows if r.type == "subtotal"]
for subtotal in subtotals: expected_rows = derive_visible_detail_rows(rows, subtotal.section) actual_rows = rows_referenced_by_formula(subtotal.formula, subtotal.value_column)
if expected_rows != actual_rows:
raise Error(
"Subtotal mismatch at row "
+ subtotal.row_number
+ ": expected "
+ repr(expected_rows)
+ " but formula covers "
+ repr(actual_rows)
)This example is intentionally generic and should be adapted to your workbook structure.
from openpyxl import load_workbook import re
def is_populated(cells): for cell in cells: if cell.value not in (None, ""): return True return False
def formula_text(cell): return cell.value if isinstance(cell.value, str) and cell.value.startswith("=") else None
def parse_simple_sum_rows(formula, target_col_letter): if not formula: return [] m = re.fullmatch(rf"=SUM({target_col_letter}(\d+):{target_col_letter}(\d+))", formula.replace("$", "")) if not m: return None start, end = map(int, m.groups()) return list(range(start, end + 1))
def audit_sheet(path, sheet_name, start_row, end_row, cols, label_col_idx, value_col_letter): wb = load_workbook(path, data_only=False) ws = wb[sheet_name]
inventory = []
for r in range(start_row, end_row + 1):
cells = [ws[f"{col}{r}"] for col in cols]
if not is_populated(cells):
continue
hidden = ws.row_dimensions[r].hidden is True
values = [c.value for c in cells]
formulas = [formula_text(c) for c in cells]
print(f"Row {r} hidden={hidden} values={values} formulas={formulas}")
label = ws[f"{cols[label_col_idx]}{r}"].value
value_formula = formula_text(ws[f"{value_col_letter}{r}"])
row_type = "detail"
label_text = str(label).strip().lower() if label is not None else ""
if "total" in label_text or "subtotal" in label_text:
row_type = "subtotal"
inventory.append({
"row": r,
"hidden": hidden,
"label": label,
"row_type": row_type,
"value_formula": value_formula,
})
current_section = []
for i, row in enumerate(inventory):
if row["row_type"] != "subtotal":
current_section.append(row)
continue
expected_rows = [x["row"] for x in current_section if x["row_type"] == "detail" and not x["hidden"]]
actual_rows = parse_simple_sum_rows(row["value_formula"], value_col_letter)
if actual_rows is None:
raise ValueError(f"Unsupported formula at row {row['row']}: {row['value_formula']}")
if expected_rows != actual_rows:
raise AssertionError(
f"Subtotal mismatch at row {row['row']} label={row['label']!r}: "
f"expected visible detail rows {expected_rows}, formula covers {actual_rows}"
)
current_section = []This sketch is deliberately simple. In real use, strengthen row classification and section detection.
A formula can be syntactically valid and still semantically wrong.
A subtotal value might look plausible even when the range is wrong.
Checking "there is a total row" is insufficient.
The audit should derive expected detail membership from report structure or source mapping, not from the formula under test.
Manual workbook opening can miss subtle omissions.
Run it immediately after writing the workbook so defects are caught before delivery.
A generated report passes this skill only if:
Adjust the workflow for:
Even when full formula parsing is hard, the row-by-row printed audit remains valuable and should still be kept.
The audit is complete when you can answer, for every subtotal row:
If not, the report is not verified.
© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in benchmarks/gdpval/skills/excel-subtotal-audit of HKUDS/OpenSpace.
Open the folder on GitHubat commit 3827781
Excel Subtotal Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Excel Subtotal Audit this skillHKUDS/OpenSpace | 7.8k | — | ~3.5k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 782 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Data Table Managern8n-io/n8n | 207k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Docx4jplutext/docx4j | 2.4k | — | ~2.5k | Automated safety check: Pass | None | |
| Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences | 274 | 2 repos | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Cyber Pptcrazyykhllc-bit/CyberPPT | 1.8k | — | ~10k | Automated safety check: Pass | MIT |
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
n8n-io/n8n
Load before calling data-tables or parse-file. An agent skill from n8n-io/n8n.
plutext/docx4j
A skill your agent uses when writing Java code that creates, reads or edits Word (.docx), PowerPoint (.pptx) or Excel (.xlsx) files with docx4j — including generating documents, editing existing…
aws-samples/amazon-bedrock-agents-healthcare-lifesciences
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.
crazyykhllc-bit/CyberPPT
当用户需要把 DOCX、PDF、TXT、XLSX、研究报告、业务材料或原始数据转成高密度、可编辑、咨询风格 PPTX 时使用;也适用于需要 SCR 论证、视觉风格探索、详细图表和渲染质检的 PPT。
AgriciDaniel/jev-seo
Full live SEO audit of any website from its homepage URL, powered by Jev (TypeSafe's System One model).
HKUDS/OpenSpace
Walks through producing a master audio track plus stems in Python, from checking a reference file and timing sections by BPM to effects, a zip archive and final verification.
HKUDS/OpenSpace
Handle cascading data retrieval tool failures by falling back to embedded knowledge generation
HKUDS/OpenSpace
Gives an agent a workaround when its code-execution sandbox keeps failing: save the Python script to a file and run it through the shell instead.
HKUDS/OpenSpace
A recovery routine for agents whose sandboxed code runner keeps failing: save the Python script to disk, then run it through the shell and read the output.
HKUDS/OpenSpace
Fallback ladder for failed sandboxed code runs, plus the habit of fixing the working directory first so generated files land in the right place.
HKUDS/OpenSpace
Fallback workflow for executing Python code when executecodesandbox fails repeatedly
Works with
Categories
Audit generated Excel reports by enumerating populated output rows, exposing formulas, and checking that each subtotal range includes all visible detail rows. Excel Subtotal Audit is an agent skill from HKUDS/OpenSpace. Audit generated Excel reports by enumerating populated output rows, exposing formulas, and checking that each subtotal range includes all visible detail rows.
Excel Subtotal Audit fits situations like: tasks that involve Excel spreadsheets.
Run `npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a claude-code`. Or copy the skill folder (benchmarks/gdpval/skills/excel-subtotal-audit in HKUDS/OpenSpace) into .claude/skills/excel-subtotal-audit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a codex`. Or copy the skill folder (benchmarks/gdpval/skills/excel-subtotal-audit in HKUDS/OpenSpace) into .agents/skills/excel-subtotal-audit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/OpenSpace --skill excel-subtotal-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/excel-subtotal-audit, .gemini/skills/excel-subtotal-audit, .github/skills/excel-subtotal-audit and .opencode/skills/excel-subtotal-audit in your project.
SKILL.md names no scripts, command-line tools or credentials: Excel Subtotal Audit is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Excel Subtotal Audit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Excel Subtotal Audit: Markitdown (ImCa0/just-laws, 782 stars), Data Table Manager (n8n-io/n8n, 207k stars), Docx4j (plutext/docx4j, 2.4k stars) and Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HKUDS (a GitHub organization) maintains it in HKUDS/OpenSpace, which has 7,750 GitHub stars. The repository holds 199 skills in this directory. The repository was last updated on August 12, 2026.
Source: HKUDS/OpenSpace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.