Daily Git Work Log

VerifiedCaution

Summarize daily Git activity into a concise work log for a date or range. Uses the current repo or configured projects.

Sby Skills Guide Bot
ProductivityIntermediate
8/12/2026
Claude Code
#git#daily-log#work-log#commit-analysis#reporting

Recommended for

Automated summary

Turns a day's or a date range's Git activity into a concise daily work log, grouping related commits into concrete completed work items.

Strengths

  • Normalizes plain-language dates (yesterday, last week, this month) into a [from, to] range and correctly handles the exclusive --until boundary
  • Deduplicates repositories, resolves Git roots, and honors per-project free-text instructions from ~/.agent-tools/config.jsonc
  • Does not restate commit subjects: it describes the outcome and folds formatting, version bumps, and follow-up fixes into the work they supported
  • Upstream refresh is best-effort, so a failing fetch never blocks the report, and the working tree and local branch history are left untouched

Limitations

  • Commit filtering relies on an exact match against git config user.name, so commits authored under another name or alias are silently skipped
  • Requires repositories to be cloned locally already; remote URLs are not cloned without explicit consent
  • Uncommitted changes are never written to the log file, only noted factually in a chat draft for the current day
When to use it

Use it at the end of a day or start of a week to produce a work report from Git history across one or several configured projects.

When not to use it

Avoid it if you need hour accounting, a productivity score, or analysis of uncommitted changes, since the skill explicitly rules those out.

Security analysis

Caution
Quality score92/100

The skill uses git and file I/O for a legitimate purpose: summarizing local Git activity into a daily log. The network fetch is limited to configured upstreams and is non-destructive, and file writes are constrained to explicit destinations. No destructive commands, secret exfiltration, or obfuscation are present.

Findings
  • •Performs best-effort `git fetch` against configured upstream remotes, which involves network access to external repositories.
  • •Reads and writes files specified in `~/.agent-tools/config.jsonc` and user-supplied paths, including a daily log output file.
How this analysis is made

Examples

A single day
/at-daily-log yesterday
A week range
/at-daily-log last week
Add a specific project
/at-daily-log 2026-07-31 also include ~/src/api

name: at-daily-log description: "Summarize each day's Git activity into a concise daily work log, for a single date or a range. Uses the current repository, optional configured work projects, or paths named in conversation; configuration is never required." argument-hint: "[<date>|<range>]"

Daily Work Log

resolve evidence -> group related commits -> draft or record

Date and evidence scope

Default to today. Accept plain-language dates or ranges (2026-07-31, yesterday, last week, this month) and normalize to [from, to]; query through <to + 1 day> because Git's --until boundary is exclusive. State the resolved date or range.

Read optional workProjects from ~/.agent-tools/config.jsonc. An entry is a path or { "path", "prompt" }, where the prompt is free text this skill follows for that project, such as how to label items or which commits to skip.

  • No project named: current Git repository plus configured projects.
  • Projects named directly: only those projects.
  • "Also include" / 另外包含: add them to the default scope.

Resolve paths to Git roots and deduplicate them. Report invalid paths; a non-Git current directory does not block other valid projects. Do not clone remote URLs without consent.

For each repository, resolve the author with git -C <root> config user.name; never infer aliases or use the remote login as the author.

Inspect all local branches, current HEAD, user-named branches, and configured upstreams. Unless the user requests local-only data, refresh only the configured upstream branches, grouped into one best-effort git fetch --no-tags <remote> <branch...> per involved remote. Fetch failure is non-fatal. Do not change the working tree or local branch history.

Then list candidates with git -C <root> log --no-merges --since=<from> --until=<to+1day> --format=%H%x09%an --branches HEAD <upstream refs>, taking the upstream refs from git -C <root> for-each-ref --format=%(upstream) refs/heads/. Passing no ref walks only the current branch, so work on an unmerged branch reads as no activity; --all reaches past the scope above into remote branches nobody tracks. Keep the rows whose %an equals the resolved name exactly. Never pass --author: it matches the whole Name <email> header, so anchored patterns silently match nothing. When the window holds commits but none carry that name, report the names actually found instead. Deduplicate commits by hash.

Build work items

Collect non-merge commits for the resolved author and day. Use subjects and changed paths to turn related commits into concrete completed work items. Fold formatting, version bumps, and follow-up fixes into the outcome they supported; do not inflate one change into several deliverables. Never restate a commit subject as the work item; describe the outcome it produced. A day left with nothing has no reportable activity.

Use file counts and added/deleted lines only when they meaningfully support the work item. Generated files, lockfile churn, renames, and bulk formatting often make those numbers misleading. Metrics are evidence, never hours, difficulty, impact, or a productivity score.

