name: oi description: Load Oi Contexts and Workflows from MCP when the user says oi, names a Context or Workflow, or wants sticky Oi context. version: 0.1.0 metadata: { "openclaw": { "homepage": "https://github.com/openclaw/oi-openclaw" } }
Oi
Use this skill when the user wants to work with Oi, including Context discovery, Context installation, Context tuning, Context publishing, workflow discovery, workflow installation, organization/team ownership, MCP/API access, analytics, onboarding, or first-use success.
When to use
- When the user says
oi ...,$Oi ...,@oi ..., oruse Oi ... - When the user names one or more Oi Contexts
- When the user names an Oi Workflow or asks for a multi-step workflow
- When the user wants Oi Context or Workflow context loaded into the current thread
- When the user wants to list available Contexts or Workflows before choosing one
- When an Oi guardrail response asks for confirmation before continuing
- When an Oi tool result returns a usage event and OpenClaw has runtime/token usage to report
Core workflow
- Clarify the user's intent: discover, inspect, install, tune, publish, run, or troubleshoot.
- Prefer Oi product language: Contexts, workflows, organization/team ownership, MCP/API access, and retained usage.
- Use the hosted Oi MCP server at
https://api.oioioi.ai/mcpwhen Oi tools are available. - Before any install, publish, write, billing, organization, or credential action, explain the intended action and get explicit user approval.
- Keep recommendation logic separate from apply/write logic.
- If Oi MCP tools are unavailable, guide the user through OpenClaw MCP setup without inventing unavailable capabilities. Read
{baseDir}/references/authentication.mdand run:openclaw mcp add oi --url https://api.oioioi.ai/mcp --transport streamable-http --auth oauthopenclaw mcp login oiopenclaw mcp doctor oi --probeIf installing from this repo checkout,bash scripts/install-to-openclaw.shperforms the same setup.
Selector routing
- Pass Context selectors unchanged as
contextIdand Workflow selectors unchanged asworkflowId. - Preserve
+for multiple Contexts and@2or@v2for versions on both selector types. - Bare id: when the user gives an installed id without a type prefix, pass it unchanged and let Oi resolve whether it is a Context or Workflow. Use the resolved type to choose
oi.contexts.*vsoi.workflows.*. - Explicit Context: when the user prefixes with
ctx,context, orcontexts, strip the prefix and treat the remainder as a Context selector. - Explicit Workflow: when the user prefixes with
wf,workflow, orworkflows, strip the prefix and treat the remainder as a Workflow selector. - The reserved Context type selectors
ctx,context, andcontextsare not Context ids. The reserved Workflow type selectorswf,workflow, andworkflowsare not Workflow ids. When the user says only one of those words with no id, treat it as a request to list or browse that entity type. - Do not call list tools to pre-validate a named Context or Workflow. Pass the raw selector to the use/get/session tool.
- After loading Context or Workflow output, perform the user's actual task using the returned instructions. Do not stop after saying the Context or Workflow loaded.
Instructions
- Treat
Oiandoias the same surface when plain-text routing is available. - If the user wants to browse available Contexts, call
oi.contexts.list. - If the user wants to browse available Workflows, call
oi.workflows.list. - If the user names a Context and provides a task, call
oi.contexts.use. - If the user names a Workflow and provides a task, call
oi.workflows.use. - Apply Selector routing for
contextId,workflowId, and sticky sessions. - If the user wants a sticky Context or Workflow for the current thread, call
oi.contexts.start-sessionoroi.workflows.start-sessionusing the routed selector. - Only use
oi.recommendwhen the user does not know which Context or Workflow to use or the provided selector cannot be resolved. It considers both Contexts and Workflows. - Prefer Oi MCP operations over treating the request as plain English when the user clearly intends to use Oi.
- If an Oi response returns a guardrail confirmation request, call
oi.guardrails.confirmwhen the user clearly approves continuing. Use the providedrequestId; setrememberonly when the user says not to ask again. - If an Oi response returns
usageEventId, calloi.usage.reportafter the run when OpenClaw has runtime/token accounting. PassusageEventIdas authoritative, includecontextIdorworkflowIdonly for clarity, setruntimetoopenclawwhen known, and never store or resend prompt text.
Some clients expose compatibility aliases such as oi_contexts_use, oi_use_context, or oi_list_contexts. Treat those as aliases for the canonical dotted tool names.
Guardrails
- Guardrail confirmation is agnostic to Contexts and Workflows. Use
oi.guardrails.confirmwith therequestIdreturned by Oi. - A plain
yes,continue, or equivalent user approval means continue once. - Phrases like
yes and don't ask again,remember this, oralways allow this Contextmean setremember: true. - Do not invent a
requestId; if it is missing, ask the user to rerun the blocked Oi request.
Usage reporting
- Usage reporting is agnostic to Contexts and Workflows. Use
oi.usage.reportfor both. - Prefer
usageEventIdfrom the prior Oi tool response. OptionalcontextIdorworkflowIdare secondary hints. - Report only metadata and token counts OpenClaw actually knows, such as
runtime(openclaw),provider,model,status(successorfailure),latencyMs,inputTokens,cachedInputTokens,cacheWriteInputTokens,outputTokens,reasoningTokens,compressionInputTokens, andcompressionOutputTokens. - If OpenClaw has no runtime/token accounting, skip usage reporting instead of guessing.
Safety
Treat these as side effects requiring explicit approval:
- Installing or uninstalling Contexts or workflows.
- Publishing or updating public/private Contexts.
- Changing organization ownership, team visibility, billing, API keys, or credentials.
- Running a Context against private user or organization data.
- Saving durable feedback with
oi.contexts.save-draft-feedbackoroi.brain.save-feedback.
References
Read {baseDir}/references/authentication.md when MCP setup or auth is needed.
Read {baseDir}/references/product-surfaces.md when a task needs a fuller map of current Oi surfaces and terminology.
Read {baseDir}/references/mcp-tools.md when a task needs the available MCP tools and how to choose between them.
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.