Skip to content

Blog

Notes, tips, and updates from the Fresh Jots team.

· 22 min read

`/write-pr-description-to-freshjots <pr-url>` — craft a PR write-up, store it, back it up locally

A good PR description is high-effort and instantly lost in GitHub. Paste one prompt into Claude Code, then run /write-pr-description-to-freshjots <pr-url>: it reads the PR via the GitHub CLI, crafts a structured description, stores it in a pr_descriptions folder, and — the point — writes a durable local backup before the upload, so you never lose it and can gh pr edit --body-file straight from disk even if Fresh Jots is down.

Read more
· 7 min read

Connect any AI coding agent to Fresh Jots

Every "write to Fresh Jots" guide assumes you write the integration. With an AI coding agent, the agent writes it for you from one prompt. Here's what's generic (a plain REST call), what's just delivery (the slash command or hook), and how to point Claude Code, Cursor, Aider, or any agent at Fresh Jots — plus the one API idiom every from-scratch reimplementation gets wrong.

Read more
· 17 min read

One Promt to Auto-archive each AI session to Fresh Jots

Paste one prompt into Claude Code. It walks you through Fresh Jots sign-up, verifies your token, writes the hook script, merges the settings.json hooks block, and bootstraps the claude_sessions folder — end to end. Under five minutes, zero manual setup.

Read more
· 13 min read

Write to Fresh Jots from a cron job — `curl`, a small wrapper, or systemd

A spin-off from Write a note from any project, focused on cron jobs and systemd timers. The killer feature: pair any of the patterns with append_deadline_hours and Fresh Jots emails you when the job stops running. Three flavors: bare curl in crontab, a ~30-line bash wrapper that captures exit code + stderr tail + elapsed time, and systemd timers with native EnvironmentFile= + Persistent=true.

Read more
· 21 min read

Write to Fresh Jots from C — `libcurl`, with or without `cJSON`

A spin-off from Write a note from any project, focused on C. Three flavors: hand-rolled libcurl + minimal JSON escaping in ~120 lines of C99, libcurl + cJSON when you want to parse the API's error code field, and a vendor-HTTPS-stack variant for MCU / RTOS contexts. Includes a pthread heartbeat with pthread_cond_timedwait-driven shutdown, CMake and Make integration, and FFI hooks for Go / Rust / Python.

Read more
· 18 min read

Write to Fresh Jots from C++ — `cpr`, `cpp-httplib`, or a small SDK

A spin-off from Write a note from any project, focused on C++. Three flavors: cpr (C++ Requests) when you have vcpkg Conan, cpp-httplib single-header for builds without package managers, and raw libcurl for embedded or no-deps codebases. Includes a std::condition_variable-backed heartbeat, branching on parsed ApiError.code, Qt and Unreal patterns, and a -fno-exceptions embedded variant.

Read more