Skip to content
Back to skills

Collect Git

ASecurity

Self-improve loop, collector 2: summarize the last 7 days of git history in the repos listed in <data folder>/repos.txt into <data folder>/digests/<date>-git.md. Read-only. Use when running /self-improve:self-improve-run or when asked to collect recent git activity.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add ahmadhammoud56/MOAA --skill collect-git --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Collect Git?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Collect Git
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ahmadhammoud56-collect-git/badge)](https://www.skillsdirectory.com/skills/ahmadhammoud56-collect-git)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: collect-git
description: "Self-improve loop, collector 2: summarize the last 7 days of git history in the repos listed in <data folder>/repos.txt into <data folder>/digests/<date>-git.md. Read-only. Use when running /self-improve:self-improve-run or when asked to collect recent git activity."
---

# Collect git activity

Plugin root: `${CLAUDE_PLUGIN_ROOT}`. The Bash tool does NOT receive `CLAUDE_PLUGIN_ROOT` as an environment variable;
always use the substituted absolute path in commands. `<data>` is the folder printed by
`python "${CLAUDE_PLUGIN_ROOT}/selfimprove.py" where` (`$SELF_IMPROVE_HOME`, or `~/self-improve`).

1. Run this as one standalone command (`py` instead of `python` on Windows):

   ```
   python "${CLAUDE_PLUGIN_ROOT}/collectors/git.py" --days 7
   ```

   The script runs only `git log` on the repos in `<data>/repos.txt`. It never writes, fetches, pulls, resets, deletes
   or pushes. To add or remove repos, the user edits `<data>/repos.txt`. If the script says there is no repo list,
   write a one-line digest saying so.

2. From that output only, write `<data>/digests/<YYYY-MM-DD>-git.md`, using today's local date:

   ```markdown
   # Git digest <date> (last 7 days)
   ## <repo>
   - Activity: <commits, files, busiest areas>
   - Themes: <what the work was about, from the commit subjects>
   - Rework: <fix/revert/retry commits and what they suggest>
   - Hygiene: <generated, runtime or oversized files being committed, if any>
   ## Patterns
   - <findings worth acting on, with evidence>
   ```

   Keep it under about 80 lines.

3. Rules:
   - Read-only: run no git command other than the script.
   - Don't copy e-mail addresses or secrets. The script already redacts home paths and e-mails.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.