mstar-compound-refresh

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

A knowledge-maintenance workflow for reviewing project knowledge documents, removing outdated material, merging overlaps, or creating a starter knowledge set from a codebase.

In plain words
What is it for?
Use it to refresh knowledge documents, bootstrap missing CONCEPTS.md or knowledge files, update references in status data, and produce a maintenance report.
Why use it?
It helps keep stored project guidance accurate as the code and conventions change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

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

Good fit Use it to refresh knowledge documents, bootstrap missing CONCEPTS.md or knowledge files, update references in status data, and produce a maintenance report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/btspoony/mstar-harness/mstar-compound-refresh
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-compound-refresh
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-compound-refresh

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/btspoony/mstar-harness/mstar-compound-refresh"><img src="https://agentmods.dev/badge/skills/btspoony/mstar-harness/mstar-compound-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,335 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 141
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00174 $0.02335
Opus 5 $0.00087 $0.01167
Sonnet 5 $0.00035 $0.00467
Haiku 4.5 $0.00017 $0.00233

Measured 11d ago against content hash 7050ce49fd04, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mstar-compound-refresh 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 11d 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.

skills/mstar-compound-refresh/SKILL.md · 155 lines

How it starts

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

mstar-compound-refresh(知识维护)

Load order

Read mstar-harness-core first. Path symbols → mstar-conventions. On conflict, mstar-harness-core wins.

Purpose

Knowledge documents in {KNOWLEDGE_DIR} age. Code changes, conventions evolve, patterns become obsolete. mstar-compound-refresh audits the knowledge store against the current codebase and makes it trustworthy again.

产物与操作路径

SSOT: mstar-conventions/references/artifact-storage-paths.md。本 skill 仅操作 {HARNESS_DIR}/knowledge/**/*.md + {HARNESS_DIR}/knowledge/README.md + <repo-root>/CONCEPTS.md + {HARNESS_DIR}/status.json(引用更新;v2 中知识引用挂在 workflow snapshot plan 行 metadata.knowledge_refs,见下)。禁止操作 docs/{PLAN_DIR}/{ITERATION_DIR}/{SPECS_DIR}/

Engine check (when available): run mstar compound validate <doc-path> --knowledge-dir <dir> (or import { scopeGuard, compoundRefreshScope } from "@mstar-harness/engine" in a host hook) to resolve the allowed scope above ({HARNESS_DIR}/knowledge/**, knowledge/README.md, <repo-root>/CONCEPTS.md, {HARNESS_DIR}/status.json) and guard every write against it. On fail -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.

When to use

Trigger Example
mstar-compound detected overlapping docs "Two docs cover N+1 queries — consider refresh"
Scheduled maintenance "It's been a quarter, let's audit knowledge"
Domain refactored After a major module rewrite
Explicit user request /pm compound-refresh performance-issues
Project knowledge bootstrap No/stale/partial STRATEGY.md, CONCEPTS.md, or {KNOWLEDGE_DIR} — see below

Bootstrap vs refresh

Mode When Procedure
Refresh {KNOWLEDGE_DIR} exists; audit accuracy, merge overlaps, delete stale docs This skill § Process (Phases 1–6)
Bootstrap No knowledge scaffolding, or artifacts are absent/stale enough to warrant full distillation from codebase references/project-knowledge-bootstrap.md (7-phase: survey → STRATEGY.md → CONCEPTS.md → baseline knowledge → indexing → harness init → commit)

Read the full file on GitHub · 155 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. 11d ago First seen · 155 lines · 174 tokens per session scan A 7050ce49fd04

Subscribe to this mod's changes

mstar-compound-refresh is a skill published in the GitHub repository btspoony/mstar-harness (58 stars, last pushed today), licensed MIT. It adds 174 tokens to every session and 2,335 once invoked, about $0.0009 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.