Agent skill

Model Config

by OPPO-Mente-Lab in OPPO-Mente-Lab/X-OmniClaw

Configure model providers and default model selection in X-OmniClaw.

Apache-2.0Auto-check passedProductivity & Automation

Install Model Config

skills CLI
$ npx skills add OPPO-Mente-Lab/X-OmniClaw --skill model-config -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OPPO-Mente-Lab/X-OmniClaw model-config --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OPPO-Mente-Lab/X-OmniClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/src/main/assets/skills/model-config .claude/skills/model-config && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
model-config
GitHub stars
265
Token cost
~454 tokens
SKILL.md length
158 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Configure model providers and default model selection in X-OmniClaw.

  • Works in 8 steps: Read /sdcard/.xomniclaw/xomniclaw.json… → Check current agent.defaultModel and… → If the target provider already exists,… → …
  • The user asks to switch models
  • SKILL.md covers Workflow and Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Model Config is an agent skill from OPPO-Mente-Lab/X-OmniClaw. Configure model providers and default model selection in X-OmniClaw. Use when the user asks to switch models, set a default model, or add or edit provider configs (including self-hosted OpenAI-compatible endpoints as a new models.providers key). For X-OmniClaw, model settings live in /sdcard/.xomniclaw/xomniclaw.json under agent.defaultModel and models.providers.

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation. It works with OpenAI. The repository describes itself as: An edge-native Multimodal Android Agent that integrates multimodal perception, memory and action. The licence is Apache-2.0.

When your agent uses it

  • The user asks to switch models
  • Set a default model
  • Edit provider configs (including self-hosted OpenAI-compatible endpoints as a new models.providers key)

Example prompts

  • “/model-config”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Read /sdcard/.xomniclaw/xomniclaw.json first.
  2. Check current agent.defaultModel and existing providers under models.providers.
  3. If the target provider already exists, update only the necessary fields.
  4. If the target provider does not exist, create a provider entry under models.providers.
  5. For self-hosted or other OpenAI-compatible endpoints, add a new models.providers. entry (any stable key name) with
  6. Update agent.defaultModel to the requested model.
  7. Preserve unrelated providers and settings.
  8. If asked to verify, send a simple test prompt after config is saved.

What it can do on your machine

Read from SKILL.md and the folder at commit 8614c93. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Model Config loads about 454 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 158 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~454

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OPPO-Mente-Lab/X-OmniClaw at commit 8614c93, republished under its Apache-2.0 licence (© OPPO-Mente-Lab). 158 words, ~454 tokens.

Download SKILL.mdSave it as .claude/skills/model-config/SKILL.md (or your agent's skills folder).
name
model-config
description
Configure model providers and default model selection in X-OmniClaw. Use when the user asks to switch models, set a default model, or add or edit provider configs (including self-hosted OpenAI-compatible endpoints as a new `models.providers` key). For X-OmniClaw, model settings live in /sdcard/.xomniclaw/xomniclaw.json under agent.defaultModel and models.providers.

Model Config

For X-OmniClaw, model configuration is stored in:

  • /sdcard/.xomniclaw/xomniclaw.json

Relevant paths:

  • agent.defaultModel
  • models.providers.<providerName>.baseUrl
  • models.providers.<providerName>.apiKey
  • models.providers.<providerName>.api
  • models.providers.<providerName>.authHeader
  • models.providers.<providerName>.models

Workflow

  1. Read /sdcard/.xomniclaw/xomniclaw.json first.
  2. Check current agent.defaultModel and existing providers under models.providers.
  3. If the target provider already exists, update only the necessary fields.
  4. If the target provider does not exist, create a provider entry under models.providers.
  5. For self-hosted or other OpenAI-compatible endpoints, add a new models.providers.<yourKey> entry (any stable key name) with:
    • api: "openai-completions"
    • provider-specific baseUrl
    • apiKey
    • one or more model entries in models
  6. Update agent.defaultModel to the requested model.
  7. Preserve unrelated providers and settings.
  8. If asked to verify, send a simple test prompt after config is saved.

Notes

  • Do not overwrite the full config if only one provider/model needs to change.
  • If the user provides a compatible endpoint/key, add it as a new provider block under models.providers with api: "openai-completions" (or another supported API type per app).
  • Keep model IDs exact.

© OPPO-Mente-Lab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in app/src/main/assets/skills/model-config of OPPO-Mente-Lab/X-OmniClaw.

Open the folder on GitHubat commit 8614c93

Compare with similar skills

Model Config next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Model Config compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Model Config this skillOPPO-Mente-Lab/X-OmniClaw265—~454Automated safety check: PassApache-2.0
Local Web SearchuluckyXH/OpenMOSS1.3k—~392Automated safety check: NotesMIT
Codex Bridge Chatgptanightmonarch/codex-bridge-chatgpt147—~1.1kAutomated safety check: PassMIT
Consult Oracletobihagemann/turbo409—~1.1kAutomated safety check: PassMIT
Computer Use Agentsdavila7/claude-code-templates32k5 repos~2.4kAutomated safety check: PassMIT
Memory ManagementThinkInAIXYZ/deepchat6.4k—~849Automated safety check: PassApache-2.0

Similar skills

  • Local Web Search

    uluckyXH/OpenMOSS

    A skill your agent uses when the user asks for web search that should run via the local-160 Responses API with websearch tool (base URL like https://proxy.example.com, model gpt-5.2-codex(xhigh)).

    1.3k GitHub stars~392 tokensUpdated 3 mo ago
    Productivity & AutomationAuto-check: notes
  • Codex Bridge Chatgpt

    anightmonarch/codex-bridge-chatgpt

    A skill your agent uses when a complex repository task needs ChatGPT web reasoning while Codex remains responsible for local evidence, edits, and tests.

    147 GitHub stars~1.1k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Consult Oracle

    tobihagemann/turbo

    Consult ChatGPT Pro via ChatGPT browser automation for problems that resist standard approaches.

    409 GitHub stars~1.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Computer Use Agents

    davila7/claude-code-templates

    Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text.

    32k GitHub starsUsed in 5 repos~2.4k tokens
    Productivity & AutomationAuto-check passed
  • Memory Management

    ThinkInAIXYZ/deepchat

    Guide the agent to recall, remember, and route durable learning into Memory, Skills, Scheduled Tasks, or Tape.

    6.4k GitHub stars~849 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Computer Use Agents

    sickn33/agentic-awesome-skills

    Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text.

    47k GitHub starsUsed in 2 repos~450 tokens
    Productivity & AutomationAuto-check passed

More from OPPO-Mente-Lab/X-OmniClaw

All 14 skills in this repo
  • Feishu Bitable

    OPPO-Mente-Lab/X-OmniClaw

    Feishu multi-dimensional table (Bitable) operations. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~631 tokensUpdated 4 mo ago
    Auto-check passed
  • Feishu Chat

    OPPO-Mente-Lab/X-OmniClaw

    Feishu chat operations. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~592 tokensUpdated 4 mo ago
    Auto-check passed
  • Feishu Task

    OPPO-Mente-Lab/X-OmniClaw

    Feishu task management operations. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~482 tokensUpdated 4 mo ago
    Auto-check passed
  • Feishu Urgent

    OPPO-Mente-Lab/X-OmniClaw

    Feishu urgent notification tool. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~601 tokensUpdated 4 mo ago
    Auto-check passed
  • App Search

    OPPO-Mente-Lab/X-OmniClaw

    主流APP搜索。当用户想要在拼多多、美团、高德地图、抖音、快手、小红书、哔哩哔哩、知乎、百度、OPPO音乐、OPPO软件商店等APP中搜索时激活。覆盖电商购物、生活服务、短视频内容、知识搜索、音乐搜索、应用商店搜索等场景。

    265 GitHub stars~4.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Capcut Theme Video

    OPPO-Mente-Lab/X-OmniClaw

    CapCut (剪映) one-tap video creation on Android. An agent skill from OPPO-Mente-Lab/X-OmniClaw.

    265 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Model Config

What does Model Config do?

Configure model providers and default model selection in X-OmniClaw. Model Config is an agent skill from OPPO-Mente-Lab/X-OmniClaw. Configure model providers and default model selection in X-OmniClaw.

When should I use Model Config?

Model Config fits situations like: the user asks to switch models; set a default model; edit provider configs (including self-hosted OpenAI-compatible endpoints as a new models.providers key).

How do I install Model Config in Claude Code?

Run `npx skills add OPPO-Mente-Lab/X-OmniClaw --skill model-config -a claude-code`. Or copy the skill folder (app/src/main/assets/skills/model-config in OPPO-Mente-Lab/X-OmniClaw) into .claude/skills/model-config in your project. Claude Code loads it when a task matches its description.

How do I install Model Config in Codex?

Run `npx skills add OPPO-Mente-Lab/X-OmniClaw --skill model-config -a codex`. Or copy the skill folder (app/src/main/assets/skills/model-config in OPPO-Mente-Lab/X-OmniClaw) into .agents/skills/model-config in your project. Codex loads it when a task matches its description.

Can I use Model Config in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OPPO-Mente-Lab/X-OmniClaw --skill model-config -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/model-config, .gemini/skills/model-config, .github/skills/model-config and .opencode/skills/model-config in your project.

What does Model Config need to run?

SKILL.md names no scripts, command-line tools or credentials: Model Config is instructions for the agent only.

Does Model Config access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Model Config safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Model Config use?

Model Config is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Model Config use?

About 454 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Model Config?

Skills that share tags, products or a category with Model Config: Local Web Search (uluckyXH/OpenMOSS, 1.3k stars), Codex Bridge Chatgpt (anightmonarch/codex-bridge-chatgpt, 147 stars), Consult Oracle (tobihagemann/turbo, 409 stars) and Computer Use Agents (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Model Config?

OPPO-Mente-Lab (a GitHub organization) maintains it in OPPO-Mente-Lab/X-OmniClaw, which has 265 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on May 22, 2026.

Source: OPPO-Mente-Lab/X-OmniClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.