Agent Skill
2/7/2026

improve-skill

Analyze coding agent session transcripts to improve existing skills or create new ones. Use when asked to improve a skill based on a session, or extract a new skill from session history.

J
joelazar
156GitHub Stars
2Views
npx skills add joelazar/dotfiles

SKILL.md

Nameimprove-skill
DescriptionAnalyze coding agent session transcripts to improve existing skills or create new ones. Use when asked to improve a skill based on a session, or extract a new skill from session history.

joelazar's dotfiles πŸš€

Screenshots πŸ–ΌοΈ

Wallpaper + Raycast πŸ–ŒοΈ

joedotfiles - wallpaper+raycast

Neovim with my custom config πŸ“

joedotfiles - neovim

Eza + FZF πŸ“‚πŸ”

joedotfiles - eza+fzf

Lazygit πŸ¦₯🌱

joedotfiles - lazygit

Zen browser πŸ§˜β€β™€οΈ

joedotfiles - zen

Zed πŸ“

joedotfiles - zed


Overview 🧰

These are my personal dotfiles for macOS, managed with chezmoi. They automate the setup and configuration of my development environment, including shell, editors, CLI tools, and GUI apps.

Key Features ✨

  • Automated setup with chezmoi, bootstrap.sh, and run_once_install_packages.sh
  • Consistent theming (Tokyo Night everywhere)
  • Modern CLI utilities for navigation, search, and productivity
  • Editor and terminal integration (Neovim, Zed, Ghostty)
  • Rich shell experience (Fish, Starship, Atuin, Direnv, Television)
  • Developer tooling for Python, Go, Rust, Node.js, Docker, Kubernetes, and more
  • AI/LLM integration (Claude Code, Pi Agent, Gemini, Codex, and local models via Ollama)
  • Window management with AeroSpace tiling WM

Notable Tools & Configurations πŸ› οΈ

Zed πŸ¦‹

  • Config: See dot_config/zed/private_settings.json, private_keymap.json, and tasks.json
  • Features:
    • Modern, collaborative code editor with Vim mode enabled
    • Custom keybindings for navigation, pane management, and Git integration
    • Integrated terminal with custom font and environment variables
    • LSP support for Python, Go, Bash, Helm, Ansible, Markdown, HTML, etc.
    • Custom tasks for running tests, scripts, and tools like lazygit and yazi
    • Snippet support for JavaScript, TypeScript, TSX, and Go
    • Theming: Tokyo Night with cursive italic overrides (comments, keywords), VSCode Icons (Dark)
    • File/folder exclusions for performance
    • AI/LLM agent integration (Anthropic, OpenAI, DeepSeek, Ollama, Pi via pi-acp server)
    • Edit predictions via Copilot/Mercury

Yazi πŸ¦†

  • Config: See dot_config/yazi/
  • Features:
    • Fast, TUI file manager with preview and plugin support
    • Custom keymaps for diffing, toggling preview panes, smart filtering, archiving, and image rotation/conversion (PNG/JPEG)
    • Opener rules for editing, browsing, extracting, and playing files (including IINA for video)
    • Plugins for Git integration, diff, compress, and more
    • Theming: Tokyo Night flavor
    • Integration with $EDITOR and $BROWSER environment variables

Fish Shell 🐟

  • Config: See dot_config/private_fish/
  • Features:
    • Vi key bindings, custom greeting, and prompt (Starship)
    • Extensive aliases for Git, Docker, Kubernetes, OpenTofu, and more
    • Custom PATH setup for Homebrew, Go, Node, Python, Rust, Antigravity, etc.
    • Plugin management via Fisher (fish_plugins)
    • FZF integration with advanced keybindings and preview commands
    • Atuin for shell history, Direnv for project environments, Zoxide for smart cd
    • Television shell integration for smart autocomplete (Ctrl+T triggers contextual channels)
    • Custom functions (e.g., ssh-tunnel, yy for Yazi directory jumping, diff with diffnav, fido2 for FIDO2 file encryption)

Neovim πŸ₯·

  • Config: joelazar/nvim-config
  • Features:
    • Lua-based configuration
    • Integrated with system clipboard, LSP, Treesitter, and more
    • Custom keybindings and plugins for productivity
    • Used as default editor and man pager

Lazygit & Lazydocker πŸ¦₯🐳

Ghostty πŸ‘»

  • Config: See dot_config/ghostty/config
  • Features:
    • GPU-accelerated terminal emulator
    • Maple Mono NF font with custom ligature features
    • Tokyo Night theme
    • Quick terminal (drop-down from top), hidden window buttons
    • Custom keybindings for splits and navigation
    • Integration with Fish shell
    • Massive scrollback buffer (1B lines)

Television πŸ“Ί

  • Config: See dot_config/television/
  • Features:
    • Blazing fast TUI fuzzy finder with preview support
    • Tokyo Night theme
    • 80+ custom cable channels for: files, dirs, git (branches, log, diff, stash, worktrees, submodules, repos), Docker (containers, images, volumes, networks, compose), Kubernetes (pods, deployments, services, contexts), AWS (S3, EC2, RDS, ElastiCache, Secrets Manager), SSH hosts, todo comments, and much more
    • Shell integration with Fish: context-aware autocomplete (e.g., git checkout β†’ branches, cd β†’ dirs, ssh β†’ hosts)
    • Custom actions per channel (edit, open, delete, etc.)

AeroSpace πŸͺŸ

  • Config: See dot_aerospace.toml
  • Features:
    • Tiling window manager for macOS (i3-like)
    • Workspace assignments for apps (e.g., browsers β†’ 2, Slack/Discord β†’ 4, Signal/Messages β†’ 5)
    • Keyboard-driven window management with alt key shortcuts

gh-dash πŸ“Š

  • Config: See dot_config/gh-dash/config.yml
  • Features:
    • GitHub dashboard for PRs and issues in the terminal
    • Custom sections: my PRs, drafts, review requested, involves me, recently closed
    • Filters for bot PRs (Renovate, Dependabot, GitHub Actions)
    • Custom keybindings: approve, merge, auto-merge, draft toggle, lazygit, diffview
    • Integration with diffnav for diff paging

Eza πŸ“

  • Config: See dot_config/eza/theme.yml
  • Features:
    • Modern replacement for ls with icons, Git status, and colorized output
    • Custom color theme matching Tokyo Night
    • Used in aliases for ls, ll, etc.

Atuin πŸ•°οΈ

  • Config: See dot_config/atuin/config.toml
  • Features:
    • Shell history sync and search
    • Session-based filtering for up-arrow history
    • Compact style and custom inline height

Starship Prompt 🌟

  • Config: See dot_config/starship.toml
  • Features:
    • Custom prompt symbols and module settings
    • Integration with Direnv, Sudo, Mise, Yazi level indicator, and more
    • Git metrics display

Direnv 🌱

Delta & Diffnav 🌈

  • Config: See dot_config/bat/bat.conf and Git config
  • Features:
    • delta for syntax-highlighted diffs in Git and Lazygit
    • diffnav as the default Git diff pager for interactive navigation
    • Custom diff Fish function wrapping diffnav

Btop πŸ“Š

fzf πŸ”Ž

  • Config: See Fish config and custom scripts
  • Features:
    • Fuzzy finder for files, directories, history, and processes
    • Custom preview commands using bat and eza
    • Toggle between files/directories/hidden files modes
    • Used in various scripts for project search

Ripgrep 🦸

Fastfetch ⚑

Bruno 🐢

  • Features:
    • API client for developers
    • Open-source alternative to Postman
    • Also available as CLI tool (bruno-cli)

Ice ❄️

  • Features:
    • Menu bar customization tool for macOS
    • Hide, reorder, or add custom menu bar items
    • Customize appearance and behavior of the menu bar

pgcli 🐘

  • Config: See dot_config/pgcli/config
  • Features:
    • Enhanced Postgres CLI with auto-completion, syntax highlighting, and Vi mode

K9s ☸️

Wireshark 🦈

Harper πŸ“

gh-repo-man πŸ—‚οΈ

  • Config: See dot_config/gh-repo-man/config.yml
  • Features:
    • GitHub CLI extension for managing and cloning repositories
    • Organized by username in ~/Code/ with FZF preview
    • Cached repo lists and README previews

