installing-cli-tools Skill
✓ VerifiziertInstalliere, konfiguriere und verifiziere Developer CLIs und SDKs, während du gleichzeitig strikte Sicherheit für deine Credentials gewährleistest.
- GitHub Stars
- 173
- Dateien
- 2
- Letzter Commit
- 11. Nov. 2026
- Lizenz
- MIT
- Erlaubte Tools
- —
Was macht der installing-cli-tools Skill?
installing-cli-tools ist ein Agent Skill. Installiere, konfiguriere und verifiziere Developer CLIs und SDKs, während du gleichzeitig strikte Sicherheit für deine Credentials gewährleistest.
Zusammenfassung erzeugt aus der SKILL.md des Skills.
Über den installing-cli-tools skill
Die Hauptaufgabe dieses Skills ist es, Developer Command-Line Interfaces und SDKs von einem nicht funktionsfähigen Zustand in einen verifizierten, einsatzbereiten Status zu bringen. Er wurde für Entwickler entwickelt, die Package-Manager-Binaries, Language Runtimes oder Vendor CLIs installieren müssen, ohne dass sensible Credentials in Chat-Logs, der Shell-History oder Repository-Files landen. Ein Agent sollte diesen Skill laden, wenn ein User eine neue Tool-Installation, eine Migration eines bestehenden Setups oder das Troubleshooting einer defekten CLI anfordert.
Der Workflow umfasst die Recherche in der offiziellen Dokumentation, die Auswahl geeigneter Installationsmethoden wie brew, npm, pipx oder cargo und die Verifizierung der Installation mittels Befehlen wie tool --version oder tool doctor. Sicherheit hat Priorität durch die Nutzung sicherer Authentifizierungskanäle wie OAuth, OS Credential Stores wie den macOS Keychain oder lokale Secrets Manager wie op oder pass. Der Skill verwaltet die Shell-Integration, indem er PATH oder Completions aktualisiert, ohne jemals Secrets in Shell-Startup-Files wie .zshrc oder .bashrc zu schreiben. Abschließend liefert er klare Rollback-Anweisungen und berichtet exakt darüber, welche Dateien geändert wurden.
Was ein agent damit machen kann
- 1Tool-Installation verifizierenPrüfe, ob ein Command korrekt installiert ist und im System PATH erreichbar ist.
- 2Fehlgeschlagene Installation rückgängig machenErhalte die notwendigen Commands, um Änderungen während eines Tool-Setups rückgängig zu machen.
Geschrieben basierend auf dem SKILL.md des skills. Jeder use case wurde gegen ein zitat daraus geprüft.
So installierst du den installing-cli-tools Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den installing-cli-tools Skill in Plugin installieren
/plugin marketplace add CodeAlive-AI/ai-driven-development /plugin install ai-driven-development@ai-driven-development
Den installing-cli-tools Skill in Claude Code installieren
~/.claude/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.claude/skills/installing-cli-toolsDen installing-cli-tools Skill in Claude Code (project) installieren
.claude/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools .claude/skills/installing-cli-toolsDen installing-cli-tools Skill in Codex installieren
~/.agents/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.agents/skills/installing-cli-toolsDen installing-cli-tools Skill in Gemini CLI installieren
~/.gemini/skills/installing-cli-tools/SKILL.md
$ npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.gemini/skills/installing-cli-toolsDen installing-cli-tools Skill in Claude.ai installieren
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
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Hat unsere automatischen Prüfungen bestanden. Das ist kein Sicherheitsaudit: Lesen Sie die Skripte, bevor ein Agent sie ausführt. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarcodealive-ai/ai-driven-development/skills/installing-cli-tools is public and reachablegithub.com/codealive-ai/ai-driven-development/tree/HEAD/skil ↗Bestanden
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit 2026-11-11github.com/codealive-ai/ai-driven-development/commits ↗Bestanden
- Keine Download-und-Ausführen-Muster oder Zugangsdatendiebstahl in SkriptenNo scripts in the skill folderBestanden
- Keine versteckten Anweisungen in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/codealive-ai/ai-driven-development/blob/HEAD/skil ↗Bestanden
- Vorab erlaubte Tools sind eingeschränktNo pre-approved tools; the agent asks before using onegithub.com/codealive-ai/ai-driven-development/blob/HEAD/skil ↗Bestanden
SKILL.md
Auf GitHub ansehenInstalling 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.
Dateien in diesem Skill
2installing-cli-tools Skill-Fragen
Wie installiere ich den installing-cli-tools Skill in Claude Code?
Führe npx degit CodeAlive-AI/ai-driven-development/skills/installing-cli-tools ~/.claude/skills/installing-cli-tools aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den installing-cli-tools Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.
Wie geht dieser Skill mit sensiblen Credentials während der Installation um?
Er nutzt sichere Kanäle wie OAuth, OS Credential Stores oder interaktive Prompts und vermeidet es strikt, Secrets in der Shell-History, in Logs oder in Environment-Files zu speichern.
Welche Methoden werden verwendet, um eine CLI-Installation zu verifizieren?
Der Skill nutzt nicht-destruktive Befehle, wie das Prüfen der Version, das Ausführen von Help-Commands oder die Nutzung von Metadaten des Package Managers, um sicherzustellen, dass das Tool einsatzbereit ist.
Kann der Skill meine Shell-Config-Files ändern?
Ja, aber nur für nicht-sensitive Einträge wie PATH, Completions oder Aliases. Dabei wird sichergestellt, dass die Änderungen idempotent sind und klar kommentiert werden.