Quickstart

From javimosch/supercli · View interactive version

Quickstart is an AI agent skill from the GitHub repository javimosch/supercli. - `fzf <resource> <action>` — Execute fzf commands

How to use this skill

Skill file

fzf Plugin

Commands

Overview

The fzf plugin provides a command-line fuzzy finder. An interactive Unix filter that can be used with any list: files, command history, processes, hostnames, bookmarks, git commits, and more.

What is fzf?

fzf is a general-purpose command-line fuzzy finder. It's an interactive Unix filter that works with any command that produces output. Search through lists with a fuzzy matching algorithm.

Quick Start

1. Install fzf

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# or with Homebrew
brew install fzf

2. Basic usage

# Find files
find . -type f | fzf

# Search git branches
git branch | fzf

# Search command history
history | fzf

3. Verify installation

sc fzf self version

Common Use Cases

File Selection

# Interactive file selection
find . -type f | fzf

# With preview
find . -type f | fzf --preview 'cat {}'

Git Integration

# Select branch to checkout
git branch | fzf | xargs git checkout

# Select commit to view
git log --oneline | fzf

Command History

# Search and execute from history
history | fzf +s | tac | sed 's/ *[0-9]* *//' | sh

Process Management

# Select and kill process
ps aux | fzf | awk '{print $2}' | xargs kill

Keybindings

Useful Commands

Shell Integration

Add to your shell config for better integration:

# Use fzf for Ctrl+T (file search)
source ~/.fzf/shell/key-bindings.bash

# Use fzf for Ctrl+R (history search)
source ~/.fzf/shell/key-bindings.bash

Options

Requirements

Tips

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.