markus-admin-cli

A command-line interface for checking and controlling a Markus installation. It reports system health and version information, previews or performs updates, and can stop all agents in an emergency.

In plain words
What is it for?
Use it to inspect system status, check for available updates, update the installation, or immediately stop every agent.
Why use it?
It gives administrators a small set of shell commands for infrastructure setup and emergency work when the web interface or built-in agent tools are not suitable.

Skill for Claude CodeCodex

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 skills/markus-global/markus/markus-admin-cli
Any agent
npx skills add markus-global/markus --skill markus-admin-cli
Clone the repo
git clone --depth 1 https://github.com/markus-global/markus

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 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 $0.00023 $0.00537
Opus 5 $0.00012 $0.00269
Sonnet 5 $0.00005 $0.00107
Haiku 4.5 $0.00002 $0.00054

Measured 2d ago against content hash dbe975a43efa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

markus-admin-cli 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.

templates/skills/markus-admin-cli/SKILL.md · 59 lines

How it starts

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

System Administration via CLI

NOTE: The CLI is intentionally minimal. Most operations should be done through built-in agent tools or the Web UI. The CLI is reserved for infrastructure bootstrap, human-agent communication, and emergency operations.

How to invoke

Use markus via shell_execute. The binary is automatically available in PATH.

markus admin system status --json

Always use --json when parsing results programmatically. The CLI connects to http://localhost:8056 by default. Override with --server <url> or MARKUS_API_URL. For authenticated access use --api-key <key> or MARKUS_API_KEY.

Available Admin Commands

markus admin system status --json
markus admin system version --json
markus admin system update
markus admin system update --dry-run
markus admin system emergency-stop
Command Description
admin system status System and health status
admin system version Current version, git info, and whether updates are available
admin system update Pull latest code, install deps, rebuild. --dry-run to preview
admin system emergency-stop Immediately stop all agents

Update Workflow

When updating the platform: (1) confirm with the user, (2) run markus admin system update, (3) restart the service with markus start.

Other CLI Commands (non-admin)

markus start                  # Start the server
markus doctor                 # Diagnose configuration
markus model                  # Configure LLM providers
markus models [provider]      # List available models
markus auth list|add|remove   # Manage API credentials
markus install <platform>     # Install external agent platform
markus agent list             # List agents
markus agent get <id>         # Get agent details
markus agent chat <id>        # Interactive chat
markus agent message <id>     # Send one-shot message

Prefer Built-in Tools

For project, task, requirement, deliverable, team, and skill management, always use built-in agent tools (task_create, list_projects, requirement_propose, team_list, etc.) instead of CLI commands. The CLI does not provide these commands — they are agent-only operations.

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 59 lines · 23 tokens per session scan A dbe975a43efa

Subscribe to this mod's changes

markus-admin-cli is a skill published in the GitHub repository markus-global/markus (157 stars, last pushed 5d ago), licensed Apache-2.0. It adds 23 tokens to every session and 537 once invoked, about $0.0001 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-30.