Agent skill

Brand XLSX

by ferdinandobons in ferdinandobons/brand-docs

Brand-aware Excel engine. An agent skill from ferdinandobons/brand-docs.

MITAuto-check passedDocuments & Office

Install Brand XLSX

skills CLI
$ npx skills add ferdinandobons/brand-docs --skill brand-xlsx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ferdinandobons/brand-docs brand-xlsx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ferdinandobons/brand-docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/brand-xlsx .claude/skills/brand-xlsx && rm -rf skills-src

Use ~/.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/

Facts

Skill name
brand-xlsx
GitHub stars
272
Token cost
~3.3k tokens
SKILL.md length
1,664 words
Files
4 (incl. scripts)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Brand-aware Excel engine. An agent skill from ferdinandobons/brand-docs.

  • Works in 8 steps: Run the dependency preflight above and… → Determine the brand name and locate the… → If no matching brand-kit/ exists,… → …
  • EXTRACT a companys brand from a .xlsx template into a reusable Brand Profile
  • SKILL.md covers The seven verbs: three…, Hard Rules, Preflight (always first) and Agent Workflow, plus 8 more sections
  • Runs Python scripts from its folder; calls python

What it does

Brand XLSX is an agent skill from ferdinandobons/brand-docs. Brand-aware Excel engine. Use to (1) EXTRACT a company's brand from a .xlsx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .xlsx from a GridDocument fill manifest. Trigger on "extract our brand", "use our workbook template", "generate a branded workbook from our profile", or when a ./brand-kit exists. For one-off spreadsheet edits with no saved brand profile, use the normal xlsx skill instead. NOT for .docx (brand-docx)…

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `reference/comprehension.md`, `reference/visual-audit.md` and `scripts/cli.py`).

It sits in Documents & Office, covering Excel spreadsheets and PowerPoint presentations. It works with Microsoft Excel, Microsoft PowerPoint, Microsoft Word and openpyxl. The repository describes itself as: BrandDocs is a set of agent skills that learn your existing Word, PowerPoint and Excel templates and generate new on-brand documents from them. Unlike generic AI document… The licence is MIT.

When your agent uses it

  • EXTRACT a companys brand from a .xlsx template into a reusable Brand Profile
  • COMPREHEND the template with the model (optional)
  • GENERATE a new on-brand .xlsx from a GridDocument fill manifest
  • Extract our brand

Example prompts

  • “s brand from a .xlsx template into a reusable”
  • “extract our brand”
  • “use our workbook template”
  • “/brand-xlsx”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Run the dependency preflight above and report any degraded capability.
  2. Determine the brand name and locate the user-provided .xlsx template.
  3. If no matching brand-kit/ exists, extract one.
  4. Comprehend the template (optional, model-driven; see below). Skip when a
  5. Convert the user's tabular/model data into GridDocument JSON.
  6. Generate the .xlsx with the internal engine.
  7. Run QA and report any warnings honestly.
  8. Feedback (only after returning the file): invite a refinement of the

What it can do on your machine

Read from SKILL.md and the folder at commit 97a6e38. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Brand XLSX loads about 3.3k tokens when it runs. Until then it costs about 139 tokens; SKILL.md has 1,664 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~139
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

The full file from ferdinandobons/brand-docs at commit 97a6e38, republished under its MIT licence (© ferdinandobons). 1,664 words, ~3,339 tokens.

Download SKILL.mdSave it as .claude/skills/brand-xlsx/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
brand-xlsx
description
Brand-aware Excel engine. Use to (1) EXTRACT a company's brand from a .xlsx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .xlsx from a GridDocument fill manifest. Trigger on "extract our brand", "use our workbook template", "generate a branded workbook from our profile", or when a ./brand-kit exists. For one-off spreadsheet edits with no saved brand profile, use the normal xlsx skill instead. NOT for .docx (brand-docx), .pptx (brand-pptx), or PDFs.

brand-xlsx

Use this skill when the user wants reusable branded Excel/workbook generation from a company .xlsx template and variable user-provided data.

