Install
openclaw skills install modora-httpUse this skill to analyze PDFs with a remote MoDora HTTP service. Credentials are managed through declared environment variables and are not stored in the se...
openclaw skills install modora-httpUse this skill to work with a deployed MoDora service over HTTP.
This skill is for external skill access, not for the logged-in MoDora web UI.
This skill uses a local settings.json only for non-secret pipeline routing.
Credential values come from environment variables declared in metadata.openclaw.
The skill sends documents and questions to a remote MoDora service, and that trust boundary is still real. For non-local endpoints, the skill requires HTTPS.
Only use this skill if you trust the operator of the target MoDora server. If you do not trust that server, do not use this skill and deploy MoDora locally instead.
This skill is appropriate when the user wants to:
This skill assumes the MoDora backend is exposed as an HTTP base URL. Set MODORA_BASE_URL before running scripts. For public endpoints, use https://. Example:
export MODORA_BASE_URL="https://api.modora.pro"
export MODORA_USER_API_KEY="sk-..."
export MODORA_USER_ENDPOINT="https://api.openai.com/v1"
export MODORA_USER_MODEL="gpt-4o"
If MODORA_BASE_URL is unset, scripts default to https://api.modora.pro.
The scripts are implemented in Python so they work across Linux, macOS, Windows, and WSL as long as python3 is available.
Skill access is separate from the logged-in frontend:
X-Modora-Client: skilllocal-default or remote-defaultEvery skill invocation that uploads a document or asks a question must provide a user-owned settings.json.
Start from skill/settings.template.json and fill in the pipeline routing values.
The settings file must:
pipelines.<module>.modelInstance for each pipeline moduleapi_key, base_url, Authorization, or token valueslocal-default and remote-defaultCredentials must be supplied through:
MODORA_USER_API_KEYMODORA_USER_ENDPOINTMODORA_USER_MODELMoDora requires multimodal models. Do not choose text-only models for OCR-adjacent reasoning, enrichment, retrieval, metadata generation, or QA.
If the user does not provide this file, stop and report the requirement. Do not continue with upload or QA.
settings.json file owned by the skill user.
A good starting point is skill/settings.template.json.python skill/scripts/health.py to verify the backend is alive.MODORA_USER_API_KEY, MODORA_USER_ENDPOINT, and MODORA_USER_MODEL.python skill/scripts/upload.py /absolute/path/to/file.pdf --settings-file /path/to/settings.json --allow-remote-credentials to upload a document.python skill/scripts/wait.py <filename> until processing reaches completed.python skill/scripts/chat.py <filename> "<question>" --settings-file /path/to/settings.json --allow-remote-credentials to ask a question.For the common one-shot flow, prefer:
python skill/scripts/analyze_pdf.py /absolute/path/to/file.pdf "Your question" --settings-file /path/to/settings.json --allow-remote-credentials
chat.py before the task status becomes completed.local-default or remote-default.MODORA_BASE_URL for that command.https://.scripts/health.py: GET /healthscripts/upload.py: POST /api/upload after explicit remote credential acknowledgementscripts/wait.py: poll GET /api/task/status/{filename}scripts/chat.py: POST /api/chat after explicit remote credential acknowledgementscripts/analyze_pdf.py: health -> upload -> wait -> chat with explicit remote credential acknowledgement