Coding Agent
mastra-ai/mastra
Authoring playbook for building agents that write, edit, review, or refactor code.
Queries the TOTVS Protheus ERP data dictionary for tables, fields, indexes, parameters, triggers and lookups, including impact checks during refactoring.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills data-dictionary-lookup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/advpl-tlpp/data-dictionary-lookup .claude/skills/data-dictionary-lookup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "data-dictionary-lookup" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookup into .claude/skills/data-dictionary-lookup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-dictionary-lookup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills data-dictionary-lookup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/advpl-tlpp/data-dictionary-lookup .agents/skills/data-dictionary-lookup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "data-dictionary-lookup" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookup into .agents/skills/data-dictionary-lookup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-dictionary-lookup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills data-dictionary-lookup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/advpl-tlpp/data-dictionary-lookup .cursor/skills/data-dictionary-lookup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "data-dictionary-lookup" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookup into .cursor/skills/data-dictionary-lookup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-dictionary-lookup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/totvs/engpro-advpl-tlpp-skills.git --path skills/advpl-tlpp/data-dictionary-lookup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills data-dictionary-lookup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/advpl-tlpp/data-dictionary-lookup .gemini/skills/data-dictionary-lookup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "data-dictionary-lookup" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookup into .gemini/skills/data-dictionary-lookup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-dictionary-lookup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install totvs/engpro-advpl-tlpp-skills data-dictionary-lookupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/advpl-tlpp/data-dictionary-lookup .github/skills/data-dictionary-lookup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "data-dictionary-lookup" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookup into .github/skills/data-dictionary-lookup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-dictionary-lookup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills data-dictionary-lookup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/advpl-tlpp/data-dictionary-lookup .opencode/skills/data-dictionary-lookup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "data-dictionary-lookup" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/data-dictionary-lookup into .opencode/skills/data-dictionary-lookup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-dictionary-lookup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
data-dictionary-lookupQueries the TOTVS Protheus ERP data dictionary for tables, fields, indexes, parameters, triggers and lookups, including impact checks during refactoring.
Searches the Protheus metadata held in SX tables: SX2 for tables, SX3 for fields, SIX for indexes, SX6 for MV_ parameters, SX5 for generic tables, SX7 for triggers, SX1 for parameterization questions, SX9 for relationships and SXB for standard lookups. Queries run through an execute-sql tool, with TDN documentation reached through search tools.
It also finds the sharing mode of a table, exclusive or shared, and supports impact validation, where a refactoring or migration is checked against the dictionary to see whether fields, triggers, indexes, parameters or relationships are affected. SQL queries and column meanings sit in two reference files loaded on demand, and mandatory rules for execute-sql include TRIM, d_e_l_e_t_ and lowercase.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3908e4e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Protheus Data Dictionary Lookup loads about 1.5k tokens when it runs, and up to ~6k if it reads all its reference files. Until then it costs about 161 tokens; SKILL.md has 561 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from totvs/engpro-advpl-tlpp-skills at commit 3908e4e, republished under its MIT licence (© totvs). 561 words, ~1,549 tokens.
.claude/skills/data-dictionary-lookup/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Structured querying of the TOTVS Protheus ERP data dictionary. Allows searching tables, fields, indexes, parameters, generic tables, triggers, parameterization questions, relationships, and standard lookups (SQL queries via execute-sql and TDN documentation via search tools).
This skill uses progressive disclosure. The SKILL.md covers dictionary structure, query flow, and response format. SQL queries and detailed column reference are in the references/ directory — read on demand as needed:
| Reference File | When to Read | Content |
|---|---|---|
| references/sql-queries.md | Executing dictionary queries — listing fields, indexes, parameters, triggers, questions, relationships, standard lookups, or combining SX* tables | Complete SQL queries for all 9 dictionary tables (SX2, SX3, SIX, SX6, SX5, SX7, SX1, SX9, SXB), combined queries (full view, fields with triggers, mandatory fields), and mandatory execute-sql rules (TRIM, d_e_l_e_t_, lowercase) |
| references/column-reference.md | Interpreting results or needing to understand the meaning of specific columns from SX* tables | Detailed tables with all columns from SX2, SX3, SIX, SX6, SX5, SX7, SX1, SX9, and SXB, including type, possible values, and functional description |
Protheus organizes its metadata in SX* tables:
| Table | Description | Primary Key |
|---|---|---|
| SX1 | Parameterization questions (reports/queries) | X1_GRUPO + X1_ORDEM |
| SX2 | System tables registry | X2_CHAVE (table alias) |
| SX3 | Table fields | X3_ARQUIVO + X3_CAMPO |
| SX5 | Generic tables (lookup values) | X5_TABELA + X5_CHAVE |
| SX6 | System parameters (MV_*) | X6_VAR |
| SX7 | Field triggers | X7_CAMPO + X7_SEQUENC |
| SX9 | Table relationships | X9_DOM + X9_CDOM |
| SXA | Folders and groupers | - |
| SXB | Standard lookups (F3) | XB_ALIAS + XB_TIPO |
| SXG | Field groups | - |
| SIX | Table indexes | INDICE + ORDEM |
d_e_l_e_t_ = ' ' (soft-delete filter)X3_CAMPO, always x3_campoTRIM() in character field comparisons (trailing spaces)sx3, sx2, six — never sx3t10, sx2t10Execute 3 queries in parallel (see queries in references/sql-queries.md):
x2_chavex3_arquivoindiceTRIM(x6_var) LIKE 'MV_NAME%') or by description (UPPER(x6_descric) LIKE '%TERM%')product-docs-searchx7_campoWhen presenting results to the user, always:
## SA1 — Customer Registry
**Mode**: Shared (C/C/C)
**Unique key**: A1_FILIAL+A1_COD+A1_LOJA
**MVC Routine**: CRMA980
### Main Fields
| Field | Title | Type | Size | Dec | Required | Context |
|-------|-------|------|------|-----|----------|---------|
| A1_FILIAL | Branch | C | 8 | 0 | Yes | Real |
| A1_COD | Code | C | 6 | 0 | Yes | Real |
| A1_LOJA | Store | C | 2 | 0 | Yes | Real |
| A1_NOME | Name | C | 40 | 0 | Yes | Real |
...
### Indexes
| Order | Composition | Description |
|-------|-------------|-------------|
| 1 | A1_FILIAL+A1_COD+A1_LOJA | Customer Code+Store |
| 2 | A1_FILIAL+A1_NOME | Name |
...| Error | Cause | Solution |
|---|---|---|
| Query returns empty | character field has trailing spaces | Use TRIM() in comparisons |
| Data not found | Table has enterprise suffix (sx3t10) | Use base table without suffix: sx3, sx2, six |
| Field not found | Alias with spaces in x3_arquivo | Use TRIM(x3_arquivo) = 'SA1' |
| Deleted records returned | Missing soft-delete filter | Always include d_e_l_e_t_ = ' ' |
© totvs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in skills/advpl-tlpp/data-dictionary-lookup of totvs/engpro-advpl-tlpp-skills.
Open the folder on GitHubat commit 3908e4e
Protheus Data Dictionary Lookup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Protheus Data Dictionary Lookup this skilltotvs/engpro-advpl-tlpp-skills | 141 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Coding Agentmastra-ai/mastra | 29k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Rift Backend EffectCompound-inc/rift | 123 | — | ~1.8k | Automated safety check: Pass | Custom licence | |
| Optimize Loopgaasher/Agent-Loop-Skills | 174 | — | ~2.4k | Automated safety check: Warn | MIT | |
| Effect TSpproenca/dot-skills | 214 | — | ~2k | Automated safety check: Pass | MIT | |
| TasteTryCaspian/caspian-sdk | 971 | — | ~1.8k | Automated safety check: Pass | AGPL-3.0 |
mastra-ai/mastra
Authoring playbook for building agents that write, edit, review, or refactor code.
Compound-inc/rift
A skill your agent uses when adding, reviewing, or refactoring backend code in Rift's TanStack Start app that should follow apps/start/BACKENDEFFECTPLAYBOOK.md.
gaasher/Agent-Loop-Skills
A skill your agent uses when the user wants to iteratively improve an artifact under a hard correctness bound while minimizing a measured cost — refactoring a code module to cut complexity while its…
pproenca/dot-skills
Effect-TS library usage in TypeScript — Effect.gen generators, Schema.Struct/Schema.Class definitions, Layer/Context.Tag/Service patterns, Effect.pipe pipelines, Data.TaggedError/Data.Class error…
TryCaspian/caspian-sdk
Domain-first store/port design for any codebase: product-shaped APIs, swappable backends, schema at boundaries, one vocabulary catalog (derive don’t re-author), no infrastructure names on the domain…
xiaou61/Code-Nest
Code-Nest 多模块全栈项目协作规范与落点导航。Use when modifying this repository for feature development, bug fixing, refactor, API change, SQL migration, or frontend-backend联调 so changes land in the correct module…
totvs/engpro-advpl-tlpp-skills
Converts AdvPL and TLPP source files from UTF-8 to Windows-1252 in place after code generation, because the Protheus compiler accepts only CP1252 files.
totvs/engpro-advpl-tlpp-skills
Compiles AdvPL and TLPP sources from VS Code with the TOTVS Developer Studio extension, handling server setup, connection and compile result reporting.
totvs/engpro-advpl-tlpp-skills
Plans and builds Protheus AdvPL/TLPP features through Specify, Design, Tasks and Execute phases whose depth scales with the size of the change.
totvs/engpro-advpl-tlpp-skills
Reviews AdvPL and TLPP source against SonarQube rules, ProtheusDOC requirements, security, performance and Protheus conventions, and reports findings by severity.
totvs/engpro-advpl-tlpp-skills
Generates Protheus MVC screens in ADVPL/TLPP, with ModelDef, ViewDef, MenuDef and Browse functions for single-entity and master-detail layouts.
totvs/engpro-advpl-tlpp-skills
Build optimized and safe SQL queries for Protheus tables. An agent skill from totvs/engpro-advpl-tlpp-skills.
Works with
Categories
Queries the TOTVS Protheus ERP data dictionary for tables, fields, indexes, parameters, triggers and lookups, including impact checks during refactoring. Searches the Protheus metadata held in SX tables: SX2 for tables, SX3 for fields, SIX for indexes, SX6 for MV_ parameters, SX5 for generic tables, SX7 for triggers, SX1 for parameterization questions, SX9 for relationships and SXB for standard lookups. Queries run through an execute-sql tool, with TDN documentation reached through search tools.
Protheus Data Dictionary Lookup fits situations like: finding which fields and types a Protheus table has; checking indexes or triggers on a field; looking up what an MV_ parameter does; validating dictionary impact before a migration.
Run `npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a claude-code`. Or copy the skill folder (skills/advpl-tlpp/data-dictionary-lookup in totvs/engpro-advpl-tlpp-skills) into .claude/skills/data-dictionary-lookup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a codex`. Or copy the skill folder (skills/advpl-tlpp/data-dictionary-lookup in totvs/engpro-advpl-tlpp-skills) into .agents/skills/data-dictionary-lookup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add totvs/engpro-advpl-tlpp-skills --skill data-dictionary-lookup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-dictionary-lookup, .gemini/skills/data-dictionary-lookup, .github/skills/data-dictionary-lookup and .opencode/skills/data-dictionary-lookup in your project.
SKILL.md names no scripts, command-line tools or credentials: Protheus Data Dictionary Lookup is instructions for the agent only. Our summary lists: An execute-sql tool connected to the Protheus database.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Protheus Data Dictionary Lookup is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Protheus Data Dictionary Lookup: Coding Agent (mastra-ai/mastra, 29k stars), Rift Backend Effect (Compound-inc/rift, 123 stars), Optimize Loop (gaasher/Agent-Loop-Skills, 174 stars) and Effect TS (pproenca/dot-skills, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
totvs (a GitHub organization) maintains it in totvs/engpro-advpl-tlpp-skills, which has 141 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 5, 2026.
Source: totvs/engpro-advpl-tlpp-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.