interactive-login

interactive-login is a skill for Claude Code, Codex from yc-software/qm. It costs 46 tokens per session (1,185 once invoked), scanned A, original, MIT.

Instructions for signing in to command-line services such as AWS, GitHub, GitLab, and Google Cloud when approval must happen in a browser. It covers cases where the browser and agent computer are different machines.

In plain words
What is it for?
Use it when a command-line tool needs an interactive login, especially AWS SSO with a device code, or when a login poller must survive while a person approves access.
Why use it?
Some sign-in methods wait for a browser approval that can fail or stop when the agent session ends. These instructions help the login continue through that round trip.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when a command-line tool needs an interactive login, especially AWS SSO with a device code, or when a login poller must survive while a person approves access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yc-software/qm/interactive-login
About the project

QM is a shared work environment for coding agents that gives each employee and conversation an isolated workspace while allowing collaboration in Slack and on the web. Startups use it to run agents for individuals, teams, and company operations, with selectable harnesses and models. The catalogue entries extend QM with skills, instructions, and settings.

yc-software/qm · 16,126 stars · on GitHub · labs.ycombinator.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yc-software/qm --skill interactive-login
Clone the repo
git clone --depth 1 https://github.com/yc-software/qm

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for interactive-login

README.md
[![agentmods](https://agentmods.dev/badge/skills/yc-software/qm/interactive-login/github.svg)](https://agentmods.dev/skills/yc-software/qm/interactive-login)
Your own site
<a href="https://agentmods.dev/skills/yc-software/qm/interactive-login"><img src="https://agentmods.dev/badge/skills/yc-software/qm/interactive-login/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for interactive-login

Your own site · 80×15
<a href="https://agentmods.dev/skills/yc-software/qm/interactive-login"><img src="https://agentmods.dev/badge/skills/yc-software/qm/interactive-login.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01185
Opus 5.5 $0.00018 $0.00474
Sonnet 5.5 $0.00009 $0.00237
Haiku 4.5 $0.00005 $0.00119

Measured 6d ago against content hash 1267a9e2a3dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

interactive-login scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/save-login.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-seed/interactive-login/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on 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.

One expiry, one code

A saved login is shared: every conversation that names its handle gets the same files. When it expires, it expires for all of them at once, and one approved code that gets saved fixes it for all of them. Asking the person twice for the same expiry is a mistake on your side.

  • Check before you ask, and again before you ask twice. Name the handle in execute.credentials and run the CLI's identity check (AWS: aws sts get-caller-identity --profile <profile>). Another conversation may have renewed the login while you waited.
  • A subagent does not start a sign-in. Report the expired login to whoever started you. The conversation that started you runs one sign-in and relays one code.
  • Don't send a second code until you know why the first approval didn't stick, and tell the person what happened.

How an approved code gets lost

A command that names a handle does not use your computer's home directory. It works on a private copy of the saved files. Its changes are saved back at most once, when that command or background job exits, and then the copy is deleted. That loses approved codes three ways:

  • The login outlives its command. This job exits after six seconds, before anyone can approve:

    nohup aws sso login --profile work --use-device-code --no-browser > /tmp/sso.log 2>&1 &
    sleep 6; cat /tmp/sso.log
    

    The login keeps waiting on its own. The person approves, the CLI prints "Successfully logged into Start URL", and the token goes into a copy that was already thrown away. A script that starts the login and returns does the same.

Read the full file on GitHub · 97 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · -5 lines 1267a9e2a3dd
  2. 7d ago Changed · +45 lines 9f339e442791
  3. 13d ago Changed · +4 lines 84b40e2af9d6
  4. 1mo ago Changed · +2 lines e0c3a4a077d3
  5. 1mo ago Changed · -1 lines 1fa8a8f79aef
  6. 1mo ago Changed · -33 lines f8efcda9f216
  7. 3mo ago First seen · 85 lines · 46 tokens per session scan A 4adc90342ddc

Subscribe to this mod's changes

interactive-login is a skill published in the GitHub repository yc-software/qm (16,126 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,185 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

interactive-login compared with skills from other repositories

interactive-login next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
vercel-sandboxvercel-labs/agent-browserSkill55ktodayApache-2.0A126Claude Code, Codex
agentcorevercel-labs/agent-browserSkill55ktodayApache-2.0A89Claude Code
crabbox-appsopenclaw/openclawSkill395ktodayMITA39Claude Code
cloud-image-bakeopenclaw/openclawSkill395ktodayMITA27Claude Code, Codex
create-payment-credentialvercel/eveSkill6.1ktodayApache-2.0A23Claude Code, Codex