aigc: Skill for Claude Code

.claude/skills/minio_uploader/SKILL.md

minio-uploader is a skill for Claude Code from xiaoyuge886/aigc. It costs 29 tokens per session (1,232 once invoked), scanned A, original, MIT.

A tool for uploading files to MinIO, an object-storage system similar to a private cloud file store, and receiving an access link.

In plain words
What is it for?
Useful for uploading individual files or files under a chosen storage path, optionally forcing downloads, and returning public links with file details.
Why use it?
It turns the repeated steps of locating, uploading, and checking a file into a defined process.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is xiaoyuge886/aigc's own configuration. It tells Claude Code how to work on aigc 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 aigc configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/hehe/pycharm_projects/aigc/.claude/skills/minio_uploader/simple_minio_uploader.py.

Reuse

Borrowing it

Nothing to install: this file belongs to xiaoyuge886/aigc. 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/xiaoyuge886/aigc/main/.claude/skills/minio_uploader/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xiaoyuge886/aigc

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 minio-uploader

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoyuge886/aigc/minio_uploader/github.svg)](https://agentmods.dev/skills/xiaoyuge886/aigc/minio_uploader)
Your own site
<a href="https://agentmods.dev/skills/xiaoyuge886/aigc/minio_uploader"><img src="https://agentmods.dev/badge/skills/xiaoyuge886/aigc/minio_uploader/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 minio-uploader

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoyuge886/aigc/minio_uploader"><img src="https://agentmods.dev/badge/skills/xiaoyuge886/aigc/minio_uploader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,232 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.00029 $0.01232
Opus 5 $0.00015 $0.00616
Sonnet 5 $0.00006 $0.00246
Haiku 4.5 $0.00003 $0.00123

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

Security

Grade A, and why

minio-uploader 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (simple_minio_uploader.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/minio_uploader/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MinIO 文件上传器 (MinIO Uploader)

专业的MinIO对象存储上传工具,帮助您快速将文件上传到MinIO并生成可访问的链接。

🎯 工作流程

当用户要求上传文件到 MinIO 时,请按照以下步骤执行:

步骤 1: 确认文件路径

  • 使用 lsRead 工具确认文件存在
  • 获取文件的完整路径
  • 检查文件大小和类型

步骤 2: 执行上传命令

使用以下 Python 命令上传文件:

python /Users/hehe/pycharm_projects/aigc/.claude/skills/minio_uploader/simple_minio_uploader.py <文件路径> [对象名称] [force_download] [存储桶]

参数说明

  • <文件路径>: 必需,要上传的文件完整路径
  • [对象名称]: 可选,MinIO 中的存储路径(默认使用原文件名)
  • [force_download]: 可选,是否强制下载(true/false,默认 false)
  • [存储桶]: 可选,存储桶名称(默认:agentic)

步骤 3: 验证上传结果

  • 检查命令输出中的"上传成功"消息
  • 获取返回的公开访问链接
  • 如需要,使用 list_files() 验证文件已上传

步骤 4: 返回结果给用户

  • 提供公开访问链接
  • 显示文件信息(大小、类型等)
  • 说明如何使用链接

📋 使用场景

场景 1: 上传单个文件(最常见)

用户请求: "上传这个文件到 MinIO" AI 应该执行:

# 1. 先确认文件存在
ls -lh <文件路径>

# 2. 执行上传
python /Users/hehe/pycharm_projects/aigc/.claude/skills/minio_uploader/simple_minio_uploader.py <文件路径>

场景 2: 上传到指定路径

用户请求: "上传报告到 reports/ 目录" AI 应该执行:

python /Users/hehe/pycharm_projects/aigc/.claude/skills/minio_uploader/simple_minio_uploader.py <文件路径> reports/<文件名>

场景 3: 上传并生成下载链接

用户请求: "上传文件并提供下载链接" AI 应该执行:

python /Users/hehe/pycharm_projects/aigc/.claude/skills/minio_uploader/simple_minio_uploader.py <文件路径> <对象名称> true

场景 4: 批量上传多个文件

用户请求: "上传所有 PDF 文件" AI 应该执行:

# 1. 先找到所有 PDF 文件
ls <目录>/*.pdf

# 2. 逐个上传
for file in <目录>/*.pdf; do
    python /Users/hehe/pycharm_projects/aigc/.claude/skills/minio_uploader/simple_minio_uploader.py "$file"
done

🔧 配置说明

环境变量配置(推荐):

  • MINIO_ENDPOINT: MinIO 服务地址(默认:http://localhost:9000
  • MINIO_ACCESS_KEY: 访问密钥(默认:minioadmin
  • MINIO_SECRET_KEY: 密钥(默认:minioadmin
  • MINIO_BUCKET_NAME: 默认存储桶(默认:agentic
  • MINIO_SECURE: 是否使用 HTTPS(默认:false
  • MINIO_REGION: AWS 区域(默认:us-east-1

支持的文件类型

  • 文档:PDF, DOC, DOCX, TXT, MD, HTML
  • 表格:XLS, XLSX, CSV
  • 图片:JPG, PNG, GIF, SVG
  • 其他:ZIP, JSON, XML 等

💡 最佳实践

  1. 总是先检查文件是否存在再执行上传
  2. 使用有意义的对象名称,例如:reports/2025-01-analysis.pdf
  3. 对于大文件,提示用户上传可能需要一些时间
  4. 返回链接时,同时说明链接的用途(预览或下载)
  5. 中文文件名会自动处理 URL 编码,无需担心

Read the full file on GitHub · 137 lines

Files

What ships with it

1 file 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.

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. 10d ago First seen · 137 lines · 29 tokens per session scan A 6dd8de6ccff2

Subscribe to this mod's changes

minio-uploader is a skill published in the GitHub repository xiaoyuge886/aigc (197 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 1,232 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-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens