install-spinner
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInstall Spinner
安装加载动画包
Install themed spinner verb packs for Claude Code from the
awesome-claude-spinners repository.
为Claude Code从awesome-claude-spinners仓库安装主题化加载动画动词包。
Install a Pack
安装包
- Fetch the list of available spinner packs from GitHub:
https://api.github.com/repos/alexpl292/awesome-claude-spinners/contents/spinnersParse the JSON response to get the list of files. Extract the pack names by removing the extension.
.json.json- Present the packs to the user in a table with three columns: Pack name, a short description, and a couple of example verbs. Use this reference:
| Pack | Description | Examples |
|---|---|---|
| 90s-kid | 90s nostalgia | "Dialing up the internet", "Blowing into the cartridge" |
| blue-collar-dev | Trades & construction humor | "Hammering out code", "Duct-taping that together" |
| borat | Borat Sagdiyev | "Very nice! Great success-ing", "High five-ing the compiler" |
| cat | Cat-themed | "Knocking things off the table", "Napping on the keyboard" |
| chaos | Absurdist & chaotic humor | "Flipping the table", "Sacrificing a semicolon" |
| coffee | Coffee & food themed | "Brewing a fresh pot", "Letting it simmer" |
| corporate | Corporate buzzwords & jargon | "Synergizing", "Circling back" |
| cowboy | Wild West & frontier | "Lassoing the solution", "Riding into the sunset" |
| darth-vader | Star Wars' Sith Lord | "Finding your lack of tests disturbing", "Force-pushing to the remote" |
| detective | Noir detective style | "Following the trail", "Cracking the case" |
| developer | Programming & dev culture | "Deploying to prod on Friday", "Rewriting in Rust" |
| gardening | Gardening & growing | "Planting the seed", "Pulling the weeds" |
| gym-bro | Gym & fitness culture | "Crushing the set", "Going beast mode" |
| honest-no-filter | Brutally honest dev thoughts | "Making it worse first", "Hoping this compiles" |
| meme | Internet memes & viral phrases | "Yeeting the bugs", "Going sicko mode" |
| michael-scott | The Office's Michael Scott | "Declaring bankruptcy on the old code", "Somehow managing" |
| motivational | Hype & motivational phrases | "Absolutely crushing it", "Leveling up" |
| ninja | Ninja & stealth | "Moving through the shadows", "Striking silently" |
| ocean | Ocean & underwater | "Diving into the deep end", "Surfing the data waves" |
| philosophical | Deep thoughts & philosophy | "Pondering existence", "Contemplating the void" |
| pirate | Pirate speak | "Plundering the codebase", "Sailing the seven repos" |
| retro-gaming | Retro gaming references | "Inserting coin", "Loading save file" |
| sarcastic-ai | Self-aware AI humor | "Hallucinating responsibly", "Confidently guessing" |
| sf-entrepreneur | San Francisco tech scene | "Grabbing a Blue Bottle coffee", "Cold-emailing a16z" |
| shakespeare | Shakespearean & old English | "Prithee, a moment", "Once more unto the breach" |
| space | Space & sci-fi | "Initiating hyperdrive", "Scanning the sector" |
| startup | Startup culture | "Disrupting the industry", "Iterating on the MVP" |
| superhero | Superhero themed | "Suiting up", "Saving the day" |
| the-dude | Big Lebowski's The Dude | "Abiding", "Sipping a White Russian" |
| therapist | Therapy speak & self-care | "Holding space for the code", "Unpacking that" |
| time-traveler | Time travel & paradoxes | "Firing up the flux capacitor", "Rewriting the timeline" |
| vibecoder | Vibe coding culture | "Letting the AI cook", "Shipping on good vibes" |
| vim | Vim editor enthusiasts | "Exiting vim (attempting)", "Yanking the line" |
| walter-white | Breaking Bad's Heisenberg | "Being the one who codes", "Going full Heisenberg" |
| wholesome | Wholesome & cozy vibes | "Watering the plants", "Believing in you" |
| wizard | Fantasy & magic themed | "Casting a spell", "Consulting the ancient scrolls" |
| yoda | Star Wars' Jedi Master | "Reading the code, I am", "Trying not, doing" |
| zombie | Zombie apocalypse survival | "Reanimating dead code", "Double-tapping the bug" |
| bob-ross | Happy little accidents | "Adding a happy little function", "No mistakes, just features" |
| gordon-ramsay | Angry chef yelling at code | "This code is RAW", "WHERE'S THE ERROR HANDLING" |
| jack-sparrow | Chaotic pirate captain | "This is the day you almost caught a bug", "Why is the rum gone" |
| panicker | Pure dev anxiety | "OH NO OH NO OH NO", "Everything is on fire" |
| sherlock-holmes | Deductive reasoning | "Eliminating the impossible", "The game is afoot" |
If a pack exists in the fetched list but is not in this table, still show it (with no description).
Ask the user to pick one.
- Once the user picks a pack, fetch its contents from:
https://raw.githubusercontent.com/alexpl292/awesome-claude-spinners/main/spinners/<pack-name>.json-
Read the user'sfile.
~/.claude/settings.json -
Copy thefield from the fetched spinner JSON into
spinnerVerbs. If the~/.claude/settings.jsonfield already exists inspinnerVerbs, replace its value. If it doesn't exist, create it.settings.json
IMPORTANT: Do not modify any other fields in . Only change .
settings.jsonspinnerVerbs- After successful installation, print:
Spinner pack "<pack-name>" installed successfully!
No need to restart Claude Code — the new spinners are active immediately.- 从GitHub获取可用的加载动画包列表:
https://api.github.com/repos/alexpl292/awesome-claude-spinners/contents/spinners解析JSON响应以获取文件列表。移除扩展名以提取包名称。
.json.json- 将包以表格形式展示给用户,包含三列:包名称、简短描述和几个示例动词。参考以下格式:
| 包名称 | 描述 | 示例 |
|---|---|---|
| 90s-kid | 90年代怀旧风格 | "拨号连接互联网", "对着卡带吹气" |
| blue-collar-dev | 行业与建筑幽默风格 | "敲出代码", "用胶带把它粘起来" |
| borat | 波拉特风格 | "非常棒!大获成功中", "和编译器击掌" |
| cat | 猫咪主题 | "把东西从桌上碰掉", "在键盘上打盹" |
| chaos | 荒诞混乱幽默风格 | "掀桌子", "牺牲一个分号" |
| coffee | 咖啡与美食主题 | "煮一壶新咖啡", "让它慢慢焖" |
| corporate | 企业黑话风格 | "协同增效", "回头跟进" |
| cowboy | 西部荒野风格 | "套住解决方案", "策马奔向夕阳" |
| darth-vader | 星球大战西斯尊主风格 | "对你缺乏测试感到不满", "用原力推送到远程仓库" |
| detective | 黑色侦探风格 | "追踪线索", "破解案件" |
| developer | 编程与开发者文化风格 | "周五部署到生产环境", "用Rust重写" |
| gardening | 园艺与种植风格 | "播下种子", "拔除杂草" |
| gym-bro | 健身文化风格 | "完成一组训练", "开启野兽模式" |
| honest-no-filter | 直言不讳的开发者想法 | "先把事情搞糟", "希望能编译通过" |
| meme | 网络迷因与流行语风格 | "把bug扔出去", "开启疯癫模式" |
| michael-scott | 《办公室》迈克尔·斯科特风格 | "宣布旧代码破产", "不知怎么就搞定了" |
| motivational | 励志Hype风格 | "彻底搞定", "升级进阶" |
| ninja | 忍者与潜行风格 | "在阴影中移动", "悄然出击" |
| ocean | 海洋与水下风格 | "潜入深处", "冲浪数据浪潮" |
| philosophical | 深度思考与哲学风格 | "思考存在的意义", "凝视虚空" |
| pirate | 海盗用语风格 | "掠夺代码库", "航行七大海域仓库" |
| retro-gaming | 复古游戏参考风格 | "投入硬币", "加载存档" |
| sarcastic-ai | 自我意识AI幽默风格 | "负责任地幻觉", "自信地猜测" |
| sf-entrepreneur | 旧金山科技圈风格 | "买一杯Blue Bottle咖啡", "给a16z发冷邮件" |
| shakespeare | 莎士比亚与古英语风格 | "请稍等片刻", "再次冲锋陷阵" |
| space | 太空与科幻风格 | "启动超光速引擎", "扫描星域" |
| startup | 创业文化风格 | "颠覆行业", "迭代MVP" |
| superhero | 超级英雄主题 | "穿上战衣", "拯救世界" |
| the-dude | 《谋杀绿脚趾》督爷风格 | "随遇而安", "啜饮白俄鸡尾酒" |
| therapist | 疗愈用语与自我关怀风格 | "为代码留出空间", "拆解问题" |
| time-traveler | 时间旅行与悖论风格 | "启动通量电容器", "重写时间线" |
| vibecoder | 氛围编码文化风格 | "让AI来发挥", "凭好感觉发布" |
| vim | Vim编辑器爱好者风格 | "尝试退出Vim", "复制整行" |
| walter-white | 《绝命毒师》海森堡风格 | "成为编码的主宰", "完全进入海森堡模式" |
| wholesome | 温馨治愈风格 | "给植物浇水", "相信你自己" |
| wizard | 奇幻魔法主题 | "施放咒语", "查阅古老卷轴" |
| yoda | 星球大战尤达大师风格 | "我正在阅读代码", "不要尝试,去做" |
| zombie | 僵尸末日生存风格 | "复活死代码", "双击消灭bug" |
| bob-ross | 快乐小意外风格 | "添加一个快乐的小函数", "没有错误,只有特性" |
| gordon-ramsay | 愤怒厨师吐槽代码风格 | "这代码还没熟", "错误处理在哪?" |
| jack-sparrow | 混乱海盗船长风格 | "今天你差点抓到一个bug", "朗姆酒去哪了" |
| panicker | 纯粹开发者焦虑风格 | "哦哦哦不", "一切都着火了" |
| sherlock-holmes | 演绎推理风格 | "排除不可能的选项", "游戏开始了" |
如果获取到的列表中存在未在本表中的包,仍需展示(无描述)。
请用户选择一个包。
- 用户选择包后,从以下地址获取其内容:
https://raw.githubusercontent.com/alexpl292/awesome-claude-spinners/main/spinners/<pack-name>.json-
读取用户的文件。
~/.claude/settings.json -
将获取到的加载动画JSON中的字段复制到
spinnerVerbs中。如果~/.claude/settings.json中已存在settings.json字段,则替换其值;如果不存在,则创建该字段。spinnerVerbs
重要提示:请勿修改中的其他字段。仅更改字段。
settings.jsonspinnerVerbs- 安装成功后,打印:
加载动画包"<pack-name>"安装成功!
无需重启Claude Code——新的加载动画立即生效。Remove Spinners
移除加载动画包
If the user asks to remove or reset spinners, read and delete the field entirely. Do not modify any other fields. After removal, print:
~/.claude/settings.jsonspinnerVerbsSpinner pack removed. Default spinners are back.
No need to restart Claude Code — the change takes effect immediately.如果用户要求移除或重置加载动画包,读取并完全删除字段。请勿修改其他字段。移除后,打印:
~/.claude/settings.jsonspinnerVerbs已移除加载动画包。恢复默认加载动画。
无需重启Claude Code——更改立即生效。