installing-cli-tools skill
✓ 検証済み認証情報のセキュリティを厳格に維持しながら、開発者用CLIやSDKのインストール、設定、および検証を行います。
- GitHubスター
- 173
- ファイル
- 2
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
installing-cli-tools skillは何をしますか
installing-cli-toolsはAgent Skillsです。 認証情報のセキュリティを厳格に維持しながら、開発者用CLIやSDKのインストール、設定、および検証を行います。.
skillのSKILL.mdから生成された要約。
installing-cli-tools skill について
このSKILLの主なタスクは、開発者用コマンドラインインターフェース(CLI)やSDKを、未設定の状態から検証済みの利用可能な状態にセットアップすることです。パッケージマネージャーのバイナリ、言語のランタイム、またはベンダー提供のCLIをインストールする必要がある開発者向けに設計されており、機密性の高い認証情報がチャットログ、シェル履歴、またはリポジトリファイルに漏洩しないことを保証します。ユーザーが新しいツールのインストール、既存セットアップの移行、または破損したCLIのトラブルシューティングを要求した際に、エージェントはこのSKILLをロードする必要があります。
ワークフローには、公式ドキュメントの調査、brew、npm、pipx、cargoなどの適切なインストール方法の選択、およびtool --versionやtool doctorなどのコマンドを使用したインストールの検証が含まれます。OAuth、macOS KeychainなどのOS認証情報ストア、またはopやpassなどのローカルシークレットマネージャーといった安全な認証チャネルを使用することで、セキュリティを優先します。シェル統合については、.zshrcや.bashrcなどのシェル起動ファイルにシークレットを書き込むことなく、PATHや補完を更新することで管理します。最後に、明確なロールバック手順を提供し、どのファイルが変更されたかを正確に報告します。
エージェントができること
- 1ツールのインストール検証コマンドが正しくインストールされ、システムのPATHからアクセス可能であることを確認します。
- 2失敗したインストールのロールバックツールセットアップ中に加えられた変更を取り消すために必要なコマンドを提供します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
installing-cli-tools skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにinstalling-cli-tools skillをインストールする
/plugin marketplace add CodeAlive-AI/ai-driven-development /plugin install ai-driven-development@ai-driven-development
Claude Codeにinstalling-cli-tools skillをインストールする
~/.claude/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.claude/skills/installing-cli-toolsClaude Code (project)にinstalling-cli-tools skillをインストールする
.claude/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools .claude/skills/installing-cli-toolsCodexにinstalling-cli-tools skillをインストールする
~/.agents/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.agents/skills/installing-cli-toolsGemini CLIにinstalling-cli-tools skillをインストールする
~/.gemini/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.gemini/skills/installing-cli-toolsClaude.aiにinstalling-cli-tools skillをインストールする
npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools installing-cli-tools && zip -r installing-cli-tools.zip installing-cli-tools # claude.ai → Customize → Skills → + → Create skill → Upload a skill → installing-cli-tools.zip
自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能codealive-ai/ai-driven-development/skills/installing-cli-tools is public and reachablegithub.com/codealive-ai/ai-driven-development/tree/HEAD/skil ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/codealive-ai/ai-driven-development/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/codealive-ai/ai-driven-development/blob/HEAD/skil ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/codealive-ai/ai-driven-development/blob/HEAD/skil ↗合格
SKILL.md
GitHubで表示Installing CLI Tools
Overview
Use this skill to take a CLI from "not installed" to "usable and verified" without exposing credentials in chat, logs, shell history, or repo files. Treat installation and secret setup as separate phases.
Workflow
- Identify the exact CLI, target OS/architecture, intended use, and whether authentication is required.
- Check current state with narrow commands such as
command -v tool,tool --version, package-manager queries, and existing config file paths only when needed. - Research current official installation docs before acting unless the user supplied an exact trusted source. Prefer official docs, package registry pages, signed release notes, or the upstream GitHub release.
- Choose the least surprising install method:
- Existing project manager (
brew,npm,pipx,uv tool,cargo install,go install) when official and maintained. - Vendor installer only when it is the official path and its behavior is understood.
- Manual binary install only after verifying architecture, checksum/signature when available, permissions, and destination.
- Existing project manager (
- Install to a user-writable, reversible location when possible. Avoid
sudounless the install path truly requires it and the user has agreed. - Wire PATH/completions only as narrowly as needed. Never edit shell startup files to add secrets.
- Configure authentication through a safe channel.
- Verify with
tool --version,tool doctoror equivalent, and a non-destructive authenticated command if relevant. - Report what changed, where files were placed, how to undo it, and whether any restart/new shell is needed.
Secret Handling
Never read, print, summarize, grep, or search for existing secret values in .env, shell rc files, keychains, SSH keys, cloud credential files, or password-manager vaults. Do not run broad commands like env, printenv, or recursive token searches.
For new credentials, use the safest supported option in this order:
- Browser/device OAuth or official
tool auth login. - The platform's secure setup flow or connector for that provider.
- OS credential store, such as macOS Keychain, through commands that accept the secret via stdin or hidden prompt.
- Tool-specific config command that prompts interactively and does not echo the input.
- A local secrets manager such as
op,bw,pass,gopass, ordirenvwith a secret backend, if the user already uses it. - A plaintext env file only when the user explicitly asks for it or the CLI has no safer option; write placeholders by default and set mode
0600.
Do not put secret values in command arguments, chat messages, shell history, logs, generated docs, git commits, package manager config, MCP config, or shell startup files. If a command needs a value, prefer an interactive prompt, stdin, or a temporary file with 0600 permissions that is removed immediately after use.
Before accepting a credential from the user, state the destination and persistence model in one sentence, for example: "This will store the token in macOS Keychain under service example-cli; I will not print it back." If the current environment cannot safely accept hidden input, stop and ask the user to run the official login command locally.
Installation Checks
Use precise commands and avoid noisy discovery. Good checks:
command -v example
example --version
brew list --versions example
npm view example-cli version
python3 -m pipx list
For GitHub release binaries, verify the asset matches OS and CPU architecture. Use shasum -a 256 when upstream publishes checksums. Prefer signed or notarized macOS artifacts when available.
For installer scripts fetched over the network, do not pipe directly into a shell unless the user explicitly requests that official install style. Prefer downloading to a temporary file, reading the script enough to understand what it changes, then running it.
Shell Integration
Modify shell files only for PATH, completions, aliases requested by the user, or non-secret configuration. Before editing, identify the active shell and target file. Keep edits idempotent and bounded by clear comments when adding a block.
Do not add API keys, tokens, passwords, or provider credentials to .zshrc, .bashrc, .profile, .config/fish/config.fish, or project shell hooks. For env variables that point to non-secret paths or feature flags, explain why they are safe.
Verification
Verify both installation and authentication without destructive actions:
- Installation:
tool --version,tool help, or package-manager metadata. - PATH: open a fresh shell or source only the changed file when safe.
- Auth:
tool auth status,whoami,account show, or a read-only API call. - Failure: capture exact non-secret error text and classify whether the issue is PATH, missing dependency, architecture, permissions, network, or authentication.
If verification requires a paid operation, mutation, or secret display command, do not run it. Use the vendor's status command or ask the user for permission to run a specific safe alternative.
Rollback
Track install actions as you go. When finishing, include the uninstall command or manual rollback path:
- Package manager uninstall command.
- Files, symlinks, launch agents, or completions created.
- Shell file block added.
- Credential entry name only, never the value.
For failed installs, clean temporary files and partial symlinks when that is clearly safe. Ask before deleting user-owned config, caches, or credentials.
このスキルのファイル
2installing-cli-tools skillに関する質問
Claude Codeにinstalling-cli-tools skillをインストールするには
npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.claude/skills/installing-cli-toolsを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
installing-cli-tools skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
インストール中に機密性の高い認証情報をどのように扱いますか?
OAuth、OSの認証情報ストア、または対話型プロンプトなどの安全なチャネルを使用します。シークレットをシェル履歴、ログ、または環境ファイルに書き込むことは厳格に回避します。
CLIのインストールを検証するためにどのような方法が使用されますか?
バージョン確認、helpコマンドの実行、またはパッケージマネージャーのメタデータを使用して、ツールが利用可能であることを確認する非破壊的なコマンドを使用します。
このSKILLはシェルの設定ファイルを変更できますか?
はい。ただし、PATH、補完、エイリアスなどの機密情報を含まない項目のみに限られます。また、編集はべき等性が保たれ、明確にコメントが追加されるようにします。