All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Ghost CLI: Commit Prompts Instead of Code with AI Coding Agents

By

adamveld12

2mo ago· 4 min readenCode

Summary

Ghost is a CLI tool that reimagines the git workflow by allowing developers to commit prompts instead of code. The AI coding agent generates the actual code artifacts, while the commit captures both the intent (prompt) and the output. This approach makes git history a chain of prompts and their results, emphasizing that 'code is ephemeral, intent is permanent.' The tool supports multiple AI agents including Claude, Gemini, Codex, and OpenCode, allowing users to swap agents per-commit or set defaults. The core philosophy is that each commit should answer 'what did I want to happen here?' rather than just tracking code changes, making commits reproducible from their prompts.

Key quotes

· 5 pulled
Ghost is a CLI that flips the git workflow: instead of committing code, you commit prompts.
Code is ephemeral. Intent is permanent.
Every ghost commit answers: what did I want to happen here? Not what bytes changed.
Each commit is reproducible from its prompt — if the code breaks, you have the exact instruction.
Your git history becomes a chain of prompts + their results.
Snippet from the RSS feed
Git is the coding agent. Contribute to adamveld12/ghost development by creating an account on GitHub.

You might also wanna read