quarter-clone
यह क्या करती है
यह स्किल आपकी मौजूदा बातचीत के आखिरी चौथाई हिस्से की नई कॉपी बनाती है और पहले का संदर्भ छोड़ देती है। यह उन लोगों के लिए है जिनकी चैट लंबी है और जो सिर्फ़ सबसे ताज़ा काम रखना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपकी बातचीत बहुत लंबी हो और अभी सिर्फ़ सबसे ताज़ा काम मायने रखता हो।
- ✓जब आपको half-clone से भी छोटी चैट कॉपी चाहिए।
- ✓जब आपको ऐसा छोटा सेशन चाहिए जिसमें हर नए संदेश में कम टोकन लगें।
Skill का लिंक
https://github.com/ykdojo/claude-code-tips/blob/main/skills/quarter-clone/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस बातचीत का quarter-clone बनाइए, ताकि मैं कम संदर्भ के साथ काम जारी रख सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल मौजूदा सेशन ढूँढती है, कॉपी के संदेश मिलाने के लिए उसका पूर्वावलोकन दिखाती है, और आखिरी चौथाई से नया सेशन बनाने के लिए स्क्रिप्ट चलाती है। फिर उसे खोलने के लिए एक कमांड देती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Clone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
Steps:
- Get the current session ID and project path:
tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv' - Find half-clone-conversation.sh with bash:
find ~/.claude -name "half-clone-conversation.sh" 2>/dev/null | sort -V | tail -1- This finds the script whether installed via plugin or manual symlink
- Uses version sort to prefer the latest version if multiple exist
- The same script handles both half and quarter cloning;
--quarterselects quarter mode
- Preview the conversation to verify the session ID:
<script-path> --preview <session-id> <project-path>- Check that the first and last messages match the current conversation
- Run the clone:
<script-path> --quarter <session-id> <project-path>- Always pass the project path from the history entry, not the current working directory
- The script prints the new session ID (the
New session: <id>line). Give the user the exact command to resume it directly, no picker needed:
The script automatically appends a reference to the original conversation at the end of the cloned file. (The new session is also markedclaude --resume <new-session-id>[QUARTER-CLONE <timestamp>], e.g.[QUARTER-CLONE Jan 7 14:30], soclaude -rand picking it works as a fallback.)
अक्सर पूछे जाने वाले सवाल
यह half-clone से कैसे अलग है?
यह बातचीत का सिर्फ़ आखिरी चौथाई हिस्सा रखती है, इसलिए कॉपी half-clone से भी छोटी होती है।
क्या मेरे आखिरी संदेश खो जाएँगे?
नहीं। कॉपी में बातचीत का सबसे ताज़ा हिस्सा रहता है।
नया सेशन कैसे खोलूँ?
स्किल आपको नए सेशन आईडी वाला एक कमांड देती है, ताकि आप उसे सीधे फिर से शुरू कर सकें।
जानकारी
लेखक का मूल विवरण
Clone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work.
repo: ykdojo/claude-code-tips
लोकप्रियता
- GitHub स्टार
- 10k
- रैंकिंग में स्थान
- #11903
- लाइसेंस
- —
- अपडेट की गई
- 25/9/2026
कमेंट
- …
इस repository की और skills
gha
10kGitHub Actions वर्कफ़्लो क्यों विफल हुआ, यह पता लगाती है, और यह भी कि वही जॉब बार-बार विफल हो रहा है या नहीं।
half-clone
10kआपके एजेंट को लंबी चैट का बाद वाला आधा हिस्सा नए सेशन में कॉपी करने में मदद करती है, ताकि कम टोकन लगें और हाल का काम बचा रहे।
handoff
10kआपके एजेंट को HANDOFF.md दस्तावेज़ लिखने में मदद करती है, ताकि नई चैट लक्ष्य, प्रगति और अगले कदमों के साथ प्रोजेक्ट को आगे बढ़ा सके।
hn-summarize
10kआपके एजेंट को Hacker News की टॉप स्टोरी, या किसी एक स्टोरी और उसकी टिप्पणियों का सार बनाने में मदद करती है, आधिकारिक डेटा से।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।