advpr-test-automation

advpr-test-automation is a skill for Claude Code from thalysjuvenal/advpl-specialist. It costs 171 tokens per session (721 once invoked), scanned A, original, MIT.

An automated testing guide for TOTVS Protheus business routines, using ADVPR, an ADVPL-based test robot. It covers tests for screens, reports, web services, and other routine types, including runs without a user interface.

In plain words
What is it for?
Use it to write or troubleshoot ADVPR test scripts, organize test suites, run them with or without a user interface, and test MVC, ExecAuto, reports, processing routines, REST, SOAP, and portal flows.
Why use it?
It helps replace manual checks with repeatable tests and explains how to handle routines that fail when run without a screen.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the advpl-specialist plugin — 18 skills, 14 commands, 2 hooks shipped together

Good fit Use it to write or troubleshoot ADVPR test scripts, organize test suites, run them with or without a user interface, and test MVC, ExecAuto, reports, processing routines, REST, SOAP, and portal flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thalysjuvenal/advpl-specialist/advpr-test-automation
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 thalysjuvenal/advpl-specialist --skill advpr-test-automation
Clone the repo
git clone --depth 1 https://github.com/thalysjuvenal/advpl-specialist

Made for: Claude Code.

Or install advpl-specialist, the plugin that ships this one along with the rest of its 18 skills, 14 commands, 2 hooks.

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 advpr-test-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/thalysjuvenal/advpl-specialist/advpr-test-automation/github.svg)](https://agentmods.dev/skills/thalysjuvenal/advpl-specialist/advpr-test-automation)
Your own site
<a href="https://agentmods.dev/skills/thalysjuvenal/advpl-specialist/advpr-test-automation"><img src="https://agentmods.dev/badge/skills/thalysjuvenal/advpl-specialist/advpr-test-automation/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 advpr-test-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/thalysjuvenal/advpl-specialist/advpr-test-automation"><img src="https://agentmods.dev/badge/skills/thalysjuvenal/advpl-specialist/advpr-test-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00171 $0.00721
Opus 5 $0.00086 $0.00360
Sonnet 5 $0.00034 $0.00144
Haiku 4.5 $0.00017 $0.00072

Measured 12d ago against content hash 8c5485cc70ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

advpr-test-automation 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.

skills/advpr-test-automation/SKILL.md · 29 lines

What it actually says

ADVPR — Automação de Testes Protheus

This skill covers writing and running automated business-rule regression tests for TOTVS Protheus using ADVPR, the internal ADVPL-based test robot. It explains the FWTestHelper assertion API, how to register and organize test cases in a TestSuite (GPS de Testes), how to run suites with or without UI (FWMyTestRunner vs headless FwExecSuite), and per-routine-pattern scripting guidance for MVC, ExecAuto/MSExecAuto, reports, processing routines, webservices (REST/SOAP/Portal), SmartLink, Smart View, and TOTVS Message (single-message) flows. It also covers "routine preparation" -- adjusting legacy code so it runs screen-free during official headless execution -- and general ADVPR scripting best practices.

Activate this skill when the user wants to create or debug an ADVPR test script, set up a TestSuite, diagnose a TimeOut or unexpected-screen failure during headless execution, or needs guidance on which ADVPR pattern applies to a given routine type. It does not cover manual/interface-driven QA, unit testing of isolated ADVPL functions outside ADVPR, or general debugging of runtime/compilation errors unrelated to test automation (see advpl-debugging).

The referenced files are written in Brazilian Portuguese.

Reference file Read when
reference.md Always -- ADVPR concept, patch prerequisite, FWMyTestRunner vs FwExecSuite headless execution, TimeOut causes
api-fwtesthelper.md Writing assertions/expectations -- full FWTestHelper method reference
best-practices.md Reviewing or writing ADVPR scripts -- recommended scripting conventions
gps-de-testes.md Creating/organizing a TestSuite and its test cases (GPS de Testes)
patterns-execauto.md Automating routines exposed via ExecAuto/MSExecAuto
patterns-mvc.md Automating MVC (ModelDef/ViewDef) routines
patterns-processing.md Automating batch/processing routines
patterns-reports.md Automating reports (TOTVS Report, R3, FWMSPrinter, Smart View)
patterns-routine-prep.md Adjusting a routine to bypass screens/alerts for official headless execution
patterns-smartlink.md Automating routines that integrate via SmartLink
patterns-smartview.md Automating Smart View-based routines
patterns-totvs-message.md Automating routines that use the single-message (TOTVS Message) pattern
patterns-webservice.md Automating REST, SOAP, or Portal Protheus webservice endpoints
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. 12d ago First seen · 29 lines · 171 tokens per session scan A 8c5485cc70ec

Subscribe to this mod's changes

advpr-test-automation is a skill published in the GitHub repository thalysjuvenal/advpl-specialist (186 stars, last pushed 22d ago), licensed MIT. It adds 171 tokens to every session and 721 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

advpl-dev

Especialista em desenvolvimento ADVPL/TLPP para o ecossistema TOTVS Protheus. Use esta skill para auxiliar com: escrita e revisão de código ADVPL e TLPP, criação de pontos de entrada (convencional e MVC), desenvolvimento de APIs REST, consultas SQL/Embedded SQL, acesso a tabelas do Protheus, criação de classes OO…

jaylson/claude-skill-advpl · 211 tokens

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code.

WhiteMuush/Your-Claude-DevOps · 17 tokens

verification-before-completion

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always.

WhiteMuush/Your-Claude-DevOps · 43 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

ingjaviergomezm/el-camello · 35 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens