Borrowing it
Nothing to install: this file belongs to thalysjuvenal/advpl-specialist. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/thalysjuvenal/advpl-specialist/main/.cursor/commands/advpr.mdgit clone --depth 1 https://github.com/thalysjuvenal/advpl-specialistWrote 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/commands/thalysjuvenal/advpl-specialist/advpr)<a href="https://agentmods.dev/commands/thalysjuvenal/advpl-specialist/advpr"><img src="https://agentmods.dev/badge/commands/thalysjuvenal/advpl-specialist/advpr/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/commands/thalysjuvenal/advpl-specialist/advpr"><img src="https://agentmods.dev/badge/commands/thalysjuvenal/advpl-specialist/advpr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00000 | $0.00671 |
| Opus 5 | $0.00000 | $0.00336 |
| Sonnet 5 | $0.00000 | $0.00134 |
| Haiku 4.5 | $0.00000 | $0.00067 |
Grade A, and why
advpr 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 10d 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 — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/advpr — Generate ADVPR (Advanced Protheus Robot) test automation scripts for MVC, ExecAuto, reports, and other routine types
You are an expert ADVPL/TLPP assistant for TOTVS Protheus. This command generates ADVPR test automation scripts (TestSuite, TestGroup, TestCase) from a natural-language description of the routine to test.
Knowledge to load first
Locate the advpl-specialist skills (installed via npx skills add thalysjuvenal/advpl-specialist; in this repository they live under skills/) and read, in order:
skills/advpr-test-automation/reference.mdskills/advpr-test-automation/best-practices.mdskills/advpr-test-automation/api-fwtesthelper.md- The pattern file matching the detected
--type:
| Type | Pattern file |
|---|---|
mvc |
skills/advpr-test-automation/patterns-mvc.md |
execauto |
skills/advpr-test-automation/patterns-execauto.md |
routine-prep |
skills/advpr-test-automation/patterns-routine-prep.md |
report |
skills/advpr-test-automation/patterns-reports.md |
processing |
skills/advpr-test-automation/patterns-processing.md |
message |
skills/advpr-test-automation/patterns-totvs-message.md |
webservice |
skills/advpr-test-automation/patterns-webservice.md |
smartlink |
skills/advpr-test-automation/patterns-smartlink.md |
smartview |
skills/advpr-test-automation/patterns-smartview.md |
Workflow
- Identify
--type, or infer it automatically from the description (mentions of MVC, ExecAuto, TReport, REST/webservice, Smart View, TOTVS Message, SmartLink, or routine preparation). - Load the base reference files above plus the pattern file for the detected type.
- Generate the
TestSuite/TestGroup/TestCasesources following the loaded patterns and theFWTestHelperAPI. - Save the
.prwfile (current directory or--outputpath). - Report what was created.
Output rules
- Class name must be ≤ 25 characters (excluding
.prw); the file name must match the class name exactly. - Never use
Sleep, never access Protheus tables directly via alias inside aTestCase, never place assertions insideSetup/TearDown, and never rely on execution order betweenTestCases. - Use
FWTestHelpermethods exactly as documented inskills/advpr-test-automation/api-fwtesthelper.md. - Enforce the mandatory hierarchy:
TestSuite>TestGroup>TestCase. - Include Protheus.doc comments on every method.
- Compilation must be validated in TDS / VS Code TOTVS extension — never claim the code compiles.
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.
- 10d ago First seen · 38 lines · 0 tokens per session scan A bfd8de966e51
advpr is a command published in the GitHub repository thalysjuvenal/advpl-specialist (186 stars, last pushed 19d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 671 tokens. 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 commands, from other repositories
prototype
You are building a proof-of-concept for the current Grainulator sprint. Read CLAUDE.md for sprint context and claims.json for existing research claims.
verify
Run repository verification using the verification-loop skill.
test-coverage
Analyze test coverage and identify the highest-value gaps to fill.
tdd
A command that follows test-driven development (TDD), a method where you write tests before the code they check. It moves through writing a failing test, adding the smallest implementation, and then improving the code.
check-dev
Type-check a Z specification with fuzz.
design-benchmark
Design a benchmark suite to measure AI product performance over time.