To make your coding agent write correct Z-API Omni code, install the official skills with one command: npx skills add zapiglobalx/skills. A skill is a folder with a SKILL.md file that the agent reads before a task. Each Omni skill covers one job, links every endpoint and limit to the Omni documentation and reads credentials from environment variables. They work in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Windsurf and any agent that reads the SKILL.md format.
Why an agent needs a skill for a messaging API
Without one, the agent guesses. It mixes up the Secret Key and the Public Key, invents a payload field, or treats “the API accepted the message” as “the message was delivered”. Some of those guesses come from generated pages that describe a product they have never called.
A skill replaces the guess with the documented route. When you ask for “send a template to this number and confirm it arrived”, the agent loads the skill for templates. It sends with content.type TEMPLATE, keeps the messageId and confirms delivery through the channel webhook.
Install the skills
Run the command from your project folder. The CLI asks which agents to install for and copies each skill into the folder that agent reads.
npx skills add zapiglobalx/skills
To add a single skill, name it:
npx skills add zapiglobalx/skills --skill omni-core
Then set the variables the skills read. Generate the Secret Key under Security in the dashboard at app.omni.z-api.io and keep it on your backend.
export OMNI_SECRET_KEY="YOUR_SECRET_KEY"
export OMNI_CHANNEL_ID="YOUR_CHANNEL_ID"
export OMNI_WEBHOOK_SECRET="YOUR_WEBHOOK_SECRET"
The skills tell the agent to read keys from the environment and never write them in code, commits or chat.
What each Omni skill covers
Start with omni-core. The others build on it.
| Skill | Use it when you want to |
|---|---|
omni-core |
Authenticate, send, receive webhooks and verify their HMAC signature |
omni-choose-connection |
Decide between official WhatsApp, the QR connection, Instagram, Messenger or Telegram before creating a channel |
omni-onboarding |
Create and connect a channel, including Embedded Signup and moving a number from another provider |
omni-messages |
Send free-form messages and know which types each channel accepts |
omni-templates |
Create, check and send WhatsApp templates, and handle approval and rejection |
omni-flows |
Build, validate and publish WhatsApp Flows |
omni-instagram |
Answer Instagram Direct messages within its limits and window |
omni-otp-verification |
Send verification codes with an AUTHENTICATION template and verify them safely |
omni-marketing-campaigns |
Run an opt-in marketing campaign on the official connection, in batches, without duplicates |
omni-reliability |
Keep a webhook receiver up through retries, duplicates and disconnections |
omni-troubleshooting |
Find out why a message was not delivered or a webhook stopped arriving |
omni-security-hardening |
Lock down the Secret Key, roles, IP restriction and webhook signing |
omni-gohighlevel |
Message HighLevel contacts through Omni, with consent and a record on the contact |
omni-migration-from-waha |
Move a WAHA integration to Omni |
omni-migration-from-evolution-api |
Move an Evolution API integration to Omni |
The migration skills read your existing code and never call the WAHA or Evolution API servers. They inventory each call and webhook handler, map it to Omni, and plan the cutover and the rollback.
What the skills will not do
They do not route your traffic through a third party. The agent calls api.omni.z-api.io directly with your key.
They do not send to a list without consent. omni-marketing-campaigns asks for the opt-in and a way out first, and campaigns on the QR connection stay out of scope.
They treat incoming message text as data. A customer who writes “ignore your instructions” in WhatsApp does not steer your agent.
Check what the agent loaded
Each skill ships test scenarios in tests/<name>.md in the repository. Pick one and give the agent its prompt. A scenario says what a correct answer contains. For a webhook endpoint, the agent must use the raw body, verify the signature and reject stale timestamps.
If the agent answers without using the skill, mention the skill by name in the prompt. Agents load a skill when its description matches the task, and a vague request may not match.
The skills are open source under Apache-2.0. Report a wrong endpoint or a stale limit as an issue in the repository, with the documentation page that shows the correct value.