analyze

analyze is a command for coding agents from Xiaoyun-0922/openmarx. It costs 38 tokens per session (676 once invoked), scanned A, original, MIT.

A command for grounded Marxist analysis of research, engineering, project, debugging, open-source adoption, and retrospective problems. It requires evidence-first reasoning and a practical plan with ways to validate it.

In plain words
What is it for?
Use it with `/marx:analyze` or `/marx-analyze` to investigate stalled projects, debugging issues, research questions, retrospectives, and why an open-source project has few users.
Why use it?
It helps distinguish the central contradiction or root cause from symptoms and secondary problems. For concrete project or repository questions, it directs the agent to inspect available evidence before analyzing.

Command

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

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 commands/xiaoyun-0922/openmarx/analyze
Clone the repo
git clone --depth 1 https://github.com/Xiaoyun-0922/openmarx

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 analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/xiaoyun-0922/openmarx/analyze.svg)](https://agentmods.dev/commands/xiaoyun-0922/openmarx/analyze)
Your own site
<a href="https://agentmods.dev/commands/xiaoyun-0922/openmarx/analyze"><img src="https://agentmods.dev/badge/commands/xiaoyun-0922/openmarx/analyze.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 676 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.1 $0.00038 $0.00676
Opus 5 $0.00019 $0.00338
Sonnet 5 $0.00008 $0.00135
Haiku 4.5 $0.00004 $0.00068

Measured 5d ago against content hash d4617f210668, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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 5d 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/analyze.md · 48 lines

What it actually says

Activate the marx skill and use the full output frame.

Response language policy:

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

Evidence pass:

  • For project/repository/GitHub/adoption tasks, inspect local evidence first.
  • If the task mentions stars, users, open source, or GitHub adoption, 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. 5d ago First seen · 48 lines · 38 tokens per session scan A d4617f210668

Subscribe to this mod's changes

analyze is a command published in the GitHub repository Xiaoyun-0922/openmarx (5 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 676 once invoked, about $0.0002 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.