用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill cli-productivity-5-bat-better-cat命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cli-productivity-5-bat-better-cat |
| description | Sub-skill of cli-productivity: 5. bat - Better cat (+2). |
| version | 1.0.0 |
| category | operations |
| type | reference |
| scripts_exempt | true |
Basic Usage:
# Syntax highlighted output
bat file.py
# Show line numbers
bat -n file.py
# Show all non-printable chars
bat -A file.py
# Multiple files
bat file1.py file2.py
# Plain output (no decorations)
bat -p file.py
# Specific language
bat -l json data.txt
# Diff two files
bat --diff file1 file2
bat Configuration:
# Add to ~/.bashrc or ~/.zshrc
# Set bat as default pager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export PAGER="bat"
# Bat theme
export BAT_THEME="TwoDark"
# Bat style
export BAT_STYLE="numbers,changes,header"
bat Aliases:
# Replace cat with bat
alias cat='bat --paging=never'
# Preview alias for fzf
alias preview='fzf --preview "bat --color=always {}"'
# Pretty print JSON
alias json='bat -l json'
# Pretty print YAML
alias yaml='bat -l yaml'
# Diff with bat
alias diff='bat --diff'
Basic Usage:
# Basic list
exa
# Long format
exa -l
# All files including hidden
exa -la
# Tree view
exa --tree
exa --tree --level=2
# Sort by modified
exa -l --sort=modified
# With git status
exa -l --git
# Group directories first
exa -l --group-directories-first
# Icons
exa -l --icons
exa Aliases:
# Add to ~/.bashrc or ~/.zshrc
# Replace ls with exa
alias ls='exa --group-directories-first'
alias ll='exa -l --group-directories-first --git'
alias la='exa -la --group-directories-first --git'
alias lt='exa --tree --level=2'
alias lta='exa --tree --level=2 -a'
# With icons (if supported)
alias li='exa -l --icons --group-directories-first --git'
Basic Usage:
# Initialize (add to shell rc)
eval "$(zoxide init bash)" # or zsh
# Use z instead of cd
z projects # Jump to most frequent/recent match
z pro # Partial match
# Interactive selection
zi # Opens fzf for selection
# Add directory manually
zoxide add /path/to/dir
# Query database
zoxide query projects
zoxide query -l # List all entries
zoxide Configuration:
# Add to ~/.bashrc or ~/.zshrc
# Initialize zoxide
eval "$(zoxide init bash --cmd cd)" # Replace cd
# Or use custom command
eval "$(zoxide init bash --cmd j)" # Use 'j' for jump