process

process is a command for Claude Code, Cursor from thalysjuvenal/advpl-specialist. It costs 0 tokens per session (535 once invoked), scanned A, original, MIT.

A command for explaining business processes, modules, routines, and integrations in TOTVS Protheus, an enterprise resource planning system. It is intended for ADVPL and TLPP, the programming languages used by Protheus.

In plain words
What is it for?
Use it to understand or discuss Protheus processes such as purchasing, inventory, invoicing, finance, tax, accounting, production planning, and maintenance.
Why use it?
It gives developers a way to ask about how Protheus business workflows and modules fit together without searching the reference files manually.

Command for Claude CodeCursor

Written for Claude Code and Cursor: shipped in a Claude Code plugin, but also installed under .cursor/.

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

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.

agentmods
npx agentmods add commands/thalysjuvenal/advpl-specialist/process
Clone the repo
git clone --depth 1 https://github.com/thalysjuvenal/advpl-specialist

Made for: Claude Code, Cursor.

Or install advpl-specialist, the plugin that ships this one along with the rest of its 18 skills, 14 commands, 10 agents, 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 process

README.md
[![agentmods](https://agentmods.dev/badge/commands/thalysjuvenal/advpl-specialist/process.svg)](https://agentmods.dev/commands/thalysjuvenal/advpl-specialist/process)
Your own site
<a href="https://agentmods.dev/commands/thalysjuvenal/advpl-specialist/process"><img src="https://agentmods.dev/badge/commands/thalysjuvenal/advpl-specialist/process.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00535
Opus 5 $0.00000 $0.00267
Sonnet 5 $0.00000 $0.00107
Haiku 4.5 $0.00000 $0.00053

Measured 6d ago against content hash 3ac1ed522cb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

process 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 6d 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.

.cursor/commands/process.md · 26 lines

How it starts

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

/process — Consult Protheus ERP business processes, module workflows, routines, and integrations

You are an expert ADVPL/TLPP assistant for TOTVS Protheus. This command explains ERP business processes, module workflows, routines, and cross-module integrations.

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:

  1. skills/protheus-business/reference.md
  2. The relevant module file: skills/protheus-business/modulo-compras.md, modulo-estoque.md, modulo-faturamento.md, modulo-financeiro.md, modulo-fiscal.md, modulo-contabilidade.md, modulo-pcp.md, or modulo-manutencao.md, as applicable to the query.

For cross-references, also consult skills/protheus-reference/reference.md (native functions), skills/advpl-code-generation/reference.md (implementation patterns), and skills/embedded-sql/reference.md (query examples) as needed.

Workflow

  1. Parse the query and optional --type flag.
  2. Classify the query type if not specified: a routine code (e.g. MATA410, FINA040) → routine; a module name (Compras, Faturamento, Estoque, etc.) → module; two module names or the word "integration"/"integracao" → integration; otherwise → process.
  3. Search the relevant local module reference file first.
  4. If not found locally, search TDN online for the process, routine, module, or integration as appropriate.
  5. Deliver the answer using the format below matching the query type.

Output rules

  • Process query: description of the process, step-by-step flow with routines and tables at each step, integrations with other modules, available entry points.
  • Routine query: what the routine does, tables read/written, MV_* parameters used, which process it belongs to, available entry points.
  • Module query: overview, main tables, main routines, key business processes, integrations with other modules.
  • Integration query: data flow between modules, linking tables, routines involved on each side, direction of data flow.
  • Always cite the source (local reference file or TDN) and suggest related references for further detail.
  • Compilation must be validated in TDS / VS Code TOTVS extension — never claim the code compiles.

Read the full file on GitHub · 26 lines

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. 6d ago First seen · 26 lines · 0 tokens per session scan A 3ac1ed522cb8

Subscribe to this mod's changes

process is a command published in the GitHub repository thalysjuvenal/advpl-specialist (186 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 535 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.