Give your agent a repeatable OmniaKey workflow from model choice to final output.
01
Install your tool
Install the Skill in the current project, choose your agent and reload it. Also connect OmniaKey MCP or install the CLI; the Skill supplies instructions.
npx skills add omniakey-com/omniakey-devtools --skill omniakey-models02
Connect your API key
Paste your key at the hidden terminal prompt and press Enter. Start your agent from this environment; never put the key in a prompt or repository.
Get an API keyread -s OMNIAKEY_API_KEY
export OMNIAKEY_API_KEY$env:OMNIAKEY_API_KEY = [System.Net.NetworkCredential]::new('', (Read-Host 'OmniaKey API key' -AsSecureString)).Password03
Verify without generating
Ask your agent to load omniakey-models and run the check below. Installation alone does not configure an API key or execution tool.
Confirm that OmniaKey MCP or CLI is ready. List accessible models and read the common media request schema. Do not submit a generation task.Find your model
Query models available to your API key, then check their documented capabilities and current prices.
Make one request
Use the same OmniaKey API for text and asynchronous image, video or audio tasks.
Pick up where you left off
Keep the task id and continue checking it. A local timeout never starts a second generation.
One task, from input to output
With the CLI installed, save the example as image.json and review the model and price before this paid request. Replace TASK_ID with the returned id.
omniakey submit --file image.json --idempotency-key YOUR_UNIQUE_TASK_KEY
omniakey task wait TASK_ID --timeout 300
omniakey task get TASK_ID04
What the Skill teaches
The Agent Skill is a set of instructions, not a runtime. It gives the agent a repeatable workflow; the MCP server or CLI performs the calls.
Discover models before choosing
Query the models available to the current API key instead of relying on a remembered model name.
Read the model's own documentation
Check the model page for supported inputs and current prices before composing a request.
Use idempotency keys
Keep one stable key for each intended generation so a lost response does not become a duplicate charge.
Recover tasks instead of restarting
Preserve the returned id and poll it. A local timeout never justifies a new submission.
Report outcomes accurately
Distinguish a queued task from a finished one, and say when a task failed or was canceled.
Handle credentials safely
Read the key from the environment and keep it out of prompts, logs and repository files.
05
Installation options
The installer writes the Skill into the current project by default. Choose the agent you use, or install globally to share it across projects.
npx skills add omniakey-com/omniakey-devtools --skill omniakey-models --agent codexnpx skills add omniakey-com/omniakey-devtools --skill omniakey-models --agent claude-codenpx skills add omniakey-com/omniakey-devtools --skill omniakey-models --global06
Task states
The Skill checks status before acting. These are the states it can encounter.
| State | Meaning | Next action |
|---|---|---|
| queued | Accepted and waiting for a worker. | Wait or poll the same id. |
| processing | Running; no result is ready yet. | Keep polling; do not resubmit. |
| succeeded | Finished with assets available. | Use the signed URLs before they expire. |
| failed | Finished without a result; reserved credit is returned. | Read the error, adjust the request and submit a new task. |
| canceled | Cancellation completed. | Submit a new task only if you still need the output. |
07
Works with MCP or the CLI
The Skill supplies the workflow; it does not call the API by itself. Connect the OmniaKey MCP server or install the CLI so the agent has an execution path. Installation alone does not configure a key.
08
About this tool
Pinned release v0.1.0
OmniaKey developer tools are open source and published as a tagged GitHub package. This page documents the command surface and behavior of that release.
- License
- MIT
- Architecture
- CLI or MCP client → shared client → api.omniakey.com/v1
- Tests
- The repository's integration tests run the CLI against a local HTTP server and the MCP server through a real stdio client. They do not run paid generations.
- Key handling
- The website never receives your API key. The CLI and MCP server read it from your environment and send it only to the API endpoint.
Common questions
Does this change model pricing?
No. The tools use your existing API key and the gateway's billing rules. Model discovery and local schema checks do not submit generation; chat and media generation can incur charges.
What happens when waiting times out?
The remote task is not canceled or resubmitted. Keep its id and continue with task get or task wait. Successful asset URLs expire; query the same task for fresh links.
Is the Skill a hosted service?
No. It is a folder of instructions installed into your project or agent environment. There is no OmniaKey-hosted Skill endpoint.
Does installing the Skill connect my API key?
No. Configure OMNIAKEY_API_KEY for the MCP server or CLI separately. The Skill tells the agent how to use that tool.
Does the Skill run commands on its own?
No. Your agent decides when to follow the instructions and which tool calls to make. Generation still requires a user request.