मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)16k · #10896

interactive-login

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

यह स्किल असिस्टेंट को डेवलपर कमांड-लाइन टूल के लिए साइन-इन शुरू करने देती है और नतीजा सिस्टम की कीचेन में सेव करती है। यह उन डेवलपर्स के लिए है जिन्हें अपने टूल में लॉगिन चाहिए।

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

  • ✓जब AWS या GitHub जैसे कमांड-लाइन टूल को पहले आपका साइन इन चाहिए।
  • ✓जब आप चाहते हैं कि लॉगिन सेव हो, ताकि बाद की कमांड उसे सुरक्षित रूप से इस्तेमाल कर सकें।
  • ✓जब सेटअप पूरा करने के लिए डिवाइस कोड या ब्राउज़र साइन-इन चाहिए।

Skill का लिंक

https://github.com/yc-software/qm/blob/main/skills-seed/interactive-login/SKILL.md

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

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

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

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

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

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

“मुझे AWS कमांड-लाइन टूल में लॉग इन कराइए, ताकि आप मेरी डिप्लॉयमेंट जाँच सकें।”

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

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

असिस्टेंट एक नए, अस्थायी फ़ोल्डर में टूल का लॉगिन शुरू करता है, वेब पता और कोड दिखाता है, और नतीजा कीचेन में सेव करता है। आपका सामान्य होम फ़ोल्डर कभी इस्तेमाल नहीं होता।

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

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

Interactive login

Nothing captures logins for you. Every login runs in a fresh temporary home and is saved to the keychain with the script shipped with this skill. Never log in against the real $HOME, and never treat a token or config already in $HOME as a usable login: only a keychain handle is. Use the same explicit sandbox_id for the skill read, login, and save-login commands so the temporary home and save script stay on one computer.

  1. Make a fresh directory and start the login with execute(background:true) with every config location pointed into it. Copy in any config the CLI needs first (for AWS, the [profile …]/[sso-session …] blocks in .aws/config); everything under that directory becomes the saved login.

    d=$(mktemp -d) && echo "$d"
    in_d() { env HOME="$d" XDG_CONFIG_HOME="$d/.config" XDG_DATA_HOME="$d/.local/share" XDG_STATE_HOME="$d/.local/state" XDG_CACHE_HOME="$d/.cache" "$@"; }
    in_d aws sso login --profile work --use-device-code --no-browser
    in_d gh auth login --hostname github.com --git-protocol https --web
    in_d glab auth login --hostname gitlab.com --web
    in_d gcloud auth login --no-launch-browser
    

    Use the CLI's device-code mode (AWS needs --use-device-code); a browser flow only completes on the same machine.

  2. Relay the verification URL and code from the job output. Answer any prompt with background action send_input. Use its watch or poll action with the returned process_id; never stop the job while the person is approving.

  3. When it exits successfully, save the directory with the script under the absolute directory the skill read reported:

    node <skill dir>/scripts/save-login.mjs aws "$d" --label "work (123456789012)"
    

    The script uploads only the files under that directory, removes the directory, and prints the credential handle. It also removes a directory that holds no usable login. Never remove the directory yourself; if the save fails, run the script again. Saving the same service again replaces that entry in place: its id, handle, owner and grants stay the same.

  4. Use the login only by naming the handle in credentials on execute (including background:true), including to check that it works. The files are staged in a private home for that command or job, and refreshes the CLI writes are saved back when it ends.

Never print token files or paste their contents into the conversation. If the login fails or expires, start again from step 1 with a new directory.

अक्सर पूछे जाने वाले सवाल

क्या असिस्टेंट मेरा पासवर्ड देखता है?

साइन-इन आप अपने ब्राउज़र में, टूल के दिखाए कोड से खुद पूरा करते हैं। असिस्टेंट केवल लिंक और कोड आप तक पहुँचाता है।

अस्थायी फ़ोल्डर क्यों इस्तेमाल होता है?

इससे नया लॉगिन आपकी सामान्य कंप्यूटर सेटिंग्स से अलग रहता है, ताकि मौजूदा टोकन गलती से दोबारा इस्तेमाल न हों।

अगर साइन-इन पूरा न हो तो?

लॉगिन तभी सेव होता है जब साइन-इन पूरा हो जाए, इसलिए रुकने पर आप दोबारा कोशिश कर सकते हैं।

जानकारी

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

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

repo: yc-software/qm

लोकप्रियता

GitHub स्टार
16k
रैंकिंग में स्थान
#10896
लाइसेंस
MIT
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

deploy-qm

16k

यह आपके एजेंट को QM पैकेज को Fly.io, AWS या Render पर डिप्लॉय करने और पहला एडमिन सेट करने में मदद करती है।

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

onboarding

16k

यह आपके एजेंट को एक छोटी बातचीत में खाते जोड़ने, आपका काम समझने, आवाज़ चुनने और पहली मदद सेट करने में मदद करती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

admin

16k

यह आपके एजेंट को सत्यापित एडमिन के लिए चैट से संस्था-स्तर की सेटिंग्स देखने और बदलने में मदद करती है, हर बदलाव से पहले पुष्टि के साथ।

अन्यविविध

browse

16k

यह आपके एजेंट को असली स्टेल्थ ब्राउज़र से वेबसाइट पर साइन इन करने और फ़ॉर्म भरने जैसे काम करने देती है। यह पढ़ने के लिए नहीं, कार्रवाई के लिए है।

प्रोडक्टिविटीऑटोमेशन

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