This is an AI-agent skill for Codex and Claude Code. The user should describe the workbook/model they want filled; the agent maps that request to named cells and named regions, invokes the internal Python engine, verifies the output, and returns the generated .xlsx.

The seven verbs: three deterministic + four model-assisted

Every brand skill (brand-docx, brand-pptx, brand-xlsx) implements the same contract. The deterministic core is extract / verify / generate; on top of it sit the optional learning verbs comprehend / learn / propose-overrides / refine, each fail-closed (the engine validates every proposal and authors every value).

VerbInputOutput
extracta company .xlsx templatea reusable Brand Profile
comprehend (optional, model-driven)a saved profile + a model-authored comprehension.jsonthe profile with a validated, cached comprehension block
verifya saved Brand ProfileQA findings + a verdict
generatedata (a GridDocument) + a profilea new on-brand .xlsx
learn (deterministic distillation)the profile's cross-run generation historyrecurring QA findings distilled into shell-frozen overrides, advisory until --accept
propose-overrides (model-driven)the recurring remainder learn could not bind + a model-authored proposalshell-backed corrections through the same fail-closed sink, advisory until --accept
refineend-of-generation user feedback (text or a screenshot) as a refinement.json deltathe existing comprehension overlaid for FUTURE generations, advisory until --accept

comprehend is optional: generate works on the deterministic profile alone. See reference/comprehension.md for the full step.

Hard Rules

  • Treat python scripts/cli.py ... as an internal engine command, not the user-facing workflow.
  • scripts/cli.py is a LAUNCHER that locates the engine root by itself: it works from this skill folder AND from the repo/plugin root (set BRAND_DOCS_ROOT to override). Never guess deeper paths like scripts/brandkit/....
  • Run the dependency preflight before starting extract / comprehend / verify / generate, and report missing or unusable dependencies before proceeding.
  • Extract opens the source template read-only and saves brand-kit/<name>/template/shell.xlsx byte-for-byte.
  • Generate opens the saved shell and resolves every named cell/region through profile.json.
  • Do not put style names, colors, fonts, or brand identifiers in a GridDocument.
  • If the user did not provide a template or enough data, ask for the missing input.
  • Return the generated file path plus a QA summary.
  • Consult profile.json.artifact_catalog before generation when the user asks to mimic a specific piece of the template.

Preflight (always first)

Before doing any work, run:

bash
python scripts/cli.py doctor

Use its output to decide the run mode:

  • If a required Python dependency is missing, install/repair it before extraction or generation; the core engine is not ready.
  • If only visual renderers are missing or unusable (soffice plus pdftoppm or optional PyMuPDF/fitz), the core L0 workflow can still run, but a full visual audit cannot be claimed. Tell the user what is missing, include the install/repair hint printed by doctor, and either proceed with degraded QA or install the renderer first.
  • If optional OCR (tesseract) is missing, the visual audit can still run, but rendered residual-text proof is incomplete. Report that limitation when judging stale placeholders or field caches.
  • For --qa deep or --qa strict, prefer repairing/installing renderers before generation. If the environment cannot run them, deep generates a degraded manifest and strict fails with a visual proof blocker.

Agent Workflow

  1. Run the dependency preflight above and report any degraded capability.
  2. Determine the brand name and locate the user-provided .xlsx template.
  3. If no matching brand-kit/<name> exists, extract one.
  4. Comprehend the template (optional, model-driven; see below). Skip when a current comprehension is already cached or no model is available.
  5. Convert the user's tabular/model data into GridDocument JSON.
  6. Generate the .xlsx with the internal engine.
  7. Run QA and report any warnings honestly.
  8. Feedback (only after returning the file): invite a refinement of the understanding for future workbooks (see below).

Before generation, inspect profile.json.artifact_catalog when the user asks to mimic a specific workbook piece. It records OOXML parts, named ranges, formulas, sheet dimensions, table names, merged cells, row/column sizing, cell styles, and number formats.

