File contents Mission
Cross-platform shell aliases for Claude Code - cc for normal mode and ccc for bypass-permissions mode.
When to Use
First-time setup : Run once when installing Claude Code
New machine : Run on each new development machine
Alias missing : Run if cc/ccc commands don't work
Shell change : Re-run after switching shells
Examples
# Installation command
/install-aliases
# After installation
cc "build my feature" # Normal mode (asks permission)
ccc "generate boilerplate" # Bypass mode (auto-accepts)
Supported Platforms
Platform
Shell
Config File
Aliases
Windows
PowerShell
$PROFILE
cc, ccc
Windows
cmd.exe
%USERPROFILE%\cc.bat
cc, ccc
macOS/Linux
Bash
~/.bashrc
cc, ccc
macOS/Linux
Zsh
~/.zshrc
cc, ccc
Aliases
cc : Normal mode - Respects all hooks and permissions
ccc : Bypass-permissions mode - Skips confirmation prompts
Installation Process
Detect shell : Automatically identifies current shell
Backup : Creates backup of existing config file
Install : Adds aliases to appropriate config file
Verify : Tests installation and reports status
Instructions : Shows next steps (reload shell, test aliases)
Safety Features
Automatic backup : Never overwrites without backup
Idempotent : Safe to run multiple times
Rollback : Backup created for manual rollback
Non-destructive : Won't remove existing aliases
Verification : Confirms installation success
Configuration
Config file: .claude/.smite/essentials.json
{
"shell": {
"enabled": true,
"aliases": {
"cc": "claude",
"ccc": "claude-code"
}
}
}
Version: 3.1.0 | Cross-platform shell aliases
1 --- 2 name: shell 3 description: Mission 4 --- 5 6 ## Mission 7 8 Cross-platform shell aliases for Claude Code - `cc` for normal mode and `ccc` for bypass-permissions mode. 9 10 --- 11 12 ## When to Use 13 14 - **First-time setup**: Run once when installing Claude Code 15 - **New machine**: Run on each new development machine 16 - **Alias missing**: Run if cc/ccc commands don't work 17 - **Shell change**: Re-run after switching shells 18 19 ### Examples 20 ```bash 21 # Installation command 22 /install-aliases 23 24 # After installation 25 cc "build my feature" # Normal mode (asks permission) 26 ccc "generate boilerplate" # Bypass mode (auto-accepts) 27 ``` 28 29 --- 30 31 ## Supported Platforms 32 33 | Platform | Shell | Config File | Aliases | 34 |----------|-------|-------------|---------| 35 | **Windows** | PowerShell | `$PROFILE` | cc, ccc | 36 | **Windows** | cmd.exe | `%USERPROFILE%\cc.bat` | cc, ccc | 37 | **macOS/Linux** | Bash | `~/.bashrc` | cc, ccc | 38 | **macOS/Linux** | Zsh | `~/.zshrc` | cc, ccc | 39 40 ## Aliases 41 42 - **`cc`**: Normal mode - Respects all hooks and permissions 43 - **`ccc`**: Bypass-permissions mode - Skips confirmation prompts 44 45 ## Installation Process 46 47 1. **Detect shell**: Automatically identifies current shell 48 2. **Backup**: Creates backup of existing config file 49 3. **Install**: Adds aliases to appropriate config file 50 4. **Verify**: Tests installation and reports status 51 5. **Instructions**: Shows next steps (reload shell, test aliases) 52 53 ## Safety Features 54 55 - **Automatic backup**: Never overwrites without backup 56 - **Idempotent**: Safe to run multiple times 57 - **Rollback**: Backup created for manual rollback 58 - **Non-destructive**: Won't remove existing aliases 59 - **Verification**: Confirms installation success 60 61 ## Configuration 62 63 Config file: `.claude/.smite/essentials.json` 64 65 ```json 66 { 67 "shell": { 68 "enabled": true, 69 "aliases": { 70 "cc": "claude", 71 "ccc": "claude-code" 72 } 73 } 74 } 75 ``` 76 77 --- 78 79 *Version: 3.1.0 | Cross-platform shell aliases*
Pamacea/smite/tree/main/plugins/essentials/skills/shell commit ddc1f2c8aa
Frequently asked questions How do I install the Shell skill? Run npx skillmds@latest add pamacea/shell in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Shell skill do? Mission It is listed under Coding & Dev Tools on SkillMD.
Is Shell safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Shell? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Shell free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Shell? Pamacea (@pamacea) published this skill. Their other Agent Skills are listed on their SkillMD profile.