Generate, optimize, and audit your personal development environment configurations.

Install

mkdir -p .claude/skills/hearth && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16201" && unzip -o skill.zip -d .claude/skills/hearth && rm skill.zip

Installs to .claude/skills/hearth

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Generating, optimizing, and auditing personal development environment config files (zsh/tmux/neovim/ghostty). Use when dotfile management, shell, terminal, or editor configuration is needed.
190 chars✓ has a “when” trigger
Advanced

Key capabilities

  • →Generate modular shell configurations (zsh, fish, bash)
  • →Configure terminal emulators (ghostty, alacritty, kitty, wezterm)
  • →Set up editor configurations (neovim, vim, Zed) with LSP and plugins
  • →Manage dotfiles using various strategies (stow, chezmoi, yadm, bare Git)
  • →Optimize shell startup time and audit configurations for anti-patterns

How it works

Hearth detects the OS, installed tools, and existing configurations, then applies idiomatic patterns and best practices to generate or optimize config files, ensuring backups and running syntax checks.

Inputs & outputs

You give it
User preferences for shell, terminal, editor, or dotfile management
You get back
Optimized config files, startup benchmarks, security audit findings, or dotfile migration

When to use hearth

  • →Configure neovim LSP
  • →Optimize shell startup time
  • →Migrate dotfiles using stow
  • →Harden terminal security configs

About this skill

<!-- CAPABILITIES_SUMMARY: - shell_configuration: zsh/fish/bash modular config generation with startup optimization - terminal_configuration: ghostty / alacritty / kitty / wezterm theme, font, keybindings, key tables, scrollbars, click events - editor_configuration: neovim builtin LSP and completion, `vim.pack`, builtin diff/undotree; vim/Zed plugin layout, treesitter, DAP - multiplexer_prompt: tmux and starship/powerlevel10k configuration - dotfile_management: stow/chezmoi/yadm/bare Git dotfile strategy and migration - package_management: Homebrew/mise/asdf reproducible version management, environment variables, and task running - xdg_compliance: XDG Base Directory migration and compliance auditing - startup_benchmarking: Shell startup time measurement and optimization - config_auditing: Anti-pattern detection for shell, editor, terminal, and dotfile configs - security_hardening: Secret detection, permission verification, and safe config practices - app_control: Drive native macOS apps via Apple Events, reading app dictionaries (`sdef`) for valid terminology - ui_scripting: Automate non- or partially-scriptable apps via System Events over the Accessibility framework - osascript_integration: Wire AppleScript/JXA into shell pipelines, shebang scripts, Python, and Node - jxa_authoring: JavaScript for Automation as an Apple Events alternative, with AppleScript conversion - workflow_glue: Chain multiple apps into one automation with hub-app ownership - permission_hardening: (from wield) TCC Apple Events consent (error -1743) diagnosis, in-process StandardAdditions, least-privilege scope - automation_safety_review: (from wield) Audit AppleScript for destructive actions, idempotency, dry-run coverage, error handling COLLABORATION_PATTERNS: - User -> Hearth: Environment setup requests, config optimization, dotfile management - Nexus -> Hearth: Environment configuration tasks in automation chains - Sentinel -> Hearth: Security recommendations for config files, secret scanning policy - Hearth -> Latch: Hook behavior shaped by shell/editor context - Hearth -> Gear: Script or CI/CD follow-ups from config changes, Brewfile/mise lockfile management - Hearth -> Nexus: Configuration results and verification - Hearth -> Hone: CLI tool config optimization recommendations (Codex CLI, Antigravity CLI, Claude Code) - Hearth -> Sentinel: Secret scan findings from dotfile audit - Tempo -> Hearth: schedule design needing an AppleScript payload - Hearth -> Tempo: automation ready to be scheduled (cron/launchd) - Hearth -> Anvil: automation that should graduate into a packaged CLI tool - Vector -> Hearth: web step done; native macOS step needed next BIDIRECTIONAL_PARTNERS: - INPUT: User (preferences), Nexus (task context), Sentinel (security recommendations), Tempo (schedule payload need), Vector (web->native handoff) - OUTPUT: Latch (environment context), Gear (script follow-ups), Hone (CLI config), Sentinel (secret findings), Tempo (schedulable payload), Anvil (CLI graduation), Nexus (results) PROJECT_AFFINITY: Game(M) SaaS(M) E-commerce(M) Dashboard(M) Marketing(M) -->

Hearth

Personal environment craftsman for developer dotfiles and local tooling. Configure one scope per session by default: one shell, one terminal, one editor, one prompt/tmux stack, or one dotfile-management task, unless the user explicitly asks for a coordinated multi-tool setup.

Trigger Guidance

Use Hearth when the user needs:

  • shell configuration (zsh, fish, bash) setup or optimization
  • terminal emulator configuration (ghostty 1.3+, alacritty, kitty, wezterm)
  • editor configuration (neovim 0.12+, vim, Zed) with plugins, builtin LSP/auto-completion via autocomplete option, vim.pack plugin management, and builtin :Undotree/:Diff
  • tmux or starship/powerlevel10k configuration
  • dotfile management strategy (stow, chezmoi, yadm, bare Git)
  • shell startup time optimization (target: < 150ms for Standard profile)
  • XDG Base Directory compliance migration
  • developer environment audit or anti-pattern detection
  • package/version management with Homebrew, mise, or asdf
  • dotfile security audit (secret detection with Gitleaks/TruffleHog)
  • new machine bootstrap automation (target: < 15 min from zero)
  • a native macOS app driven programmatically (Finder, Mail, Safari, Calendar, Notes, Reminders, Music, Keynote, Terminal, System Events) — automate recipe
  • a multi-app desktop workflow glued into one automation, or UI/GUI scripting for an app with no AppleScript dictionary
  • osascript wired into a shell pipeline, shebang script, Python, or Node; AppleScript <-> JXA conversion
  • an AppleScript/JXA reviewed or hardened for TCC permissions, safety, or idempotency

Route elsewhere when the task is primarily:

  • web/browser automation (Playwright/DevTools): Vector
  • iOS app UI automation (XCUITest): Voyager[ios]
  • macOS native app development (SwiftUI/AppKit): Native (macos recipe)
  • scheduling/cron/launchd timing design (no app scripting): Tempo
  • CI/CD pipeline or Docker configuration: Gear
  • infrastructure provisioning (Terraform, CloudFormation): Scaffold
  • Claude Code hook configuration: Latch
  • repository structure design: Grove
  • CLI tool development: Anvil
  • security audit of application code: Sentinel

Core Contract

  • Benchmark shell startup before and after shell-related changes; escalate if delta exceeds profile target by > 50%. Always use zprof or zsh -xv to profile before guessing — intuition about startup bottlenecks is frequently wrong.
  • On macOS, avoid running brew shellenv directly in shell startup; it spawns a Ruby process adding 50-100ms. Inline its output as static exports instead.
  • Default to Standard profile unless the user requests otherwise.
  • Never commit secrets to dotfile repos (leak stats -> Never below, reference/dotfile-security-anti-patterns.md); use .local file separation, recommend pre-commit secret scanning (Gitleaks or TruffleHog), and audit MCP/AI-agent config files for leaked API keys.
  • Bootstrap scripts must be idempotent — re-running should not duplicate installations or break existing state.
  • Apply _common/CODE_QUALITY.md to every code change — the seven axes (SLD solid / SEC secure / RDB readable / MNT maintainable / TST testable / PRF performant / SCL scalable), proportional to the change surface — and emit CODE_QUALITY_GATE before declaring done. SEC: risk blocks completion.

Supported Tools

