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 alexcassol/claude-vb6-skills --skill vb6-error-handlinggit clone --depth 1 https://github.com/alexcassol/claude-vb6-skillsWrote 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/alexcassol/claude-vb6-skills/vb6-error-handling)<a href="https://agentmods.dev/skills/alexcassol/claude-vb6-skills/vb6-error-handling"><img src="https://agentmods.dev/badge/skills/alexcassol/claude-vb6-skills/vb6-error-handling/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/alexcassol/claude-vb6-skills/vb6-error-handling"><img src="https://agentmods.dev/badge/skills/alexcassol/claude-vb6-skills/vb6-error-handling.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.00272 | $0.03807 |
| Opus 5 | $0.00136 | $0.01903 |
| Sonnet 5 | $0.00054 | $0.00761 |
| Haiku 4.5 | $0.00027 | $0.00381 |
Grade A, and why
vb6-error-handling 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.
How it starts
The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VB6 Error Handling — CSEH Pattern
VB6 has no try/catch. The model is On Error GoTo <label> with structured
cleanup. The CSEH (Code Style for Error Handler) convention standardizes
this pattern across the codebase so error paths are predictable, log output is
consistent, and Erl (error line) is meaningful in production logs.
CSEH style is declared by a marker comment above the procedure signature:
'CSEH: ErrRaise
Public Function GetActiveCustomer(...) As Object
The <EhHeader> and <EhFooter> tags delimit regions that may be regenerated
by external tooling (MZ-Tools or similar). Never alter the delimiter format
or remove the tags — automation depends on them.
1. Two CSEH styles
| Style | Marker | Handler behavior | Use for |
|---|---|---|---|
ErrRaise |
'CSEH: ErrRaise |
Captures Err into locals, then re-raises the original Err.Number via Err.Raise ..., msg |
Utility functions, library routines, any procedure called by other code |
MsgBox |
'CSEH: MsgBox |
Displays critical dialog and returns to caller without re-raising | Top-level UI event handlers, command buttons, menu items |
Default for new code: ErrRaise. The MsgBox style is reserved for the
outermost layer (event handlers) where errors must be surfaced to the user and
the call stack ends.
2. ErrRaise template
Canonical structure for a function that propagates errors to its caller:
'CSEH: ErrRaise
Public Function GetActiveCustomer(ByVal lngCustomerID As Long) As Object
'<EhHeader>
On Error GoTo GetActiveCustomer_Err
EnterMethod "modDB", "GetActiveCustomer"
'</EhHeader>
Dim objCmd As Object
Dim objRs As Object
Dim strSQL As String
100 InitializeDBConnection
105 Set objCmd = CreateObject("ADODB.Command")
110 Set objCmd.ActiveConnection = mobjCnn
115 objCmd.CommandType = adCmdText
120 strSQL = "SELECT * FROM Customer WHERE idCustomer = ? AND custActive = 1"
125 objCmd.CommandText = strSQL
130 objCmd.Parameters.Append objCmd.CreateParameter("idCustomer", adInteger, adParamInput, , lngCustomerID)
135 Set objRs = objCmd.Execute
140 Set GetActiveCustomer = objRs
'<EhFooter>
On Error GoTo 0
GetActiveCustomer_Exit:
Set objCmd = Nothing
ExitMethod "modDB", "GetActiveCustomer"
Exit Function
GetActiveCustomer_Err:
' Capture Err state FIRST — the cleanup and ExitMethod below reset the Err object
Dim lGetActiveCustomer_ErrNum As Long
Dim sGetActiveCustomer_Err As String
lGetActiveCustomer_ErrNum = Err.Number
sGetActiveCustomer_Err = "Error: " & Err.Number & " - " & Err.Description & " (" & Erl & ")"
' clean up resources here
Set objCmd = Nothing
Set objRs = Nothing
ExitMethod "modDB", "GetActiveCustomer"
Err.Raise lGetActiveCustomer_ErrNum, "SampleApp.modDB.GetActiveCustomer", sGetActiveCustomer_Err
'</EhFooter>
End Function
What ships with it
1 file 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.
- 12d ago First seen · 367 lines · 272 tokens per session scan A eed668a452c2
vb6-error-handling is a skill published in the GitHub repository alexcassol/claude-vb6-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 272 tokens to every session and 3,807 once invoked, about $0.0014 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-31.
Other skills, from other repositories
chief-revenue-officer
Owns the revenue engine end to end: sales, monetization, pricing, customer success, retention, and partnerships. Use this for pricing and packaging decisions, sales strategy and coverage, forecast and pipeline health, churn and expansion, partner and channel strategy, or when marketing-sourced demand is not…
chief-strategy-officer
Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…
seo-strategy
Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…
financial-statement-analysis
Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…
service-desk
Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…
youtube-producer
Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…