All skills
rohitg00 avatar

/commit-history

@45de643
by Rohit Ghumarerohitg00/agentmemory29k stars
2,536

List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.

Use this Skill: https://skilld.dev/gh/rohitg00/agentmemory/commit-history

This session only. Nothing lands on disk.

EXAMPLES.md

≈379 tokens on demand. Your agent reads this file only when SKILL.md points to it.

commit-history worked examples

1. Branch filter

User: "Show agent commits on main."

Invocation:

memory_commits { "branch": "main", "limit": 100 }

Response:

{
  "commits": [
    { "short": "9a1b2c3", "branch": "main", "authoredAt": "2026-06-07T09:12:00Z",
      "message": "rotate refresh tokens", "sessionIds": ["7f3a9c21"],
      "observationCount": 14, "files": 3 },
    { "short": "b21d004", "branch": "main", "authoredAt": "2026-06-05T14:40:00Z",
      "message": "rate limiter audit", "sessionIds": ["b21d004e"],
      "observationCount": 9, "files": 1 }
  ]
}

Present:

  • 9a1b2c3 main 2026-06-07 "rotate refresh tokens", session 7f3a9c2 (14 obs, 3 files)
  • b21d004 main 2026-06-05 "rate limiter audit", session b21d004 (9 obs, 1 file)

2. Bare number as limit

User: "commit-history 5"

Treat 5 as the limit:

memory_commits { "limit": 5 }

Render the five newest linked commits in the same format.

3. Empty result

User: "Show agent commits on release-2.0."

memory_commits { "branch": "release-2.0", "limit": 100 }

Response:

{ "commits": [] }

Present:

No agent-linked commits on release-2.0. Drop the branch filter to see all linked commits, or try a different branch.

REST fallback for this same call, with encoding:

GET /agentmemory/commits?branch=release-2.0&limit=100

Build it with URLSearchParams so a branch like feat/a&b becomes feat%2Fa%26b rather than breaking the query.

Source: SKILL.md on GitHub

No alerts17d3 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill provides a standard utility for listing git commit history linked to agent sessions. It includes best practices for parameter encoding to prevent injection in its REST API fallback and shows no signs of malicious behavior.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

Signed by skilld at 45de643. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 hours ago.

Activeupdated 4 months ago
argument-hint
[branch=... repo=... limit=...]
user-invocable
true

README badge

README badge for rohitg00/agentmemory/commit-history