Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

caro-shell-helper

БесплатноЗапускает вложенные скриптыНе проверен

DEPRECATED 2026-05-16 — use caro-shell instead. This skill recommends the --backend claude flag and a ~/.config/caro/config.toml path that do not work on the…

wildcardот wildcard★ 41 звезда на GitHub8 установок в других каталогах

Об этом скилле

Caro Shell Command Helper — DEPRECATED

Status: Deprecated 2026-05-16. Use caro-shell instead.

Why: This skill recommends caro --backend claude (rejected by the v1.4.0 binary's --backend validator; tracking issue caro-zh41), claims the config path is ~/.config/caro/config.toml (actual macOS path: ~/Library/Application Support/caro/config.toml), and shows risk-emoji output that caro does not actually emit on the success path (tracking issue caro-b45s). The 522-line body is 4× the size of caro-shell for no agent benefit — see skill-friction.md for the side-by-side comparison.

Replacement: .claude/skills/caro-shell/SKILL.md. The replacement is hardened against caro's known synthesis bugs and defaults to caro's free embedded backend (correct choice for autonomous agent loops under the no-paid-default convention).

Removal date: 2026-08-01. Until then this skill is kept for compatibility but its description will not be matched by the skill-discovery layer.

For maintainers: the educational POSIX-compliance prose and backend-config TOML examples in this file are useful reference material — consider extracting to docs/ rather than re-introducing them as a skill.


What This Skill Does (legacy content below — do not follow as-written)

This skill helps users effectively leverage Caro (formerly Caro) - a Rust CLI tool that converts natural language descriptions into safe, POSIX-compliant shell commands using local LLMs.

Key Capabilities:

  • 🔍 Detects when users need shell command generation assistance
  • 🛡️ Guides users through safety-first command validation
  • 📚 Educates about POSIX compliance and command safety
  • 🚀 Integrates seamlessly with existing Caro installations
  • ⚙️ Provides installation guidance when Caro is not available

Default Backend: Claude Haiku 4.5

IMPORTANT: When this skill is used within Claude Code, always use the Claude backend by default. This provides the fastest response times and best accuracy.

# Default command format when running in Claude Code
caro --backend claude "user's request here"

The Claude backend uses claude-haiku-4-5-20251101 for fast, cost-effective command generation. The API key is automatically provided by Claude Code.

When to Use This Skill

Activate this skill automatically when the user:

  • Asks "how do I [shell operation]..."
  • Requests "generate a command to..."
  • Mentions "shell command for..."
  • Discusses file/directory operations
  • Needs system administration tasks
  • Asks about safe command execution
  • Wants to automate shell tasks
  • Mentions bash, zsh, or shell scripting

Example Triggers:

  • "How do I find all large files?"
  • "Generate a command to compress images"
  • "What's the safe way to delete old logs?"
  • "Shell command to search for text in files"
  • "Automate file backups with a script"

Core Workflow

Step 1: Check Caro Availability

First, verify if Caro is installed:

# Check for caro command
command -v caro &> /dev/null && echo "✓ Caro available" || echo "✗ not found"

If NOT installed, guide the user:

Caro is not currently installed. Would you like to install it?

Quick install (recommended):
  bash <(curl -sSfL https://setup.caro.sh)

Or via cargo:
  cargo install caro

Once installed, the `caro` command will be available.

Step 2: Generate Command with Safety Guidance

When the user describes what they need, use Caro with the Claude backend (default for Claude Code):

# Always use --backend claude when running in Claude Code
caro --backend claude "user's natural language description"

Example:

$ caro --backend claude "find all PDF files larger than 10MB in Downloads"

Generated command:
  find ~/Downloads -name "*.pdf" -size +10M -ls

Safety Assessment: ✅ Safe (Green)
Backend: Claude (claude-haiku-4-5-20251101)
Execute this command? (y/N)

Step 3: Explain Safety Assessment

Always explain the risk level to educate the user:

🟢 Safe (Green)

  • Read-only operations
  • Standard file listings
  • Data queries
  • No system modifications
  • ✅ Execute without concern

🟡 Moderate (Yellow)

  • File modifications
  • Package operations
  • Non-critical deletions
  • ⚠️ Review before executing

🟠 High (Orange)

  • Recursive deletions
  • Mass file operations
  • System configuration changes
  • ⚠️ Carefully review and confirm

🔴 Critical (Red)

  • System destruction patterns (rm -rf /)
  • Disk operations (mkfs, dd)
  • Fork bombs
  • Privilege escalation
  • 🛑 BLOCKED or requires explicit override

Step 4: POSIX Compliance Education

Emphasize why POSIX compliance matters:

✓ POSIX-Compliant Command:
  find ~/Downloads -name "*.pdf" -size +10M

This works on: bash, zsh, sh, dash, ksh (all POSIX shells)

✗ Bash-Specific (Non-Portable):
  find ~/Downloads -name "*.pdf" -size +10M -p
Полный SKILL.md на GitHub

Установить caro-shell-helper в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Grep
Glob

Вложенные файлы

QUICK_START.mdREADME.mdexamples/basic-usage.mdreferences/posix-compliance.mdreferences/safety-patterns.mdscripts/check-caro-installed.sh

FAQ

Что делает скилл caro-shell-helper?

DEPRECATED 2026-05-16 — use caro-shell instead. This skill recommends the --backend claude flag and a ~/.config/caro/config.toml path that do not work on the current caro 1.4.0 binary, and its 522-line educational body is 4× the size of caro-shell for no benefit to an agent. Will be removed after 2026-08-01.

Как установить скилл caro-shell-helper?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл caro-shell-helper запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить caro-shell-helper с