interactive-login
Fungsinya
Memungkinkan asisten memulai proses masuk untuk alat baris perintah pengembang dan menyimpan hasilnya di keychain sistem. Cocok untuk pengembang yang memerlukan alat mereka sudah masuk.
Kapan dipakai
- ✓Saat alat baris perintah seperti AWS atau GitHub perlu Anda masuk terlebih dahulu.
- ✓Saat Anda ingin login disimpan agar perintah berikutnya bisa memakainya dengan aman.
- ✓Saat kode perangkat atau masuk lewat peramban diperlukan untuk menyelesaikan pengaturan.
Link skill
https://github.com/yc-software/qm/blob/main/skills-seed/interactive-login/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Masukkan saya ke alat baris perintah AWS agar Anda bisa memeriksa penerapan saya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Asisten memulai login alat itu di folder sementara yang baru, menampilkan alamat web dan kode yang harus Anda masukkan, lalu menyimpan hasilnya di keychain. Folder beranda normal Anda tidak pernah dipakai.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apakah asisten melihat kata sandi saya?
Anda menyelesaikan masuk sendiri di peramban memakai kode yang ditampilkan alat. Asisten hanya meneruskan tautan dan kodenya.
Mengapa dipakai folder sementara?
Ini menjaga login baru terpisah dari pengaturan komputer Anda yang biasa, sehingga token yang ada tidak terpakai secara tidak sengaja.
Bagaimana jika proses masuk belum selesai?
Login hanya disimpan setelah proses masuk selesai, jadi Anda bisa mencoba lagi jika berhenti di tengah jalan.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 16k
- Peringkat
- #10896
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
deploy-qm
16kMenerapkan paket QM ke Fly.io, AWS, atau Render, lalu menyiapkan administrator, konektor, dan opsional Slack, mengikuti daftar periksa penerapan yang lengkap.
onboarding
16kMemandu pengguna baru menghubungkan akun, menjelaskan cara kerja mereka, memilih suara, dan menyiapkan bantuan pertama, dalam satu percakapan singkat.
admin
16kMemungkinkan administrator organisasi yang terverifikasi memeriksa atau mengubah pengaturan tingkat organisasi dan cakupan lain dari chat, dengan mengonfirmasi setiap perubahan sebelum dibuat.
browse
16kMenjalankan peramban web sungguhan yang tersembunyi dari shell untuk bertindak di situs web, seperti masuk atau mengisi formulir, dengan sesi masuk yang dipisahkan per orang. Untuk tindakan, bukan membaca.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.