The Editorial Architect for KeyFlow
The ultimate bridge between your local Markdown vault and the global audience. Push articles, sync images, and manage drafts without leaving your editor.
System Architecture
Engineered for flow state.
Zero-Friction Push
Deploy local Markdown to production instantly. Assets are automatically scraped, optimized, and pushed to Cloudflare R2 edge locations.
Native Type Safety
Built on Rust & TypeScript. Every command is strictly typed to ensure predictable sync between your Vault and KeyFlow Cloud.
AI Agent Integration
Fully supports headless execution for autonomous AI bots. Build your 100% automated publishing pipeline effortlessly via environment variable tokens.
Workflow
From idea to draft. In a single command.
Parse your local markdown files and securely push them to your KeyFlow studio as private drafts with a single command.
- Safe Private Draft Uploads
- Smart H1 Title Extraction
- Headless AI Agent Pipeline Support
# 1. Secure login to KeyFlow workspace
$ keyflow login
# 2. Push markdown file (Saved as draft)
$ keyflow push ./drafts/architecture-v2.md
✓ Verifying browser token authentication...
✓ Parsing markdown and extracting H1 title...
✓ Securely transferring to KeyFlow Editorial Studio...
→ Successfully saved as Private Draft!
AI Agent Prompt
Tell any AI agent to post it to KeyFlow.
Paste this into Claude, Codex, AGY, Gemini, or any agent that can run commands. It points the agent to keyflow guide, keeps credentials out of chat, and asks for your approval before uploading or publishing.
You are uploading to KeyFlow with the KeyFlow CLI.
1. Run `keyflow guide` first and follow it. It has the current steps, frontmatter, image rules and KeyFlow Markdown syntax.
2. Never ask for, print, log, or store KeyFlow credentials, tokens, device credentials, or `.env` values. If the CLI is not logged in, ask the human to run `keyflow login`.
3. Run `keyflow check <file>` and fix every error before uploading.
4. Get the human's approval before `keyflow push`, and again before publishing publicly.
5. Report the post ID and URL that `keyflow push` prints. Do not claim a post is published unless the CLI said so.Start from your terminal today.
macOS, Linux, or WSL2 required. Node v18+ dependency.