OpenSpace is a skill-management layer for AI agents that stores, retrieves, evaluates, shares, and improves reusable workflows. It is intended for people using multiple coding agents who want skills to be reused and refined based on task outcomes. The catalogue provides 200 skills for use with OpenSpace and the agents it supports.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add HKUDS/OpenSpace --skill excel-unmerge-before-writegit clone --depth 1 https://github.com/HKUDS/OpenSpaceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hkuds/openspace/excel-unmerge-before-write)<a href="https://agentmods.dev/skills/hkuds/openspace/excel-unmerge-before-write"><img src="https://agentmods.dev/badge/skills/hkuds/openspace/excel-unmerge-before-write.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00777 |
| Opus 5 | $0.00011 | $0.00388 |
| Sonnet 5 | $0.00004 | $0.00155 |
| Haiku 4.5 | $0.00002 | $0.00078 |
Grade A, and why
excel-unmerge-before-write scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Excel Unmerge Before Write
When automating Excel file population with openpyxl, merged cells in templates can cause write failures. This skill provides the pattern to safely handle merged ranges before populating data.
When to Use
- Working with Excel templates that have pre-existing merged cells
- Getting
AttributeErrorwhen trying to write values to certain cells - Needing to populate data in areas that may contain merged ranges
Core Pattern
Before writing values to cells in a worksheet, identify and unmerge any overlapping ranges:
from openpyxl import load_workbook
# Load the workbook
wb = load_workbook('template.xlsx')
ws = wb.active
# Unmerge specific ranges before writing
ws.unmerge_cells('A46:C46')
ws.unmerge_cells('E46:F46')
ws.unmerge_cells('I46:K46')
# Now safely write values
ws['A46'] = 'Value 1'
ws['E46'] = 'Value 2'
ws['I46'] = 'Value 3'
wb.save('output.xlsx')
Step-by-Step Instructions
-
Identify merged ranges in your target worksheet:
print(ws.merged_cells.ranges) -
Unmerge relevant ranges before writing any data to those areas:
for merged_range in ws.merged_cells.ranges: # Optionally filter by area if you only need specific ranges ws.unmerge_cells(str(merged_range)) -
Write your data to the now-unmerged cells:
ws.cell(row=46, column=1, value='Your data') -
Save the workbook:
wb.save('output.xlsx')
Handling Multiple Worksheets
If your workbook has multiple sheets with merged cells:
for sheet_name in wb.sheetnames:
ws = wb[sheet_name]
for merged_range in list(ws.merged_cells.ranges):
ws.unmerge_cells(str(merged_range))
Common Errors
| Error | Cause | Solution |
|---|---|---|
AttributeError on cell write |
Writing to merged cell | Call unmerge_cells() first |
KeyError on range |
Invalid range string | Use exact range format like 'A1:B2' |
| Data overwrites neighbors | Unmerged too broadly | Unmerge only needed ranges |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 110 lines · 22 tokens per session scan A 8463964f1fbf
excel-unmerge-before-write is a skill published in the GitHub repository HKUDS/OpenSpace (7,544 stars, last pushed 26d ago), licensed MIT. It adds 22 tokens to every session and 777 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…
google-drive-sheets
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
excel-basic-statistics-and-routing
An Excel workflow for filtering grouped data, calculating averages, extracting row ranges, removing duplicates, and adding totals.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.