Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
**Email sending is now handled by a built-in script.** - Added dedicated email script at `scripts/send-email.py` for sending exports directly from this skill. - Updated documentation to clarify email export uses this skill's own script (not a shared one from elsewhere). - Adjusted TOOLS.md integration instructions to resolve the email script path to this skill’s directory. - Minor clarifications in export and email instructions for better usability.
What This Skill Does
An admin workflow for Cosmonyx that signs in via the gateway API, fetches all company records with pagination support, and filters by compliance status, risk type, or KYC verification state. Filtered records can be exported as PDF or Excel, optionally emailed, or used to send bulk reminder emails to companies.
Combines API authentication, paginated data fetching, in-memory filtering, file generation, and email delivery into one uninterrupted workflow instead of requiring separate tools for each step.
When to use it
- Downloading an Excel list of companies with 'Not Started' compliance status before an audit
- Emailing a PDF of low-risk companies to a colleague
- Sending bulk reminder emails to companies whose expiry dates fall before a given date
- Reviewing which companies are stuck in KYC under-review
- Exporting all company records as a spreadsheet for an external report
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Export all companies with complianceStatus 'Not Started' as an Excel file and email it to compliance@example.com
- 1Sign in to Cosmonyx with admin credentials via POST to the gateway API
- 2Fetch all company records, following pagination until all pages are collected
- 3Filter companies where complianceStatus is 'Not Started'
- 4Generate comonyx-companies.xlsx in the user's Downloads folder
- 5Send the Excel file as an email attachment to compliance@example.com using the skill's send-email.py script
Excel file saved at ~/Downloads/comonyx-companies.xlsx; export emailed to compliance@example.com
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.