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/lastSKILL.md
The same SKILL.md was published earlier as x-cmd/x-cmd/last.
x last - User Login History
Enhancedlastcommand with multiple output formats, tree view, and interactive UI.
Quick Start
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
| Command | Description | |
|---|---|---|
x last | Interactive view (default) / CSV (piped) | |
x last --all | All records (TTY: interactive picker) | |
x last --login | Login records only, exclude reboots | |
x last --reboot | System reboot records only | |
x last --tree | Tree view grouped by reboot | |
x last --csv | CSV format output | |
x last --json | JSON format output |
Examples
Basic Usage
Format Output
Filtering
Data Processing
Output Fields
| Field | Description | Example | |
|---|---|---|---|
user | Username | john, reboot | |
tty | Terminal | pts/0, tty7 | |
host | Remote host | 192.168.1.100 | |
login | Login time | Mon Jan 15 09:30 | |
logout | Logout time | Mon Jan 15 17:45 | |
duration | Session duration | 08:15 |
Platform Notes
Linux
- Uses native
lastcommand - Reads from
/var/log/wtmp
macOS
- Uses native
lastcommand - 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
- SKILL.md in the repositoryCheckingalgorithms/x-cmd/src/mod/last/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 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
[](https://verified-skill.com/skills/thiagofernandes1987-create/apex/last)