thiagofernandes1987-create/apex/lsof

Claude Code and agent skill by thiagofernandes1987-create/apex

Trust tier 3
  • community
Source check pending

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/lsof

SKILL.md

The same SKILL.md was published earlier as x-cmd/x-cmd/lsof.

x lsof - List Open Files

Enhanced lsof with interactive UI, fzf search, and TSV/CSV/JSON output formats.

Quick Start

bash
# Interactive view (default in TTY)
x lsof
# fzf interactive search
x lsof fz
# TSV format output
x lsof --tsv

Features

  • Auto-download: If lsof is 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

CommandDescription
x lsofInteractive TUI view (default in TTY) / TSV (piped)
x lsof fzInteractive fzf search
x lsof --appTUI application view
x lsof --tsvTSV format output
x lsof --csvCSV format output
x lsof --rawRaw format output
x lsof --pidofport <port>Find PID by port number

Examples

Basic Usage
bash
# Interactive view (TTY default)
x lsof
# fzf interactive mode
x lsof fz
# TSV format for processing
x lsof --tsv
# CSV format
x lsof --csv
Find Process by Port
bash
# Find PID listening on port 8080
x lsof --pidofport 8080
# Find all processes using port 443
x lsof -i:443
Data Processing
bash
# Filter with awk
x lsof --tsv | awk -F'\t' '$2 == "TCP"'
# Import to spreadsheet
x lsof --csv > open_files.csv
# Count files by process
x lsof --tsv | cut -f1 | sort | uniq -c | sort -rn

Output Fields

FieldDescription
COMMANDProcess name
PIDProcess ID
USERUser name
FDFile descriptor
TYPEFile type (REG, DIR, IPv4, IPv6)
DEVICEDevice number
SIZE/OFFFile size or offset
NODEInode number
NAMEFile 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thiagofernandes1987-create/apex/lsof/badge)](https://verified-skill.com/skills/thiagofernandes1987-create/apex/lsof)

Something wrong with this skill or its page? Tell us.