ghostty / example
AGENTS.md63k starsChanged 8 months agoMITView on GitHub
Each example is a standalone project with its own build.zig, build.zig.zon, README.md, and src/main.c (or .zig). Examples are auto-discovered by CI via example/*/build.zig.zon, so no workflow file edits are needed when adding a new example. 1. Copy an existing example directory (e.g., c-vt-encode-focus/) as a starting point. 2. Update build.zig.zon: change .name, generate a new unique .fingerprint value (a random u64 hex literal), and keep .minimumzigversion matching the others. 3. Update build.zig: change the executable .name to match the directory.…
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Update build.zig.zon: change .name, generate a new unique .fingerprint value (a random u64 hex literal), and keep .minimum_zig_version …
- Very specific: line 15
Update build.zig: change the executable .name to match the directory.
- Distinctive: line 16
Write a README.md following the existing format.
- Very specific: line 38
All C examples link ghostty-vt via lazyDependency("ghostty", ...).
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Example Libghostty Projects
Each example is a standalone project with its own build.zig,
build.zig.zon, README.md, and src/main.c (or .zig). Examples are
auto-discovered by CI via example/*/build.zig.zon, so no workflow file
edits are needed when adding a new example.
Adding a New Example
- Copy an existing example directory (e.g.,
c-vt-encode-focus/) as a starting point. - Update
build.zig.zon: change.name, generate a new unique.fingerprintvalue (a randomu64hex literal), and keep.minimum_zig_versionmatching the others. - Update
build.zig: change the executable.nameto match the directory. - Write a
README.mdfollowing the existing format.
Doxygen Snippet Tags
Example source files use Doxygen @snippet tags so the corresponding
header in include/ghostty/vt/ can reference them. Wrap the relevant
code with //! [snippet-name] markers:
//! [my-snippet]
int main() { ... }
//! [my-snippet]The header then uses @snippet <dir>/src/main.c my-snippet instead of
inline @code blocks. Never duplicate example code inline in the
headers — always use @snippet. When modifying example code, keep the
snippet markers in sync with the headers in include/ghostty/vt/.
Conventions
- Executable names use underscores:
c_vt_encode_focus(not hyphens). - All C examples link
ghostty-vtvialazyDependency("ghostty", ...). build.zigfiles follow a common template — keep them consistent.
Trending
Less talk lately.about the whole repository
Who's talking about ghostty-org/ghostty
- linkarzu“How to Configure the Ghostty Terminal Cursor Animation”YouTube · Jun 27, 2025 · 35k views
- Mitchell Hashimoto“Ghostty Scrollback Compression Demo”YouTube · Jul 9, 2026 · 23k views
- Mitchell Hashimoto“Devlog: Libghostty ABI Compatibility”YouTube · Mar 22, 2026 · 11k views
- Mitchell Hashimoto“Devlog: Libghostty Kitty Graphics Protocol Support”YouTube · Apr 6, 2026 · 9.8k views
- Mitchell Hashimoto“Devlog: Libghostty "Effects" API (and Windows)”YouTube · Mar 24, 2026 · 9k views
The biggest 5 of 103 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 103
Talked about on GitHub, YouTube, Hacker News, Bluesky and the web (103 times).
On GitHub · 35
- Feb 21, 2026The Blur Pull Request — niri-wm/niri447 reactions · 162 comments
- May 13, 2026feat(terminal): replace `libvterm` with `libghostty-vt` — neovim/neovim217 reactions · 61 comments
- Mar 29, 2025replace libvterm with libghostty / libvaxis / ghostty-vt — neovim/neovim197 reactions · 13 comments
- Jul 3, 2025Switch default terminal to Ghostty — omacom/omarchy96 reactions · 19 comments
- Nov 24, 2025[FEATURE]: TUI - Search for and find string in session buffer — anomalyco/opencode76 reactions · 43 comments
30 more on GitHub
- Feb 8, 2026[Feature Request] Add Ghostty as a split-pane backend for agent teams (teammateMode) — anthropics/claude-code74 reactions · 17 comments
- Dec 26, 2024Package request: ghostty — NixOS/nixpkgs51 reactions · 2 comments
- Mar 4, 2026Linux port: Rust + GTK4/libadwaita implementation — manaflow-ai/cmux36 reactions · 26 comments
- Feb 9, 2026Explore adopting libghostty — xtermjs/xterm.js34 reactions · 20 comments
- Apr 12, 2025[RFC] Specifying how terminals process Unicode text — kovidgoyal/kitty31 reactions · 17 comments
- Jul 1, 2025Ghostty: slowdowns with kernel 6.15.4 — NixOS/nixpkgs20 reactions · 11 comments
- Sep 15, 2025Update 1.2.0 — mkasberg/ghostty-ubuntu12 reactions · 20 comments
- Apr 22, 2026Windows apprt upstreaming -- PR tracker — mattn/ghostty10 reactions
- Sep 23, 2025Poor performance over time on MacOS 26 — alacritty/alacritty9 reactions · 12 comments
- Oct 13, 2025Show macOS native tabs in title bar — microsoft/vscode8 reactions · 4 comments
- Sep 25, 2025ghostty: limit the amount of build cores — NixOS/nixpkgs8 reactions · 38 comments
- Aug 28, 2025[RFC] Require AI Tooling Disclosures for Contributions — cloudfoundry/community8 reactions · 5 comments
- Aug 25, 2025AI assistance disclosure — caddyserver/caddy7 reactions
- Aug 22, 2025Add Disclosure on use of AI-generated content in contributions — payjoin/rust-payjoin7 reactions
- Dec 19, 2024output: explicitly disable mouse and enable cursor on exit — chase/awrit7 reactions · 1 comment
- Feb 16, 2026Add AI policy — Pennyw0rth/NetExec6 reactions · 8 comments
- Jan 27, 2026Clarifying a CNCF-Wide AI Contribution Policy for Projects? — cncf/foundation6 reactions · 33 comments
- Oct 16, 2025Add AI tooling disclosure text to contributor guide and fields to PR templates — apache/datafusion6 reactions · 19 comments
- Oct 1, 2025Proposal: better tooling to inspect import/analysis graphs — ziglang/zig6 reactions · 3 comments
- Apr 30, 2026session: restore unconditional fallback to any render node — hyprwm/aquamarine5 reactions · 5 comments
- Apr 6, 2026fix(terminal): do not reflow altscreen on resize — neovim/neovim5 reactions · 1 comment
- Mar 28, 2026Resize Ghostty surfaces during split divider drags — manaflow-ai/cmux4 reactions · 3 comments
- Feb 19, 2026chore: Add basic AGENTS.md — meta/docusaurus4 reactions · 3 comments
- Aug 22, 2025docs: add AI Contribution notice — renovatebot/renovate4 reactions · 2 comments
- Dec 29, 2024feat: Add ghostty — asdf-vm/asdf-plugins4 reactions · 1 comment
- Aug 19, 2026add AI policy — WoWAnalyzer/WoWAnalyzer3 reactions
- Mar 30, 2026Sync with upstream ghostty (1,150 commits) — manaflow-ai/ghostty3 reactions · 1 comment
- Mar 4, 2026Fix raw mouse escape text on prompt click — manaflow-ai/cmux3 reactions · 4 comments
- Oct 6, 2025ghostty{,-bin}: 1.2.0 -> 1.2.1 — NixOS/nixpkgs3 reactions · 5 comments
- Aug 31, 2025Add a "mandatory PR contents" section in the contribution docs — zed-industries/zed3 reactions · 2 comments
On YouTube · 24
- Jun 27, 2025How to Configure the Ghostty Terminal Cursor Animation — linkarzu35k views · 105 comments
- Jul 9, 2026Ghostty Scrollback Compression Demo — Mitchell Hashimoto23k views
- Mar 22, 2026Devlog: Libghostty ABI Compatibility — Mitchell Hashimoto11k views
- Apr 6, 2026Devlog: Libghostty Kitty Graphics Protocol Support — Mitchell Hashimoto9.8k views
- Mar 24, 2026Devlog: Libghostty "Effects" API (and Windows) — Mitchell Hashimoto9k views
19 more on YouTube
- Dec 31, 2024Is Ghostty the best GNOME Terminal ..already? — Mii beta7.9k views · 111 comments
- Apr 4, 2026Ghosttyってなんで人気なの?話題のターミナルは何がすごい? — クロノITチャンネル7.5k views · 7 comments
- Apr 29, 2025Ghostty gets a Command Palette for Linux — Mii beta4.5k views · 14 comments
- Mar 8, 2025Ghostty adds quick Terminal in Linux ..but not in GNOME!! — Mii beta4.4k views · 51 comments
- Jun 23, 2025Ghostty: The Big Renderer Rework — Mii beta3.8k views · 26 comments
- Jan 16, 2025How to Install and Run Ghostty on Ubuntu 24 | Easy Installation Guide — TechOps Tutorials3.3k views
- May 25, 2025Ghostty adds global shortcuts in Linux (testing in GNOME 48) — Mii betasays it tested it2.7k views · 19 comments
- Aug 11, 2026Make Your Mac Terminal Transparent in 2 Lines (Ghostty Config) #shorts| AfzalBuilds — AfzalBuilds627 views
- Aug 11, 2026Ghostty Has 300+ Terminal Themes Built In — Here's How to Browse Them #shorts| AfzalBuilds — AfzalBuilds544 views
- Dec 29, 2024👻 Ghostty - ახალი, სწრაფი, კროს-პლატფორმული ტერმინალი ⚡ — KodBitz (ReMZ)425 views · 8 comments
- Aug 11, 2026Ghostty Split Panes: 4 Terminals in One Window (No tmux) #shorts| AfzalBuilds — AfzalBuilds403 views
- Dec 27, 2024GitHub - ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emu... — GitHub Daily Trend AI Podcast367 views · 1 comment
- Aug 11, 2026How to Install Ghostty Terminal on Mac in 60 Seconds #shorts| AfzalBuilds — AfzalBuilds252 views
- Aug 11, 2026The Ghostty CLI Commands Nobody Talks About (+list-themes, +show-config) #shorts| AfzalBuilds — AfzalBuilds148 views
- May 1, 20261 Developer, 1,890 Commits: Watch Ghostty Evolve 🤯 — CodeTimelapse127 views
- Mar 8, 2026Ghostty — Open Source Scribes108 views
- Jun 9, 2025Ghostty renders Chinese fonts as bold unexpectedly issue — 易靖程61 views
- Mar 27, 2026Ghostty for Windows - Spike: SwapChainPanel — Alessandro De Blasis57 views
- Jun 24, 2025ghostty-org/ghostty - Gource visualisation — Gourcer23 views
On Hacker News · 20
- Jan 2, 2026Why users cannot create Issues directly773 points · 310 comments
- Aug 21, 2025AI tooling must be disclosed for contributions729 points · 464 comments
- Jan 23, 2026AI Usage Policy502 points · 273 comments
- Oct 7, 2026No new Ghostty updates since March18 points · 17 comments
- Jun 19, 2025Ghostty is a fast, cross-platform terminal emulator12 points · 1 comment
15 more on Hacker News
- Aug 19, 2025AI tooling must be disclosed for contributions11 points · 1 comment
- Apr 22, 2025Why users cannot create Issues directly6 points · 1 comment
- Jun 25, 2026Ghostty/Agents.md - Agent Development Guide5 points
- Dec 29, 2024Ghostty is a fast, feature-rich, and cross-platform terminal emulator5 points
- Feb 7, 2026Introduce the Vouch/Denouncement Contribution Model by Mitchellh4 points
- Feb 7, 2026Introduce the Vouch/Denouncement Contribution Model3 points
- Jan 22, 2026AI usage policy for Ghostty contributions3 points · 1 comment
- Aug 20, 2025AI tooling must be disclosed for contributions2 points
- Jun 22, 2025feat: add FreeBSD support2 points
- Jan 23, 2025Ghostty2 points
- Jan 2, 2025Ghostty GitHub – Why users cannot create Issues directly2 points
- Aug 17, 2026libghostty: Use custom memory pool for WASM1 point
- Jan 15, 2026Are open source maintainers going to be the main sufferers from LLM1 point · 2 comments
- Aug 20, 2025AI tooling must be disclosed for contributions1 point
- Jan 11, 2025Ghostly: Metal alpha blending fixes and color handling improvements1 point
On Bluesky · 20
- Dec 26, 2024check out ghostty.org I've been using for a while - it's great! ✨ ... and it's just been open-sourced on github.com/ghostty-org/... — @danielroe.dev400 likes and reposts · 26 replies
- Jan 4, 2025¡Nueva terminal multiplataforma de código abierto! Se llama Ghostty, es rápida y tiene aceleración por GPU Disponible para macOS y Linux… — @midu.dev23 likes and reposts · 1 reply
- Dec 27, 2024気になるので入れてみる👀 — @koki.me13 likes and reposts · 1 reply
- Jan 2, 2025Nice graph #ghostty. Out now: github.com/ghostty-org/.... So far, I like the speed with Neovim, and the config (github.com/sspaeti/dotf...)… — @ssp.sh7 likes and reposts · 1 reply
- Dec 27, 2024#ghostty dropping today is the GitHub equivalent of a Beyoncé album. My whole feed is everyone following it. Now I gotta at least try it… — @dataders.bsky.social4 likes and reposts
15 more on Bluesky
- Dec 28, 2024Using neovim means I spend a lot of time in the terminal and so I've been excited for months following Mitchell Hashimoto's progress on his… — @merlijn.bsky.social3 likes and reposts
- Dec 27, 2024ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU… — @sylee.dev3 likes and reposts
- Sep 14, 2025🔗 Liens utiles Ghostty : 👉 Le projet : github.com/ghostty-o... 👉 En savoir plus : ghostty.org/docs — @bearstech.com2 likes and reposts · 1 reply
- Jun 23, 2025📦 ghostty-org / ghostty ⭐ 31,860 (+46) 🗒 Zig 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses… — @github-trending.bsky.social2 likes and reposts
- Dec 27, 2024GitHub - ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU… — @tech-trending.bsky.social2 likes and reposts
- Dec 26, 2024Ghostty publicly released 👻 — @phgeorgiev.bsky.social2 likes and reposts · 1 reply
- Dec 10, 2024Any day now, everyone will be able to access Ghostty: - github.com/ghostty-org/ - github.com/ghostty-org/... I've been (im)patiently… — @ggamel.bsky.social2 likes and reposts
- Jan 12, 2025It looks like it has great PR. Nice web site, in dark mode, it's native and uses GPU! Checks a lot of boxes! ☑️✅ Compare it with… — @cristianadam.eu1 likes and repost · 1 reply
- Dec 28, 2024Ghostty 1.0 is here! It aims to be the best drop-in replacement for your current terminal emulator on macOS and Linux.… — @dataelixir.com1 likes and repost
- Dec 28, 2024Just downloaded Ghostty, the new terminal emulator by Mitchell Hashimoto that's now out of beta. Can't wait to try it out tonight! You can… — @tetsuya.dev1 likes and repost
- Dec 27, 2024Ghostty is also written in Zig, so its fascinating to look at a non-trivial Zig codebase. github.com/ghostty-org/... — @vcsjones.dev1 likes and repost
- Dec 26, 2024いよいよ出ましたね。macOSとLinux向けのターミナル github.com/ghostty-org/... — @www.keroncho.org1 likes and repost · 1 reply
- Apr 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ghostty-org / ghostty ⭐ 52,516 (+411) 🗒 Zig 👻 Ghostty is a fast, feature-rich, and cross-platform… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Dec 27, 2024ghostty 지금 써보고 바로 기본 터미널로 설정. 그냥 하자 하나 없는 훌륭한 기본 터미널. gnome 판 konsole 같다. https://buff.ly/41O2V5l — @xianblue.bsky.social0 likes and reposts · 1 reply
- Dec 26, 2024Vagrant,Terraformの開発者が作った新しいターミナル試してみるか https://github.com/ghostty-org/ghostty — @tadachobi.bsky.social0 likes and reposts · 1 reply
On the web · 4
- Jul 4, 2026Adding Ghostty terminal for windows #13181 — google.com
- Nov 4, 2025Ghostty regression on coloured terminal prompt #9470 — google.com
- Sep 23, 2025e flag for ghostty +new-window does not work #8860 — google.com
- Feb 22, 2025Blank terminal screen when building from source #5906 — google.com
Other versions1 project uses a version of this.
Word for word · 1
- Wescholm/ghostty-fleet★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- macos/AGENTS.mdAGENTS.md
- writing-commit-messagesSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

