matecloud: Skill for Claude Code

.claude/.harness/skills/mate-oss-gate/SKILL.md

mate-oss-gate is a skill for Claude Code from mateaix/matecloud. It costs 81 tokens per session (505 once invoked), scanned A, original, Apache-2.0.

A checklist for preparing MateCloud, a software platform, or part of it for public open-source release.

In plain words
What is it for?
Running release boundary and secret checks, scanning for internal references, confirming the license and community files, and deciding whether the public release is ready.
Why use it?
It helps separate private enterprise code from the public project and checks for leaked competitor names, secrets, internal paths, and missing legal files.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is mateaix/matecloud's own configuration. It tells Claude Code how to work on matecloud itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything matecloud configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .claude/.harness/checks/check-competitor-names.sh # 无 Dify/FastGPT/qKnow/sqlbot.

About the project

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.

mateaix/matecloud · 1,710 stars · on GitHub · mate.vip

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/mateaix/matecloud/dev/.claude/.harness/skills/mate-oss-gate/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mateaix/matecloud

Made for: Claude Code.

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 mate-oss-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/mateaix/matecloud/mate-oss-gate/github.svg)](https://agentmods.dev/skills/mateaix/matecloud/mate-oss-gate)
Your own site
<a href="https://agentmods.dev/skills/mateaix/matecloud/mate-oss-gate"><img src="https://agentmods.dev/badge/skills/mateaix/matecloud/mate-oss-gate/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 mate-oss-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/mateaix/matecloud/mate-oss-gate"><img src="https://agentmods.dev/badge/skills/mateaix/matecloud/mate-oss-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 505 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 pass 7 Sept 2026
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.00081 $0.00505
Opus 5.5 $0.00032 $0.00202
Sonnet 5.5 $0.00016 $0.00101
Haiku 4.5 $0.00008 $0.00051

Measured 2mo ago against content hash d4368960e32a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mate-oss-gate 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.

.claude/.harness/skills/mate-oss-gate/SKILL.md · 42 lines

What it actually says

开源 / 公开发布把关

MateCloud 是 开源项目:平台脚手架全部公开。 原则见 .claude/.harness/rules/04-open-source.md。

发布模型:私有 monorepo 为唯一真源 → 过滤发布到公开镜像仓(删企业目录 → 闸门 → squash 单 commit)。 绝不用 worktree / 同仓双分支(共享 git 历史会泄露企业代码)。

第一步:跑边界与泄露校验

bash .claude/.harness/checks/check-competitor-names.sh   # 无 Dify/FastGPT/qKnow/sqlbot
bash .claude/.harness/checks/check-secrets.sh            # 无真实密钥
bash .claude/.harness/checks/check-oss-boundary.sh       # 开源模块不反向依赖企业模块

三项必须全绿。

第二步:内部路径泄露扫描(公开前手动确认)

grep -rniE "C:[\\\\/]+codes|/Users/[a-z]+/Codes|git\.mate\.vip" \
  --include="*.md" --include="*.java" --include="*.yml" . | grep -v "/target/"

命中的发布前清掉或剔除。

第三步:开源治理文件

  • 根目录有 LICENSE 文件(README/pom 已声明 Apache-2.0,需落地文件)。
  • README / CONTRIBUTING / CODE_OF_CONDUCT / SECURITY 齐全。
  • 若接受外部贡献:CLA/DCO(open-core 需此才能把社区贡献用进商业版)。

出口判据

  • 三项边界校验全绿
  • 无内部路径 / 内网地址
  • LICENSE 文件就位
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. 2mo ago First seen · 42 lines · 81 tokens per session scan A d4368960e32a

Subscribe to this mod's changes

mate-oss-gate is a skill published in the GitHub repository mateaix/matecloud (1,710 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 81 tokens to every session and 505 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.

Related

mate-oss-gate compared with skills from other repositories

mate-oss-gate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mate-oss-gatemateaix/matecloudSkill1.7k1mo agoApache-2.0A81Claude Code
open-sourcingtrailofbits/skillsSkill8.0kyesterdayCC-BY-SA-4.0A82Claude Code
shipping-and-launchloiane/specs-driven-development-spring-angularSkill62yesterdayMITA64Claude Code
open-sourceclaude-dev-suite/claude-dev-suiteSkill474d agoMITA150Claude Code
release-guardeugenelim/agent-ready-repoSkill28todayApache-2.0A27Claude Code
oss-ready-packagercembasaranoglu/crafting-system-claudeSkill56mo agoMITA31Claude Code
release-announcementpaperclipai/paperclipSkill111ktodayMITA42Claude Code, Codex