๐ Skills Marketplace
Workspace-installable AI skills + automations. Add a skill once, available across the workspaceโs chat surface, calendar, mail, drive, and clinical workflows.
๐งฉ Whatโs a Skill?
A scoped, declared capability the chat assistant can invoke when context warrants. Examples:
- Insurance Eligibility โ verify a patientโs benefits against the payer in real time.
- CPT Suggester โ given a SOAP note, propose the right billing codes.
- Spam Blocker โ auto-classify incoming mail per the workspaceโs policy.
- Telehealth Pre-Call Prep โ pull patient summary + last 3 sessions into a brief before the call.
Each skill declares its OAuth scopes, tool surface (functions exposed to the AI), and tier gating.

๐๏ธ Architecture
- Per-workspace install โ admins enable skills in the Marketplace UI; install writes a
workspace_skillsrow that gates/api/v1/chatโs tool exposure. - Permission scopes โ each skill declares the data it touches (mail, drive, patients, billing) โ opt-in per scope.
- Audit-tagged โ every skill invocation writes an audit row with skill_id + tool_name + caller.
- Sandboxed execution โ skills canโt reach beyond their declared scopes; enforced at the dispatcher layer.
GET /api/v1/marketplace/catalog Browse available skills
POST /api/v1/marketplace/install Install a skill into the current workspace
POST /api/v1/marketplace/uninstall Uninstall (revokes scopes + tool exposure)
GET /api/v1/marketplace/installed List installed skills for the workspace
GET /api/v1/marketplace/module/:slug Skill detail page
GET /api/v1/skills/content Skill content for runtime
GET /api/v1/skills/routing Skill routing rules for AI dispatcher๐ณ Plans
| Free | Standard | Advanced | Enterprise | |
|---|---|---|---|---|
| Browse marketplace | โ | โ | โ | โ |
| Install skills | โ | โ 5 active | โ 20 active | โ unlimited |
| Custom workspace-private skill | โ | โ | โ | โ |
| Skill SDK (build your own) | โ | โ | โ | โ |