Agent skill

Minimax Delegation

by athola in athola/claude-night-market

Delegates tasks to the MiniMax CLI (mmx) via delegation-core.

MITAuto-check passedAgent Workflows

Install Minimax Delegation

skills CLI
$ npx skills add athola/claude-night-market --skill minimax-delegation -a claude-code

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

GitHub CLI
$ gh skill install athola/claude-night-market minimax-delegation --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/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/conjure/skills/minimax-delegation .claude/skills/minimax-delegation && 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
minimax-delegation
GitHub stars
341
Token cost
~1.2k tokens
SKILL.md length
418 words
Files
2
Skills in repo
152
Repo updated
First seen
Licence
MIT

At a glance

Delegates tasks to the MiniMax CLI (mmx) via delegation-core.

  • Delegation-core selects MiniMax
  • SKILL.md covers Overview, When To Use, When NOT To Use and Prerequisites, plus 4 more sections
  • Calls python, npm and uv; reaches github.com
  • Large-context batch work is needed

What it does

Minimax Delegation is an agent skill from athola/claude-night-market. Delegates tasks to the MiniMax CLI (mmx) via delegation-core. Use when delegation-core selects MiniMax or large-context batch work is needed.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `modules/minimax-specifics.md`).

It sits in Agent Workflows. It works with MiniMax. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Delegation-core selects MiniMax
  • Large-context batch work is needed

Example prompts

  • “Use the minimax-delegation skill to delegate tasks to the MiniMax CLI (mmx) via delegation-core”
  • “/minimax-delegation”

Requirements

  • Python 3
  • Node.js

What it can do on your machine

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

    Shell commands in SKILL.md call:

    • python
    • npm
    • uv

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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

Minimax Delegation loads about 1.2k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 418 words of instructions outside code blocks.

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

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 athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 418 words, ~1,238 tokens.

Download SKILL.mdSave it as .claude/skills/minimax-delegation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
minimax-delegation
description
Delegates tasks to the MiniMax CLI (mmx) via delegation-core. Use when delegation-core selects MiniMax or large-context batch work is needed.
alwaysApply
false
category
delegation-implementation
tags
minimax, cli, delegation, large-context
dependencies
delegation-core
tools
mmx-cli, delegation_executor.py
usage_patterns
mmx-cli-integration, large-context-analysis, bulk-processing
complexity
intermediate
model_hint
standard
estimated_tokens
600
progressive_loading
true

MiniMax CLI Delegation

Overview

This skill implements conjure:delegation-core for the official MiniMax CLI, mmx. It provides MiniMax-specific authentication, quota management, and command construction.

For shared delegation patterns, see Skill(conjure:delegation-core).

When To Use

  • After Skill(conjure:delegation-core) determines MiniMax is suitable
  • When you need MiniMax-M3's large context window (1M tokens)
  • For batch processing, summarization, or multi-file analysis
  • If the mmx CLI is installed and authenticated

When NOT To Use

  • Choosing which provider to delegate to (use conjure:delegation-core)
  • Another provider was selected (use that provider's delegation skill)

Prerequisites

Installation:

Install the official CLI, published as mmx-cli and maintained by MiniMax at https://github.com/MiniMax-AI/cli. It requires Node.js 18 or later and installs a binary named mmx.

bash
npm install -g mmx-cli
mmx --version

Install mmx-cli by that exact name. Unrelated third-party packages publish a binary called minimax, and this skill never invokes that name.

Authentication:

Credentials are managed by the CLI, not by an environment variable. mmx stores them in ~/.mmx/config.json.

bash
mmx auth login                      # interactive: OAuth or an API key
mmx auth login --api-key sk-xxxxx   # non-interactive, for CI
mmx auth status                     # canonical readiness check

mmx auth status is what delegation_executor.py --verify runs. A successful mmx --version alone does not mean the CLI is authenticated.

Regions: MiniMax serves a global region (api.minimax.io) and a mainland China region (api.minimaxi.com). API keys are issued per region and are not interchangeable. API-key login detects the matching region by probing both, so no manual base URL is normally needed. Set the region explicitly with mmx config set --key region --value cn or the MINIMAX_REGION environment variable.

Quick Start

Show full SKILL.md (191 more words)Show less
Using Shared Delegation Executor
bash
# Basic file analysis
python scripts/delegation_executor.py minimax "Analyze this code" --files src/main.py

# With specific model
python scripts/delegation_executor.py minimax "Summarize" --files src/ --model MiniMax-M3

# Verify the CLI is installed and authenticated
python scripts/delegation_executor.py minimax --verify

The executor reads the requested files and inlines their contents into the prompt, because mmx has no @path context syntax. Inlined context is capped at 96 KiB to stay inside the operating system limit on a single argument, and any remainder is reported in the prompt and the log.

Direct CLI Usage
bash
# Basic command
mmx text chat --message "Analyze this code"

# Specific model
mmx text chat --model MiniMax-M3 --message "Summarize this design"

# JSON output
mmx text chat --message "Extract the function names" --output json

# File contents must be passed in, not referenced
mmx text chat --message "Review this: $(cat src/main.py)"
Save Output
bash
mmx text chat --message "..." > delegations/minimax/$(date +%Y%m%d_%H%M%S).md

Smart Delegation

The shared delegation executor can auto-select the best service:

bash
uv run python scripts/delegation_executor.py auto "Analyze large codebase" \
  --files src/

MiniMax-Specific Details

For MiniMax-specific models, CLI options, cost reference, and troubleshooting, see modules/minimax-specifics.md.

Exit Criteria

  • mmx --version and mmx auth status both exit 0 before any task is delegated. A missing installation or failed authentication is reported and stops execution.
  • Every spawned command starts with the mmx binary. No command in this skill or in Delegator.SERVICES["minimax"] invokes a binary named minimax.
  • File context reaches the model as inlined contents. No @path reference appears in a prompt sent to mmx.
  • The delegated task output is saved to delegations/minimax/YYYYMMDD_HHMMSS.md (timestamp format matching the Quick Start example), and that file exists on disk after delegation.
  • If conjure:delegation-core selected a different provider, this skill is not invoked. MiniMax delegation only runs when delegation-core routes to it.

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/conjure/skills/minimax-delegation of athola/claude-night-market.

  • SKILL.md
  • modules/minimax-specifics.md

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Minimax Delegation 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.

Minimax Delegation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Minimax Delegation this skillathola/claude-night-market341—~1.2kAutomated safety check: PassMIT
Short Drama Directorlixiaoxiao9888-create/manju-laoli-skill1.1k—~6.4kAutomated safety check: PassMIT
Subagentethanhq/cc-fleet216—~4.9kAutomated safety check: PassApache-2.0
Subagentethanhq/cc-fleet216—~4.3kAutomated safety check: PassApache-2.0
Mnemonmnemon-dev/mnemon620—~776Automated safety check: PassApache-2.0
Clawhuboujingzhou/openmozi188—~291Automated safety check: PassApache-2.0

Similar skills

  • Short Drama Director

    lixiaoxiao9888-create/manju-laoli-skill

    【漫剧老李AIGC 全流程Skill · V6.9.8 轻量版 Multi-Agent】抖音与红果爆款短剧/漫剧工业化编剧与视听导演超级系统。全面支持 OpenClaw、WorkBuddy、豆包智能体/扣子(Coze)等多Agent平台,深度适配 Seedance 2.5/2.0(强制二选一,即梦为次选/历史兼容)+ MiniMax H3 格式支线(七段式→H3…

    1.1k GitHub stars~6.4k tokensUpdated 21 days ago
    Agent WorkflowsAuto-check passed
  • Subagent

    ethanhq/cc-fleet

    Fan out a one-shot or flat parallel batch of cc-fleet PROVIDER subagents (headless cc-fleet subagent) that return a result — DeepSeek / GLM / Kimi / Qwen / MiniMax, or a Codex/Claude subscription.

    216 GitHub stars~4.9k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check passed
  • Subagent

    ethanhq/cc-fleet

    Run a one-shot or flat parallel batch of provider LLM subagents (headless cc-fleet subagent) that return a result.

    216 GitHub stars~4.3k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check passed
  • Mnemon

    mnemon-dev/mnemon

    Persistent memory for MiniMax Code. An agent skill from mnemon-dev/mnemon.

    620 GitHub stars~776 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Clawhub

    oujingzhou/openmozi

    Search, install and manage skills from ClawdHub. An agent skill from oujingzhou/openmozi.

    188 GitHub stars~291 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Mobius MCP Stdio Invocation

    mobius-system/mobius

    Invoke any MCP (Model Context Protocol) server directly from the CLI via stdio JSON-RPC, with no Claude Code / harness dependency.

    139 GitHub stars~2.9k tokensUpdated today
    Agent WorkflowsAuto-check: notes

More from athola/claude-night-market

All 152 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    341 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    341 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Minimax Delegation

What does Minimax Delegation do?

Delegates tasks to the MiniMax CLI (mmx) via delegation-core. Minimax Delegation is an agent skill from athola/claude-night-market. Delegates tasks to the MiniMax CLI (mmx) via delegation-core.

When should I use Minimax Delegation?

Minimax Delegation fits situations like: delegation-core selects MiniMax; large-context batch work is needed.

How do I install Minimax Delegation in Claude Code?

Run `npx skills add athola/claude-night-market --skill minimax-delegation -a claude-code`. Or copy the skill folder (plugins/conjure/skills/minimax-delegation in athola/claude-night-market) into .claude/skills/minimax-delegation in your project. Claude Code loads it when a task matches its description.

How do I install Minimax Delegation in Codex?

Run `npx skills add athola/claude-night-market --skill minimax-delegation -a codex`. Or copy the skill folder (plugins/conjure/skills/minimax-delegation in athola/claude-night-market) into .agents/skills/minimax-delegation in your project. Codex loads it when a task matches its description.

Can I use Minimax Delegation 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 athola/claude-night-market --skill minimax-delegation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/minimax-delegation, .gemini/skills/minimax-delegation, .github/skills/minimax-delegation and .opencode/skills/minimax-delegation in your project.

What does Minimax Delegation need to run?

Going by SKILL.md and its folder, Minimax Delegation needs the command-line tools its instructions call (python, npm and uv). Our summary lists: Python 3; Node.js.

Does Minimax Delegation access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Minimax Delegation 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 Minimax Delegation use?

Minimax Delegation 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 Minimax Delegation use?

About 1.2k tokens (SKILL.md is roughly 5k 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 Minimax Delegation?

Skills that share tags, products or a category with Minimax Delegation: Short Drama Director (lixiaoxiao9888-create/manju-laoli-skill, 1.1k stars), Subagent (ethanhq/cc-fleet, 216 stars), Subagent (ethanhq/cc-fleet, 216 stars) and Mnemon (mnemon-dev/mnemon, 620 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Minimax Delegation?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 341 GitHub stars. The repository holds 152 skills in this directory. The repository was last updated on October 9, 2026.

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