commit-history
यह क्या करती है
यह स्किल उन कमिट की सूची देती है जो एजेंट सेशन ने बनाए, जिसे चाहें तो ब्रांच या रिपॉज़िटरी से छाना जा सकता है। हर कमिट उस सेशन को दिखाता है जहाँ से वह आया।
कब इस्तेमाल करें
- ✓जब आप देखना चाहें कि एजेंट ने हाल में कौन-से कमिट बनाए।
- ✓जब आप किसी एक ब्रांच या रिपॉज़िटरी के जुड़े कमिट की सूची चाहें।
- ✓जब आप हर कमिट को उसके सेशन विवरण के साथ देखना चाहें।
Skill का लिंक
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/commit-history/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एजेंट ने main पर जो आखिरी 20 कमिट बनाए, उन्हें उनके सेशन के साथ दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट आपकी ब्रांच और सीमा के साथ कमिट लिस्टिंग टूल कॉल करता है, फिर नतीजे नए से पुराने क्रम में दिखाता है। हर प्रविष्टि में छोटा SHA, संदेश, जुड़ा सेशन और अवलोकन की संख्या होती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
The user wants a list of agent-linked commits. Filter args: $ARGUMENTS
Quick start
memory_commits { "branch": "main", "limit": 20 }
Expected output:
9a1b2c3 main 2026-06-07 "rotate refresh tokens" · session 7f3a9c2 (14 obs)
b21d004 main 2026-06-05 "rate limiter audit" · session b21d004 (9 obs)
Why
Render only the commits the tool returned, newest first. An empty result means the filter matched nothing, not that work is missing.
Workflow
- Parse
$ARGUMENTSforbranch=<name>,repo=<url-or-fragment>,limit=<n>. A bare numeric token is the limit. Defaults: no branch, no repo, limit 100, max 500. - Call
memory_commitswith the parsed filters. - Render reverse-chronologically: short sha, branch, authored timestamp, first
line of the message, linked session id(s) (first 8) with observation counts,
and file count when
filesis present. - Empty result: tell the user the filter matched nothing and suggest dropping the branch or repo filter.
Anti-patterns
WRONG (REST fallback): concatenate ?branch= + raw branch name, so a name with
?, &, or # corrupts the query string.
RIGHT: URL-encode every value with URLSearchParams/encodeURIComponent before
appending to GET /agentmemory/commits.
Checklist
- Filters parsed; bare number treated as limit; limit capped at 500.
- Output is reverse-chronological.
- Session ids and observation counts come straight from the response.
- REST fallback URL-encodes branch, repo, and limit.
See also
commit-context: drill into one commit's session.recall: search the observations behind a linked session.
Troubleshooting
See TROUBLESHOOTING.md if memory_commits is not available.
अक्सर पूछे जाने वाले सवाल
अगर सूची खाली हो तो?
इसका मतलब है कि फ़िल्टर से कुछ मेल नहीं खाया। ब्रांच या रिपॉज़िटरी फ़िल्टर हटाकर देखें।
यह कितने कमिट दिखा सकती है?
डिफ़ॉल्ट 100 है, और अधिकतम 500।
क्या यह बदली गई फ़ाइलें दिखाती है?
हाँ, जब किसी कमिट की फ़ाइल जानकारी उपलब्ध हो।
जानकारी
लेखक का मूल विवरण
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.
repo: rohitg00/agentmemory
लोकप्रियता
- GitHub स्टार
- 30k
- रैंकिंग में स्थान
- #9346
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agentmemory-agents
30kयह आपके एजेंट को agentmemory मेमोरी सर्वर को Claude Code, Cursor और Codex जैसे कोडिंग टूल से जोड़ने में मदद करती है।
agentmemory-architecture
30kयह समझाती है कि agentmemory कोडिंग एजेंट की मेमोरी को कैसे सेव, खोजता और संभालता है, कैप्चर से लेकर याद करने तक।
agentmemory-config
30kयह आपके एजेंट को agentmemory मेमोरी सर्वर सेट करने और जांचने में मदद करती है, जिसमें पोर्ट, सेटिंग और फ़ीचर फ़्लैग शामिल हैं।
agentmemory-hooks
30kयह आपके एजेंट को हर नोट खुद सेव किए बिना कोडिंग सेशन से काम की बातें अपने-आप कैप्चर करने में मदद करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।