Authoring the GridDocument

The Grid is where "correct workbook" becomes "great workbook". Author it region-first, against the profile, never cell-address-first:

  1. Read brand-kit/<name>/PROFILE.md before writing a fill. It lists the named-region roles, the brand cell styles, and the palette tokens. Address content to NAMED regions from that table; the engine fills the template's real ranges.
  2. Respect region bounds. Size data to the region; when real data overflows, split it or ask the user to grow the template range instead of spilling into unnamed cells.
  3. Formulas are content, not output. Never paste a computed value where the template keeps a formula: the engine preserves formulas, and QA fails the build if one is lost.
  4. Numbers carry the brand too. Use the captured number.<family> roles (currency, percent, date, ...) for masks; never invent a format string.
  5. Color discipline. Brand cell styles already carry the look: the default is NO direct color. For true emphasis, reference a palette role or a theme slot, never a hex.
  6. Never name a style, font, or hex. If a fill needs something the role table cannot express, say so in the QA summary instead of inventing formatting: the resolver is the only author of values.

Feedback (end of generation)

Ask for feedback only after you have returned the generated .xlsx and its QA summary - never before or during generation. Invite the user to reply with text or a screenshot of the workbook, and name the roles, palette colors, and sections you actually used so the answer is concrete. A screenshot is your own multimodal read; the engine only ever ingests the structured JSON delta you distil from it.

Turn the answer into a small refinement delta of verbatim ids and merge it with the refine verb (see reference/comprehension.md):

bash
python scripts/cli.py refine --name <brand> --input refinement.json --accept

A refinement improves FUTURE generations of this brand only - it mutates the saved profile, never the .xlsx you just produced. To apply it, generate again.

When the SAME QA finding recurs across runs, you can also propose a shell-bound correction with propose-overrides: the comprehend-input bundle surfaces the recurring generation_history, and you NAME a shell-backed re-point (a stub role to an existing healthy role, a number_format mask the shell uses, or a captured demo value) that the engine binds fail-closed (see reference/comprehension.md). It is advisory until --accept, improves FUTURE generations only, and every live correction surfaces as an INFO override_applied finding in QA.

Show full SKILL.md (613 more words)Show less

Internal Extract

bash
python scripts/cli.py extract --name <brand> --template <template.xlsx> --scope project

Internal Comprehend (optional, model-driven)

Read reference/comprehension.md for the full guidance, the six questions, and the anti-overfitting directive. In short:

bash
python scripts/cli.py comprehend-input --name <brand>   # prints {facts, excerpt} for the model
python scripts/cli.py comprehend --name <brand> --input comprehension.json  # the ONLY writer

Skip this verb when comprehension.status is present and its source_shell_sha256 equals the live provenance.shell.sha256. Never re-run it at generate time.

xlsx readiness. The Excel extractor surfaces named-region cover anchors and sample-data regions, while fields is intentionally empty because workbooks do not have a TOC-style derived index. A current comprehension can therefore steer cover fills/clears and demo-region cleanup, but it must not invent an index ref; a ref into the empty field inventory is fail-closed and will be rejected.

Internal Verify

bash
python scripts/cli.py verify --name <brand> --scope auto --qa auto

--qa selects the QA depth (see reference/visual-audit.md):

  • fast: deterministic L0 only.
  • auto: L0 + L1 visual pixel proxies when renderers (soffice plus pdftoppm or optional PyMuPDF/fitz) are present; otherwise L0 plus a single INFO visual.unavailable.
  • deep: L0 + L1 + a visual_manifest.json and per-page PNGs; if tesseract is installed the manifest also includes OCR text/hits. The orchestrator must then run the L2 step (see below).
  • strict: deep visual audit plus gate errors when full render proof is unavailable or L1/OCR evidence is not clean.

Verify has no output to render, so all modes behave as L0 at verify time; the visual stages run at generate time.

Internal Generate

bash
python scripts/cli.py generate --name <brand> --input <grid-document.json> --output <output.xlsx> --scope auto --qa auto

