exstruct: Skill for Codex

.agents/skills/exstruct-cli/SKILL.md

exstruct-cli is a skill for Codex from harumiWeb/exstruct. It costs 76 tokens per session (466 once invoked), scanned A, original, BSD-3-Clause.

A command-line tool for safely creating, inspecting, validating, and editing Excel workbooks. Excel workbooks are spreadsheet files that may contain multiple sheets and structured data.

In plain words
What is it for?
Use it to make new workbooks, patch existing ones, check whether files can be read, inspect available operations, and test risky changes before applying them.
Why use it?
It helps avoid unsupported edits, unclear create-versus-edit choices, and risky changes to unfamiliar spreadsheet files.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is harumiWeb/exstruct's own configuration. It tells Codex how to work on exstruct itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything exstruct configures →

Reuse

Borrowing it

Nothing to install: this file belongs to harumiWeb/exstruct. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/harumiWeb/exstruct/main/.agents/skills/exstruct-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/harumiWeb/exstruct

Made for: Codex.

Wrote 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.

agentmods badge for exstruct-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/harumiweb/exstruct/exstruct-cli/github.svg)](https://agentmods.dev/skills/harumiweb/exstruct/exstruct-cli)
Your own site
<a href="https://agentmods.dev/skills/harumiweb/exstruct/exstruct-cli"><img src="https://agentmods.dev/badge/skills/harumiweb/exstruct/exstruct-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for exstruct-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/harumiweb/exstruct/exstruct-cli"><img src="https://agentmods.dev/badge/skills/harumiweb/exstruct/exstruct-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.00466
Opus 5.5 $0.00030 $0.00186
Sonnet 5.5 $0.00015 $0.00093
Haiku 4.5 $0.00008 $0.00047

Measured 2mo ago against content hash e3648e20a128, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

exstruct-cli 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 2mo 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.

.agents/skills/exstruct-cli/SKILL.md · 49 lines

What it actually says

ExStruct CLI

Use the existing editing CLI as the default local operational interface for ExStruct workbook create/edit requests.

Select a command

  • Use exstruct make when the user wants a new workbook created and populated.
  • Use exstruct patch when the user wants an existing workbook edited.
  • Use exstruct validate when workbook readability is uncertain or before a risky edit on an unfamiliar file.
  • Use exstruct ops list when the required operation is still unclear.
  • Use exstruct ops describe <op> when you know the likely op name but need the exact schema or constraints.
  • Hand the workflow off to MCP when the user needs host-owned path policy, transport mapping, artifact mirroring, or other server-managed behavior.

Safety rules

  • Do not invent unsupported patch ops.
  • Do not apply destructive edits immediately when the request is ambiguous.
  • Prefer --dry-run before risky edits.
  • Pin --backend openpyxl when the dry run and the real apply must use the same engine.
  • Explain backend-specific failures directly instead of hiding them behind a generic retry.

Workflow

  1. Decide whether the request is create, edit, or actually an MCP-hosted task.
  2. Identify the needed op or inspect the public op schema.
  3. Validate the workbook when the file, backend, or request is uncertain.
  4. Run --dry-run for risky edits and inspect PatchResult.
  5. Apply the real edit only after the planned change is acceptable.
  6. Verify the result with the lightest step that still matches the user's risk.

References

  • references/command-selection.md
  • references/safe-editing.md
  • references/ops-guidance.md
  • references/verify-workflows.md
  • references/backend-constraints.md
Files

What ships with it

6 files 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.

Changes

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.

  1. 2mo ago First seen · 49 lines · 76 tokens per session scan A e3648e20a128

Subscribe to this mod's changes

exstruct-cli is a skill published in the GitHub repository harumiWeb/exstruct (204 stars, last pushed 26d ago), licensed BSD-3-Clause. It adds 76 tokens to every session and 466 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

tencent-docs

A Tencent Docs assistant for creating, reading, editing, organizing, importing, and exporting online documents, spreadsheets, presentations, diagrams, and forms.

UnicomAI/wanwu · 209 tokens

smart-data-collection

A workflow for extracting structured information from images and documents such as PDFs, Word files, and spreadsheets, then storing it in a database.

UnicomAI/wanwu · 115 tokens

xlsx

Read, create, and convert Microsoft Excel (.xlsx) and CSV spreadsheets — extract sheets and tables to JSON, build workbooks from JSON/CSV, and export to PDF.

zhixuli0406/DuDuClaw · 37 tokens

pdf-table-to-excel

A workflow for turning tables in PDF files into Excel workbooks, with one sheet per table and supporting images and quality notes. It uses MinerU, a tool that extracts content from PDFs, and needs an image-reading model to check the results.

kujiangmudao/tablepack · 132 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

UnicomAI/wanwu · 96 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

UnicomAI/wanwu · 201 tokens