Install
openclaw skills install @carhaix/oi-aiRoute Oi requests through MCP for Contexts, Workflows, Skills, Guardrails, Brain, Connections, prompts, resources, sessions, and reporting.
openclaw skills install @carhaix/oi-aiUse the Oi MCP surface instead of simulating Oi locally. Prefer canonical dotted names; accept client-added namespaces and underscore aliases as the same operations.
oi.auth.whoami for the authenticated user, organization, plan, current limits, billing link, or cross-client data differences. It never returns tokens or secrets.oi.recommend only to choose the best installed Context or Workflow for a prompt. It does not recommend Skills, Guardrails, or Connections.oi.contexts.list to browse a paginated preview of available Contexts. It returns at most 10 records and is not exhaustive; never infer absence from one page.oi.contexts.search when the user is unsure what exists or needs discovery by need, title, tag, category, or organization. It returns organization/private results first, then fills with public marketplace results.oi.contexts.get for reusable compiled Context text without a task. Prefer oi.contexts.use when a concrete task exists.oi.contexts.use with prompt and an optional raw contextId. Preserve + stacks of up to three Contexts and @2/@v2 pins. Without an id, allow Oi to route implicitly. Execute the returned prompt, which already contains ## User Request.oi.contexts.start-session only for explicitly requested sticky thread context. It returns compiled context without a task; adopt it as reusable thread guidance.oi.contexts.create only for an explicitly requested private Context or import after confirming the source license permits reuse. Prefer markdown content; put organization-private instructions in privateContent so they are not published.oi.contexts.update only for a private Context draft. Pass action: release only when the user requests release; do not imply a separate Context publish capability exists when it is not exposed.oi.contexts.save-draft-feedback only after confirmation for repeated corrections or durable future behavior. Target one latest mutable Context, never a multi-Context selector or version pin. Preserve structured metadata and never save one-off details, debugging state, secrets, credentials, or sensitive data. Report created, updated, or unchanged accurately.oi.workflows.list when the user asks what Workflows exist or provides only the workflow/wf type selector.oi.workflows.get for a reusable Workflow scaffold without a concrete task. Prefer oi.workflows.use when a task exists.oi.workflows.use with prompt and optional workflowId; without an id, allow Oi to select the best installed Workflow. Execute the returned prompt.executionMode: sequential_stages, run every required stage in order, adopt that stage's Context, produce its named outputArtifactName, feed prior artifacts forward, and synthesize the final answer.oi.workflows.start-session only for explicitly requested sticky Workflow context; adopt the returned scaffold as thread guidance.oi.workflows.create, use oi.contexts.search if the required Context ids/slugs are uncertain. Create ordered Context steps with responsibilities and handoffs. Creation makes a private draft only; it does not release or publish.oi.workflows.update, call oi.workflows.get when the current definition is not already known. Send the complete draft shape, including all ordered Context steps. Update changes the draft only; do not claim release or publication.oi.skills.list for a paginated preview of Skills available to the organization.oi.skills.search to search both organization-installed and marketplace Skills by need, title, tag, or category.oi.skills.get for a reusable Skill document without a task. Prefer oi.skills.use for a concrete task, then execute its returned instructions and user request.skillId through oi.skills.get or oi.skills.use; never invent per-Skill MCP tool names.oi.skills.create for a requested private Skill draft. Include markdown content and optional Context references; release: true releases version 1, while publish: true releases and publishes.oi.skills.update for a private draft; pass action: release only when requested. Use oi.skills.publish only for a released Skill and only after explicit approval to publish it to the marketplace.oi.guardrails.list for a paginated preview of private organization Guardrails and oi.guardrails.get for one private record.oi.guardrails.create only for an explicitly requested private Guardrail or licensed import. Prefer markdown content. release: true releases version 1; publish: true releases and publicly publishes it, so confirm publication and source rights.oi.guardrails.update to update the open draft or create the next draft. release: true releases it; publish: true releases first and then publishes.oi.guardrails.release, oi.guardrails.publish, and oi.guardrails.unpublish only for the named lifecycle action.oi.guardrails.delete only after clear authorization. It archives and disables the private Guardrail; it is not a physical database deletion. State that effect accurately.oi.guardrails.confirm with the exact requestId; set remember: true only when the user explicitly asks to remember the override for that user and triggering Context.continuation or sequential Workflow executionPlan. Never invent a request id, bypass confirmation, or stop after confirming.oi.brain.save-feedback for direct durable Org Brain or User Brain updates such as “update our org brain,” “remember this for the organization,” “save this as team memory,” or “update my private Brain.” Do not redirect a Brain request into Context or Workflow authoring unless explicitly asked.scope: organization for shared facts, vocabulary, policies, approval rules, project context, and recurring team practices. Use scope: user for personal preferences, recurring individual working style, and private user-specific context.scope: auto and confirmed: false; show the returned confirmation prompt and retain the returned saveArguments for the confirmed call.confirmed: true; include exact confirmed wording when useful.saved or unchanged without exaggeration.Use only the stable Connection router. Provider capabilities are dynamic; never invent provider-specific Oi tool names.
oi.connections.list to select an installed Connection and verify its status, provider, and exact connectionInstanceId when needed.oi.connections.get with provider and optional instance id to retrieve live actions, endpoint keys, access types, confirmation requirements, and input schemas.oi.connections.use with the exact returned action, schema-matching arguments, provider, and required connectionInstanceId or endpointKey.confirmed: true; reads ignore confirmation.oi.usage.report only for a prior Context or Workflow usage event. usageEventId is required and authoritative; ids are optional clarity. Send only runtime, provider, model, status, latency, and token counts the client actually knows. Never estimate or send prompt text.oi.effectiveness.report after a Context, Workflow, Skill, Connection, or Guardrail-assisted task when the outcome is known. Prefer usageEventId; use traceId when available. Accurately report outcome, retries, actions, user feedback, baseline, and confidence.taskSummary unless useful; if included, keep it short and redacted. Never send raw prompts or secrets. Do not infer acceptance or time saved when it is unknown.oi.routing.task routes a task, while the oi.contexts.use and oi.workflows.use prompts correspond to those execution paths. Prefer tools when state, confirmation, usage, or structured results matter.oi://marketplace/contexts, oi://marketplace/guardrails, oi://marketplace/workflows, oi://marketplace/skills, and oi://marketplace/connections for public catalog context; use oi://organization/contexts, oi://organization/guardrails, oi://organization/workflows, oi://organization/skills, and oi://organization/connections for organization catalog context.oi://catalog/public-contexts, oi://catalog/private-contexts, and oi://catalog/workflows as compatibility resources. Resources are read-only context; use tools for current search, execution, authoring, lifecycle changes, Brain, Connections, and reporting.ctx, context, contexts, wf, workflow, workflows, skill, and skills; a type word without an id means list that type.oi_contexts_use or mcp__oi__oi_contexts_use. Choose the visible equivalent of the canonical operation; aliases are not separate capabilities.When Oi MCP tools are unavailable because the server is not configured, read {baseDir}/references/authentication.md and use:
openclaw mcp add oi --url https://api.oioioi.ai/mcp --transport streamable-http --auth oauth
openclaw mcp login oi
openclaw mcp doctor oi --probe
Read {baseDir}/references/mcp-tools.md for the OpenClaw MCP setup and full canonical tool index. Read {baseDir}/references/product-surfaces.md for current Oi product terminology and scope. If installing from the repository checkout, use bash scripts/install-to-openclaw.sh.