auth-status
Skill10 starsChanged 56 days agoMITView on GitHub
Check CLI and ADC logins across providers: expiry, scopes, re-login commands.
- Reads credentials
In this repository101 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- skills/agent-project/templates/AGENTS.mdAGENTS.md
- skills/repository-docs/references/agents.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-loopsSkill
- agent-projectSkill
- agent-protocolsSkill
- agent-usageSkill
- agySkill
- airflowSkill
- ai-security-assessmentSkill
- api-clientSkill
- ast-grepSkill
- awsSkill
- benchmarkSkill
- bfSkill
- chrome-devtoolsSkill
- cli-developmentSkill
- clipboardSkill
- cloud-runSkill
- code-securitySkill
- colabSkill
- containerizeSkill
- course-developmentSkill
- databricksSkill
- data-migrationSkill
- delegate-tasksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-mailSkill
- duckdbSkill
- fact-checkSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- git-worktreeSkill
- google-developerSkill
- gwsSkill
- handoffSkill
- hfSkill
- implementation-planSkill
- incident-responseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Probe other named connectors: only those the task or user names, each read-only with its exit status checked:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Auth Status
Answer "am I logged in, until when, and what must I run?" with read-only probes, then hand the user the exact interactive command. dot doctor --deep owns the workstation probes; this skill adds the remaining connectors, scope coverage, and recovery. dot-cli authentication owns login policy, scopes, and account overrides; each connector skill owns its provider's account selection.
Workflow
Run the workstation probes:
dot doctor --deep --jsonchecks GitHub, the gcloud CLI, ADC, and Workspace with bounded probes and never prints tokens. Read only the auth group;conditiondistinguishesunauthenticatedfrombroken(state unknown) and flagsinsecurewhen gh keeps its token in plaintexthosts.yml.dot doctor --deep --json | jq -c '.checks[] | select(.group == "auth") | {name, status, condition, details}'- Check scope coverage: compare granted scopes with the configured policy (
dot config show, keysauth.github.scopesandauth.workspace.scopes). GitHub lists them ingh auth status --active --hostname github.com(the token is masked); Workspace ingws auth status | jq '{user, token_valid, has_refresh_token, scopes}'. A missing scope needs a new login even when the probe passes. Probe other named connectors: only those the task or user names, each read-only with its exit status checked:
Provider Probe Recovery Colab colab --auth adc sessions(allocates no VM; inspect stderr before trusting an empty list)dot login colabHugging Face hf auth whoamihf auth loginKaggle kaggle competitions list --page-size 1 >/dev/nullkaggle auth loginAWS SSO aws sts get-caller-identity --profile <profile> --no-cli-pageraws sso login --profile <profile>Databricks databricks auth profiles(validates each profile)databricks auth login --host <url> --profile <profile>Atlassian acli auth status; API-token Jira:acli jira auth statusacli auth login- Report only provider-exposed expiry: AWS SSO sessions:
jq -r '.expiresAt // empty' ~/.aws/sso/cache/*.json(never print the file). Google access tokens refresh hourly;invalid_grantor "reauthentication" means the refresh token expired or an organization session policy requires login. Hugging Face tokens do not expire unless revoked. Otherwise write "unknown"; never infer expiry from file dates. Check environment overrides: environment credentials win over stored logins. Report presence only, never values:
for name in GH_TOKEN GITHUB_TOKEN GOOGLE_APPLICATION_CREDENTIALS CLOUDSDK_AUTH_ACCESS_TOKEN_FILE \ GOOGLE_WORKSPACE_CLI_TOKEN HF_TOKEN KAGGLE_API_TOKEN AWS_PROFILE DATABRICKS_TOKEN; do [ -n "$(printenv "$name")" ] && echo "$name is set" done- Report and hand off: one table of provider, account (no token), status, scopes gap, expiry, and next action. Browser logins are interactive: give each as
! <command>for the user to run in the session, preferringdot login allordot login github|workspace|gcp|colabover native commands. When the user says they logged in, re-run only the failed probes.
Gotchas
- Never print secrets: no
print-access-token,hf auth token,kaggle auth print-access-token,kaggle config view,aws configure export-credentials, or--show-tokenin a transcript; dot's probes capture token output internally. - Exit 0 is not proof:
gh auth status --jsonand Colab can succeed while reporting a failure; read the state and stderr. - Native ADC logins drop Colab scope: a native ADC login (
gcloud auth application-default login,gcloud auth login --update-adc) replaces the grant and drops the Colab scope;dot login gcp|colabrequestauth.gcp.adc_scopes, which keeps it. Rundot login colabto restore it (Colab ADC). - Probing is read-only: logging in, switching accounts, adding scopes, or editing
dotconfiguration needs the user.
Documentation
- gh auth status · gcloud auth · AWS SSO
- Companion skills: dot-cli (login and setup), gcloud, gh, gws, colab.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

