gem-to-skill-kit: Command for Gemini CLI

.gemini/commands/gem/upgrade.toml

upgrade is a command for Gemini CLI from mathruffian-dot/gem-to-skill-kit. It costs 0 tokens per session (127 once invoked), scanned A, original, MIT.

A command for reviewing Google Gemini Gems and turning selected ones into Agent Skills. Gemini Gems are customized assistants in Google Gemini; an Agent Skill is a reusable set of instructions for a coding agent.

In plain words
What is it for?
Use it to locate Gem data, review its purposes, choose capabilities, and generate and validate an Agent Skill.
Why use it?
It provides a staged process for inspecting those assistants and upgrading them while requiring consent before private data access, file changes, installation, or Git actions.

Command for Gemini CLI

Written for Gemini CLI: installed under .gemini/. Also seen: mentions AGENTS.md.

This is mathruffian-dot/gem-to-skill-kit's own configuration. It tells Gemini CLI how to work on gem-to-skill-kit 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 gem-to-skill-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mathruffian-dot/gem-to-skill-kit. 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/mathruffian-dot/gem-to-skill-kit/main/.gemini/commands/gem/upgrade.toml
Clone the repo
git clone --depth 1 https://github.com/mathruffian-dot/gem-to-skill-kit

Made for: Gemini CLI.

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 upgrade

README.md
[![agentmods](https://agentmods.dev/badge/commands/mathruffian-dot/gem-to-skill-kit/upgrade.svg)](https://agentmods.dev/commands/mathruffian-dot/gem-to-skill-kit/upgrade)
Your own site
<a href="https://agentmods.dev/commands/mathruffian-dot/gem-to-skill-kit/upgrade"><img src="https://agentmods.dev/badge/commands/mathruffian-dot/gem-to-skill-kit/upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 127 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.00000 $0.00127
Opus 5 $0.00000 $0.00063
Sonnet 5 $0.00000 $0.00025
Haiku 4.5 $0.00000 $0.00013

Measured 3d ago against content hash 783ee09c9c03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

upgrade 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 3d 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.

.gemini/commands/gem/upgrade.toml · 7 lines

What it actually says

description = "將 Google Gemini Gem 盤點並升級成 Agent Skill" prompt = """ 請讀取 @./AGENTS.md 與 @./.agents/skills/gem-to-skill/SKILL.md。 從階段一開始,一次只完成一個階段:確認 Google Drive、定位 Gem 資料夾、唯讀列出用途、讓我挑選並選擇 Agent 能力、產生與驗證 Skill。 任何私密資料讀取、寫檔、全域安裝或 Git 操作前先說明並取得我的同意。 """

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. 3d ago First seen · 7 lines · 0 tokens per session scan A 783ee09c9c03

Subscribe to this mod's changes

upgrade is a command published in the GitHub repository mathruffian-dot/gem-to-skill-kit (5 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 127 tokens. 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-04.