initialize
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGive every agent on this computer the base skills, in every folder. Do it yourself and talk to the user in their language, short, no jargon (never say "symlink" or "npx" to them).
If you got this skill from a link instead of a local folder, install nothing else from the repo: the one command below downloads what it needs.
-
Check Node: iffails, run the
npx --versionskill first (fromsetup-nodewhen it is not installed).https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/setup-node/SKILL.md -
Run the one command, in the background when your tool allows it (2 to 5 minutes):bash
curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/initialize/scripts/initialize.sh -o /tmp/initialize.sh && bash /tmp/initialize.sh(Downloaded first, then run: a previousblocks piping a download straight into/initialize.) Everything comes from this kit, exceptbashand/use-style(from the public repo/better, the design skills) and Bun (it runs the status bar), installed from its official siteMelvynx/ai-design-prowhen missing. It installs, for Claude Code and Codex:bun.sh- the skills: itself (so the user can run it again to update everything),
/initialize(installs, updates or removes a skill from a name or a link, and creates or fixes their own skills),skill-manager(explains anything with a small diagram or visual),/show-me(sharpens an idea with questions before building),/grill-me(re-explains the last message in plain words when the user is lost),/wait-what(connects any tool like Notion or Stripe),/connect-tool(proves a change really works on the live site or service, with a screenshot or the real output, not just "it builds")/verify(gives pages, apps and documents a named visual style like Vercel, Stripe or Linear) and/use-style(polishes every screen the agent builds or changes: layout, texts, colors, typography, accessibility);/better - the settings: Claude Code and Codex stop asking before each action, while Claude Code still refuses ,
rm -rf, piping a download into the terminal and readingsudofiles (their other settings are kept);.env - the shortcuts in the terminal: opens Claude Code without questions,
cccontinues the last conversation,cccopens Codex,cxresumes the last Codex one;cxc - the usage band above the prompt, in the Claude desktop app and in the terminal: context used, cost of the conversation, and the 5-hour and weekly limits with their pace and reset time. It is a Claude Code mod in (the folder AIBlueprint uses, so a student who has both never sees it twice), turned on through
~/.claude/mods/aiblueprintinCLAUDE_CODE_PLUGIN_DIRS; the ⚙ button on the band hides or shows each part;~/.claude/settings.json - the status bar under the Claude Code prompt in the terminal: folder, git branch, model, cost, context and limits. It runs with Bun from ; a rerun updates it and keeps its settings, and a status bar the user set up themselves is kept (
~/.claude/scripts/statusline). The band and the status bar show only in a new session (in the desktop app, start a new session or reopen the app).kept your own status bar
If you may not change the permission settings yourself (your rules forbid turning on bypass permissions or the Codex full access), do not stop and do not look for a workaround: runinstead. It installs everything except those two settings. Then tell the user to turn them on themselves:NO_BYPASS=1 bash /tmp/initialize.sh- Claude desktop app: Settings → Claude Code, turn on Allow bypass permissions mode, then pick Bypass permissions in the mode menu next to the message box.
- Codex: pick Full access in the permissions menu under the message box.
On Windows without bash, run the twolines of scripts/initialize.sh in PowerShell, add the same keys tonpx skills addand~/.claude/settings.jsonby hand, and put the shortcuts in the PowerShell profile (~/.codex/config.toml) asnotepad $PROFILE,function cc { claude --dangerously-skip-permissions $args },function ccc { claude --dangerously-skip-permissions -c $args },function cx { codex $args }. The band and the status bar are only installed by the bash script: tell the user they will not have them.function cxc { codex resume --last $args } - the skills:
-
Every skill lands once in(the single source, Codex reads it there), and
~/.agents/skills/only links to it. The script ends with an~/.claude/skills/orokline per skill: fix aMISSorFAILby rerunning its line and reading the error, never by copying files by hand intoMISS. An~/.claude/skillsline lists developer skills an olderold=installed (apex, arena, app-icon...): they are not part of the kit anymore. Ask once whether to remove them; on yes run/initialize(they are kept inbash ~/.agents/skills/skill-manager/scripts/skills.sh remove <names>, so it can be undone). Never remove them without asking: they may be the user's own.~/.cache/removed-skills -
Style. Open the style gallery so the user sees every style side by side:(
~/.agents/skills/use-style/examples/gallery.htmlon Mac,openon Linux,xdg-openon Windows). Ask one question: which style speaks to them most, the one they would like for their pages, apps and documents. Give the names with their one-line description from the gallery, and say they can click a card to see it full size. When they hesitate, recommendstart. Whenvercelalready has a~/.agents/AGENTS.mdsection, show its style and ask only whether to keep it.## Style -
Global rule. Write their choice in the global rules,(create it when missing;
~/.agents/AGENTS.mdand~/.claude/CLAUDE.mdlink to it once~/.codex/AGENTS.mdran). When it already has asetup-brainsection, replace that section up to the next## Styleheading and keep every other line; otherwise add it at the end, after one blank line:##markdown## Style When you create a file the user will look at (a page, an app screen, a dashboard, an HTML report, a document, a visual), use the `use-style` skill with the `<chosen style>` style, unless the user asks for another one or the project already has its own design.Whenis a separate file (not a link to~/.claude/CLAUDE.md), write the same section there too.~/.agents/AGENTS.md -
Tell the user in 3 lines what is installed (and that, the usage band and the status bar show up in a new terminal window / new Claude Code session, in the desktop app too), that a new session shows
cc,/show-me,/grill-me,/wait-what,/connect-tool,/verify,/use-style,/betterand/skill-manager, which style is now their default (they can change it any time by asking), and that typing/initializeagain later updates the skills, the status bar and the usage band./initialize
让这台电脑上的每个 Agent 在每个文件夹中都拥有基础 skills。自行完成所有操作,并用用户所使用的语言简短交流,不要使用行话(绝不要向他们提到 或 )。
symlinknpx如果此 skill 来自链接而不是本地文件夹,则不要从该仓库安装其他任何内容:下面的单条命令会下载所需的一切。
-
检查 Node:如果失败,先运行
npx --versionskill(如果尚未安装,则从setup-node获取)。https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/setup-node/SKILL.md -
运行下面这条命令;如果工具支持,则在后台运行(2 到 5 分钟):bash
curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/initialize/scripts/initialize.sh -o /tmp/initialize.sh && bash /tmp/initialize.sh(先下载,再运行:之前的会阻止把下载内容直接通过管道传给/initialize。) 除bash和/use-style(来自公开仓库/better,即设计 skills)以及 Bun(用于运行状态栏;缺失时从官方网站Melvynx/ai-design-pro安装)外,所有内容均来自此工具包。它会为 Claude Code 和 Codex 安装:bun.sh- 各个 skills:本身(让用户可以再次运行它来更新所有内容)、
/initialize(通过名称或链接安装、更新或移除 skill,并创建或修复用户自己的 skills)、skill-manager(用小型图表或可视化内容解释任何主题)、/show-me(在动手构建前通过提问打磨想法)、/grill-me(当用户不理解时,用通俗语言重新解释上一条消息)、/wait-what(连接 Notion、Stripe 等任意工具)、/connect-tool(通过截图或真实输出证明更改确实能在实际网站或服务上生效,而不只是“能够构建”)、/verify(为页面、应用和文档赋予 Vercel、Stripe 或 Linear 等具名视觉风格)以及/use-style(打磨 Agent 构建或修改的每个界面:布局、文案、颜色、字体排印、无障碍性);/better - 各项设置:Claude Code 和 Codex 不再在每次操作前询问,同时 Claude Code 仍会拒绝 、
rm -rf、将下载内容通过管道传入终端以及读取sudo文件(其他设置保持不变);.env - 终端快捷命令:无需询问即可打开 Claude Code,
cc继续上一次对话,ccc打开 Codex,cx恢复上一次 Codex 对话;cxc - Claude 桌面应用和终端中提示词上方的用量栏:显示已用上下文、对话成本,以及 5 小时和每周限额、用量进度和重置时间。它是位于 的 Claude Code mod(这是 AIBlueprint 使用的文件夹,因此同时拥有两者的学生不会看到重复显示),通过
~/.claude/mods/aiblueprint中的~/.claude/settings.json启用;用量栏上的 ⚙ 按钮可隐藏或显示各个部分;CLAUDE_CODE_PLUGIN_DIRS - 终端中 Claude Code 提示词下方的状态栏:显示文件夹、git 分支、模型、成本、上下文和限额。它通过 Bun 运行,脚本位于 ;重新运行会更新状态栏并保留其设置,用户自行设置的状态栏也会保留(
~/.claude/scripts/statusline)。 用量栏和状态栏仅在新会话中显示(在桌面应用中,请开始新会话或重新打开应用)。kept your own status bar
如果不允许你自行更改权限设置(你的规则禁止启用 bypass permissions 或 Codex full access),不要停止,也不要寻找变通方法:改为运行。它会安装除这两项设置以外的所有内容。然后告诉用户自行启用:NO_BYPASS=1 bash /tmp/initialize.sh- Claude 桌面应用:Settings → Claude Code,开启 Allow bypass permissions mode,然后在消息框旁的模式菜单中选择 Bypass permissions。
- Codex:在消息框下方的权限菜单中选择 Full access。
在没有 bash 的 Windows 上,在 PowerShell 中运行 scripts/initialize.sh 中的两行命令,手动将相同的配置项添加到npx skills add和~/.claude/settings.json,并通过以下函数将快捷命令放入 PowerShell 配置文件(~/.codex/config.toml):notepad $PROFILE、function cc { claude --dangerously-skip-permissions $args }、function ccc { claude --dangerously-skip-permissions -c $args }、function cx { codex $args }。用量栏和状态栏只能由 bash 脚本安装;告诉用户他们将无法使用这两项功能。function cxc { codex resume --last $args } - 各个 skills:
-
每个 skill 只会安装一次,统一放入(唯一来源,Codex 会读取该目录),而
~/.agents/skills/仅链接至该目录。脚本最后会为每个 skill 输出一行~/.claude/skills/或ok:如果出现MISS或FAIL,应重新运行对应命令并阅读报错来修复,绝不能通过手动复制文件到MISS来处理。~/.claude/skills行会列出旧版old=安装过的开发者 skills(apex、arena、app-icon...);这些 skills 已不再属于此工具包。询问一次是否移除它们;如果用户同意,则运行/initialize(它们会保留在bash ~/.agents/skills/skill-manager/scripts/skills.sh remove <names>中,因此可以撤销删除)。未经询问绝不要移除它们,因为它们可能属于用户。~/.cache/removed-skills -
风格。 打开风格图库,让用户并排查看所有风格:(Mac 使用
~/.agents/skills/use-style/examples/gallery.html,Linux 使用open,Windows 使用xdg-open)。只问一个问题:哪种风格最合用户心意,也就是他们希望页面、应用和文档采用哪一种风格。列出图库中的风格名称及其一句话说明,并告诉用户可以点击卡片查看全尺寸效果。如果用户犹豫,推荐start。如果vercel已有~/.agents/AGENTS.md段落,则显示当前风格,并且只询问是否保留。## Style -
全局规则。 将用户的选择写入全局规则文件(文件不存在则创建;
~/.agents/AGENTS.md运行后,setup-brain和~/.claude/CLAUDE.md会链接到它)。如果已有~/.codex/AGENTS.md段落,则将该段落从标题处替换到下一个## Style标题之前,并保留其他所有行;否则,在文件末尾添加该段落,前面留一个空行:##markdown## Style When you create a file the user will look at (a page, an app screen, a dashboard, an HTML report, a document, a visual), use the `use-style` skill with the `<chosen style>` style, unless the user asks for another one or the project already has its own design.如果是独立文件而不是指向~/.claude/CLAUDE.md的链接,也要在其中写入同一节。~/.agents/AGENTS.md -
用 3 行告诉用户:安装了哪些内容(以及、用量栏和状态栏会在新的终端窗口或新的 Claude Code 会话中显示,在桌面应用中也一样);新会话中会显示
cc、/show-me、/grill-me、/wait-what、/connect-tool、/verify、/use-style、/better和/skill-manager;现在的默认风格是什么(用户随时可以通过询问更改);以及以后再次输入/initialize会更新 skills、状态栏和用量栏。/initialize