Skill installing-cli-tools
✓ VérifiéInstallez, configurez et vérifiez vos interfaces en ligne de commande et SDK tout en maintenant une sécurité stricte pour vos identifiants.
- Étoiles GitHub
- 173
- Fichiers
- 2
- Dernier commit
- 11 nov. 2026
- Licence
- MIT
- Outils autorisés
- —
Que fait la skill installing-cli-tools ?
installing-cli-tools est une agent skill. Installez, configurez et vérifiez vos interfaces en ligne de commande et SDK tout en maintenant une sécurité stricte pour vos identifiants.
Résumé généré à partir du SKILL.md de la skill.
À propos du skill installing-cli-tools
La tâche principale de ce SKILL est de configurer des interfaces en ligne de commande et des SDK pour les faire passer d'un état non fonctionnel à un état vérifié et prêt à l'emploi. Il est conçu pour les développeurs qui doivent installer des binaires via un gestionnaire de paquets, des environnements d'exécution (runtimes) ou des CLI propriétaires, tout en garantissant que les identifiants sensibles ne fuitent jamais dans les logs de chat, l'historique du shell ou les fichiers du dépôt. Un agent doit charger ce SKILL lorsqu'un utilisateur demande l'installation d'un nouvel outil, la migration d'une configuration existante ou le dépannage d'un CLI défectueux.
Le flux de travail consiste à rechercher la documentation officielle, à sélectionner les méthodes d'installation appropriées comme brew, npm, pipx ou cargo, et à vérifier l'installation à l'aide de commandes telles que tool --version ou tool doctor. Il donne la priorité à la sécurité en utilisant des canaux d'authentification sûrs comme OAuth, les gestionnaires de mots de passe du système d'exploitation (comme le trousseau macOS) ou des gestionnaires de secrets locaux tels que op ou pass. Le SKILL gère l'intégration au shell en mettant à jour le PATH ou l'autocomplétion sans jamais écrire de secrets dans les fichiers de démarrage du shell comme .zshrc ou .bashrc. Enfin, il fournit des instructions de rollback claires et indique précisément quels fichiers ont été modifiés.
Ce qu'un agent peut faire avec
- 1Vérifier l'installation d'un outilVérifier si une commande est correctement installée et accessible dans le PATH du système.
- 2Annuler une installation échouéeFournir les commandes nécessaires pour annuler les modifications effectuées lors de la configuration d'un outil.
Rédigé à partir du SKILL.md du skill. Chaque cas d'utilisation est vérifié par rapport à une citation de celui-ci.
Comment installer la skill installing-cli-tools
Chaque commande copie le dossier de la skill dans le répertoire des skills du client. Redémarrez le client ou démarrez une nouvelle session pour la charger.Installer la skill installing-cli-tools dans Plugin
/plugin marketplace add CodeAlive-AI/ai-driven-development /plugin install ai-driven-development@ai-driven-development
Installer la skill installing-cli-tools dans Claude Code
~/.claude/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.claude/skills/installing-cli-toolsInstaller la skill installing-cli-tools dans Claude Code (project)
.claude/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools .claude/skills/installing-cli-toolsInstaller la skill installing-cli-tools dans Codex
~/.agents/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.agents/skills/installing-cli-toolsInstaller la skill installing-cli-tools dans Gemini CLI
~/.gemini/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.gemini/skills/installing-cli-toolsInstaller la skill installing-cli-tools dans Claude.ai
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
Vérifications automatisées
Exécuté le 14 nov. 2026Rapport complet →A réussi nos vérifications automatiques. Ce n'est pas un audit de sécurité : lisez les scripts avant de laisser un agent les exécuter. Fonctionnement des vérifications
- Dépôt source lié et accessiblecodealive-ai/ai-driven-development/skills/installing-cli-tools is public and reachablegithub.com/codealive-ai/ai-driven-development/tree/HEAD/skil ↗Réussi
- Licence open source (OSI)MITspdx.org/licenses/MIT.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit 2026-11-11github.com/codealive-ai/ai-driven-development/commits ↗Réussi
- Aucun téléchargement-exécution ni vol d'identifiants dans les scriptsNo scripts in the skill folderRéussi
- Aucune instruction cachée dans SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/codealive-ai/ai-driven-development/blob/HEAD/skil ↗Réussi
- Les outils préautorisés sont limitésNo pre-approved tools; the agent asks before using onegithub.com/codealive-ai/ai-driven-development/blob/HEAD/skil ↗Réussi
SKILL.md
Voir sur GitHubInstalling 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.
Fichiers de cette skill
2Questions sur la skill installing-cli-tools
Comment installer la skill installing-cli-tools dans Claude Code ?
Exécutez npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.claude/skills/installing-cli-tools. Claude Code charge les skills depuis ~/.claude/skills (tous les projets) ou .claude/skills (un seul projet) et utilise une skill lorsque sa description correspond à la tâche.
Quels clients peuvent utiliser la skill installing-cli-tools ?
Tout client qui lit le format Agent Skills : Claude Code, Codex, Gemini CLI et claude.ai (envoi sous forme de ZIP). Les scripts de la skill ne s'exécutent que si le client autorise l'exécution de code.
Comment ce SKILL gère-t-il les identifiants sensibles lors de l'installation ?
Il utilise des canaux sécurisés tels qu'OAuth, les gestionnaires de mots de passe du système d'exploitation ou des invites interactives, et évite strictement d'inscrire des secrets dans l'historique du shell, les logs ou les fichiers d'environnement.
Quelles méthodes sont utilisées pour vérifier l'installation d'un CLI ?
Le SKILL utilise des commandes non destructives comme la vérification de la version, l'exécution de commandes d'aide ou l'utilisation des métadonnées du gestionnaire de paquets pour confirmer que l'outil est opérationnel.
Le SKILL peut-il modifier mes fichiers de configuration shell ?
Oui, mais uniquement pour des éléments non sensibles comme le PATH, l'autocomplétion ou les alias, et il s'assure que les modifications sont idempotentes et clairement commentées.