Agent skill

Agent Mode

by PhyAgentOS in PhyAgentOS/PhyAgentOS-core

Unified tool for managing agent LLM modes (add, remove, update, list, switch).

MITAuto-check passed

Install Agent Mode

skills CLI
$ npx skills add PhyAgentOS/PhyAgentOS-core --skill agent-mode -a claude-code

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

GitHub CLI
$ gh skill install PhyAgentOS/PhyAgentOS-core agent-mode --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/PhyAgentOS/PhyAgentOS-core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/PhyAgentOS/skills/agent-mode .claude/skills/agent-mode && 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
agent-mode
GitHub stars
2.7k
Token cost
~711 tokens
SKILL.md length
239 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Unified tool for managing agent LLM modes (add, remove, update, list, switch).

  • SKILL.md covers Features, Tools and Usage
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Mode is an agent skill from PhyAgentOS/PhyAgentOS-core. Unified tool for managing agent LLM modes (add, remove, update, list, switch).

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

It works with OpenAI and Qwen. The repository describes itself as: PhyAgentOS is a Recursive Self-Improving (RSI) physical agent operating system that enables agents to recursively self-improve through agentic workflows. The licence is MIT.

Example prompts

  • “/agent-mode”

What it can do on your machine

Read from SKILL.md and the folder at commit 466e38b. 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

Agent Mode loads about 711 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 239 words of instructions outside code blocks.

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

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 PhyAgentOS/PhyAgentOS-core at commit 466e38b, republished under its MIT licence (© PhyAgentOS). 239 words, ~711 tokens.

Download SKILL.mdSave it as .claude/skills/agent-mode/SKILL.md (or your agent's skills folder).
name
agent-mode
description
Unified tool for managing agent LLM modes (add, remove, update, list, switch).

Agent Mode Manager

Unified tool for managing agent LLM modes including adding, removing, updating, listing, and switching models.

Features

  • List all available models with mode and description
  • Switch to a specific model mode based on mode
  • Add new model configurations
  • Remove existing model configurations
  • Update existing model configurations

Tools

This skill provides the following tool:

agent_mode

Unified tool for agent mode management.

Parameters:

  • method (string, required): The method to perform - add, remove, update, list, or switch
  • mode (string, optional): Mode name (e.g., "common", "coding", "multimodal"). Default is "common". Required for all methods except list.
  • model (string, optional): Model identifier (e.g., "openai/qwen3.5:cloud"). Required for add and update methods.
  • describe (string, optional): Description of the model. Required for add and update methods.

Example - List all models:

<tool>agent_mode</tool>
<parameter name="method">list</parameter>

Example - Switch to coding mode:

<tool>agent_mode</tool>
<parameter name="method">switch</parameter>
<parameter name="mode">coding</parameter>

Example - Switch to common mode:

<tool>agent_mode</tool>
<parameter name="method">switch</parameter>
<parameter name="mode">common</parameter>

Example - Add a new coding model openai/qwen3-coder-next:cloud with describe: a coding model:

<tool>agent_mode</tool>
<parameter name="method">add</parameter>
<parameter name="mode">coding</parameter>
<parameter name="model">openai/qwen3-coder-next:cloud</parameter>
<parameter name="describe">a coding model</parameter>

Example - Remove the coding mode:

<tool>agent_mode</tool>
<parameter name="method">remove</parameter>
<parameter name="mode">coding</parameter>

Example - Update a model for coding to openai/qwen3-coder-next:cloud:

<tool>agent_mode</tool>
<parameter name="method">update</parameter>
<parameter name="mode">coding</parameter>
<parameter name="model">openai/qwen3-coder-next:cloud</parameter>

Usage

When users want to manage agent modes:

  • "List all available models" → Call agent_mode with method: "list"
  • "Switch to coding mode" → Call agent_mode with method: "switch", mode: "coding"
  • "Add a new model" → Call agent_mode with method: "add", mode: "xxx", model: "xxx", describe: "xxx"
  • "Remove a model" → Call agent_mode with method: "remove", mode: "xxx"
  • "Update a model" → Call agent_mode with method: "update", mode: "xxx", model: "xxx", describe: "xxx"

Always use tool to manage agent modes, do not think by you self!

© PhyAgentOS, MIT. 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 PhyAgentOS/skills/agent-mode of PhyAgentOS/PhyAgentOS-core.

Open the folder on GitHubat commit 466e38b

Compare with similar skills

Agent Mode 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.

Agent Mode compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Mode this skillPhyAgentOS/PhyAgentOS-core2.7k—~711Automated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Deep Reviewdyad-sh/dyad22k—~1.4kAutomated safety check: PassCustom licence
Dingo VerifyMigoXLab/dingo757—~741Automated safety check: NotesApache-2.0
AI Image Creatorcentminmod/my-claude-code-setup2.7k—~8kAutomated safety check: NotesMIT
Character Refseternityspring/shuohao-skills4.2k—~1.7kAutomated safety check: WarnApache-2.0

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Deep Review

    dyad-sh/dyad

    Deep multi-agent code review run locally — a fleet of parallel finder agents reviews the diff from independent angles, then adversarial verifier agents reproduce each finding before it is reported.

    22k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dingo Verify

    MigoXLab/dingo

    A skill your agent uses when the user wants to fact-check an article or verify factual claims in a document.

    757 GitHub stars~741 tokensUpdated 9 days ago
    Data & AnalyticsAuto-check: notes
  • AI Image Creator

    centminmod/my-claude-code-setup

    Generate, edit-from-reference, or analyze images with AI via OpenRouter (Gemini, GPT Image, Seedream, Qwen, MAI, Grok, FLUX.2, Recraft, Muse, Riverflow; Cloudflare AI Gateway BYOK).

    2.7k GitHub stars~8k tokensUpdated 10 days ago
    Media & CreativeAuto-check: notes
  • Character Refs

    eternityspring/shuohao-skills

    给任何故事里的角色真出参考图(小说改编、自己原创的故事、单独设计一个角色都行,不需要小说原文): 一段话描述角色,拆成分层字段、补全后确认, 先出一张正面全身锚点,其余视图(大头照、90° 侧面、背面、细节、45° 大头照)都只参考这张锚点, 按需分档出图。每张图带标识、可单独重出,重出后自动标出哪些图过期。

    4.2k GitHub stars~1.7k tokensUpdated 11 days ago
    Media & CreativeAuto-check: warnings
  • Remember Learnings

    dyad-sh/dyad

    Review the current session for errors, issues, snags, and hard-won knowledge, then update the rules/ files (or AGENTS.md if no suitable rule file exists) with actionable learnings.

    22k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from PhyAgentOS/PhyAgentOS-core

  • Clawhub

    PhyAgentOS/PhyAgentOS-core

    Search and install agent skills from ClawHub, the public skill registry.

    2.7k GitHub starsUsed in 3 repos~351 tokens
    Auto-check passed
  • Image

    PhyAgentOS/PhyAgentOS-core

    Unified tool for analyzing and displaying images (vision analysis and image display).

    2.7k GitHub stars~899 tokensUpdated yesterday
    Auto-check passed
  • Memory

    PhyAgentOS/PhyAgentOS-core

    Two-layer memory system with grep-based recall. An agent skill from PhyAgentOS/PhyAgentOS-core.

    2.7k GitHub starsUsed in 1 repo~365 tokens
    Auto-check passed
  • Cron

    PhyAgentOS/PhyAgentOS-core

    Schedule reminders and recurring tasks.

    2.7k GitHub starsUsed in 2 repos~377 tokens
    Auto-check passed

Works with

Questions about Agent Mode

What does Agent Mode do?

Unified tool for managing agent LLM modes (add, remove, update, list, switch). Agent Mode is an agent skill from PhyAgentOS/PhyAgentOS-core. Unified tool for managing agent LLM modes (add, remove, update, list, switch).

How do I install Agent Mode in Claude Code?

Run `npx skills add PhyAgentOS/PhyAgentOS-core --skill agent-mode -a claude-code`. Or copy the skill folder (PhyAgentOS/skills/agent-mode in PhyAgentOS/PhyAgentOS-core) into .claude/skills/agent-mode in your project. Claude Code loads it when a task matches its description.

How do I install Agent Mode in Codex?

Run `npx skills add PhyAgentOS/PhyAgentOS-core --skill agent-mode -a codex`. Or copy the skill folder (PhyAgentOS/skills/agent-mode in PhyAgentOS/PhyAgentOS-core) into .agents/skills/agent-mode in your project. Codex loads it when a task matches its description.

Can I use Agent Mode 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 PhyAgentOS/PhyAgentOS-core --skill agent-mode -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-mode, .gemini/skills/agent-mode, .github/skills/agent-mode and .opencode/skills/agent-mode in your project.

What does Agent Mode need to run?

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

Does Agent Mode 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 Agent Mode 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 Agent Mode use?

Agent Mode is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Mode use?

About 711 tokens (SKILL.md is roughly 2.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 Agent Mode?

Skills that share tags, products or a category with Agent Mode: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Deep Review (dyad-sh/dyad, 22k stars), Dingo Verify (MigoXLab/dingo, 757 stars) and AI Image Creator (centminmod/my-claude-code-setup, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Mode?

PhyAgentOS (a GitHub organization) maintains it in PhyAgentOS/PhyAgentOS-core, which has 2,737 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: PhyAgentOS/PhyAgentOS-core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.