CDISC Library API for Openclaw

A high-performance interface for querying CDISC clinical data standards including QRS, ADaM, SDTM, and Controlled Terminology.

whereayan
v1.0.0
Mar 8, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cdisc-library-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cdisc-library-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is CDISC Library API?

The CDISC Library API skill is a robust tool designed for clinical data scientists and developers to interact seamlessly with the official CDISC metadata repository. It provides instant access to clinical standards such as SDTM, ADaM, CDASH, and Controlled Terminology, ensuring that clinical trial data remains compliant and standardized. By integrating this skill into Openclaw Skills, users can automate the retrieval of variable definitions, codelists, and implementation guides, significantly reducing manual lookup time in the CDISC Library Browser. This skill serves as a bridge between raw clinical standards and automated development environments, supporting the entire clinical data lifecycle from collection to analysis.

CDISC Library API Use Cases

  • Automating the generation of SDTM or ADaM mapping specifications for clinical datasets.
  • Verifying controlled terminology codes (C-codes) against the latest CDISC release to ensure compliance.
  • Comparing different versions of QRS scales or implementation guides to track regulatory changes.
  • Batch querying clinical data standards to populate internal metadata repositories or data dictionaries.
  • Exporting clinical standards to CSV or JSON formats for downstream data processing in SAS or R.

How CDISC Library API Works

  1. The user provides an API key from the CDISC developer portal, which is stored securely in the environment or configuration file.
  2. A specialized Python client handles communication with over 350 CDISC API endpoints, managing authentication and rate limiting.
  3. Users issue slash commands to query specific products, domains, or terminology packages via the Openclaw Skills interface.
  4. The skill processes the API response, applying local caching to optimize performance and reduce redundant network requests.
  5. Results are formatted as readable Markdown summaries or exported as structured data files like CSV for further analysis.

CDISC Library API Setup

To start using this skill within Openclaw Skills, follow these configuration steps:

  1. Obtain an API Key from the CDISC Developer Portal.
  2. Set your API Key in the environment or update your configuration file:
# Export via environment variable
export CDISC_API_KEY='your_api_key_here'

Alternatively, add the key to your TOOLS.md file:

## CDISC API

- **API Key**: `your_api_key_here`
  1. Ensure the skill files are correctly placed in the skills/cdisc/ directory.

CDISC Library API Data Schema & Taxonomy

The skill organizes clinical metadata into a structured format for easy consumption:

Component Description Data Format
Products High-level list of all CDISC standard categories JSON
QRS Questionnaire, Rating Scale, and Functional Test metadata Markdown Table
SDTM/ADaM Domain and Dataset structures with variable attributes CSV/JSON
Terminology Controlled Terminology codelists and specific term details List
Rules Conformance rules associated with specific products Structured List
Cache Local storage for query results with a 1-hour TTL File System

Standard versions must be requested using the x-y format (e.g., 3-4 for version 3.4).

CDISC Library API Advanced Features

  • Version Comparison: Compare two versions of a standard (e.g., QRS 1-0 vs 2-0) to identify new, deleted, or modified items.
  • Batch Processing: Execute multiple complex queries simultaneously by providing a structured text file as input.
  • Global Search: Search for specific variables, domains, or scales across all available CDISC products with a single command.
  • Data Export: Convert complex API responses into flat CSV files optimized for clinical data management systems.
  • Intelligent Rate Limiting: Automatic 100ms request spacing and error handling for 429 status codes to ensure stability within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*