Globales Ranking · von 601 Skills
cli-tools AI Agent Skill
Quellcode ansehen: dirnbauer/webconsulting-skills
MediumInstallation
npx skills add dirnbauer/webconsulting-skills --skill cli-tools 44
Installationen
CLI Tools Skill
Manage CLI tool installation, environment auditing, and updates.
Capabilities
- Reactive: Auto-install missing tools on "command not found"
- Proactive: Audit project dependencies and tool versions
- Maintenance: Batch update all managed tools
Triggers
Reactive (auto-install):
bash: <tool>: command not found
zsh: command not found: <tool>Proactive (audit): "check environment", "what's missing", "update tools"
Binary to Tool Mapping
Common binary names that differ from package names:
| Binary | Package (Homebrew) | Package (apt) |
|---|---|---|
rg |
ripgrep |
ripgrep |
fd |
fd |
fd-find |
bat |
bat |
bat |
delta |
git-delta |
N/A |
exa / eza |
eza |
eza |
fzf |
fzf |
fzf |
ag |
the_silver_searcher |
silversearcher-ag |
http |
httpie |
httpie |
jq |
jq |
jq |
yq |
yq |
N/A |
gh |
gh |
gh |
glab |
glab |
N/A |
Installation Commands
macOS (Homebrew)
# Install single tool
brew install <package>
# Install multiple tools
brew install ripgrep fd bat eza fzf jq gh
# Update all tools
brew update && brew upgradeLinux (apt)
# Install single tool
sudo apt install <package>
# Install multiple tools
sudo apt install ripgrep fd-find bat fzf jq
# Update all tools
sudo apt update && sudo apt upgradePHP Tools (Composer)
# Global PHP tools
composer global require phpstan/phpstan
composer global require friendsofphp/php-cs-fixer
composer global require rector/rector
# Project-specific
composer require --dev phpstan/phpstan
composer require --dev friendsofphp/php-cs-fixerNode.js Tools (npm)
# Global Node tools
npm install -g prettier eslint typescript
# Project-specific
npm install --save-dev prettier eslint typescriptProject Type Detection
PHP Project
Indicators: composer.json, vendor/, *.php
Required tools:
php- PHP interpretercomposer- Dependency managerphpstan- Static analysisphp-cs-fixer- Code style
TYPO3 Project
Indicators: composer.json with typo3/cms-core, public/typo3/
Required tools:
- All PHP tools
ddev- Local developmenttypo3- TYPO3 CLI
Node.js Project
Indicators: package.json, node_modules/
Required tools:
node- Node.js runtimenpm/pnpm/yarn- Package manager
Go Project
Indicators: go.mod, *.go
Required tools:
go- Go compilergolangci-lint- Linter
Environment Audit
Check if required tools are installed:
# Check single tool
command -v <tool> &> /dev/null && echo "Found" || echo "Missing"
# Check version
<tool> --version
# PHP project audit
php --version
composer --version
command -v phpstan &> /dev/null || echo "Missing: phpstan"
command -v php-cs-fixer &> /dev/null || echo "Missing: php-cs-fixer"
# TYPO3 project audit
php --version
composer --version
ddev --versionTool Catalog
Core CLI Tools
curl- HTTP clientwget- File downloaderjq- JSON processoryq- YAML processortree- Directory visualizerhtop- Process viewertmux- Terminal multiplexer
Development Tools
git- Version controlgh- GitHub CLIglab- GitLab CLIdocker- Containerizationddev- Local development
Search & Navigation
ripgrep(rg) - Fast grepfd- Fast findfzf- Fuzzy finderbat- Cat with syntax highlightingeza- Modern ls replacementdelta- Git diff viewer
PHP Tools
php- PHP interpretercomposer- Dependency managerphpstan- Static analysisrector- Automated refactoringphp-cs-fixer- Code style fixerphpunit- Testing frameworkinfection- Mutation testing
Node.js Tools
node- JavaScript runtimenpm/pnpm- Package managersprettier- Code formattereslint- JavaScript lintertypescript- TypeScript compiler
Security Tools
trivy- Vulnerability scannergrype- Container scannercosign- Container signing
Auto-Install Workflow
When a command fails with "command not found":
- Extract tool name from error message
- Lookup package name in binary-to-tool mapping
- Detect OS (macOS/Linux)
- Install using appropriate package manager
- Retry original command
Example:
# Error: zsh: command not found: rg
# Resolution:
brew install ripgrep # macOS
# or
sudo apt install ripgrep # Linux
# Retry
rg "pattern" .Batch Update
Update all managed tools:
# macOS
brew update && brew upgrade
# Linux
sudo apt update && sudo apt upgrade
# PHP global tools
composer global update
# Node global tools
npm update -gCredits & Attribution
This skill is based on the excellent work by
Netresearch DTT GmbH.
Original repository: https://github.com/netresearch/cli-tools-skill
Copyright (c) Netresearch DTT GmbH — Methodology and best practices (MIT / CC-BY-SA-4.0)
Adapted by webconsulting.at for this skill collection
Installationen
Sicherheitsprüfung
Quellcode ansehen
dirnbauer/webconsulting-skills
Mehr aus dieser Quelle
Power your AI Agents with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
So verwenden Sie diesen Skill
Install cli-tools by running npx skills add dirnbauer/webconsulting-skills --skill cli-tools in your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert.
Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.
Der Skill verbessert das Verständnis Ihres Agenten für cli-tools, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.
Was Sie erhalten
Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.
Kompatibilität
Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.