comonyx-adminAdmin skill to sign into Cosmonyx, fetch companies, filter/export (PDF or Excel), optionally email the export, or send reminder emails to filtered companies.
Install via ClawdBot CLI:
clawdbot install waqas-orcalo/comonyx-adminThis skill lets an admin sign in to Cosmonyx, fetch all company records using the same endpoints as the Cosmonyx gateway API, then choose to export those records as PDF or Excel, or send reminder emails. Email is sent by this skill’s own script (scripts/send-email.py); see TOOLS.md.
You must run all HTTP requests yourself (no external repos). For structured config (endpoints, run order) you can also load SKILL.yaml from this directory if present, but this SKILL.md is the source of truth for behavior.
Before calling any API:
If the user has already given both an email and password in their initial request, reuse those and do not ask again.
https://gateway-dev.cosmonyx.co/auth/signinContent-Type: application/json{"email":"","password":""} accessToken, token, data.token, or data.accessTokenIf sign-in fails (4xx/5xx or missing token), stop, explain the error briefly, and ask the user to correct the credentials instead of proceeding.
https://gateway-dev.cosmonyx.co/companiesAuthorization: Bearer where is from Step 1.page, totalPages, links.next, etc.data, companies, or the root.If there are zero companies, still continue to the export choice but clearly state that the dataset is empty.
After fetching all companies, prompt the admin to choose what they want to do:
"What would you like to do with the Cosmonyx company records?
1) List records where complianceStatus is Not Started
2) List records withriskType=Low
3) List records where the primary user’ssumsubVerificationStatusisunder_review
4) Send reminder emails to records wherecomplianceStatusisNot Started
5) Send reminder emails to records whose expiryDate is before a given date
6) Work with all records (no filter)"
Apply filters in memory over the full company list from Step 2:
company.complianceStatus === "Not Started".company.riskType === "Low".company.primaryUser?.sumsubVerificationStatus === "under_review".expiryDate earlier than this date will be selected." expiryDate is non-null and < cutoff.If the filter results in zero records, report that to the user and stop (no export and no emails).
For actions 1, 2, 3, or 6, after filtering:
"I selected N matching companies. How would you like to export these records?
1) PDF file
2) Excel (.xlsx) file"
Interpret the user’s reply:
If the user selected PDF:
id, name, status, country, and any other key fields returned.$HOME/Downloads/comonyx-companies.pdfWhen done, reply with:
$HOME/Downloads/comonyx-companies.pdf) so the user (or tools) can retrieve it.Then proceed to Step 4D – Optional: Email the exported file.
Do not ask what to do next.
If the user selected Excel:
.xlsx file listing all filtered company records in a sheet named Companies.id, name, status, country, email, and any other important fields present in the API response.$HOME/Downloads/comonyx-companies.xlsxWhen done, reply with:
$HOME/Downloads/comonyx-companies.xlsx).Then proceed to Step 4D – Optional: Email the exported file.
Do not ask what to do next.
After Step 4B or 4C (once the export file path is known):
EMAIL_TO to the address they gave and ATTACHMENT_PATH to the exact path of the generated file (e.g. $HOME/Downloads/comonyx-companies.pdf or $HOME/Downloads/comonyx-companies.xlsx). Expand $HOME to the actual home path if needed (e.g. /home/musawir).echo "Cosmonyx companies export attached." > /tmp/companies_body.txtEMAIL_TO and ATTACHMENT_PATH set). Use the script in this skill’s scripts/send-email.py (TOOLS.md uses for the path; resolve that to this skill’s directory).Do not ask what to do next after sending (or after declining).
If the admin chose option 4 or 5 in Step 3:
company.email if non-empty.company.primaryUser?.email if present.{companyName}, {status}, {expiryDate} – you can do simple string replacements for these placeholders per company./tmp/comonyx-admin-email-body.txt).scripts/send-email.py and the SMTP/recipient settings in this skill’s TOOLS.md. Set EMAIL_TO to that company’s recipient address (and no attachment for reminder emails) before running the send command.If sending fails due to SMTP issues, report the error and remind the user to configure SMTP_* environment variables (host, port, user, password).
After completing the chosen action (export or sending emails), send one final reply that includes:
$HOME/Downloads/comonyx-companies.pdf." $HOME/Downloads/comonyx-companies.xlsx."Do not add follow-up offers like "let me know if you need anything else" or questions about next steps. End after confirming the outcome.
Generated Mar 1, 2026
A compliance officer at a fintech firm uses the skill to fetch all company records, filter by complianceStatus 'Not Started', and export the list as a PDF for audit reporting. This helps track regulatory adherence and prioritize follow-ups with non-compliant entities.
An insurance underwriter signs in, filters companies with riskType 'Low', and exports the data to Excel for further analysis. This supports risk profiling and premium calculations based on company risk levels.
A KYC analyst filters companies where primaryUser sumsubVerificationStatus is 'under_review' and sends reminder emails to expedite verification. This streamlines customer onboarding by automating follow-ups for pending reviews.
A legal administrator sets a cutoff date to filter companies with expiryDate before that date, then sends reminder emails to renew contracts. This prevents lapses in agreements and ensures timely renewals.
A business analyst exports all company records to Excel for integration into BI tools. This enables data visualization and trend analysis across the entire company portfolio.
Offer this skill as part of a premium admin dashboard subscription, charging per user or per export volume. Revenue comes from monthly fees for enhanced data management and automation features.
Provide basic filtering and listing for free, but charge for PDF/Excel exports and email reminders. Upsell advanced analytics and bulk operations to enterprise clients.
License the skill to other platforms for integration into their admin tools, with customization options. Revenue is generated through one-time licensing fees and ongoing support contracts.
💬 Integration Tip
Ensure secure handling of admin credentials and auth tokens; use environment variables for API endpoints to simplify deployment across different environments.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
Perform a comprehensive read-only security audit of Clawdbot's own configuration. This is a knowledge-based skill that teaches Clawdbot to identify hardening opportunities across the system. Use when user asks to "run security check", "audit clawdbot", "check security hardening", or "what vulnerabilities does my Clawdbot have". This skill uses Clawdbot's internal capabilities and file system access to inspect configuration, detect misconfigurations, and recommend remediations. It is designed to be extensible - new checks can be added by updating this skill's knowledge.
Use when reviewing code for security vulnerabilities, implementing authentication flows, auditing OWASP Top 10, configuring CORS/CSP headers, handling secrets, input validation, SQL injection prevention, XSS protection, or any security-related code review.
Security check for ClawHub skills powered by Koi. Query the Clawdex API before installing any skill to verify it's safe.
Scan Clawdbot and MCP skills for malware, spyware, crypto-miners, and malicious code patterns before you install them. Security audit tool that detects data exfiltration, system modification attempts, backdoors, and obfuscation techniques.