shipbrief
v0.1.0
Published
AXI-style read-only daily commit digests for local git repositories, with TOON output and provider-based delivery.
Downloads
170
Maintainers
Readme
shipbrief
AXI-style read-only daily commit digests for local git repositories.
shipbrief scans configured project roots, collects commits with git log, emits compact TOON for agents, renders Markdown for humans, and can send text to a Telegram group topic through the Bot API. It is built for Codex, Claude Code, Cursor, OpenCode, and other agents that should analyze commit data without crawling your whole machine themselves.
Install
npm install -g shipbriefUntil the package is published:
npm install -g /Users/devall/Projects/shipbriefOne-command agent run after publish:
npx -y shipbrief run --todaySetup
shipbrief init
shipbrief doctorEdit ~/.shipbrief/config.json:
{
"roots": ["/Users/devall/Projects"],
"outputDir": "/Users/devall/Documents/Codex/commit-reports"
}Telegram topic delivery uses env vars:
launchctl setenv TELEGRAM_BOT_TOKEN "123:abc"
launchctl setenv TELEGRAM_COMMIT_REPORT_CHAT_ID "-1001234567890"
launchctl setenv TELEGRAM_COMMIT_REPORT_THREAD_ID "87"Usage
shipbrief run --todayPipeline mode:
shipbrief collect --today --output commits.json
shipbrief render --input commits.json --output report.txt
shipbrief check --html report.html
shipbrief deliver --provider telegram --html report.htmlRecommended agent flow:
- Run
shipbrief run --todayfor compact TOON. - Ask the agent to summarize the TOON into a readable follow-up in the user's language.
- Save the agent-written follow-up as HTML.
- Deliver through a provider:
shipbrief check --html report.html
shipbrief deliver --provider telegram --html report.htmlFormats:
shipbrief run --today # TOON, default for evening automation
shipbrief run --today --format json # complete machine-readable JSON
shipbrief run --today --format markdownQuality metrics are included in every report:
quality:
without_body: 14
with_body: 1
tests_note: 0
codex_note: 3Use them in the final follow-up when commit messages lack enough detail.
Agent Templates
templates/codex-automation.mdtemplates/AGENTS.mdtemplates/CLAUDE.mdskills/shipbrief/SKILL.md
Suggested public install paths:
npx -y shipbrief init
npx -y shipbrief doctor
npx -y shipbrief run --todayProvider model:
shipbriefcollects commit data.- Agent writes human summary HTML.
shipbrief deliver --provider <name>handles provider-specific validation, chunking, and sending.- Current provider:
telegram. - Planned providers can reuse the same flow:
email,slack,webhook.
Safety
shipbrief only reads directories and runs:
git rev-parse --show-toplevelgit config --get remote.origin.urlgit log --all ...
It never fetches, pulls, pushes, checks out, resets, edits files inside repositories, or scans outside configured roots.
Package Name
The npm name shiplog is already taken. This project uses the unscoped package name shipbrief.
