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 jiushiwon/wg-skills --skill springboot-storage-module-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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/jiushiwon/wg-skills/springboot-storage-module-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/springboot-storage-module-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/springboot-storage-module-skill/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/jiushiwon/wg-skills/springboot-storage-module-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/springboot-storage-module-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00093 | $0.05325 |
| Opus 5.5 | $0.00037 | $0.02130 |
| Sonnet 5.5 | $0.00019 | $0.01065 |
| Haiku 4.5 | $0.00009 | $0.00532 |
Grade A, and why
springboot-storage-module-skill 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.
How it starts
The opening of the file, as written. The whole thing — 690 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring Boot Storage Module Skill
面向已有 Spring Boot 项目的开发者,快速集成静态资源管理能力。
定位
- 目标:在已有骨架上,添加可运行的静态资源管理模块。
- 不替代:不重复生成基础骨架已有的统一响应、JWT 等基础设施。
- 输出:实体、仓储、服务、控制器、迁移文件、接口契约。
骨架依赖
本模块是
springboot-init-skill的子模块,必须在骨架基础上使用。
使用前必须满足:
- ✅ 已安装
springboot-init-skill(项目骨架) - ✅ 骨架包含:统一响应、JWT、分页、目录结构
核心能力清单
| # | 能力 | 说明 |
|---|---|---|
| 1 | 小文件上传 | 单文件/多文件直接上传(< 10MB) |
| 2 | 大文件切割上传 | 分片上传 + 断点续传(≥ 10MB) |
| 3 | 文件压缩 | 可选开启,支持 gzip/zip 压缩存储 |
| 4 | 文件下载 | 流式下载、断点续传下载 |
| 5 | 文件预览 | 图片/视频/文档在线预览 |
| 6 | 存储策略 | 本地存储 / 阿里云 OSS / 腾讯云 COS / MinIO |
| 7 | 附件管理 | 附件 CRUD、分类、标签 |
| 8 | 图片处理 | 缩略图、水印、格式转换 |
用户问题(最多 3 个)
1. 现有项目的包名是什么?(默认从骨架推断,如 com.koala.myapp)
2. 表前缀是什么?(默认 wg)
3. 默认存储方式是什么?(local / aliyun / tencent / minio,默认 local)
配置结构
# application.yml
storage:
# 存储方式: local / aliyun / tencent / minio
type: local
# 文件限制
max-size: 104857600 # 100MB
allowed-types: jpg,jpeg,png,gif,pdf,doc,docx,xls,xlsx,zip,mp4,mp3
# 分片上传配置
chunk:
enabled: true
size: 5242880 # 5MB 每片
threshold: 10485760 # 10MB 触发分片上传
# 压缩配置
compress:
enabled: false
types: jpg,jpeg,png # 需要压缩的文件类型
quality: 0.8 # 压缩质量 0-1
max-size: 1048576 # 1MB 以上才压缩
# 本地存储
local:
path: ./uploads
domain: http://localhost:8080
# 阿里云 OSS
aliyun:
access-key: ${ALIYUN_ACCESS_KEY:}
secret-key: ${ALIYUN_SECRET_KEY:}
bucket: ${ALIYUN_BUCKET:}
endpoint: oss-cn-hangzhou.aliyuncs.com
# 腾讯云 COS
tencent:
secret-id: ${TENCENT_SECRET_ID:}
secret-key: ${TENCENT_SECRET_KEY:}
bucket: ${TENCENT_BUCKET:}
region: ap-guangzhou
# MinIO
minio:
endpoint: http://localhost:9000
access-key: ${MINIO_ACCESS_KEY:minioadmin}
secret-key: ${MINIO_SECRET_KEY:minioadmin}
bucket: ${MINIO_BUCKET:uploads}
配置属性类
@Data
@ConfigurationProperties(prefix = "storage")
public class StorageProperties {
private String type = "local";
private long maxSize = 100 * 1024 * 1024; // 100MB
private List<String> allowedTypes;
private Chunk chunk = new Chunk();
private Compress compress = new Compress();
private Local local = new Local();
private Aliyun aliyun = new Aliyun();
private Tencent tencent = new Tencent();
private Minio minio = new Minio();
@Data
public static class Chunk {
private boolean enabled = true;
private long size = 5 * 1024 * 1024; // 5MB
private long threshold = 10 * 1024 * 1024; // 10MB
}
@Data
public static class Compress {
private boolean enabled = false;
private List<String> types = List.of("jpg", "jpeg", "png");
private double quality = 0.8;
private long maxSize = 1024 * 1024; // 1MB
}
@Data
public static class Local {
private String path = "./uploads";
private String domain = "http://localhost:8080";
}
@Data
public static class Aliyun {
private String accessKey;
private String secretKey;
private String bucket;
private String endpoint;
}
@Data
public static class Tencent {
private String secretId;
private String secretKey;
private String bucket;
private String region;
}
@Data
public static class Minio {
private String endpoint;
private String accessKey;
private String secretKey;
private String bucket;
}
}
What ships with it
2 files 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.
- 2mo ago First seen · 690 lines · 93 tokens per session scan A c00352df9896
springboot-storage-module-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 93 tokens to every session and 5,325 once invoked, about $0.0004 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-09-15.
springboot-storage-module-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| springboot-storage-module-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 93 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 105 | Claude Code, Codex |