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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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.
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-browserUse the CLI's device-code mode (AWS needs
--use-device-code); a browser flow only completes on the same machine.Relay the verification URL and code from the job output. Answer any prompt with
backgroundactionsend_input. Use itswatchorpollaction with the returnedprocess_id; never stop the job while the person is approving.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.
Use the login only by naming the handle in
credentialsonexecute(includingbackground: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
कमेंट
- …
इस repository की और skills
deploy-qm
16kयह आपके एजेंट को QM पैकेज को Fly.io, AWS या Render पर डिप्लॉय करने और पहला एडमिन सेट करने में मदद करती है।
onboarding
16kयह आपके एजेंट को एक छोटी बातचीत में खाते जोड़ने, आपका काम समझने, आवाज़ चुनने और पहली मदद सेट करने में मदद करती है।
admin
16kयह आपके एजेंट को सत्यापित एडमिन के लिए चैट से संस्था-स्तर की सेटिंग्स देखने और बदलने में मदद करती है, हर बदलाव से पहले पुष्टि के साथ।
browse
16kयह आपके एजेंट को असली स्टेल्थ ब्राउज़र से वेबसाइट पर साइन इन करने और फ़ॉर्म भरने जैसे काम करने देती है। यह पढ़ने के लिए नहीं, कार्रवाई के लिए है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।