From excel
Excel CLI operations via nong. Trigger on .xlsx, worksheet listing, table reading, grouped extraction, experiment workbook restructuring, workbook creation, cell styling, formula writing, pivot tables, or converting treatment/value columns into grouped JSON for statistics.
How this skill is triggered — by the user, by Claude, or both
Slash command
/excel:excelThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `nong` for deterministic Excel reads, workbook creation, experiment workbook restructuring, and downstream data preparation. Nong.Toolkit.Net routes Excel work through the CLI; do not create ad hoc Excel writer projects or bypass `nong`.
examples/create-simple-workbook.mdexamples/multi-sheet-workbook.mdexamples/read-to-statistics.mdexamples/style-formula-pivot-flow.mdformats/INDEX.mdformats/color-palettes.mdformats/conditional-format-templates.mdformats/finance.jsonformats/mono.jsonformats/number-formats.mdreferences/read-excel.mdreferences/workspace-setup.mdreferences/write-excel.mdscripts/safe-write.ps1scripts/validate-xlsx.ps1Use nong for deterministic Excel reads, workbook creation, experiment workbook restructuring, and downstream data preparation. Nong.Toolkit.Net routes Excel work through the CLI; do not create ad hoc Excel writer projects or bypass nong.
Read ../../.claude/references/nong-cli-preflight.md before the first Nong CLI command in a session. Confirm the nong CLI is installed and that the excel group is available.
Current nong commands --json exposes these 9 implemented Excel commands:
nong excel sheets <file.xlsx> [--json]
nong excel read <file.xlsx> [--sheet <name>] [--range <A1:D20>] [--json]
nong excel to-groups <file.xlsx> --group <col> --value <col> [--sheet <name>] [--raw] [--json]
nong excel create <spec.json> -o <out.xlsx> [--json]
nong excel restructure <spec.json> -o <out.xlsx> [--json]
nong excel dissect <file.xlsx> -o <slice-dir> [--json]
nong excel style <file.xlsx> <spec.json> -o <out.xlsx> [--json]
nong excel formula <file.xlsx> <spec.json> -o <out.xlsx> [--json]
nong excel pivot <file.xlsx> <spec.json> -o <out.xlsx> [--json]
nong excel sheets <file> --json.nong excel read <file> --json; add --sheet and --range when known.nong excel to-groups ... --raw > groups.json.nong excel create spec.json -o out.xlsx --json.nong excel restructure spec.json -o out.xlsx --json.nong excel dissect <file.xlsx> -o <slice-dir> --json, then use the slice skill for block-level reads.nong excel style <file> spec.json -o out.xlsx --json.nong excel formula <file> spec.json -o out.xlsx --json.nong excel pivot <file> spec.json -o out.xlsx --json.nong chart analyze, anova, duncan, or bar.nong commands --json exposes.excel create supports simple sheets with headers and rows:
{
"sheets": [
{
"name": "Data",
"headers": ["Treatment", "Yield"],
"rows": [
["A", 1.2],
["A", 1.3],
["B", 2.1]
]
}
]
}
Sheet names are required and must be 31 characters or fewer. headers and rows are required for each sheet.
excel restructure is for experiment workbooks that need a normalized data sheet plus descriptive statistics output. A minimal shape is:
{
"treatmentMap": { "ck": "CK", "n": "N" },
"treatmentOrder": ["CK", "N"],
"metrics": [
{ "key": "plantHeight", "title": "鏍珮(cm)", "decimals": 2 }
],
"blocks": [
{
"headerRow": 1,
"metricRows": { "plantHeight": 2 }
}
],
"weeklySources": [
{ "file": "week1.xlsx", "week": 1 }
],
"legacySources": [
{
"file": "week0.xlsx",
"week": 0,
"treatment": "CK",
"replicateColumn": "A",
"metricColumns": { "plantHeight": "D" }
}
],
"output": {
"allDataSheet": "鍏ㄩ儴鏁版嵁",
"statsSheet": "缁熻鍒嗘瀽",
"summarySheet": "缁熻鍒嗘瀽 (2)"
}
}
Use weeklySources when the workbook repeats treatment blocks by week. Use legacySources for older flat tables where treatment, replicate, and metric columns must be mapped explicitly.
chart commands expect:
{
"Control": [1.2, 1.3, 1.1],
"Treatment": [2.0, 2.2, 2.1]
}
Use --raw for pipeline files. Use --json for model-readable reports.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub angri450/nong.toolkit.net --plugin excel