MateCloud is a Java-based platform for building multi-tenant business applications from cooperating services, using Spring Cloud Alibaba and domain-driven design. It supports SaaS and low-code development with built-in services for authentication, administration, notifications, messaging, and AI features. The catalogue add-ons operate MateCloud through its command-line and MCP-based tooling.
Borrowing it
Nothing to install: this file belongs to mateaix/matecloud. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mateaix/matecloud/dev/.claude/.harness/skills/mate-preflight/SKILL.mdgit clone --depth 1 https://github.com/mateaix/matecloudWrote 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/mateaix/matecloud/mate-preflight)<a href="https://agentmods.dev/skills/mateaix/matecloud/mate-preflight"><img src="https://agentmods.dev/badge/skills/mateaix/matecloud/mate-preflight/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/mateaix/matecloud/mate-preflight"><img src="https://agentmods.dev/badge/skills/mateaix/matecloud/mate-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00058 | $0.00570 |
| Opus 5.5 | $0.00023 | $0.00228 |
| Sonnet 5.5 | $0.00012 | $0.00114 |
| Haiku 4.5 | $0.00006 | $0.00057 |
Grade A, and why
mate-preflight 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 2mo 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.
What it actually says
提交 / PR 前自检
目标:让每次提交都过得了 harness,并符合提交规范。
第一步:跑约束校验
bash .claude/.harness/checks/run-all.sh
- 阻断级(竞品名 / 硬编码密钥 / OSS 边界 / 领域纯净)任一红 → 必须修到绿才提交。
- 告警级(MapStruct / AutoConfig / Flyway)→ 看是不是你这次引入的;是就一并修, 历史存量可暂留但别新增。
修法对照 .claude/.harness/rules/:每个 check 的 rule: 字段(见 manifest.yml)指向对应规则文件。
第二步:范围自查(别捎带无关改动)
git status --short
git diff --cached --stat
只暂存本次任务相关文件。不要顺手提交他人工作区改动、docs/tasks/(含内部路径)、
或 .claude/ 下除 .harness 外的本地配置。
第三步:提交信息规范
格式 {type}({scope}): {description},中文描述 OK:
- type:
feat/fix/refactor/docs/chore/test/style/perf - scope:模块名(
system/auth/gateway/harness…) - 示例:
fix(system): 用户查询分页参数校验缺失
提交信息末尾按本仓约定加 Co-Authored-By 行(若由 AI 协作)。
第四步:分支
当前在默认分支(main)就先开 feature/{name} 或 fix/{issue};
本项目日常工作流是提交并推送到 dev(除非另有要求)。
一键清单
-
run-all.sh阻断级全绿 - 未新增告警级违规
- 暂存范围干净,无无关文件 / 内部路径
- 提交信息
{type}({scope}): ...
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.
- 2mo ago First seen · 52 lines · 58 tokens per session scan A 28ac85fc8128
mate-preflight is a skill published in the GitHub repository mateaix/matecloud (1,710 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 570 once invoked, about $0.0002 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.
mate-preflight compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mate-preflightmateaix/matecloud | Skill | 1.7k | 1mo ago | Apache-2.0 | A | 58 | Claude Code |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| engineer-bot-opsmakecindy/cindy | Skill | 9.3k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| mcore-split-prNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 25 | Claude Code |
| git-commit-writermergisi/awesome-openclaw-agents | Skill | 4.1k | 2d ago | MIT | A | 53 | Claude Code, Codex |
| contributingHugoRCD/evlog | Skill | 1.9k | 12d ago | MIT | A | 68 | Claude Code, Codex |
| strict-tdda5c-ai/babysitter | Skill | 1.9k | 5d ago | MIT | A | 34 | Claude Code |