My skills for Claude Code Agent. Use as reference and adjust to your own needs.
| Skill | Description |
|---|---|
time |
Get the current local time and date |
todo |
Manage personal tasks and daily plans |
claude-session-id |
Find latest Claude Code session ID(s) by project |
claude-context |
Check context window usage for a session |
claude-usage |
Show token usage and estimated API cost for a session |
claude-session-log |
Replay a session as a human-readable transcript or JSON |
claude-tui |
Send slash commands to a Claude TUI session via tmux |
sync-git |
Sync a git repo with remote — pull, auto-commit, push |
skill-creator |
Guidance for creating and packaging new skills |
Skills are loaded by Claude Code from .claude/skills/ in your project (or home directory).
Install a skill directly from GitHub using degit:
# Install to current project
npx degit thaitype/skills/<skill-name> .claude/skills/<skill-name>
# Install globally (available in all projects)
npx degit thaitype/skills/<skill-name> ~/.claude/skills/<skill-name>Prerequisite: Python 3 is required for skills that include scripts (todo, claude-context, claude-usage, claude-session-id, claude-session-log, claude-tui).
Get the current local time and date. Runs the system date command. No setup required.
npx degit thaitype/skills/time ~/.claude/skills/timeManage personal tasks and daily plans stored locally as a JSONL event log. Supports add, list, update, check off, delete, and daily plan generation.
npx degit thaitype/skills/todo ~/.claude/skills/todoSetup:
The script resolves the data file path relative to the workspace root (my-data/tasks.jsonl). Override with an env var if needed:
| Variable | Default | Description |
|---|---|---|
AGENT_TASKS_FILE |
<workspace>/my-data/tasks.jsonl |
Path to the JSONL task file |
The file and directory are created automatically on first use.
Find the latest Claude Code session ID(s) with their last message. Supports filtering by project path (-p) and showing multiple sessions (-n).
npx degit thaitype/skills/claude-session-id ~/.claude/skills/claude-session-idOptions:
| Flag | Description |
|---|---|
-n <count> |
Number of latest sessions to show (default: 1) |
-p <path> |
Filter sessions to a specific project path |
--dir <path> |
Override Claude projects directory |
Environment variables:
| Variable | Default | Description |
|---|---|---|
CLAUDE_PROJECTS_DIR |
~/.claude/projects |
Path to Claude projects directory |
Check context window usage for Claude Code sessions by reading .jsonl session files. Shows tokens used, free space, autocompact buffer, session info, and last message.
npx degit thaitype/skills/claude-context ~/.claude/skills/claude-contextEnvironment variables:
| Variable | Default | Description |
|---|---|---|
CLAUDE_PROJECTS_DIR |
~/.claude/projects |
Path to Claude projects directory |
AGENT_SESSION_ID |
— | Session ID fallback when not passed as argument |
Show token usage and estimated API cost for a Claude Code session. Supports optional date range filtering and per-model breakdown.
npx degit thaitype/skills/claude-usage ~/.claude/skills/claude-usageEnvironment variables:
| Variable | Default | Description |
|---|---|---|
CLAUDE_PROJECTS_DIR |
~/.claude/projects |
Path to Claude projects directory |
AGENT_SESSION_ID |
— | Session ID fallback when not passed as argument |
Replay a Claude Code session as a human-readable transcript or structured JSON. Shows assistant text, tool calls, and tool results for every turn. Useful for debugging claude -p runs.
npx degit thaitype/skills/claude-session-log ~/.claude/skills/claude-session-logOptions:
| Flag | Description |
|---|---|
--latest |
Auto-pick the most recent session |
--json |
Output as structured JSON (no truncation) |
--tools-only |
Show only turns with tool calls/results |
--full |
Disable 500-char truncation on tool results |
--dir <path> |
Override Claude projects directory |
Environment variables:
| Variable | Default | Description |
|---|---|---|
CLAUDE_PROJECTS_DIR |
~/.claude/projects |
Path to Claude projects directory |
AGENT_SESSION_ID |
— | Session ID fallback when not passed as argument |
Send slash commands (like /context, /compact, /cost) to a Claude Code TUI session via tmux and capture the output. Resumes the target session in a detached tmux pane, sends the command, waits for stable output, and tears down.
npx degit thaitype/skills/claude-tui ~/.claude/skills/claude-tuiPrerequisites: tmux (brew install tmux)
Options:
| Flag | Description |
|---|---|
--latest |
Auto-pick the most recent session |
--timeout <secs> |
Max seconds to wait for output (default: 30) |
--dir <path> |
Override Claude projects directory |
Environment variables:
| Variable | Default | Description |
|---|---|---|
CLAUDE_PROJECTS_DIR |
~/.claude/projects |
Path to Claude projects directory |
AGENT_SESSION_ID |
— | Session ID fallback when not passed as argument |
Sync the current git repo with remote — fetch, pull with rebase, auto-commit all changes, and push with retry. Handles worktrees, stale locks, conflicts, and network errors with structured exit codes.
npx degit thaitype/skills/sync-git ~/.claude/skills/sync-gitExit codes:
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Running inside a worktree (merge first) |
2 |
Rebase/merge conflict (manual resolution needed) |
3 |
Push rejected after 3 retries |
4 |
Network/SSH error |
Guidance for creating and packaging new skills. Covers skill anatomy, design principles, progressive disclosure, and the full creation workflow. No setup required.
npx degit thaitype/skills/skill-creator ~/.claude/skills/skill-creator