Veeva cost tuning
'Veeva Vault cost tuning for REST API and clinical operations.From its SKILL.md
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill veeva-cost-tuningAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.8 KB, 376 tokens by cl100k_base, as published. Nobody here has run it
Veeva Vault Cost Tuning
Overview
Guidance for cost tuning with Veeva Vault REST API, VQL queries, and VAPIL Java SDK.
Instructions
Key Vault API Concepts
- Authentication: Session-based (username/password or OAuth 2.0)
- Base URL:
https://{vault}.veevavault.com/api/v24.1/ - VQL: SQL-like query language for Vault data
- VAPIL: Open-source Java SDK covering all Platform APIs
- Lifecycle: Documents flow through states (Draft > In Review > Approved)
Common VQL Patterns
-- List documents by type
SELECT id, name__v FROM documents WHERE type__v = 'Trial Document'
-- Find objects
SELECT id, name__v FROM site__v WHERE status__v = 'active__v'
-- Join related objects
SELECT id, name__v, study__vr.name__v FROM study_country__v
Error Handling
| Error | Cause | Solution |
|---|---|---|
INVALID_SESSION_ID | Session expired | Re-authenticate |
INSUFFICIENT_ACCESS | Missing permissions | Check security profile |
INVALID_DATA | Bad VQL or field name | Validate against metadata |
OPERATION_NOT_ALLOWED | Lifecycle state conflict | Check document state |
Resources
Next Steps
See related Veeva Vault skills for more patterns.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.