mcpField
G
ghostty

ghostty

github.com/dicklesworthstone開発7362 回インストール8 週間前に更新
リポジトリ

ghostty について

ghosttyは、コマンドラインからGhosttyターミナルエミュレーターを操作・設定するスキルです。ウィンドウやタブの管理、フォントと設定の操作、起動オプション、SSH接続時のterminfo設定を扱います。

主な機能

  1. 01ウィンドウ、タブ、分割の管理
  2. 02フォントサイズの調整と一覧表示
  3. 03設定の表示、検証、再読み込み
  4. 04設定、コマンド、作業ディレクトリを指定した起動
  5. 05SSH接続時のterminfo問題への対処

活用シーン

  1. 01コマンドでターミナルのウィンドウや分割を作成
  2. 02フォント調整やGhostty設定の確認
  3. 03指定したディレクトリやコマンドでGhosttyを起動
  4. 04SSH接続中の端末文字の問題を解決

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill ghostty

インストール後、Claude Code で/ghosttyを入力して読み込まれたか確認します。

同梱ファイルreferences/COMMANDS.mdreferences/REMOTE-TERMINFO.md

詳細

Ghostty CLI

主な機能: コマンドラインからGhosttyターミナルエミュレーターを制御、設定します。

クイックスタート

# CLI location (or symlinked as `ghostty`)
/Applications/Ghostty.app/Contents/MacOS/ghostty

# List available actions
ghostty +list-actions

# Check version
ghostty --version

そのまま使えるプロンプト — ウィンドウ/タブの管理

# New window
ghostty +new-window

# New tab
ghostty +new-tab

# Splits
ghostty +new-split:right
ghostty +new-split:down

# Navigate splits
ghostty +goto-split:up
ghostty +goto-split:down
ghostty +goto-split:left
ghostty +goto-split:right

# Close current surface
ghostty +close-surface

# Toggle fullscreen
ghostty +toggle-fullscreen

そのまま使えるプロンプト — フォントの管理

# Adjust font size
ghostty +increase-font-size:1
ghostty +decrease-font-size:1
ghostty +reset-font-size

# List available fonts
ghostty +list-fonts

そのまま使えるプロンプト — 設定

# Config file: ~/.config/ghostty/config

# Show current config
ghostty +show-config

# Validate config
ghostty +validate-config

# Reload config (live)
ghostty +reload-config

# List themes/keybinds
ghostty +list-themes
ghostty +list-keybinds

起動オプション

# Start with specific config
ghostty --config-file=/path/to/config

# Start with command
ghostty -e "htop"

# Start in directory
ghostty --working-directory=/path/to/dir

基本コマンド

操作コマンド
新しいウィンドウghostty +new-window
新しいタブghostty +new-tab
右に分割ghostty +new-split:right
下に分割ghostty +new-split:down
閉じるghostty +close-surface
設定を再読み込みghostty +reload-config

トラブルシューティング:リモートSSH

問題: SSH経由でテンキーのEnterキーを押すと、[57414uという文字化けが表示されます。

簡単な解決方法:

infocmp -x xterm-ghostty | ssh user@server 'mkdir -p ~/.terminfo && tic -x -o ~/.terminfo -'

代替方法(terminfoにアクセスできない場合):

alias myserver='TERM=xterm-256color ssh user@myserver'

詳しいガイド:REMOTE-TERMINFO.md


参考資料

トピック参考資料
すべてのコマンドCOMMANDS.md
リモートterminfoの設定REMOTE-TERMINFO.md

コメント