Uncommitted changes are not work items. At most, note them factually in a chat draft for today (project and files, no invented progress); never write them to the file: their dates are unverifiable, and a project left dirty for weeks would reappear as in progress every day. User-provided non-code work must remain clearly identified as user context.

~/.agent-tools/config.jsonc may also carry log.output, an automatically recorded AI session log, separate from dailyLog.output. It is a markdown file with dated entries, or a directory holding one <date>.md report per day; entries under log.projects may route their sessions to their own output, so check those paths too. When log.format is daily, read its single-line results only as activity leads: they may be truncated and omit important context. Do not state a log-only item as a confirmed outcome from a daily entry alone. When log.format is detailed, its per-day reports are stronger supplementary evidence, but still do not replace Git or user confirmation. If the log block or its output is absent, skip this entirely. Merge, do not duplicate, work already backed by commits.

Output

Match the user's language:

+ 2026-07-31
  1. agent-tools: 完成多项目日报规则和 skill 落地.
  2. vscode-plugin: 修复 Webview 刷新后状态丢失问题, 补充回归验证.

Start each item with the label that best locates the work for a reader: the project name when the day spans projects, a module or feature within a single one.

Keep entries compact: the file accumulates for months, so every recurring line must earn its place. Do not add per-day summary, total, or section-header lines; the numbered items already show project and count.

Prefer outcomes over raw Git metrics. If no verified activity exists, say so rather than fabricate an entry. For a range, output one entry per day with activity, oldest first, and skip empty days.

Draft or record

"Generate" / 生成日报 returns a draft. "Record" / 记录日报, or an explicit write request, writes after previewing the entry. A draft may close with one short line offering to record it; treat any affirmative reply to that offer as the go-ahead, and keep the suggested word short (记录 / record). Resolve the destination in order:

  1. a path supplied in conversation;
  2. optional dailyLog.output in ~/.agent-tools/config.jsonc;
  3. no destination: return the draft without writing.

Read the destination before editing. Wrap each date's generated content in that date's own markers, <!-- daily-log:2026-07-31:start 5,a1b2c3d --> / <!-- daily-log:2026-07-31:end -->, where the start marker stores the day's commit count and newest commit hash across the scanned projects; the date line and every line outside the markers belong to the user. Refresh an existing block when either value changed or the user explicitly asks; otherwise leave it alone, because regenerated wording varies between runs. For an existing date, show the current block and the regenerated one before writing, then replace only that date's block. If the date exists without markers, append a marked block below the user's lines instead of editing them. Do not duplicate the date. Insert a new date among the existing dated entries at its date-order position, inferring ascending or descending from the dates already present (ascending when that is ambiguous). A date that sorts last goes right after the final dated entry, not at the end of the file: notes, comment blocks and todo lists kept below the log stay below it. On duplicate or unpaired markers, stop and propose the edit instead of writing. When neither Git nor the session log shows activity for the day, leave the file unchanged and say so; the user can add a manual entry themselves. Recording a range applies these rules to each day's block independently.

Scheduling is separate; set it up only when the user asks. Prefer the OS scheduler (Task Scheduler, cron, launchd) over agent-internal timers, which stop with the agent: schedule a headless run of the CLI this skill is executing in — claude -p <prompt>, codex exec <prompt>, opencode run <prompt> — invoking the skill with the recording request the user asked for, as in claude -p "/at-daily-log record the log". How a skill is addressed varies per CLI, so the test run below is what confirms it. Keep projects and output in config so the command stays stable. Before registering, confirm the schedule, make sure the output file is resolvable, and run the exact command once; register only after that test run records correctly, and show how to remove the task. Headless auth differs from the interactive session, so a failed test run means stop instead of registering, and show the exact command, its error output, and the likely fix (log in for headless use, adjust the output path). An unattended run has nobody to confirm with, so it must follow the marker rules exactly and skip any file it cannot edit that way: it fills missing days and refreshes days whose stored count or hash moved, nothing else.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/daily-git-work-log-mspm3dis/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/daily-git-work-log-mspm3dis' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/daily-git-work-log-mspm3dis/download' --output '.skill-downloads/daily-git-work-log-mspm3dis/SKILL.md.part' && mv '.skill-downloads/daily-git-work-log-mspm3dis/SKILL.md.part' '.skill-downloads/daily-git-work-log-mspm3dis/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/daily-git-work-log-mspm3dis/SKILL.md' && test -s '.skill-downloads/daily-git-work-log-mspm3dis/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/at-daily-log' && cp -R '.skill-downloads/daily-git-work-log-mspm3dis' '.claude/skills/at-daily-log'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/daily-git-work-log-mspm3dis'

openskills read 'daily-git-work-log-mspm3dis'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/daily-git-work-log-mspm3dis/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills