fwmsexcelxlsx-generator

fwmsexcelxlsx-generator is a skill for Claude Code, Codex from totvs/engpro-advpl-tlpp-skills. It costs 216 tokens per session (3,508 once invoked), scanned A, original, MIT.

A generator for AdvPL or TLPP functions that export Protheus data to native Excel .xlsx spreadsheets using the FwMsExcelXlsx framework class. It supports worksheets, tables, columns, rows, formatting, totals, and file or database output.

In plain words
What is it for?
Use it to create Protheus customizations that export reports or other data to Excel workbooks with configured columns, formatting, and totals.
Why use it?
It avoids older spreadsheet formats and helps generated Protheus code follow the repository's required User Function structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create Protheus customizations that export reports or other data to Excel workbooks with configured columns, formatting, and totals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator
Install

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.

Any agent
npx skills add totvs/engpro-advpl-tlpp-skills --skill fwmsexcelxlsx-generator
Clone the repo
git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills

Made for: Claude Code, 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 fwmsexcelxlsx-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator/github.svg)](https://agentmods.dev/skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator)
Your own site
<a href="https://agentmods.dev/skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator"><img src="https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator/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 fwmsexcelxlsx-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator"><img src="https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/fwmsexcelxlsx-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,508 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.00216 $0.03508
Opus 5.5 $0.00086 $0.01403
Sonnet 5.5 $0.00043 $0.00702
Haiku 4.5 $0.00022 $0.00351

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

Security

Grade A, and why

fwmsexcelxlsx-generator 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 19d 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.

skills/advpl-tlpp/fwmsexcelxlsx-generator/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FwMsExcelXlsx Generator

Visão geral

FwMsExcelXlsx é a classe de framework recomendada para gerar planilhas Excel .xlsx nativas no Protheus. Tem a mesma API básica da família FWMsExcel (AddWorkSheet, AddTable, AddColumn, AddRow, Activate, GetXMLFile), mas o arquivo é montado pela printer.exe do AppServer, o que elimina o aviso de "formato e extensão não correspondem" do Excel.

Este repositório é de customização: todo código gerado é User Function (pública) com Static Function para os auxiliares. Function é proibido.

Qual classe usar — regra de decisão

Situação Classe
Qualquer pedido de planilha / exportação / integração com Excel FwMsExcelXlsx (padrão desta skill)
Controle célula a célula: cores, bordas, mesclagem, fórmulas, imagens FwPrinterXlsx (fora do escopo desta skill — avise o usuário)
Usuário pede explicitamente FWMsExcelEx ou "a versão antiga" FWMsExcelEx — legada, ver seção legada

FWMsExcelEx e FWMsExcel são legadas (geram XML Spreadsheet 2003, .xml). Não as use por iniciativa própria. Se o pedido citar FWMsExcelEx (ou grafias como FWMsExcelExv) sem dizer que quer a versão antiga, avise que a classe é legada, proponha FwMsExcelXlsx e só siga com a legada se o usuário confirmar.

Não use esta skill para relatórios impressos (TReport/Smart View) nem para importar planilhas.

Pré-requisitos do ambiente

Requisito Versão mínima Consequência se faltar
Binário (AppServer) 17.3.0.0 Classe indisponível
printer.exe (AppServer; e SmartClient quando usado) 2.1.0 Exceção em tempo de execução: "Versão da printer.exe não suporta a geração de arquivos .xlsx"
SetWriteinDB DBAccess 22.1.1.0 Retorna .F. e continua em memória

Todo fonte gerado deve verificar a printer.exe com PrinterVersion():fromServer() antes de montar a planilha e, se não atender, informar o requisito ao usuário em vez de deixar a exceção estourar.

Read the full file on GitHub · 216 lines

Files

What ships with it

4 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. 19d ago First seen · 216 lines · 216 tokens per session scan A c67c8dff4de9

Subscribe to this mod's changes

fwmsexcelxlsx-generator is a skill published in the GitHub repository totvs/engpro-advpl-tlpp-skills (159 stars, last pushed 2d ago), licensed MIT. It adds 216 tokens to every session and 3,508 once invoked, about $0.0009 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-10-02.

Related

Other skills, from other repositories

program-to-spec

Reverse-engineer an ABAP program into a Functional/Technical Specification artifact (Markdown, HTML, and/or Excel — any combination). Socratic scope narrowing from "everything" to "only what the user needs".

babamba2/superclaude-for-sap · 47 tokens

npoi

Use when reading/writing Excel (.xls/.xlsx) or Word (.doc/.docx) files in .NET without Microsoft Office — data import/export, report generation, template filling. NPOI: .NET port of Apache POI for Office file I/O in server environments.

znlgis/opengis-skills · 60 tokens

devexpress-office-file-api-excel-export

Build .NET applications with the DevExpress Excel Export Library for streaming generation of Excel files with low memory footprint. Use when generating large Excel reports, writing rows sequentially, building Excel files from data grids or report engines, or when the full Spreadsheet Document API would use too much…

DevExpress/agent-skills · 131 tokens

excel-openpyxl-formulas

Editing Excel files with openpyxl to insert formulas while preserving all existing formatting, styles, colors, and structure.

cxcscmu/SkillLearnBench · 30 tokens

easyexcel-write

A Java skill for writing Excel files with Alibaba EasyExcel version 4.0.3.

full-stack-skills/java-skills · 254 tokens

csb

Generate streaming, Excel-friendly CSV downloads in Rails with the csb gem. Use when implementing a CSV export/download, writing a .csv.csb template, building CSV via Csb::Builder, or testing column definitions. Not for parsing CSV.

aki77/csb · 53 tokens