Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skillsnpx agentmods add skills/totvs/engpro-advpl-tlpp-skills/advpl-to-tlpp-migrationWrote 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/advpl-to-tlpp-migration)<a href="https://agentmods.dev/skills/totvs/engpro-advpl-tlpp-skills/advpl-to-tlpp-migration"><img src="https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/advpl-to-tlpp-migration/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/advpl-to-tlpp-migration"><img src="https://agentmods.dev/badge/skills/totvs/engpro-advpl-tlpp-skills/advpl-to-tlpp-migration.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.00102 | $0.02114 |
| Opus 5 | $0.00051 | $0.01057 |
| Sonnet 5 | $0.00020 | $0.00423 |
| Haiku 4.5 | $0.00010 | $0.00211 |
Grade A, and why
advpl-to-tlpp-migration 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 12d 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 — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AdvPL-to-TLPP Migration
Overview
Migrate legacy AdvPL source files (.prw, .prx) to modern TLPP (.tlpp) incrementally and safely. TLPP is an evolution of AdvPL that introduces modern language features while maintaining full backward compatibility with existing AdvPL constructs. This skill provides a structured migration path that can be applied gradually — no forced rewrite is required.
When to Use
Use this skill when:
- Modernizing legacy AdvPL code to TLPP
- Converting
.prwfiles to.tlpp - Adopting TLPP-exclusive features (typing, try-catch, namespace, etc.)
- Replacing prohibited constructs (e.g.,
StaticCall) in TLPP sources - Preparing code for TLPP REST migration from WsRESTful
- Onboarding developers transitioning from AdvPL to TLPP
Feature Comparison: AdvPL vs. TLPP
For the complete feature-by-feature comparison table (19 features covering scoping, control structures, typing, namespaces, Try-Catch, JSON inline, class modifiers, REST, and StaticCall status), see advpl-tlpp-feature-comparison.md.
Migration Process
MANDATORY RULE — File Extension: Any source file that includes
#include "tlpp-core.th"or uses TLPP-exclusive features must use the.tlppextension. If a.prwor.prxfile is being migrated or modified to adopt TLPP constructs, rename it to.tlppas part of the same change. The AdvPL compiler silently ignores TLPP directives in.prw/.prxfiles, which leads to hard-to-diagnose failures. Always change the extension first.
The migration involves 15 steps, each addressing a specific AdvPL → TLPP transformation:
- File Extension and Includes —
.prw→.tlpp, add#include "tlpp-core.th" - Add Namespace — Organize code with
Namespace company.module.feature - Add Type Annotations — Variables, parameters, return values (
as Type) - Replace ErrorBlock with Try-Catch — Modern exception handling
- Replace StaticCall — Use
FWLoadMenuDef,FWLoadModel, namespace calls - Use Long Identifier Names — TLPP removes the 10-char limit
- Use Named Parameters — Improve readability at call sites
- Use JSON Inline — Replace
JsonObject():New()chains - Add Class Access Modifiers —
Private,Protected,Public - Migrate WsRESTful to TLPP REST — Annotation-based
@Get,@Post, etc. - Fix Incorrect Inheritance —
LongNameClass(notLongClassName) - Remove ISAM Driver Usage — Migrate to
FWTemporaryTable - Migrate Console APIs to FWLogMsg — Replace
ConOut,OutErr,? - Remove IIF Usage — Replace with
If/Else/EndIf - Migrate FormCommit Override to FWModelEvent — Use
FWFormCommit(oModel)
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.
- 12d ago First seen · 147 lines · 102 tokens per session scan A c51a7db175a3
advpl-to-tlpp-migration is a skill published in the GitHub repository totvs/engpro-advpl-tlpp-skills (131 stars, last pushed 28d ago), licensed MIT. It adds 102 tokens to every session and 2,114 once invoked, about $0.0005 per session on Opus 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
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
ast-grep
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…
platform-detection
Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…
unity-version-split
Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).
omh-rust
This is a Hermes-native rust workflow skill.
axiom-concurrency
Use when writing ANY async code, actors, threads, or seeing ANY concurrency error. Covers Swift 6 concurrency, @MainActor, Sendable, data races, async/await patterns.