# Guides to writing with AI on a Mac

Step-by-step guides to writing with Claude Code, Codex or any CLI agent on your own Markdown files: issues, lessons, rolling back edits and GitHub backup.

- [Back up Markdown projects to GitHub without git commands](https://flywrite.app/guides/back-up-markdown-to-github): Back up a folder of Markdown to your own private GitHub repo, with no git commands.
- [Send a selected passage to a CLI agent without copying and pasting](https://flywrite.app/guides/send-selection-to-cli-agent): Hand one passage to Claude Code, Codex or any CLI agent with one shortcut, no pasting.
- [Sync a writing project between two Macs and resolve conflicting edits](https://flywrite.app/guides/sync-writing-between-two-macs): Keep one writing project on two Macs, and settle edits that clash.
- [Roll back what an AI agent changed in your writing on a Mac](https://flywrite.app/guides/review-and-undo-agent-edits): Roll back what an agent changed in your drafts, for one file or the whole project.
- [Use Claude Code on your newsletter drafts without a code editor](https://flywrite.app/guides/claude-code-newsletter-drafts): Run Claude Code on newsletter issues kept as Markdown files, without a code editor.
- [Use your own Claude Code or Codex plan in a Mac writing app, with no AI fee](https://flywrite.app/guides/use-your-own-claude-code-or-codex-plan): Run Claude Code or Codex on the plan you already pay for, with no Flywrite AI fee.
- [Write course lessons with the Codex CLI as plain Markdown files on a Mac](https://flywrite.app/guides/codex-cli-course-lessons): Write course lessons as Markdown files with the Codex CLI and an AGENTS.md style file.

---

This is the Markdown copy of https://flywrite.app/guides.
