marx-analyze

marx-analyze is a command for Claude Code from Xiaoyun-0922/openmarx. It costs 24 tokens per session (663 once invoked), scanned A, original, MIT.

A grounded analysis command for diagnosing projects, open-source software adoption, debugging problems, research questions, and retrospectives. Open-source software is code that others can inspect and often reuse; adoption means whether people start using it.

In plain words
What is it for?
Use it to investigate bugs, understand why an open-source project is not gaining users, analyze research or delivery problems, or examine a project's evidence and next validation step.
Why use it?
It requires an evidence pass before making claims about a project, repository, GitHub activity, or user adoption. This helps separate observed facts from assumptions and abstract explanations.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the marx plugin — 1 skill, 16 commands, 3 hooks shipped together

Good fit Use it to investigate bugs, understand why an open-source project is not gaining users, analyze research or delivery problems, or examine a project's evidence and next validation step.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/xiaoyun-0922/openmarx/marx-analyze
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.

Clone the repo
git clone --depth 1 https://github.com/Xiaoyun-0922/openmarx

Made for: Claude Code.

Or install marx, the plugin that ships this one along with the rest of its 1 skill, 16 commands, 3 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 marx-analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/xiaoyun-0922/openmarx/marx-analyze/github.svg)](https://agentmods.dev/commands/xiaoyun-0922/openmarx/marx-analyze)
Your own site
<a href="https://agentmods.dev/commands/xiaoyun-0922/openmarx/marx-analyze"><img src="https://agentmods.dev/badge/commands/xiaoyun-0922/openmarx/marx-analyze/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 marx-analyze

Your own site · 80×15
<a href="https://agentmods.dev/commands/xiaoyun-0922/openmarx/marx-analyze"><img src="https://agentmods.dev/badge/commands/xiaoyun-0922/openmarx/marx-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 663 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.
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.00024 $0.00663
Opus 5 $0.00012 $0.00331
Sonnet 5 $0.00005 $0.00133
Haiku 4.5 $0.00002 $0.00066

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

Security

Grade A, and why

marx-analyze 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 9d 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.

commands/marx-analyze.md · 48 lines

What it actually says

Use the marx skill in analyze mode.

Response language policy:

  • Match the user's language.
  • Keep required contract labels exactly: 已检查证据:, 未检查项目证据:, 实践方案, and 验证标准.
  • Provide bilingual output only when explicitly requested.

Evidence pass:

  • Inspect available project evidence first for concrete project/repository/GitHub/adoption questions.
  • If the request mentions stars, users, open source, launch, adoption, or GitHub, use the OSS adoption checklist.
  • Start with 已检查证据 or 未检查项目证据.
  • First visible output line must be either 已检查证据: or 未检查项目证据: before any title, table, horizontal rule, or summary. Use an ASCII colon :, not a full-width Chinese colon . Do not use variants such as 已检查项目证据:.
  • Do not start with a horizontal rule, generic title, or 证据表; the evidence line comes first.
  • Do not lead with abstract macro-theory.

Evidence freshness:

  • Mark prior-turn facts as reused evidence, not freshly inspected evidence.
  • If a concrete implementation target matters, inspect it this turn or label it as an assumption.

Forbidden output terms:

  • Do not mention 使用价值, 交换价值, 社会必要劳动, 劳动价值, 资本论, 生产价值, or 劳动者 unless the user explicitly asks for theory.
  • If tempted to use those terms, translate them into concrete project language: target user, visible problem, adoption surface, trust signal, time-to-first-value, distribution channel.

Methodology mapping:

  • If the user asks for philosophy, methodology, 核心理念, 理解, 分析方法, or why the diagnosis works, include a short 方法论映射 section.
  • Keep 方法论映射 to 3-5 bullets: 客观实际, 现象与本质, 主要矛盾, 联系与发展, 实践检验.
  • Translate Marxist philosophy into concrete project language; do not expand into abstract macro-theory.

OSS evidence table:

  • For stars/users/adoption questions, include a compact evidence table with README positioning, installation friction, demo or screenshot, quickstart, GitHub topics, trust signals, competitive context, distribution evidence, and user feedback loop.

Project acceleration:

  • If the user asks to continue, push toward open source, improve packaging, or test whether the skill helps, move from diagnosis to implementation-ready action.
  • Include the concrete file/release surface to change only when inspected or provided, a feedback loop, and a verification command.

Required final sections:

  • Include 实践方案 and 验证标准 exactly in every project-grounded answer.
  • Do not rename these sections to "next steps", "建议", "接下来的路", or "最小下一步验证".
  • 验证标准 must contain an observable pass/fail rule or measurable metric.

User request: $ARGUMENTS

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. 9d ago First seen · 48 lines · 24 tokens per session scan A 2ee5f84dbba5

Subscribe to this mod's changes

marx-analyze is a command published in the GitHub repository Xiaoyun-0922/openmarx (5 stars, last pushed 4mo ago), licensed MIT. It adds 24 tokens to every session and 663 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-31.