initialize について
Claude Code と Codex 向けに、基本的なエージェントスキル、ショートカット、ステータス表示を導入・設定する初期化スキルです。ビジュアルスタイルの選択を案内し、その設定をグローバルルールに記録します。
主な機能
- 01基本エージェントスキルの導入
- 02Claude Code と Codex の設定
- 03ターミナルショートカットの追加
- 04使用状況とステータスの表示
- 05グローバルなビジュアルスタイル規則の記録
活用シーン
- 01新しいコンピューターでエージェントツールを設定
- 02複数のエージェントに基本スキルを導入
- 03ターミナルショートカットとステータスバーを設定
- 04ページや文書のビジュアルスタイルを統一
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ melvynx/ ai-maxxing-skills --skill initializeインストール後、Claude Code で/initializeを入力して読み込まれたか確認します。
同梱ファイル
SKILL.md と一緒にインストールされる参考資料やスクリプト。
claude-mod/tsconfig.jsonclaude-mod/.claude-plugin/plugin.jsonclaude-mod/hooks/hooks.jsonregister.tsxclaude-mod/types/index.d.tsscripts/initialize.shstatusline/defaults.jsonpackage.jsonstatusline.config.jsonstatusline/src/index.tsstatusline/src/lib/config-types.tsconfig.tscontext.tsformatters.tsgit.tsrender-pure.tstypes.tsutils.tsstatusline/src/lib/features/limits/index.tstypes.tsstatusline/src/lib/features/spend/database.tsindex.tspayload-logger.tstypes.tsREADME(原文)English
プロジェクトの README よりこの README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。
Give 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: if
npx --versionfails, run thesetup-nodeskill first (fromhttps://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/setup-node/SKILL.mdwhen it is not installed). -
Run the one command, in the background when your tool allows it (2 to 5 minutes):
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 previous
/initializeblocks piping a download straight intobash.) Everything comes from this kit, except Bun (it runs the status bar), installed from its official sitebun.shwhen missing. It installs, for Claude Code and Codex:- the skills:
/initializeitself (so the user can run it again to update everything),skill-manager(installs, updates or removes a skill from a name or a link, and creates or fixes their own skills),/show-me(explains anything with a small diagram or visual),/grill-me(sharpens an idea with questions before building),/wait-what(re-explains the last message in plain words when the user is lost),/connect-tool(connects any tool like Notion or Stripe) and/use-style(gives pages, apps and documents a named visual style like Vercel, Stripe or Linear); - the settings: Claude Code and Codex stop asking before each action, while Claude Code still refuses
rm -rf,sudo, piping a download into the terminal and reading.envfiles (their other settings are kept); - the shortcuts in the terminal:
ccopens Claude Code without questions,ccccontinues the last conversation,cxopens Codex,cxcresumes the last Codex one; - 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
~/.claude/mods/aiblueprint(the folder AIBlueprint uses, so a student who has both never sees it twice), turned on throughCLAUDE_CODE_PLUGIN_DIRSin~/.claude/settings.json; the ⚙ button on the band hides or shows each part; - the status bar under the Claude Code prompt in the terminal: folder, git branch, model, cost, context and limits. It runs with Bun from
~/.claude/scripts/statusline; a rerun updates it and keeps its settings, and a status bar the user set up themselves is kept (kept your own status bar). The band and the status bar show only in a new session (in the desktop app, start a new session or reopen the app).
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: run
NO_BYPASS=1 bash /tmp/initialize.shinstead. It installs everything except those two settings. Then tell the user to turn them on themselves:- 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
npx skills addline of scripts/initialize.sh in PowerShell, add the same keys to~/.claude/settings.jsonand~/.codex/config.tomlby hand, and put the shortcuts in the PowerShell profile (notepad $PROFILE) asfunction cc { claude --dangerously-skip-permissions $args },function ccc { claude --dangerously-skip-permissions -c $args },function cx { codex $args },function cxc { codex resume --last $args }. The band and the status bar are only installed by the bash script: tell the user they will not have them. - the skills:
-
Every skill lands once in
~/.agents/skills/(the single source, Codex reads it there), and~/.claude/skills/only links to it. The script ends with anokorMISSline per skill: fix aFAILorMISSby rerunning its line and reading the error, never by copying files by hand into~/.claude/skills. Anold=line lists developer skills an older/initializeinstalled (apex, arena, app-icon...): they are not part of the kit anymore. Ask once whether to remove them; on yes runbash ~/.agents/skills/skill-manager/scripts/skills.sh remove <names>(they are kept in~/.cache/removed-skills, so it can be undone). Never remove them without asking: they may be the user's own. -
Style. Open the style gallery so the user sees every style side by side:
~/.agents/skills/use-style/examples/gallery.html(openon Mac,xdg-openon Linux,starton 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, recommendvercel. When~/.agents/AGENTS.mdalready has a## Stylesection, show its style and ask only whether to keep it. -
Global rule. Write their choice in the global rules,
~/.agents/AGENTS.md(create it when missing;~/.claude/CLAUDE.mdand~/.codex/AGENTS.mdlink to it oncesetup-brainran). When it already has a## Stylesection, replace that section up to the next##heading and keep every other line; otherwise add it at the end, after one blank line:## 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.When
~/.claude/CLAUDE.mdis a separate file (not a link to~/.agents/AGENTS.md), write the same section there too. -
Tell the user in 3 lines what is installed (and that
cc, 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/show-me,/grill-me,/wait-what,/connect-tool,/use-style,/skill-managerand/initialize, 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.