Operates Google Apps Script projects via clasp CLI: push, deploy, run functions, and manage multiple projects. Activates on requests like 'deploy GAS' or 'clasp push'.
Ships in minicoohei-ai-agent-camp-gas-clasp-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Google Apps Script プロジェクトを clasp CLI で一括操作するためのスキル。
# clasp は npx 経由で実行(インストール不要)
# Google アカウントでログイン(初回のみ)
npx -y @google/clasp login
# 全プロジェクトを push
python skills/gas-clasp-ops/scripts/clasp_ops.py push
# 特定プロジェクトを push → deploy
python skills/gas-clasp-ops/scripts/clasp_ops.py push deploy --project work/10.X-Calendar-GAS
# 関数を実行(テスト)
python skills/gas-clasp-ops/scripts/clasp_ops.py run --project work/10.X-Calendar-GAS --function myFunction
# dry-run で確認
python skills/gas-clasp-ops/scripts/clasp_ops.py push --dry-run
| コマンド | 説明 |
|---|---|
push | ローカルコードを GAS に反映 |
deploy | 新しいバージョンをデプロイ |
run | 指定した関数を実行(--function 必須) |
status | デプロイ一覧を表示 |
open | GAS エディタをブラウザで開く |
| オプション | 説明 | デフォルト |
|---|---|---|
--project PATH | 対象プロジェクト(複数指定可) | 全プロジェクト |
--function NAME | 実行する関数名(run 時必須) | - |
--dry-run | 実行せず確認のみ | false |
--base-dir PATH | 検索ベースディレクトリ | ワークスペースルート |
.clasp.json を含むディレクトリを自動検出:
work/10.X-Calendar-GAS/work/03.AiTutor/session_workshop/03.gas/samples/clasp-slides-generator/work/03.AiTutor/session_workshop/03.gas/samples/clasp-weather-recorder/python skills/gas-clasp-ops/scripts/clasp_ops.py --list
出力例:
📂 検出されたプロジェクト (3 件):
- work/03.AiTutor/.../clasp-slides-generator (scriptId: 1uIfFp1vuV...)
- work/03.AiTutor/.../clasp-weather-recorder (scriptId: 1O6SBnHgY-...)
- work/10.X-Calendar-GAS (scriptId: 1qLnnrFfzX...)
python skills/gas-clasp-ops/scripts/clasp_ops.py push deploy
python skills/gas-clasp-ops/scripts/clasp_ops.py run \
--project work/10.X-Calendar-GAS \
--function processUnreadTweets
| エラー | 原因 | 対処法 |
|---|---|---|
Not logged in | clasp 未ログイン | npx -y @google/clasp login を実行 |
Script API disabled | GAS API 無効 | GAS API で有効化 |
Permission denied | OAuth スコープ不足 | appsscript.json に必要なスコープを追加 |
Function not found | 関数名が不正 | GAS エディタで関数名を確認 |
clasp run は GAS API を有効化し、OAuth スコープの設定が必要push でコードを反映することGoogle Apps Script (GAS) プロジェクトを clasp CLI 経由で一括操作するスキルです。.clasp.json を持つプロジェクトを自動検出し、push・deploy・run を効率的に実行します。
--function 指定時に関数が正常に実行されている上記「クイックスタート」セクションを参照。基本例:
# 全プロジェクトを push
python skills/gas-clasp-ops/scripts/clasp_ops.py push
# 特定プロジェクトで関数実行
python skills/gas-clasp-ops/scripts/clasp_ops.py run --project work/10.X-Calendar-GAS --function myFunction
上記「トラブルシューティング」セクションを参照。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/minicoohei-ai-agent-camp-gas-clasp-ops:gas-clasp-opsfrom minicoohei-ai-agent-camp-gas-clasp-ops
minicoohei-ai-agent-camp-gas-clasp-ops@awesome-skills-plugins-for-students is listed by studentsuite/awesome-skills-plugins-for-students — review the source before installing
npx claudepluginhub studentsuite/awesome-skills-plugins-for-students --plugin minicoohei-ai-agent-camp-gas-clasp-opsOther plugins' skills for the same job