interactive-login
하는 일
이 스킬은 어시스턴트가 개발자용 명령줄 도구의 로그인을 시작하고, 그 결과를 키체인에 저장하게 합니다. 도구에 로그인이 필요한 개발자를 위한 스킬입니다.
사용하는 경우
- ✓AWS나 GitHub 같은 명령줄 도구가 먼저 로그인을 요구할 때.
- ✓나중에 명령이 안전하게 쓸 수 있도록 로그인을 저장하고 싶을 때.
- ✓설정을 마치기 위해 기기 코드나 브라우저 로그인이 필요할 때.
스킬 링크
https://github.com/yc-software/qm/blob/main/skills-seed/interactive-login/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“AWS 명령줄 도구에 저를 로그인시켜서, 제 배포 상태를 확인할 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
deploy-qm
16kQM 패키지를 Fly.io, AWS, Render에 배포한 뒤, 전체 배포 체크리스트에 따라 관리자, 연결 도구, 선택적으로 Slack을 설정합니다.
onboarding
16k새 사용자가 계정을 연결하고, 일하는 방식을 공유하고, 목소리를 고르고, 첫 도움 항목을 설정하도록 짧은 대화로 안내합니다.
admin
16k검증된 조직 관리자가 채팅에서 조직 전체 설정과 다른 범위를 확인하거나 바꿀 수 있게 하며, 각 변경은 적용 전에 확인받습니다.
browse
16k셸에서 실제 스텔스 브라우저를 구동해 로그인이나 양식 작성 같은 웹사이트 작업을 수행하며, 로그인 상태는 사람마다 따로 유지됩니다. 읽기가 아닌 작업용입니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.