See reference/comprehension.md and reference/visual-audit.md.

Visual audit (two-stage)

The engine renders the output and runs deterministic pixel proxies, but the qualitative visual judgement is yours (the orchestrator), never the engine's - the Python engine never calls a model. To run the full two-stage audit:

  1. Generate with --qa deep. The engine renders each printed page to a PNG, runs the L1 proxies, and writes visual_manifest.json next to the output in an <output-file>.visual/ dir, such as workbook.xlsx.visual/ (a side artifact; the .xlsx bytes never change).
  2. Read the manifest path from stdout (visual manifest: <path>).
  3. Open the PNGs listed in pages[*].png. For every entry in checklist, judge PASS/FAIL against the rendered pages, taking l1_findings and ocr.hits into account.
  4. If any checklist item FAILS (or an L1 WARNING is confirmed visually as a real defect, or a visual.ocr_residual_text hit is confirmed as stale visible template text): repair the grid/content or the generated composition, regenerate, then re-run the audit. Loop until the checklist is clean, or until no further targeted repair can be justified without user input.

L1 findings are WARNING-only and never fail the gate by themselves; the real qualitative gate is your L2 judgement.

During repair, treat the template as a source of reusable workbook affordances, not a rule to preserve blindly. If inherited print areas, hidden rows/columns, frozen regions, named-region geometry, or other template structures create blank printed pages, overflow, clipped tables, or stale visible content, diagnose the structure as the cause and make the smallest targeted composition change. It is acceptable to adjust or collapse inherited scaffolding when preserving it damages the final workbook. After every repair, regenerate and rerun --qa deep or --qa strict.

Current Guarantees and Limits

M2 fills named cells and named regions while preserving formulas and workbook topology in the shell. Region fills that exceed the named range are refused before saving. When a current comprehension block is present, generation can clear corroborated cover/demo regions while preserving formulas; derived indexes remain out of scope for XLSX because the field inventory is intentionally empty.

The two-stage visual audit closes the "L0-only" gap: L1 deterministic pixel proxies catch rendered-layout defects L0 cannot see (blank/broken printed pages, content bleeding past the printable margins), and the L2 manifest drives the orchestrator's qualitative judgement and repair loop. See reference/visual-audit.md. When soffice and both PDF rasterizers (pdftoppm, optional PyMuPDF/fitz) are absent (e.g. CI), the audit degrades cleanly to L0 plus a single INFO visual.unavailable; exit codes are unchanged.

© ferdinandobons, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/brand-xlsx of ferdinandobons/brand-docs.

  • SKILL.md
  • reference/comprehension.md
  • reference/visual-audit.md
  • scripts/cli.py

Open the folder on GitHubat commit 97a6e38

Compare with similar skills

Brand XLSX 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.

