thiagofernandes1987-create/apex/last

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 `last` command with CSV, JSON, tree view, and interactive UI for viewing login history. **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/last

SKILL.md

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

x last - User Login History

Enhanced last command with multiple output formats, tree view, and interactive UI.

Quick Start

bash
# Interactive login history viewer (default in TTY)
x last
# All records
x last --all

Features

  • Multiple formats: CSV, JSON, tree view
  • Interactive UI: Built-in picker for TTY mode
  • Filtering options: Login only, reboot only, all records
  • Session duration: Calculated login session lengths
  • Tree view: Grouped by system reboot

Commands

CommandDescription
x lastInteractive view (default) / CSV (piped)
x last --allAll records (TTY: interactive picker)
x last --loginLogin records only, exclude reboots
x last --rebootSystem reboot records only
x last --treeTree view grouped by reboot
x last --csvCSV format output
x last --jsonJSON format output

Examples

Basic Usage
bash
# Default view
x last
# All records with interactive picker
x last --all
# Login records only
x last --login
Format Output
bash
# JSON format
x last --json
# CSV format
x last --csv
# Tree view
x last --tree
Filtering
bash
# Specific user
x last username
# Specific TTY
x last tty7
# Reboot records only
x last --reboot
Data Processing
bash
# Parse with jq
x last --json | jq '.[] | select(.user == "root")'
# Find recent reboots
x last --reboot --json | jq '.[0:5]'

Output Fields

FieldDescriptionExample
userUsernamejohn, reboot
ttyTerminalpts/0, tty7
hostRemote host192.168.1.100
loginLogin timeMon Jan 15 09:30
logoutLogout timeMon Jan 15 17:45
durationSession duration08:15

Platform Notes

Linux
  • Uses native last command
  • Reads from /var/log/wtmp
macOS
  • Uses native last command
  • Full feature support
Windows
  • Limited support (no native last command)

Related

  • Native last(1) manual page

Security

  • Security scanPassed, 90 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 21 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/last/badge)](https://verified-skill.com/skills/thiagofernandes1987-create/apex/last)

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