mstar-host

mstar-host is a skill for Claude Code from btspoony/mstar-harness. It costs 99 tokens per session (2,536 once invoked), scanned A, original, MIT.

A set of instructions that adapts the Morning Star workflow to different coding hosts, such as OpenCode, Cursor, Codex, or Kimi. It explains how each host handles questions, plans, task dispatch, and agent calls.

In plain words
What is it for?
Use it after the core Morning Star rules to identify the active host, load its instructions, and run clarification, planning, and delegation through the correct interface.
Why use it?
The same development rules may need different entry points and actions depending on the coding tool in use. This keeps host-specific behavior separate from the shared workflow rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the morning-star-harness plugin — 23 skills, 5 commands, 14 agents, 2 hooks shipped together

Good fit Use it after the core Morning Star rules to identify the active host, load its instructions, and run clarification, planning, and delegation through the correct interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/btspoony/mstar-harness/mstar-host
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 btspoony/mstar-harness --skill mstar-host
Clone the repo
git clone --depth 1 https://github.com/btspoony/mstar-harness

Made for: Claude Code.

Or install morning-star-harness, the plugin that ships this one along with the rest of its 23 skills, 5 commands, 14 agents, 2 hooks.

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 mstar-host

README.md
[![agentmods](https://agentmods.dev/badge/skills/btspoony/mstar-harness/mstar-host/github.svg)](https://agentmods.dev/skills/btspoony/mstar-harness/mstar-host)
Your own site
<a href="https://agentmods.dev/skills/btspoony/mstar-harness/mstar-host"><img src="https://agentmods.dev/badge/skills/btspoony/mstar-harness/mstar-host/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 mstar-host

Your own site · 80×15
<a href="https://agentmods.dev/skills/btspoony/mstar-harness/mstar-host"><img src="https://agentmods.dev/badge/skills/btspoony/mstar-harness/mstar-host.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,536 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.00099 $0.02536
Opus 5 $0.00049 $0.01268
Sonnet 5 $0.00020 $0.00507
Haiku 4.5 $0.00010 $0.00254

Measured today against content hash 7f72fc8f7bc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mstar-host 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 today.

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.

skills/mstar-host/SKILL.md · 99 lines

How it starts

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

Morning Star Host Adapter

Host-specific capabilities and entry behavior for Morning Star. Process gates and invariants stay in mstar-harness-core and topic mstar-* skills.

Load order

本 skill 总是在 mstar-harness-core 之后加载(先 Read mstar-harness-core SKILL.md;宿主注入项目 AGENTS.md 也不跳过,见下 ## First action)。本 skill 只适配宿主入口 / 检测 / 计划 UX;状态机与门禁以 mstar-harness-core 为准。

First action

Read mstar-harness-core before this skill (even when the host injects project AGENTS.md).

Default path

  1. Read mstar-harness-core
  2. Read mstar-host (this skill) and detect host below
  3. Read references/<host>.md for the active host
  4. Load role via mstar-roles
  5. Execute with evidence-first completion checks

Load topic skills on demand per mstar-roles (do not read every mstar-* skill by default). Cursor routing-eval (.cursor/skills/mstar-routing-eval/) is regression tooling only — not part of runtime load order.

Detect active host

Detect from session tool shapes and available commands — not from plugin markers on disk. The *-plugin/plugin.json files cannot identify the host: they all coexist in this harness source repo and in any multi-host install.

Signal Host Next read
subagent_type param on the Task tool (plus CreatePlan/SwitchMode when Plan mode is active) cursor references/cursor.md; Plan mode also references/cursor-plan-mode-bridge.md
question tool, or task tool with subagent (singular) — no tasks[] batch opencode references/opencode.md
task tool with agent / tasks[] batch, ask, hub (omp also exposes /goal; goal rule is host-agnostic per below) omp references/omp.md; Plan mode also references/omp-plan-mode-bridge.md
subagent tool (dsh's model-facing delegation tool — @deepseek-ai/dsh-tool-subagent default toolName) dsh references/dsh.md
Agent / AskUserQuestion / EnterPlanMode + AgentSwarm (Kimi-only) kimi references/kimi.md; Plan mode also references/kimi-plan-mode-bridge.md
Agent / AskUserQuestion / EnterPlanMode / TodoWrite, no AgentSwarm zcode references/zcode.md; Plan mode also references/zcode-plan-mode-bridge.md
/plan, /goal slash commands; Goal tools; functions.* / codex_app.* tool namespaces; tool_search; Browser plugin tools codex references/codex.md; Plan mode also references/_shared/plan-mode-bridge-core.md
Still ambiguous - Read sections in cursor.md, opencode.md, codex.md, kimi.md, zcode.md, omp.md, and dsh.md that match tools you have; mstar-harness-core wins on conflict

Read the full file on GitHub · 99 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. today Changed · +2 lines 7f72fc8f7bc1
  2. 8d ago Changed · -125 tokens per session 8b391fbdb6d5
  3. 12d ago First seen · 97 lines · 224 tokens per session scan A 0ad2d7c468cc

Subscribe to this mod's changes

mstar-host is a skill published in the GitHub repository btspoony/mstar-harness (57 stars, last pushed today), licensed MIT. It adds 99 tokens to every session and 2,536 once invoked, about $0.0005 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.