मुख्य सामग्री पर जाएँ
Skillpedia
विविध10k · #11899

half-clone

यह क्या करती है

यह स्किल आपकी मौजूदा बातचीत के दूसरे आधे हिस्से की नई कॉपी बनाती है और शुरुआती हिस्सा छोड़ देती है। यह उन लोगों के लिए है जिनकी चैट बहुत लंबी हो गई है और जो कम संदर्भ के साथ काम जारी रखना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आपकी बातचीत इतनी लंबी हो गई है कि उसे आगे बढ़ाना धीमा और भारी लगे।
  • ✓जब आप चैट का शुरुआती हिस्सा छोड़कर अपना हाल का काम रखना चाहते हैं।
  • ✓जब आप चाहते हैं कि हर नए संदेश में कम टोकन खर्च हों।

Skill का लिंक

https://github.com/ykdojo/claude-code-tips/blob/main/skills/half-clone/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ykdojo/claude-code-tips/blob/main/skills/half-clone/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी चैट बहुत लंबी हो गई है। इस बातचीत का half-clone बनाइए, ताकि मैं काम जारी रख सकूँ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह स्किल मौजूदा सेशन ढूँढती है और एक स्क्रिप्ट चलाती है जो बाद के आधे हिस्से को नए सेशन में कॉपी करती है। फिर यह नए सेशन को खोलने के लिए एक कमांड देती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

Steps:

  1. Get the current session ID and project path: tail -1 ~/.claude/history.jsonl | jq -r '[.sessionId, .project] | @tsv'
  2. 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
  3. 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
  4. Run the clone: <script-path> <session-id> <project-path>
    • Always pass the project path from the history entry, not the current working directory
  5. 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:
    claude --resume <new-session-id>
    
    The script automatically appends a reference to the original conversation at the end of the cloned file. (The new session is also marked [HALF-CLONE <timestamp>], e.g. [HALF-CLONE Jan 7 14:30], so claude -r and picking it works as a fallback.)
अक्सर पूछे जाने वाले सवाल

क्या मेरे हाल के संदेश खो जाएँगे?

नहीं। कॉपी में बातचीत का बाद वाला आधा हिस्सा रहता है, जिसमें आपका हाल का काम होता है।

नया सेशन कैसे खोलूँ?

स्किल आपको नए सेशन आईडी वाला एक कमांड देती है, ताकि आप सीधे उसे फिर से शुरू कर सकें।

क्या मूल बातचीत रखी जाती है?

नई कॉपी के आखिर में मूल बातचीत का एक संदर्भ जोड़ा जाता है।

जानकारी

लेखक का मूल विवरण

Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

repo: ykdojo/claude-code-tips

लोकप्रियता

GitHub स्टार
10k
रैंकिंग में स्थान
#11899
लाइसेंस
—
अपडेट की गई
25/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

gha

10k

GitHub Actions वर्कफ़्लो क्यों विफल हुआ, यह पता लगाती है, और यह भी कि वही जॉब बार-बार विफल हो रहा है या नहीं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

handoff

10k

आपके एजेंट को HANDOFF.md दस्तावेज़ लिखने में मदद करती है, ताकि नई चैट लक्ष्य, प्रगति और अगले कदमों के साथ प्रोजेक्ट को आगे बढ़ा सके।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

hn-summarize

10k

आपके एजेंट को Hacker News की टॉप स्टोरी, या किसी एक स्टोरी और उसकी टिप्पणियों का सार बनाने में मदद करती है, आधिकारिक डेटा से।

लेखन और डॉक्यूमेंटरिसर्च

private-github-search

10k

आपके एजेंट को आपकी सभी GitHub रिपॉज़िटरी में, निजी वाली भी, स्थानीय कॉपी और तेज़ टेक्स्ट खोज से खोजने में मदद करती है।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills