thiagofernandes1987-create/apex/lsof
Claude Code and agent skill by thiagofernandes1987-create/apex
- community
Checking that the SKILL.md file is still in the repository.
Enhanced lsof (List Open Files) with interactive UI and structured output. View open files, network connections, and processes. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
Install
npx vskill@latest install thiagofernandes1987-create/apex/lsofSKILL.md
The same SKILL.md was published earlier as x-cmd/x-cmd/lsof.
x lsof - List Open Files
Enhancedlsofwith interactive UI, fzf search, and TSV/CSV/JSON output formats.
Quick Start
Features
- Auto-download: If
lsofis not available, x-cmd automatically downloads a portable version from trusted sources - Interactive UI: TUI application for viewing open files
- fzf Integration: Interactive search with fzf
- Multiple Formats: TSV, CSV, and raw output for data processing
- Port-to-PID: Find process ID by port number
Commands
| Command | Description | |
|---|---|---|
x lsof | Interactive TUI view (default in TTY) / TSV (piped) | |
x lsof fz | Interactive fzf search | |
x lsof --app | TUI application view | |
x lsof --tsv | TSV format output | |
x lsof --csv | CSV format output | |
x lsof --raw | Raw format output | |
x lsof --pidofport <port> | Find PID by port number |
Examples
Basic Usage
Find Process by Port
Data Processing
Output Fields
| Field | Description | |
|---|---|---|
| COMMAND | Process name | |
| PID | Process ID | |
| USER | User name | |
| FD | File descriptor | |
| TYPE | File type (REG, DIR, IPv4, IPv6) | |
| DEVICE | Device number | |
| SIZE/OFF | File size or offset | |
| NODE | Inode number | |
| NAME | File name / network connection |
Automatic Binary Download
If lsof is not installed on your system, x-cmd automatically downloads a portable version from trusted sources (pixi/conda-forge) and manages it locally. No manual installation required.
Supported platforms:
- Linux (x86_64, aarch64)
- macOS (x86_64, arm64)
- Windows (limited support)
Platform Notes
- Linux/macOS: Full support with native or auto-downloaded lsof
- Windows: Limited support, may require WSL
Related
- Native
lsof(8)manual page
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingalgorithms/x-cmd/src/mod/lsof/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thiagofernandes1987-create/apex/lsof)