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.
npx skills add btspoony/mstar-harness --skill mstar-compound-refreshgit clone --depth 1 https://github.com/btspoony/mstar-harnessWrote 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.
[](https://agentmods.dev/skills/btspoony/mstar-harness/mstar-compound-refresh)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.02437 |
| Opus 5.5 | $0.00029 | $0.00975 |
| Sonnet 5.5 | $0.00014 | $0.00487 |
| Haiku 4.5 | $0.00007 | $0.00244 |
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 16d 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.
How it starts
The opening of the file, as written. The whole thing — 156 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(散文,见 Phase 4)+ <repo-root>/CONCEPTS.md;知识关联经 mstar catalog link,不写 status/snapshot metadata。禁止操作 docs/、{PLAN_DIR}/、{ITERATION_DIR}/、{SPECS_DIR}/。
Engine check (when available): run
mstar compound validate <doc-path> --knowledge-dir <dir>(orimport { 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) and guard every write against it; this scope never authorizes ACTIVE status/snapshot writes. Onfail-> 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) |
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.
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.
- 16d ago Changed · -102 tokens per session 7d9522865a24
- 1mo ago Changed 135465a3bd61
- 1mo ago Changed · +1 lines 84ef3fe3a825
- 2mo ago First seen · 155 lines · 174 tokens per session scan A 7050ce49fd04
mstar-compound-refresh is a skill published in the GitHub repository btspoony/mstar-harness (68 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 2,437 once invoked, about $0.0003 per session on Opus 5.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.
mstar-compound-refresh compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mstar-compound-refreshbtspoony/mstar-harness | Skill | 68 | yesterday | MIT | A | 72 | Claude Code |
| comet-memoryrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 38 | Claude Code, Codex |
| wiki-retrieveAgriciDaniel/claude-obsidian | Skill | 16k | 12d ago | MIT | A | 81 | Claude Code |
| last30Dayschaitanyagiri/munder-difflin | Skill | 9.3k | 6d ago | MIT | A | 83 | Claude Code |
| subagent-driven-developmentrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 17 | Claude Code, Codex |
| comet-hotfixrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 40 | Claude Code, Codex |
| comet-tweakrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 48 | Claude Code, Codex |