yazi
БесплатноБез исполняемых скриптовНе проверенYazi is a fast terminal file manager written in Rust with asynchronous I/O, file previews, tabs, bulk selection and Lua plugins. Use it when the user asks to…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Yazi — terminal file manager with previews and plugins
Overview
Yazi shows three panes (parent directory, current directory, preview), keeps the UI responsive while it copies, searches or generates thumbnails in the background, and is driven by Vim-style keys. It previews text with syntax highlighting, images, video thumbnails, PDFs, archives and JSON when the matching helper tools are installed.
Yazi is an interactive full-screen program: an agent cannot operate it, and it does not run in non-interactive scripts (started without a terminal it exits with "Not a tty"). The agent's job is the surroundings: installing yazi and ya, adding the shell wrapper so the shell follows the directory you left Yazi in, writing ~/.config/yazi/yazi.toml, keymap.toml and init.lua, and installing plugins with ya pkg.
Releases ship two binaries that must have the same version: yazi (the UI) and ya (package manager and message tool).
Instructions
Installation
Prefer the package manager; it also pulls the helper tools.
brew install yazi ffmpeg-full sevenzip jq poppler fd ripgrep fzf zoxide resvg imagemagick-full # macOS, Linux (Homebrew)
sudo pacman -S yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick # Arch
sudo snap install yazi --classic # Snap
winget install sxyazi.yazi # Windows
scoop install yazi # Windows (Scoop)
Debian and Ubuntu users can use the project's own APT repository or a .deb from the releases page; the exact steps are on https://yazi-rs.github.io/docs/installation. As a fallback, download a release archive from https://github.com/sxyazi/yazi/releases (the release page lists a SHA-256 digest for each asset), check it, unzip it and put both yazi and ya on PATH:
sha256sum --check <<< "9b9c39decccf8cb0ff53a7d637d38f8a79d93bbd0099f4ea9c619ef6bb392f5d yazi-x86_64-unknown-linux-musl.zip"
unzip yazi-x86_64-unknown-linux-musl.zip
install -m 0755 yazi-x86_64-unknown-linux-musl/yazi yazi-x86_64-unknown-linux-musl/ya ~/.local/bin/
yazi --version && ya --version
Helper tools and what they enable: file (file type detection, required), ffmpeg (video thumbnails), 7-Zip (archive preview and extraction), jq (JSON preview), poppler (PDF preview), fd (key s, search by name), ripgrep (key S, search by content), fzf 0.53+ (key z, jump to a file or directory in the subtree), zoxide (key Z, jump to a frequently used directory), ImageMagick 7.1.1+ (fonts, HEIC, JPEG XL). Image preview depends on the terminal; see https://yazi-rs.github.io/docs/image-preview.
Shell wrapper: change directory on exit
Run yazi directly and the shell stays where it was. The documented y function passes --cwd-file, then cds into whatever directory Yazi was in when it quit. Add it to ~/.bashrc or ~/.zshrc:
function y() {
local tmp cwd; tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
command yazi "$@" --cwd-file="$tmp"
IFS= read -r -d '' cwd < "$tmp"
[ "$cwd" != "$PWD" ] && [ -d "$cwd" ] && builtin cd -- "$cwd" || builtin true
command rm -f -- "$tmp"
}
Then use y instead of yazi. Quit with q to change the shell directory, or Q to quit without changing it. Fish, Nushell, PowerShell, cmd.exe, Xonsh, Elvish and POSIX sh versions are on https://yazi-rs.github.io/docs/quick-start.
Keys worth telling the user
h j k l or arrows to move, Space to select, v for visual selection, Enter or o to open, y/x/p to copy, cut, paste, d to trash, D to delete permanently, a to create (end the name with / for a directory), r to rename, . to toggle hidden files, f to filter the current directory, / to find, s/S to search by name/content, z and Z to jump with fzf/zoxide, Tab for file info, t t for a new tab and 1-9 to switch tabs, w for the task manager, ~ or F1 for help, , then a letter to sort (,m modified, ,s size, ,n natural).
Configuration files
All live in ~/.config/yazi/ (Windows: %AppData%\yazi\config\); YAZI_CONFIG_HOME points Yazi at another directory. Your files override the shipped defaults, so write only what you change. Defaults are at https://github.com/sxyazi/yazi/tree/shipped/yazi-config/preset.
# ~/.config/yazi/yazi.toml
[mgr]
ratio = [1, 3, 4] # parent : current : preview
sort_by = "natural"
sort_dir_first = true
show_hidden = true
linemode = "size" # also: mtime, permissions, owner, btime
[open]
prepend_rules = [
{ url = "*.json", use = "edit" },
]
For key bindings use prepend_keymap (wins over defaults) or append_keymap (only used if no default matches). Do not mix the array style and the mgr.prepend_keymap style for the same list.
#
Установить yazi в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл yazi?
Yazi is a fast terminal file manager written in Rust with asynchronous I/O, file previews, tabs, bulk selection and Lua plugins. Use it when the user asks to "install yazi", "set up a terminal file manager", "make yazi change my shell directory on exit", "configure yazi keybindings", "add a yazi plugin", "show git status in yazi", or "preview images and PDFs in the terminal". Covers installing the yazi and ya binaries, the optional helper tools, the `y` shell wrapper, yazi.toml, keymap.toml, init.lua and `ya pkg`.
Как установить скилл yazi?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл yazi запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic