Agent skill

Ghostty Config

by sammcj in sammcj/agentic-coding

A skill your agent uses when creating, editing or debugging Ghostty terminal configuration - config.ghostty files, config option names and their valid values, keybinds and key sequences, themes…

Apache-2.0Auto-check passedDevelopment

Install Ghostty Config

skills CLI
$ npx skills add sammcj/agentic-coding --skill ghostty-config -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sammcj/agentic-coding ghostty-config --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills/ghostty-config .claude/skills/ghostty-config && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ghostty-config
GitHub stars
162
Token cost
~1.8k tokens
SKILL.md length
598 words
Files
5 (incl. references)
Skills in repo
64
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when creating, editing or debugging Ghostty terminal configuration - config.ghostty files, config option names and their valid values, keybinds and key sequences, themes…

  • Debugging Ghostty terminal configuration - config.ghostty files
  • SKILL.md covers Config File Locations, Syntax, Includes and Applying Changes, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Config option names and their valid values

What it does

Ghostty Config is an agent skill from sammcj/agentic-coding. Use when creating, editing or debugging Ghostty terminal configuration - config.ghostty files, config option names and their valid values, keybinds and key sequences, themes, fonts, shell integration, or ghostty + CLI actions. Covers macOS and Linux/GTK differences.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `CLAUDE.md`, `references/keybindings.md` and `references/options-appearance.md`).

It sits in Development. It works with macOS and Linux. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.

When your agent uses it

  • Debugging Ghostty terminal configuration - config.ghostty files
  • Config option names and their valid values
  • Keybinds and key sequences
  • Shell integration

Example prompts

  • “/ghostty-config”

What it can do on your machine

Read from SKILL.md and the folder at commit 2f25ced. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • raw.githubusercontent.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ghostty Config loads about 1.8k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 598 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~17k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sammcj/agentic-coding at commit 2f25ced, republished under its Apache-2.0 licence (© sammcj). 598 words, ~1,777 tokens.

Download SKILL.mdSave it as .claude/skills/ghostty-config/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
ghostty-config
description
Use when creating, editing or debugging Ghostty terminal configuration - config.ghostty files, config option names and their valid values, keybinds and key sequences, themes, fonts, shell integration, or `ghostty +` CLI actions. Covers macOS and Linux/GTK differences.
metadata.config_schema_last_updated
2026-05-20

Ghostty Configuration

Config File Locations

Config is optional; with no file Ghostty runs on its defaults. Since Ghostty 1.2.3 the file is named config.ghostty; extensionless config still loads for backwards compatibility.

  • XDG (all platforms): $XDG_CONFIG_HOME/ghostty/config.ghostty, then $XDG_CONFIG_HOME/ghostty/config. XDG_CONFIG_HOME defaults to ~/.config.
  • macOS also: ~/Library/Application Support/com.mitchellh.ghostty/config.ghostty, then .../config.

Every matching file loads, later files overriding earlier ones. Within a location config.ghostty loads before config. On macOS the macOS-path files load after the XDG ones, so macOS paths win on conflict.

Syntax

# Comments start with #
background = 282c34
font-family = "JetBrains Mono"
keybind = ctrl+z=close_surface
font-family =                     # Empty value resets to default
  • Keys are case-sensitive: use lowercase.
  • Repeatable keys (font-family, keybind, palette, env, link) accumulate across lines.
  • Every config key doubles as a CLI flag: ghostty --background=282c34 --font-size=14.

Includes

config-file = themes/dark.conf
config-file = ?local.conf       # ? prefix = optional, no error if missing

config-file directives are processed at the end of the containing file, so keys written after one still lose to the included file's values. Put overrides in the included file, or include first and keep the parent free of conflicting keys.

Applying Changes

  • Reload: ctrl+shift+, (Linux), cmd+shift+, (macOS). Some options need a restart; some apply only to newly created terminals.
  • Validate after every edit: ghostty +validate-config.

CLI Actions

ghostty +<action>; add --help for per-action help.

CommandPurpose
ghostty +validate-configCheck the config for errors
ghostty +show-configShow the effective configuration
ghostty +show-config --default --docsShow defaults with documentation
ghostty +edit-configOpen the config in the default editor
ghostty +list-fontsAvailable fixed-width fonts
ghostty +list-themesAvailable colour themes
ghostty +list-colorsAvailable X11 colour names
ghostty +list-keybindsCurrent keybinds (--default for defaults)
ghostty +list-actionsAll keybind actions
ghostty +show-faceFont face information
ghostty +ssh-cacheManage the SSH terminfo cache
ghostty +new-windowOpen a new window (Linux only)

On macOS the ghostty binary is a helper tool: launch the terminal with open -na Ghostty.app, passing flags as open -na Ghostty.app --args --font-size=14. Use ghostty -e <command> to run a command in a new terminal.

Keybind Syntax

Format: keybind = [prefix:]trigger=action[:param]

Modifiers: shift, ctrl/control, alt/opt/option, super/cmd/command.

keybind = ctrl+shift+t=new_tab
keybind = super+backquote=toggle_quick_terminal
keybind = ctrl+a>n=new_window          # Sequence: press ctrl+a, release, press n
keybind = clear                        # Remove ALL keybinds, including defaults
keybind = ctrl+a=unbind                # Remove one binding
keybind = ctrl+a=ignore                # Ghostty and the terminal both ignore the key
  • Physical keys use W3C codes (KeyA, key_a, Digit1, BracketLeft) and outrank unicode codepoints. Prefer them for non-US layouts.
  • Sequences wait indefinitely for the next key.
PrefixEffect
global:System-wide (macOS: needs Accessibility permission; Linux: needs an XDG Desktop Portal)
all:Applies to all terminal surfaces
unconsumed:Passes the input through as well
performable:Consumes the input only if the action succeeds

Prefixes combine: global:unconsumed:ctrl+a=reload_config. Sequences work with unconsumed:/performable: but not with global: or all:.

Ghostty 1.3+ adds modal key tables and in-terminal search actions - see references/keybindings.md.

Show full SKILL.md (205 more words)Show less

Gotchas

  • Confirm an option's platform before recommending it: the reference tables carry platform markers, and an option gated to another platform silently does nothing.
  • theme accepts mode switching: theme = light:catppuccin-latte,dark:catppuccin-mocha.
  • Disable ligatures with font-feature = -calt plus font-feature = -liga.
  • Prefer a theme name from ghostty +list-themes over hand-written colours when the user asks for a known theme.

References

Load one when the task needs it - each is a lookup catalogue, not background reading:

  • Naming or checking an option for fonts, colours and themes, cursor appearance, selection or search-match colours, transparency, background images, shaders, cell metrics, scrollbar, window geometry/padding/decoration/startup state, tabs, splits or the quick terminal -> references/options-appearance.md
  • Naming or checking an option for shell and command startup, shell integration, clipboard, scrollback, mouse (including cursor click-to-move), modifier remapping via key-remap, bell, notifications, links, app lifecycle, or the macos-*, gtk-*, adw-* and linux-* prefixed families -> references/options-behaviour.md
  • Naming a keybind action, its :param form, key tables or search actions -> references/keybindings.md

Platform-gated options sit with their domain, not in a platform bucket: font-thicken (macOS) and window-vsync (macOS) are in the appearance file. Only the prefixed families above live in the platform sections.

The current schema (including tip releases) is at https://raw.githubusercontent.com/sammcj/vscode-ghostty-config-syntax/refs/heads/main/schema/ghostty-config-syntax.schema.json - large, so query it programmatically rather than reading it whole.

© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in Skills/ghostty-config of sammcj/agentic-coding.

  • SKILL.md
  • CLAUDE.md
  • references/keybindings.md
  • references/options-appearance.md
  • references/options-behaviour.md

Open the folder on GitHubat commit 2f25ced

Compare with similar skills

Ghostty Config next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ghostty Config compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ghostty Config this skillsammcj/agentic-coding162—~1.8kAutomated safety check: PassApache-2.0
Native Feel Cross Platform Desktopyetone/native-feel-skill1.9k1 repos~1.5kAutomated safety check: PassMIT
JS Cpp Protocolnotepadqq/notepadqq2.3k—~3.2kAutomated safety check: PassGPL-3.0
RStudio Copilot Language Server Updaterrstudio/rstudio5.1k—~1.1kAutomated safety check: PassCustom licence
OpenLogi Device DiagnosisAprilNEA/OpenLogi23k—~1.6kAutomated safety check: PassApache-2.0
Code Change Verificationopenai/openai-agents-python30k—~1.4kAutomated safety check: PassMIT

Similar skills

  • Native Feel Cross Platform Desktop

    yetone/native-feel-skill

    A skill your agent uses when the user is designing, prototyping, or rewriting a desktop app that must run on multiple OSes (macOS + Windows, optionally Linux) AND feel indistinguishable from a…

    1.9k GitHub starsUsed in 1 repo~1.5k tokens
    DevelopmentAuto-check passed
  • JS Cpp Protocol

    notepadqq/notepadqq

    Reference for the communication protocol between the JavaScript editor (CodeMirror or Monaco) and the C++/Qt UI layer via QWebChannel.

    2.3k GitHub stars~3.2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Advances RStudio's pinned copilot-language-server dependency to a specified release, then uploads it to S3, verifies the install, and opens a PR.

    5.1k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • OpenLogi Device Diagnosis

    AprilNEA/OpenLogi

    Finds the first failing layer when an OpenLogi Logitech device is missing or misbehaving across enumeration, open, probe, IPC and UI.

    23k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Change Verification

    openai/openai-agents-python

    Official

    Run the required final formatting, lint, type, and test checks after eligible SDK changes pass review.

    30k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Tk Impact Analysis

    tonkeeper/tonkeeper-web

    Analyze QA regression impact for Tonkeeper Web by comparing the current branch with the relevant release tag, reviewing sources/Web/regress.txt, and recommending test blocks, missing coverage, extra…

    444 GitHub stars~3.7k tokensUpdated 7 days ago
    DevelopmentAuto-check passed

More from sammcj/agentic-coding

All 64 skills in this repo
  • Yue2 Music

    sammcj/agentic-coding

    A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…

    162 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Bento Slides

    sammcj/agentic-coding

    A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.

    162 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Idrive Backup

    sammcj/agentic-coding

    A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS

    162 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check: notes
  • Piper Tts Training

    sammcj/agentic-coding

    Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.

    162 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • PPTX To Md

    sammcj/agentic-coding

    Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.

    162 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Skill Creator Primer

    sammcj/agentic-coding

    You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.

    162 GitHub stars~9.8k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Ghostty Config

What does Ghostty Config do?

A skill your agent uses when creating, editing or debugging Ghostty terminal configuration - config.ghostty files, config option names and their valid values, keybinds and key sequences, themes…. Ghostty Config is an agent skill from sammcj/agentic-coding.ghostty files, config option names and their valid values, keybinds and key sequences, themes, fonts, shell integration, or ghostty + CLI actions.

When should I use Ghostty Config?

Ghostty Config fits situations like: debugging Ghostty terminal configuration - config.ghostty files; config option names and their valid values; keybinds and key sequences; shell integration.

How do I install Ghostty Config in Claude Code?

Run `npx skills add sammcj/agentic-coding --skill ghostty-config -a claude-code`. Or copy the skill folder (Skills/ghostty-config in sammcj/agentic-coding) into .claude/skills/ghostty-config in your project. Claude Code loads it when a task matches its description.

How do I install Ghostty Config in Codex?

Run `npx skills add sammcj/agentic-coding --skill ghostty-config -a codex`. Or copy the skill folder (Skills/ghostty-config in sammcj/agentic-coding) into .agents/skills/ghostty-config in your project. Codex loads it when a task matches its description.

Can I use Ghostty Config in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill ghostty-config -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ghostty-config, .gemini/skills/ghostty-config, .github/skills/ghostty-config and .opencode/skills/ghostty-config in your project.

What does Ghostty Config need to run?

SKILL.md names no scripts, command-line tools or credentials: Ghostty Config is instructions for the agent only.

Does Ghostty Config access the network?

SKILL.md names 1 domain. As links in the text: raw.githubusercontent.com. This is read from the text; nothing was executed.

Is Ghostty Config safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ghostty Config use?

Ghostty Config is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ghostty Config use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.

What are the alternatives to Ghostty Config?

Skills that share tags, products or a category with Ghostty Config: Native Feel Cross Platform Desktop (yetone/native-feel-skill, 1.9k stars), JS Cpp Protocol (notepadqq/notepadqq, 2.3k stars), RStudio Copilot Language Server Updater (rstudio/rstudio, 5.1k stars) and OpenLogi Device Diagnosis (AprilNEA/OpenLogi, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ghostty Config?

sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 9, 2026.

Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.