agent-mode

agent-mode is a skill for Claude Code, Codex from PhyAgentOS/PhyAgentOS-core. It costs 22 tokens per session (750 once invoked), scanned A, original, MIT.

A manager for the language-model modes available to an agent. A mode is a saved configuration that selects a model and describes how it should be used, such as for coding or multimodal work.

In plain words
What is it for?
Use it to list modes, switch the active mode, or add, update, and remove model configurations. Adding or updating requires a model identifier and description.
Why use it?
It provides one place to see available model configurations and change the active one. It also avoids editing these configurations manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list modes, switch the active mode, or add, update, and remove model configurations. Adding or updating requires a model identifier and description.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phyagentos/phyagentos-core/agent-mode
About the project

PhyAgentOS-core is an agent framework for physical, or embodied, tasks in which software agents plan tool calls, observe what happened, and verify whether a real-world goal was achieved. It is intended for systems that operate physical agents through governed execution, recovery, evidence collection, and task-level verification. The catalogue add-ons provide workflows for working with this framework.

PhyAgentOS/PhyAgentOS-core · 3,028 stars · on GitHub · phy-agent-os.x-era.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PhyAgentOS/PhyAgentOS-core --skill agent-mode
Clone the repo
git clone --depth 1 https://github.com/PhyAgentOS/PhyAgentOS-core

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/phyagentos/phyagentos-core/agent-mode/github.svg)](https://agentmods.dev/skills/phyagentos/phyagentos-core/agent-mode)
Your own site
<a href="https://agentmods.dev/skills/phyagentos/phyagentos-core/agent-mode"><img src="https://agentmods.dev/badge/skills/phyagentos/phyagentos-core/agent-mode/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/phyagentos/phyagentos-core/agent-mode"><img src="https://agentmods.dev/badge/skills/phyagentos/phyagentos-core/agent-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00750
Opus 5.5 $0.00009 $0.00300
Sonnet 5.5 $0.00004 $0.00150
Haiku 4.5 $0.00002 $0.00075

Measured 3mo ago against content hash 3f944fb02db8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-mode scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

PhyAgentOS/skills/agent-mode/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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>

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 88 lines · 22 tokens per session scan A 3f944fb02db8

Subscribe to this mod's changes

agent-mode is a skill published in the GitHub repository PhyAgentOS/PhyAgentOS-core (3,028 stars, last pushed 9d ago), licensed MIT. It adds 22 tokens to every session and 750 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-mode compared with skills from other repositories

agent-mode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-modePhyAgentOS/PhyAgentOS-coreSkill3.0k9d agoMITA22Claude Code, Codex
open-code-reviewalibaba/open-code-reviewSkill57ktodayApache-2.0A86Cursor
portable-text-serializationvercel/eveSkill6.1ktodayApache-2.0A80Claude Code, Codex
sanity-best-practicesvercel/eveSkill6.1ktodayApache-2.0A153Claude Code, Codex
penguin-pluginPrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0A89Claude Code, Codex
email-adaptationvercel/eveSkill6.1ktodayApache-2.0A37Claude Code, Codex
resend-buildvercel/eveSkill6.1ktodayApache-2.0A32Claude Code, Codex