Mise πŸ”§


AI/LLM Tooling πŸ€–

A significant part of this setup is dedicated to AI-assisted development:

  • Claude Code β€” Anthropic's CLI coding agent with custom permissions and Wakatime integration
  • Pi Agent β€” Heavily customized coding agent harness (see detailed section below). Config in dot_pi/
  • Gemini CLI β€” Google's Gemini from the terminal
  • Codex β€” OpenAI's coding agent. Config in dot_codex/
  • Ollama β€” Local LLM runner for self-hosted models
  • ai-update β€” Script to keep all AI tools up to date

Pi Agent πŸ₯§

  • Config: See dot_pi/

  • Features:

    • Multi-provider coding agent TUI with Tokyo Night theme
    • Default model: Claude Sonnet 4.6 (Anthropic), with Gemini, OpenAI Codex, and local Ollama models enabled
    • Sandbox execution with comprehensive credential/secret path blocking
    • Path policy to guard sensitive files from agent reads/writes
    • Python command interception (pip, poetry, python) β†’ automatically redirected to uv
    • Ghostty terminal integration (title, progress bar)
    • Lazygit integration via /lazygit command or Ctrl+G
    • Desktop notifications on task completion
    • Session naming, session breakdown analysis, and CWD history tracking
    • Sub-agent system with specialized roles (planner, reviewer, scout, worker)
  • Skills:

    SkillDescription
    frontend-designDesign and implement production-ready frontend interfaces
    githubInteract with GitHub using the gh CLI (issues, PRs, CI runs, search)
    humanizerDetect and rewrite AI writing patterns for natural-sounding text
    improve-skillAnalyze session transcripts to improve or create skills
    kagi-enrichSearch Kagi's non-commercial Teclis and TinyGem indexes
    kagi-fastgptAI-synthesized answers backed by live Kagi web search
    kagi-searchWeb search and content extraction via Kagi Search API
    kagi-summarizerSummarize URLs or text using Kagi's Universal Summarizer
    native-web-searchQuick web search with concise summaries and source URLs
    session-analyzerMine session history for automation opportunities
    summarizeConvert URLs/files (PDF, DOCX, HTML) to Markdown via markitdown
    uvUse uv instead of pip/python/venv for Python workflows
    web-browserRemote-control Chrome via CDP for web interaction
    youtube-transcriptFetch YouTube video transcripts for analysis
  • Prompt Templates:

    TemplateDescription
    address-commentsGet GitHub PR and address all non-resolved review comments
    catchupRead all changed code in current branch vs default branch
    clean-goneClean up git branches marked as [gone] (deleted on remote)
    commitCreate a git commit
    create-prCommit, push, and open a PR
    double-checkDouble-check recent work and look for edge cases
    explain-codebaseScan and explain the whole codebase
    search-webSearch the web for a given query
  • Extensions:

    ExtensionDescription
    antigravity-image-genImage generation via Antigravity models
    answerQ&A extraction from assistant responses
    commit-shortcutAI-powered commit message generation with model selection
    contextShow context window usage, skills, costs, and token totals
    cwd-historyTrack working directory history across sessions
    edit-diff-linesPer-line Tokyo Night-style syntax-highlighted diffs for edits
    editor-with-contextSee last agent response when composing prompts
    extensions-managerManage extensions from within Pi
    filesFile management utilities
    ghosttyGhostty terminal title and progress bar integration
    handoffTransfer context to a new focused session
    lazygitOpen lazygit with /lazygit or Ctrl+G
    loopLoop/repeat task execution
    notifyDesktop notifications on completion
    path-policyBlock reads/writes to sensitive credential paths
    permission-gatePermission gate for dangerous operations
    prompt-editorCustom prompt editor with model selector
    reviewCode review with auto-fixing loop until no P0-P2 issues remain
    sandboxSandboxed execution with network/filesystem restrictions
    session-breakdownAnalyze and summarize session activity
    session-nameAuto-name sessions
    subagentDelegate to specialized agents (planner, reviewer, scout, worker)
    todosFile-based todo management in .pi/todos
    uv-interceptIntercept pip/poetry/python β†’ redirect to uv
    whimsicalFun/whimsical messages
  • Packages: pi-interactive-shell (interactive shell overlay for delegating to sub-agents)

  • Credits: Many skills and extensions are adapted from or inspired by the work of others:

    AuthorGitHubContributions
    Mario Zechner@badlogicPi Agent itself (pi-mono), extensions (antigravity-image-gen, editor-with-context, handoff, notify, permission-gate, sandbox, session-name, subagent), skills (youtube-transcript, kagi-search adapted from brave-search in pi-skills)
    Armin Ronacher@mitsuhikoExtensions (answer, context, files, loop, prompt-editor, review, session-breakdown, todos, whimsical), intercepted commands (pip/poetry/python β†’ uv), skills (frontend-design, github, humanizer, native-web-search, summarize, uv, web-browser) from agent-stuff
    Daniel Griesser@HazATghostty extension from pi-ghostty
    Fero@ferologicssession-analyzer skill from pi-skills

Package Management πŸ“¦

  • Homebrew: All packages and casks are managed via Brewfile.private and Brewfile.work
  • Bun: Global JavaScript/TypeScript packages (e.g., claude-code, pi-coding-agent) installed via run_once_install_packages.sh
  • UV: Python tool management (e.g., gitingest)
  • Go, Rust: Install scripts for language-specific tools and formatters

Setup Instructions ⚑

First-time setup (fresh system)

If you're setting up on a completely fresh macOS system without Homebrew or chezmoi:

  1. Run the bootstrap script:

    curl -sSL https://raw.githubusercontent.com/joelazar/dotfiles/main/bootstrap.sh | bash
    

    Or clone and run locally:

    git clone https://github.com/joelazar/dotfiles.git
    cd dotfiles
    ./bootstrap.sh
    

    This script will:

    • Install Homebrew (if not present)
    • Install chezmoi via Homebrew
    • Initialize and apply the dotfiles configuration

Manual setup (if you already have brew and chezmoi)

  1. Install chezmoi (if not already installed):

    brew install chezmoi
    
  2. Initialize dotfiles:

    chezmoi init https://github.com/joelazar/dotfiles.git
    chezmoi apply
    

Post-installation steps

  1. Install packages:

    The run_once_install_packages.sh script runs automatically on first chezmoi apply. It installs Homebrew packages, Bun globals, Go tools, Rust tools, UV tools, and more.

  2. Apply system settings:

    The run_once_settings.sh script also runs automatically, configuring macOS defaults (Dock, Finder, keyboard, trackpad, etc.).


Custom Scripts πŸ§‘β€πŸ’»

See private_dot_local/bin/ for utility scripts:

ScriptDescription
agent-mdManage AGENTS.md and CLAUDE.md files for AI coding agents
ai-updateUpdate all AI/LLM CLI tools (Claude, Gemini, Codex, etc.)
backupEncrypted backup utility using restic and age
chtCheat sheet lookup via cht.sh
custom-updateUpdate system packages, tools, and configs
fonttestTest terminal font rendering
formatterUSB & SD card formatting tool with gum UI
git-repo-managerFind and manage git repositories recursively
git-resetReset repos to default branch and drop local changes
git-worktree-newCreate git worktrees alongside current repo
obsidian-updateUpdate Obsidian plugins and themes
switch-main-displaySwitch primary display on multi-monitor setups
transferUpload files via transfer.sh
untilfailRun a command repeatedly until it fails
update-submodulesUpdate all git submodules to latest
wtfportFind/kill processes listening on a given port

Many scripts use gum for interactive TUI, plus FZF, Bat, and Age for enhanced workflows.


Theming 🎨

  • Tokyo Night is used consistently across all tools: Ghostty, Zed, Neovim, Lazygit, Yazi, Television, Eza, Bat, Pi Agent, and more.
  • Fonts: Maple Mono, Maple Mono NF (with custom OpenType features: cv02, cv05, cv61, cv63)

Acknowledgements πŸ™

  • Some utility functions and setup scripts are adapted from alrra/dotfiles.

License πŸ“„

The code is available under the MIT license.

Skills Info
Original Name:improve-skillAuthor:joelazar