convert-skills-for-cloud

convert-skills-for-cloud is a skill for Claude Code from aiya000/dotfiles. It costs 141 tokens per session (1,996 once invoked), scanned A, original, MIT.

A conversion procedure that adapts local Claude Code skills into zip files for Claude.ai cloud sessions. It checks for assumptions about the local machine and rewrites them before packaging.

In plain words
What is it for?
Use it to audit, adapt, validate, and package one or more skills for upload to Claude.ai.
Why use it?
Cloud sessions run in fresh containers without local files, hooks, or tools, so local-only instructions may fail there.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to audit, adapt, validate, and package one or more skills for upload to Claude.ai.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiya000/dotfiles/convert-skills-for-cloud
Install

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.

Any agent
npx skills add aiya000/dotfiles --skill convert-skills-for-cloud
Clone the repo
git clone --depth 1 https://github.com/aiya000/dotfiles

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 convert-skills-for-cloud

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiya000/dotfiles/convert-skills-for-cloud/github.svg)](https://agentmods.dev/skills/aiya000/dotfiles/convert-skills-for-cloud)
Your own site
<a href="https://agentmods.dev/skills/aiya000/dotfiles/convert-skills-for-cloud"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/convert-skills-for-cloud/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 convert-skills-for-cloud

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiya000/dotfiles/convert-skills-for-cloud"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/convert-skills-for-cloud.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,996 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00141 $0.01996
Opus 5.5 $0.00056 $0.00798
Sonnet 5.5 $0.00028 $0.00399
Haiku 4.5 $0.00014 $0.00200

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

Security

Grade A, and why

convert-skills-for-cloud scanned grade A with 1 finding 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 20d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/audit.sh, scripts/package.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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| **local-only** | Its purpose needs the local machine (Windows logs, adb, `~/.claude/settings.json`, a local hook). Not zipped |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude_global/skills/convert-skills-for-cloud/SKILL.md · 157 lines

How it starts

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

convert-skills-for-cloud

Turns the local skills into uploadable zips for claude.ai. A skill uploaded there is synced into every Claude Code cloud session -- a fresh container that has none of this machine: no home directory layout, no gh, no WSL, no hooks, and nothing that survives the session.

So this is not a zip command. Each skill is read, judged, and rewritten where it assumes the local machine, in a staged copy, and only then validated and zipped.

Two files in this skill's directory do the mechanical part:

  • scripts/audit.sh SKILL_DIR... -- lists every local-only assumption, by category
  • scripts/package.py SKILL_DIR... --out OUT_DIR -- checks the rules claude.ai applies on upload, and zips each folder as <name>/...

And one holds the judgement: read references/cloud-adaptation-tips.md before rewriting anything. It has a section for each audit category, with the fix and examples from these very skills. When a conversion teaches something new, add it there (step 7).

Arguments

  • Skill names (/convert-skills-for-cloud git-commit save-memory) -- those, plus the skills they depend on (step 3)
  • --all, or nothing -- every skill
  • --out <dir> -- where the zips go (default below)

Steps

1. Find the sources and the output directory

Sources, first that exists:

  1. <repo>/.claude_global/skills/ when the current repository is the dotfiles repository (git rev-parse --show-toplevel) -- the case in a cloud session
  2. ~/.dotfiles/.claude_global/skills/
  3. ~/.claude/skills/ (resolve the symlink: ls -ld)

Never edit the sources in steps 2-6. Everything happens in a staged copy.

Build directory (<build>), first that applies:

  1. --out if given
  2. In a cloud session (CLAUDE_CODE_REMOTE=true): <scratchpad>/cloud-skills/, the scratchpad named in the system prompt -- the user can open files there, and it is gone with the container, which is fine for build output
  3. ~/tmp/cloud-skills/ when ~/tmp exists
  4. ${TMPDIR:-/tmp}/cloud-skills/

Read the full file on GitHub · 157 lines

Files

What ships with it

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

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. 20d ago First seen · 157 lines · 141 tokens per session scan A c8797c28888a

Subscribe to this mod's changes

convert-skills-for-cloud is a skill published in the GitHub repository aiya000/dotfiles (21 stars, last pushed 2d ago), licensed MIT. It adds 141 tokens to every session and 1,996 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.