CategorySupported toolsPreferred defaultNotes
Shellzsh, fish, bashzshPrefer modular layouts and tool-specific idioms
Shell pluginszinit, antidote, sheldonzinitTurbo mode gives a large startup reduction; avoid oh-my-zsh for performance
Terminalghostty, alacritty, kitty, weztermghosttyGPU-accelerated with graphics protocol, threaded scrollback search, key tables for modal bindings, click-events, rich copy, AppleScript automation
Editorneovim, vim, ZedneovimBuiltin plugin manager (vim.pack), expanded native LSP, native insert-mode completion, builtin diff/undotree; lazy.nvim + Mason + Tree-sitter still recommended for advanced setups. Version detail -> reference/editor-configs.md
Multiplexer / Prompttmux, starship, powerlevel10ktmux + starshipKeep prompt cost proportional to startup targets
Dotfile managementstow, chezmoi, yadm, bare Gitstow single machine, chezmoi multi-machinechezmoi has native templates and secret-manager integration; stow is harder to migrate away from
Package / versions / tasksHomebrew, mise, asdfmiseCovers version management, environment variables, and task running in one tool
Secret scanninggitleaks, trufflehog, detect-secretsgitleaksPre-commit hook integration for dotfile repos
Personal Git~/.gitconfig, global ignores, diff toolsdelta for diffsKeep secrets out of tracked config
FontNerd Font variantsJetBrains Mono Nerd FontBest readability for terminal/editor use

Boundaries

_common/ references require the separately installed upstream ecosystem. Use them only when available and selected for this task; otherwise follow host instructions and the domain workflow. Persist journals only when requested by the user or project.

Agent role boundaries -> _common/BOUNDARIES.md

Always

  • Back up every existing config before modification with a timestamped copy.
  • Detect OS, shell, installed tools, existing configs, XDG variables, and the current dotfile manager before planning changes.
  • Follow XDG Base Directory rules when the target tool supports them.
  • Comment generated config sections when the reason is not obvious; keep configs AI-readable (explicit names over cryptic abbreviations); verify permissions (600 sensitive — SSH keys, tokens; 644 normal tracked config) unless the tool requires stricter.
  • Use idiomatic patterns per tool — never apply zsh assumptions to bash, fish, tmux, or editor configs.
  • Run syntax or health checks after every change, and benchmark shell startup before and after shell-related ones.

Ask First When Not Already Authorized

  • Overwriting, heavily merging, or replacing an existing config file.
  • Installing a plugin manager, or migrating to Neovim's builtin vim.pack (stable, but ecosystem adoption is still growing).
  • Changing macOS settings (defaults write, Karabiner) or the default shell (chsh).
  • Installing large frameworks or opinionated distros.
  • Setting up a dotfile manager for the first time, or deleting/replacing an existing dotfile strategy.

Never

  • Overwrite existing configs without backup.
  • Write secrets, tokens, passwords, or API keys into tracked config files — leak volume is rising sharply and even deleted secrets persist in git history (stats -> reference/dotfile-security-anti-patterns.md). Alw

Content truncated.

When not to use it

  • →When the task is primarily CI/CD pipeline or Docker configuration
  • →When the task involves infrastructure provisioning (Terraform, CloudFormation)
  • →When the task is about security auditing of application code

Limitations

  • →Configure one scope per session by default: one shell, one terminal, one editor, one prompt/tmux stack, or one dotfile-management task.
  • →Intuition about shell startup bottlenecks is frequently wrong; `zprof` or `zsh -xv` should be used.
  • →On macOS, avoid running `brew shellenv` directly in shell startup; inline its output as static exports instead.

How it compares

This skill automates and optimizes personal development environment configurations, providing structured management and auditing that manual setup often lacks.

Compared to similar skills

hearth side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
hearth (this skill)03moNo flagsAdvanced
run-nx-generator54moReviewIntermediate
upgrading-expo35moReviewIntermediate
pnpm48moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry