用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/omnara-ai/omnara --skill setup-omnara-agent命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | setup-omnara-agent |
| description | Install and set up Omnara. Use when the user asks to install Omnara or run /setup-omnara-agent. |
Read https://docs.omnara.com/llms.txt and the Quickstart guide first. Fetch other documentation pages as you need them.
Before doing anything, check if the user is logged in with npx omnara whoami. If they are not logged in, first instruct the user to login with npx omnara login.
Then, ask the user questions on what type of agent they'd like to create:
Ask two questions before creating anything. a. What should the agent do? Examples include a coding agent, deep research agent, etc. b. How will you interact with the agent (Omnara web console, first-party slack integration, custom frontend UI using the typescript SDK)
Look up the user's org, its default project, and the granted model and
machine pool via the API. Tailor the instruction to the user's request. Use npx omnara profiles create to create a reusable profile of the agent.
Launch an agent from the profile using npx omnara agents create with a simple first message. Provide the user with a link to the agent at https://app.omnara.com/projects/{project_id}/agents/{agent_id}
(optional: interact via Slack) If the user wants to setup Omnara to interact via Slack, guide them through the setup process to connect their agent profile to a slack bot. Tell them how to fetch their app configuration token at the following URL: https://api.slack.com/apps . Then tell them to run npx omnara profiles slack {agent_profile_id} ... (use -h to fetch the help parameters you need) to execute the authentication flow.
(optional: interact via SDK or REST API) Help the user setup their own custom application to interact with Omnara. Omnara can be used via a Typescript SDK, install the @omnara/sdk package to use it. Alternatively, in non-Typescript environments, Omnara can be used directly via the API, see the openapi specification at http://api.omnara.com/api/openapi.yaml. In the case of a frontend application, these APIs may need to be proxied through the user's API in order to avoid CORS errors. Help the user generate an organization-level API token to interact with the API through the CLI or API.