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.
npx skills add thalysjuvenal/advpl-specialist --skill protheus-locks-deadlocksgit 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/skills/thalysjuvenal/advpl-specialist/protheus-locks-deadlocks)<a href="https://agentmods.dev/skills/thalysjuvenal/advpl-specialist/protheus-locks-deadlocks"><img src="https://agentmods.dev/badge/skills/thalysjuvenal/advpl-specialist/protheus-locks-deadlocks/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/thalysjuvenal/advpl-specialist/protheus-locks-deadlocks"><img src="https://agentmods.dev/badge/skills/thalysjuvenal/advpl-specialist/protheus-locks-deadlocks.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.00056 | $0.00421 |
| Opus 5.5 | $0.00022 | $0.00168 |
| Sonnet 5.5 | $0.00011 | $0.00084 |
| Haiku 4.5 | $0.00006 | $0.00042 |
Grade A, and why
protheus-locks-deadlocks 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 3d 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.
What it actually says
Protheus Locks & Deadlocks
This skill documents the Protheus hybrid locking model -- record-level Workarea locks (RecLock/MsUnlock) coordinated by DBAccess on top of the underlying RDBMS (PostgreSQL, MSSQL, Oracle) -- and how to diagnose and prevent the lock leaks, contention, and deadlocks that are among the most common production issues. It covers lock API semantics (RecLock, MsUnlock/MsUnlockAll, SoftLock, LockByName, TCSqlExec, BeginTran/EndTran/DisarmTransaction), safe transaction scoping with BEGIN SEQUENCE/RECOVER, and live diagnostic procedures per database engine.
Activate this skill when the user reports a "Record locked by user XYZ" error, needs to investigate performance degradation under concurrent load, is writing or reviewing code that locks records, or is designing a batch job over large data sets where lock ordering matters. It does not cover query design or database-specific locking hints in SQL (see query-builder), general runtime/performance debugging unrelated to locking (see advpl-debugging), or BeginSQL/EndSQL macro syntax (see embedded-sql).
| Reference file | Read when |
|---|---|
| reference.md | Always -- lock types table, core lock/transaction APIs, when-to-use guidance |
| patterns-prevention.md | Writing or refactoring code that locks records -- BEGIN SEQUENCE/RECOVER, SoftLock, transaction scoping, lock ordering rules |
| diagnostics.md | Investigating live lock contention or deadlocks -- TopMemoStatus, MonitorActiveLocks, DBAccess monitor, engine-specific SQL lock queries |
What ships with it
3 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.
- 3d ago Changed · -91 tokens per session 24452ab5f7d9
- 3mo ago First seen · 17 lines · 147 tokens per session scan A 7552a01b86b5
protheus-locks-deadlocks is a skill published in the GitHub repository thalysjuvenal/advpl-specialist (202 stars, last pushed 4d ago), licensed MIT. It adds 56 tokens to every session and 421 once invoked, about $0.0002 per session on Opus 5.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.
protheus-locks-deadlocks compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| protheus-locks-deadlocksthalysjuvenal/advpl-specialist | Skill | 202 | 4d ago | MIT | A | 56 | Claude Code |
| debugar-advplGuipegoraro/tds-mcp | Skill | 3 | 4d ago | MIT | A | 69 | Claude Code, Codex |
| triage-issuesgoogleapis/mcp-toolbox | Skill | 17k | 3d ago | Apache-2.0 | A | 164 | Claude Code, Codex |
| postgresql-indexingprowler-cloud/prowler | Skill | 15k | 3d ago | Apache-2.0 | A | 108 | Claude Code |
| sql-optimization-patternssickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 28 | Claude Code |
| graphjin-evaldosco/graphjin | Skill | 3.2k | 2d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| read-only-investigationSyngnat/GoNavi | Skill | 2.1k | yesterday | Apache-2.0 | A | 0 | Claude Code, Codex |