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 agentmods add commands/botpress/skills/adk-validategit clone --depth 1 https://github.com/botpress/skillsWhat 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 | $0.00020 | $0.00821 |
| Opus 5 | $0.00010 | $0.00411 |
| Sonnet 5 | $0.00004 | $0.00164 |
| Haiku 4.5 | $0.00002 | $0.00082 |
Grade A, and why
adk-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 2d 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
Load the adk skill, then validate the named target immediately.
The target can be either a single primitive (one file under src/, e.g. a tool called search or a workflow called checkout) or a feature — a piece of bot functionality spread across multiple primitives (e.g. "checkout" implemented as src/workflows/checkout.ts + src/actions/process-payment.ts + src/tables/orders.ts). Resolve which one before validating.
This is the proactive counterpart to /adk-debug: nothing is necessarily broken — confirm the target is correctly defined and wired up. If $ARGUMENTS is empty, list the user's primitives (Glob src/**/*.ts excluding utils/) and ask which one to validate.
Workflow
- Run baseline checks first, in parallel. TypeScript type check (the project's
typecheck/type-checkscript inpackage.jsonif defined, otherwisetsc --noEmit) andadk check --format json. Capture both outputs. If either fails project-wide for reasons unrelated to the named primitive, surface that up front — the primitive's own issues are noise until the project compiles. - Resolve the target — primitive or feature. Try in this order:
- Exact primitive match. Glob
src/**/<name>.ts. If exactly one file matches, that's the target. - Multiple primitive matches. List them with their types (action / tool / workflow / etc.) and ask which one — or whether the user wants to validate the whole set as a feature.
- No exact match — treat as a feature. Search the codebase for the term: file names, exported symbols, string literals, and comments under
src/. Present the candidate set ("Found these files that look like the feature: …") and confirm with the user before proceeding. If nothing plausible turns up, suggest the closest exact filename hits and stop.
- Exact primitive match. Glob
- Read each file in the target set. Identify the type of each from its directory.
- Filter the baseline output. From the type-check and
adk checkoutput captured in step 1, pull out diagnostics that mention any name or file path in the target set. - Static checks (read the sources and verify):
- Imports come from
@botpress/runtime(not the SDK). - Each primitive is exported in the shape the ADK expects for its type (see references in the
adkskill). - Zod / schema definitions cover all inputs and outputs the code uses.
- Any referenced integration is installed (
adk integrations list --format json) and available/configured (adk integrations status --format json). - Any referenced model is available in the project's model config.
- Any referenced sibling primitive (table, action, tool) actually exists in
src/. - Feature-level only: the primitives in the set actually wire together — e.g., the workflow's action calls resolve to existing actions, the table the workflow writes to matches the schema the action reads.
- No hardcoded secrets, tokens, or API keys. Bot runtime credentials should be declared in
agent.config.ts, set withadk secret:set, and read throughsecrets.KEY.
- Imports come from
- Report. Group findings as ❌ Errors → ⚠️ Warnings → ✅ Passed, with each finding tagged by file. For a feature target, also include a short "wiring" subsection that summarizes how the primitives connect. End with one line: "Run
/adk-test <name>to actually invoke it." Do not apply fixes from this command — let the user decide which to take.
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.
- 2d ago First seen · 32 lines · 20 tokens per session scan A 45f42caf8596
adk-validate is a command published in the GitHub repository botpress/skills (11 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 821 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-30.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.