spatial9-enterprise-catalog/SKILL.md

SKILL.md: full Markdown source from the spatial9-enterprise-catalog folder of Spatial9 Agent Skills. Free, MIT licensed code for immersive audio with the...

Raw file · View on GitHub · Download every file as a zip

Spatial9 enterprise catalog

Requires the Spatial9 MCP server at https://spatial9.ai/mcp with a service key (Authorization: Bearer s9_...) created at https://spatial9.ai/connect. Store the key in the platform's secret store: Databricks secret scopes, Snowflake secrets, Google Secret Manager or AWS Secrets Manager. Never paste it into code, notebooks or prompts.

Steps

  1. Read the work list from a governed table (for example catalog.renders_queue) with track_id, title, source_url or a file path, and status = 'pending'.
  2. For a file that is not on a public https link, call create_upload_link and PUT the file to direct_upload_url (2 hours, up to 2 GB).
  3. Call create_spatial_audio with upload_id or source_url, media_type: "music", title, style, include_binaural: true and idempotency_key = "<platform>-<track_id>-<version>".
  4. Keep at most 3 renders running at once and at most 20 per day per account. Leave the rest as pending for the next run.
  5. Poll get_job_status every 30 to 60 seconds, or schedule a second short job that checks every running row.
  6. When status is completed, call get_downloads and copy binaural, iamf and youtube_video into governed storage (Volumes, stages, Cloud Storage or S3).
  7. Write job_id, status, stage, file paths and timestamps back to the table so every render is auditable.

Platform recipes

Rules