validate

validate is a command for Claude Code from maxime-tremblay/APEXLang-Project-Template. It costs 12 tokens per session (334 once invoked), scanned A, original, MIT.

A command that checks exported APEXlang application files before they are imported into Oracle APEX, Oracle's platform for building database-backed web applications. It can validate one or several application IDs.

In plain words
What is it for?
Use it to validate applications in apex/app{id}/, review affected files, and decide whether the export is safe to import.
Why use it?
It finds file errors and reports warnings before an import can fail or create problems. This gives the developer a check on whether an export is ready to import.

Command for Claude Code

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/maxime-tremblay/apexlang-project-template/validate
Clone the repo
git clone --depth 1 https://github.com/maxime-tremblay/APEXLang-Project-Template

Made for: Claude Code.

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 validate

README.md
[![agentmods](https://agentmods.dev/badge/commands/maxime-tremblay/apexlang-project-template/validate.svg)](https://agentmods.dev/commands/maxime-tremblay/apexlang-project-template/validate)
Your own site
<a href="https://agentmods.dev/commands/maxime-tremblay/apexlang-project-template/validate"><img src="https://agentmods.dev/badge/commands/maxime-tremblay/apexlang-project-template/validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 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 $0.00012 $0.00334
Opus 5 $0.00006 $0.00167
Sonnet 5 $0.00002 $0.00067
Haiku 4.5 $0.00001 $0.00033

Measured 5d ago against content hash f8c1cb47cc6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

validate 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 5d 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.

.claude/commands/validate.md · 35 lines

What it actually says

Validate one or more APEXLang applications before importing.

Usage:

  • /validate — validates the default app ($APEX_APP_ID) from apex/app{id}/
  • /validate 101 — validates app 101 from apex/app101/
  • /validate 100 101 102 — validates each app in sequence

Steps:

  1. Resolve the list of app IDs:
    • If $ARGUMENTS is provided, treat it as a space-separated list of app IDs
    • Otherwise, use $APEX_APP_ID as the single app ID
  2. Open a SQLcl session and connect using the saved connection:
    sql /nolog
    connect -name "$SQLCL_CONNECTION"
    
  3. For each app ID, run validation:
    apex validate -input /path/to/apex/app{id}
    
  4. Review any errors or warnings returned for each app
  5. If there are errors, identify which .apx file is affected and what the issue is
  6. Report a summary per app: how many files were validated, any warnings to be aware of, and whether it is safe to import

Notes:

  • apex is a SQLcl subcommand — it requires an active SQLcl session
  • apex validate can also run without a live connection for local syntax checks only
  • Do not proceed with import if validation returns any errors
  • If there are warnings only, flag them clearly and ask the developer whether to proceed
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. 5d ago First seen · 35 lines · 12 tokens per session scan A f8c1cb47cc6d

Subscribe to this mod's changes

validate is a command published in the GitHub repository maxime-tremblay/APEXLang-Project-Template (2 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 334 once invoked, about $0.0001 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.