diffs
यह क्या करती है
यह AI एजेंट को एक ऐसा टूल देती है जो पहले और बाद के टेक्स्ट, या patch को विज़ुअल diff में बदल देता है। यह उन लोगों के लिए है जो सटीक बदलावों की समीक्षा या साझा करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप दिखाना चाहते हों कि किसी टेक्स्ट या कोड बदलाव में वास्तव में क्या बदला।
- ✓जब आपको diff लिंक के रूप में या PDF या PNG फ़ाइल के रूप में साझा करना हो।
- ✓जब बदलावों का हाथ से लिखा सारांश अस्पष्ट हो या गलत होने की आशंका हो।
Skill का लिंक
https://github.com/openclaw/openclaw/blob/main/extensions/diffs/skills/diffs/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे नोट्स के इन दो वर्ज़न के बीच जो बदला है, वह ठीक-ठीक दिखाइए और मुझे एक PDF दीजिए जिसे मैं भेज सकूं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल पुराने और नए टेक्स्ट की तुलना करता है, या patch पढ़ता है, और व्यूअर पेज, फ़ाइल या दोनों बनाता है। वह बताता है कि कुछ बदला या नहीं, और व्यूअर लिंक या फ़ाइल का पाथ लौटाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
When you need to show edits as a real diff, prefer the diffs tool instead of writing a manual summary.
The diffs tool accepts either before + after text, or a unified patch string.
Check details.changed: identical before/after input returns false without creating an artifact; rendered results return true.
Use mode=view when you want an interactive gateway-hosted viewer. After the tool returns, present details.viewerUrl with an available surface-presentation tool.
If the deployment uses a loopback trusted proxy (for example Tailscale Serve with gateway.trustedProxies including 127.0.0.1), raw loopback viewer requests can be rejected without forwarded client-IP headers. In that topology, prefer mode=file / mode=both, or use a configured viewerBaseUrl / explicit proxy/public baseUrl when you need a shareable viewer URL.
Use mode=file when you need a rendered file artifact. Set fileFormat=png (default) or fileFormat=pdf. The tool result includes details.filePath.
For large or high-fidelity files, use fileQuality (standard|hq|print) and optionally override fileScale/fileMaxWidth.
When you need to deliver the rendered file to a user or channel, do not rely on the raw tool-result renderer. Instead, use an available file-sending tool to send details.filePath as an attachment.
Use mode=both when you want both the gateway viewer URL and the rendered artifact.
If the user has configured diffs plugin defaults, prefer omitting mode, theme, layout, and related presentation options unless you need to override them for this specific diff.
Include path for before/after text when you know the file name.
अक्सर पूछे जाने वाले सवाल
अगर कुछ न बदला हो तो क्या फ़ाइल बनती है?
नहीं। अगर पहले और बाद का टेक्स्ट एक जैसा है, तो टूल बताता है कि कोई बदलाव नहीं है और कोई आर्टिफ़ैक्ट नहीं बनाता।
क्या मैं बनी हुई फ़ाइल किसी को भेज सकता हूं?
हां। अगर उपलब्ध फ़ाइल-भेजने वाला टूल हो, तो स्किल फ़ाइल को अटैचमेंट के रूप में भेज सकती है।
यह कौन-से फ़ाइल फ़ॉर्मेट बना सकती है?
यह डिफ़ॉल्ट रूप से PNG इमेज बनाती है, और जब आप मांगें तो PDF फ़ाइलें भी।
जानकारी
लेखक का मूल विवरण
Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
repo: openclaw/openclaw
लोकप्रियता
- GitHub स्टार
- 394k
- रैंकिंग में स्थान
- #17
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
discord-user-post
394kयह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
मिलती-जुलती skills
executing-plans
311kयह आपके एजेंट को मौजूदा सेशन में लिखी इम्प्लीमेंटेशन योजना को चरण-दर-चरण पूरा करने में मदद करती है, हर चरण के बाद अगला शुरू करने से पहले उसकी जांच करके।
finishing-a-development-branch
311kयह आपके एजेंट को तैयार कोड को टेस्ट चलाकर समेटने में मदद करती है, फिर merge करने, pull request खोलने या branch रखने के साफ़ विकल्प देती है।
receiving-code-review
311kयह आपके एजेंट को कोड समीक्षा की टिप्पणियों को ध्यान से परखने में मदद करती है, कुछ भी बदलने से पहले हर बिंदु को कोड से मिलाकर।