daily-commit-logbook

Generate daily internship logbook drafts and weekly internship reports from GitHub and GitLab commit activity. Build Indonesian MIS-friendly summaries, prepare Telegram approval requests before submission, and install OpenClaw cron delivery for daily and weekly reporting flows. Use when setting up commit-based internship logbooks, weekly LaTeX reports, repo-aware activity summaries, or approval-before-submit automation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "daily-commit-logbook" with this command: npx skills add mozaldy/daily-commit-logbook

Daily Commit Logbook

Generate Indonesian internship logbook text from GitHub and GitLab activity, then optionally schedule Telegram approval flows and weekly LaTeX reports.

Quick start

Generate today's report:

GITHUB_USER="your-github-username" bash scripts/generate-report.sh

Or save reusable local config in daily-commit-logbook/.env:

GITHUB_USER=your-github-username
WEEKLY_REPORT_AUTHOR=Internship Student
WEEKLY_REPORT_WEEK_ONE_START=2026-01-05

Setup daily Telegram approval delivery:

bash scripts/setup-cron.sh \
  --time "18:00" \
  --timezone "WIB" \
  --github-user "your-github-username" \
  --telegram-chat "<telegram-chat-id>"

Setup the Monday weekly report delivery:

bash scripts/setup-weekly-cron.sh \
  --time "18:10" \
  --timezone "WIB" \
  --telegram-chat "<telegram-chat-id>"

Required environment

Install and authenticate:

  • gh for GitHub activity
  • glab for GitLab activity
  • jq for JSON processing
  • OpenClaw CLI for cron setup

If the scripts are not installed at the workspace root, set OPENCLAW_WORKSPACE=/path/to/workspace before running them.

Main scripts

  • scripts/generate-report.sh - build the daily dual-version report and save reports/commit-report-YYYY-MM-DD.md
  • scripts/extract-mis-activity.sh - extract the MIS-ready activity paragraph from the daily report
  • scripts/render-telegram-approval-request.sh - generate the daily report, save a pending draft, and print a Telegram-ready approval request
  • scripts/submit-pending-logbook.sh - submit the latest pending MIS draft after explicit user confirmation
  • scripts/render-whatsapp-message.sh - direct-submit helper for manual fallback/debugging
  • scripts/generate-weekly-report.sh - generate the previous week's LaTeX report
  • scripts/render-weekly-telegram-message.sh - print a Telegram-ready weekly summary message
  • scripts/setup-cron.sh - install the recurring daily OpenClaw cron job
  • scripts/setup-weekly-cron.sh - install the recurring Monday weekly report cron job

Behavior

  1. Fetch same-day push activity from GitHub and GitLab.
  2. Read changed files and diff hunks, not only commit titles.
  3. Apply repo-specific context from references/repo-contexts.json.
  4. Render Indonesian logbook text in two versions, standard and more natural for MIS.
  5. Save a pending MIS draft and wait for explicit confirmation before submission.
  6. Reuse the same diff-aware analysis for weekly internship reports.

References

  • Read references/format-guide.md for Indonesian phrasing and activity patterns.
  • Edit references/repo-contexts.json to describe your repos and mark personal repos as excluded from internship reports.

Notes

  • The daily setup script writes daily-commit-logbook/.env with the chosen GitHub username for later runs.
  • The weekly report author defaults to Internship Student unless WEEKLY_REPORT_AUTHOR is set.
  • The internship week number defaults to week 1 unless WEEKLY_REPORT_WEEK_ONE_START is configured.
  • The normal flow is Telegram approval first, MIS submission second.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

YiHui GIT MONITOR

通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。

Registry SourceRecently Updated
00Profile unavailable
Coding

Workspace Governance

A methodology-first workspace governance skill for AI agents. Focuses on principles, decision framework, and safe execution patterns instead of fixed directo...

Registry SourceRecently Updated
Coding

Nox Influencer - Creator Discovery & Influencer Marketing

Runs NoxInfluencer creator and marketing-ops workflows via CLI, including creator discovery for influencer marketing, creator marketing, UGC, social media ma...

Registry SourceRecently Updated
Coding

Gigo Lobster Doctor

🦞 GIGO · gigo-lobster-doctor: 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。 Triggers: 龙虾体检 / 检查龙虾环境 / lobster doctor / check lobster environment.

Registry SourceRecently Updated