Brand XLSX compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Brand XLSX this skillferdinandobons/brand-docs272—~3.3kAutomated safety check: PassMIT
Office RemediatorCommunity-Access/accessibility-agents423—~1kAutomated safety check: PassMIT
Office ArtifactsPrismer-AI/PrismerCloud1.6k—~2.6kAutomated safety check: PassMIT
Kb Office RemediationCommunity-Access/accessibility-agents423—~2kAutomated safety check: PassMIT
Office File Processxstongxue/best-skills3k—~1.8kAutomated safety check: PassProprietary
Documentszhongkaifu/TensorSharp568—~4.2kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Office Remediator

    Community-Access/accessibility-agents

    Fix .docx, .xlsx and .pptx programmatically via python-docx and friends.

    423 GitHub stars~1k tokensUpdated 17 days ago
    Documents & OfficeAuto-check passed
  • Office Artifacts

    Prismer-AI/PrismerCloud

    Generate real DOCX, PPTX, XLSX, PDF, CSV files using python-docx / python-pptx / openpyxl / reportlab by writing them into the dispatch artifacts dir, then explicitly deliver each one with cloud…

    1.6k GitHub stars~2.6k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Kb Office Remediation

    Community-Access/accessibility-agents

    Reference data, not a reviewer. An agent skill from Community-Access/accessibility-agents.

    423 GitHub stars~2k tokensUpdated 17 days ago
    Documents & OfficeAuto-check passed
  • Office File Process

    xstongxue/best-skills

    处理 Office 文档的一站式 skill:Word(.doc/.docx/.dotx)、Excel(.xls/.xlsx/.xlsm/.csv)、PowerPoint(.ppt/.pptx/.potx) 的创建、读取、编辑、提取、转换、校验。触发:『读取 word 文档』『提取 excel 内容』『看 ppt 讲了什么』、.doc 老格式打不开、生成/编辑 Word…

    3k GitHub stars~1.8k tokensUpdated 28 days ago
    Documents & OfficeAuto-check passed
  • Documents

    zhongkaifu/TensorSharp

    Read and write real documents on the device - PDF, XLSX, DOCX, PPTX and CSV.

    568 GitHub stars~4.2k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Markdown Exporter

    bowenliang123/markdown-exporter

    Convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, SVG, HTML, IPYNB, MD, CSV, JSON, JSONL, XML files, and extract code blocks in Markdown to Python, Bash,JS and etc files.

    272 GitHub starsUsed in 1 repo~5.3k tokens
    Documents & OfficeAuto-check passed

More from ferdinandobons/brand-docs

  • Brand DOCX

    ferdinandobons/brand-docs

    Brand-aware Word engine. An agent skill from ferdinandobons/brand-docs.

    272 GitHub stars~3.8k tokensUpdated 3 mo ago
    Auto-check passed
  • Brand PPTX

    ferdinandobons/brand-docs

    Brand-aware PowerPoint engine. An agent skill from ferdinandobons/brand-docs.

    272 GitHub stars~3.5k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Brand XLSX

What does Brand XLSX do?

Brand-aware Excel engine. An agent skill from ferdinandobons/brand-docs. Brand XLSX is an agent skill from ferdinandobons/brand-docs. Brand-aware Excel engine.

When should I use Brand XLSX?

Brand XLSX fits situations like: EXTRACT a companys brand from a .xlsx template into a reusable Brand Profile; COMPREHEND the template with the model (optional); GENERATE a new on-brand .xlsx from a GridDocument fill manifest; extract our brand.

How do I install Brand XLSX in Claude Code?

Run `npx skills add ferdinandobons/brand-docs --skill brand-xlsx -a claude-code`. Or copy the skill folder (skills/brand-xlsx in ferdinandobons/brand-docs) into .claude/skills/brand-xlsx in your project. Claude Code loads it when a task matches its description.

How do I install Brand XLSX in Codex?

Run `npx skills add ferdinandobons/brand-docs --skill brand-xlsx -a codex`. Or copy the skill folder (skills/brand-xlsx in ferdinandobons/brand-docs) into .agents/skills/brand-xlsx in your project. Codex loads it when a task matches its description.

Can I use Brand XLSX in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ferdinandobons/brand-docs --skill brand-xlsx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brand-xlsx, .gemini/skills/brand-xlsx, .github/skills/brand-xlsx and .opencode/skills/brand-xlsx in your project.

What does Brand XLSX need to run?

Going by SKILL.md and its folder, Brand XLSX needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Brand XLSX access the network?

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.

Is Brand XLSX safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Brand XLSX use?

Brand XLSX is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Brand XLSX use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Brand XLSX?

Skills that share tags, products or a category with Brand XLSX: Office Remediator (Community-Access/accessibility-agents, 423 stars), Office Artifacts (Prismer-AI/PrismerCloud, 1.6k stars), Kb Office Remediation (Community-Access/accessibility-agents, 423 stars) and Office File Process (xstongxue/best-skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Brand XLSX?

ferdinandobons (a GitHub user) maintains it in ferdinandobons/brand-docs, which has 272 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on July 10, 2026.

Source: ferdinandobons/brand-docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.