Agent skill
pick
Interactive choice list generator for terminal, used to select items from stdin or command output. Core Scenario: When the user needs to create an interactive selection menu for scripts or CLI workflows.
Install this agent skill to your Project
npx add-skill https://github.com/x-cmd/skill/tree/main/data/x-cmd/pick
SKILL.md
pick - Interactive Selection Menu
The pick module allows users to create interactive, searchable selection lists in the terminal. It is ideal for choosing files, processes, or custom options within a shell script.
When to Activate
- When a script needs to present a list of options for the user to select from.
- When choosing specific files from a large directory listing (
ls | x pick). - When performing multi-selection tasks within a terminal workflow (
--limit).
Core Principles & Rules
- Piping Input: Automatically reads from
stdinto generate the list. - Customization: Supports setting the number of columns, rows, and selection limits.
- Output: Returns the selected item(s) to
stdout, making it perfect for subshell execution.
Patterns & Examples
Select File
# Interactively select a file and view its status
stat `ls | x pick`
Multi-Selection
# Select up to two items from a list using Tab
ls | x pick --limit 2
Styled Menu
# Create a 2-column selection menu with a custom prompt
ls | x pick --col 2 --ask "Choose a project:"
Checklist
- Confirm the input data source (pipe or argument).
- Verify if single or multiple selection is required.
- Ensure the prompt message (
--ask) is clear.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pufferlib
High-performance reinforcement learning framework optimized for speed and scale. Use when you need fast parallel training, vectorized environments, multi-agent systems, or integration with game environments (Atari, Procgen, NetHack). Achieves 2-10x speedups over standard implementations. For quick prototyping or standard algorithm implementations with extensive documentation, use stable-baselines3 instead.
fluidsim
Framework for computational fluid dynamics simulations using Python. Use when running fluid dynamics simulations including Navier-Stokes equations (2D/3D), shallow water equations, stratified flows, or when analyzing turbulence, vortex dynamics, or geophysical flows. Provides pseudospectral methods with FFT, HPC support, and comprehensive output analysis.
metabolomics-workbench-database
Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.
geniml
This skill should be used when working with genomic interval data (BED files) for machine learning tasks. Use for training region embeddings (Region2Vec, BEDspace), single-cell ATAC-seq analysis (scEmbed), building consensus peaks (universes), or any ML-based analysis of genomic regions. Applies to BED file collections, scATAC-seq data, chromatin accessibility datasets, and region-based genomic feature learning.
zinc-database
Access ZINC (230M+ purchasable compounds). Search by ZINC ID/SMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.
astropy
Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.
Didn't find tool you were looking for?