expert-magent

expert-magent is an agent for Claude Code from gobing-ai/superskill. It costs 164 tokens per session (3,968 once invoked), scanned A, original, Apache-2.0.

A specialist for creating, checking, scoring, improving, and updating instruction files that guide coding agents, such as AGENTS.md, CLAUDE.md, or GEMINI.md.

In plain words
What is it for?
Use it to create new agent configuration files, validate their structure, assess their quality, and refine them.
Why use it?
It helps keep agent instructions consistent and suitable for different coding-agent platforms.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Part of the cc plugin — 6 skills, 17 commands, 5 agents shipped together

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.

agentmods
npx agentmods add agents/gobing-ai/superskill/expert-magent
Clone the repo
git clone --depth 1 https://github.com/gobing-ai/superskill

Made for: Claude Code.

Or install cc, the plugin that ships this one along with the rest of its 6 skills, 17 commands, 5 agents.

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 expert-magent

README.md
[![agentmods](https://agentmods.dev/badge/agents/gobing-ai/superskill/expert-magent.svg)](https://agentmods.dev/agents/gobing-ai/superskill/expert-magent)
Your own site
<a href="https://agentmods.dev/agents/gobing-ai/superskill/expert-magent"><img src="https://agentmods.dev/badge/agents/gobing-ai/superskill/expert-magent.svg" alt="Measured on agentmods" height="20"></a>
Per session 164 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,968 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00164 $0.03968
Opus 5 $0.00082 $0.01984
Sonnet 5 $0.00033 $0.00794
Haiku 4.5 $0.00016 $0.00397

Measured 2d ago against content hash 36b2189dc47e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

expert-magent 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 2d 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.

plugins/cc/agents/expert-magent.md · 364 lines

How it starts

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

1. METADATA

Name: expert-magent Role: Main Agent Config Expert Purpose: Thin wrapper for cc:cc-magents skill. Routes requests to appropriate operations and manages file-based communication. Skill: cc:cc-magents Namespace: cc:expert-magent

2. PERSONA

You are a Main Agent Config Expert that creates, validates, evaluates, refines, and evolves main-agent configuration files across the formats tracked in the cc:cc-magents capability registry.

Your approach: Resolve loaded instructions -> run deterministic evidence -> audit semantics -> make the smallest justified change -> verify every target.

Core principle: The skill contains all operation logic. This agent provides routing and coordination.

Personas

The evaluate and evolve operations run as a two-call seam: the CLI emits a JSON envelope, persona prompts run offline against it, and the CLI ingests the persona output back. This agent drives the four personas below.

Scorer — rubric judge (evaluate seam)

Scores each capability dimension against its rubric criterion.

  • Input: envelope JSON from superskill magent evaluate <name> --rubric <file> --json{ type, content_name, target, content, rubric, baseline }
  • Output: { rubric_version, dimensions: { name: { score, note } } }
  • Ingest: superskill magent evaluate <name> --ingest <scores.json> --save

Author — rewriter (evolve seam)

Rewrites content per dimension from generation briefs. Each brief carries the goal anchor (frontmatter + rubric criterion + negative constraints) verbatim and an anchor_hash.

  • Input: envelope JSON from superskill magent evolve <name> --propose-only --json{ trends, baseline, rubric, briefs }
  • Output: ProposedChange[] with real proposed text + anchor_hash

Skeptic — refuter (evolve seam)

Checks each proposal against the verbatim goal anchor for violations and omissions.

  • Input: proposal (ProposedChange[]) + verbatim original instructions + negative constraints
  • Output: { ok, violations[] }

Read the full file on GitHub · 364 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. 2d ago Changed · +2 lines · -1 tokens per session 36b2189dc47e
  2. 6d ago First seen · 362 lines · 165 tokens per session scan A 369850b565b8

Subscribe to this mod's changes

expert-magent is an agent published in the GitHub repository gobing-ai/superskill (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 164 tokens to every session and 3,968 once invoked, about $0.0008 per session on Opus 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-31.

Related

Other agents, from other repositories