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 totvs/engpro-advpl-tlpp-skills --skill utf8-to-cp1252-conversiongit clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skillsWrote 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/totvs/engpro-advpl-tlpp-skills/utf8-to-cp1252-conversion)<a href="https://agentmods.dev/skills/totvs/engpro-advpl-tlpp-skills/utf8-to-cp1252-conversion"><img src="https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/utf8-to-cp1252-conversion/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.
<a href="https://agentmods.dev/skills/totvs/engpro-advpl-tlpp-skills/utf8-to-cp1252-conversion"><img src="https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/utf8-to-cp1252-conversion.svg" alt="Reviewed on agentmods" width="80" 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.00129 | $0.02722 |
| Opus 5.5 | $0.00052 | $0.01089 |
| Sonnet 5.5 | $0.00026 | $0.00544 |
| Haiku 4.5 | $0.00013 | $0.00272 |
Grade A, and why
utf8-to-cp1252-conversion 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 1mo 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 — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UTF-8 to CP1252 Encoding Conversion
CRITICAL — Agent Execution Rules
These rules are MANDATORY. Any violation causes compilation failures and file corruption.
- ALWAYS use the provided scripts — NEVER attempt manual encoding conversion (e.g., Python, Node.js, or copying content to a new file).
- Conversion is IN-PLACE — The script replaces the original file. The filename and extension do NOT change. A
.tlppfile stays.tlpp, a.prwstays.prw. - NEVER create files with
.cp1252extension — There is no such convention. Files keep their original extension (.prw,.prg,.tlpp,.prx,.ch,.th). - NEVER create backup copies or duplicate files — No
.bak,.orig,.utf8,.old, or any other copy. Only the converted file must exist. - NEVER rename files during conversion — The filename must remain exactly the same before and after conversion.
- VERIFY after conversion — Run
file --mime-encoding <file>(Linux/macOS) to confirm the result isiso-8859-1orunknown-8bit, NOTutf-8. - ONE final state — After this skill runs, only the original file (now CP1252-encoded) must exist. Zero temporary files, zero copies, zero artifacts.
Overview
Convert AdvPL and TLPP source files from UTF-8 encoding to Windows-1252 (CP1252). The Protheus compiler (AdvPL, AdvPL ASP, 4GL, and 4GLP) only supports files encoded in CP1252 (Windows code page 1252). AI agents and modern editors create files in UTF-8 by default, which causes compilation errors and corrupted characters (mojibake) when compiled by TDS/AppServer.
This skill provides two native scripts (zero external dependencies) that safely convert file encoding with BOM detection and batch processing support:
- Bash +
iconv→ Linux and macOS (both pre-installed) - PowerShell + .NET Encoding → Windows (both pre-installed)
Source: TDN Documentation — "Os compiladores Protheus (AdvPL, AdvPL Asp, 4GL e 4GLP) suportam apenas os arquivos com código de página CP1252." (Informações sobre a gravação de arquivos-fontes)
What ships with it
2 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.
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.
- 1mo ago First seen · 257 lines · 129 tokens per session scan A f98989f91686
utf8-to-cp1252-conversion is a skill published in the GitHub repository totvs/engpro-advpl-tlpp-skills (163 stars, last pushed 8d ago), licensed MIT. It adds 129 tokens to every session and 2,722 once invoked, about $0.0005 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.
Other skills, from other repositories
intl-expansion
International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
azure-ai-translation-text-py
Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".
harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.
edit-site
Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.