authgear-server: Skill for Claude Code

.claude/skills/update-deps/SKILL.md

update-deps is a skill for Claude Code from authgear/authgear-server. It costs 39 tokens per session (3,131 once invoked), scanned A, a copy of amazon-alexa, Apache-2.0.

A workflow for checking and fixing known security problems in Go and Node.js dependencies, which are external software packages used by the project.

In plain words
What is it for?
Running Go and npm vulnerability checks, updating safe dependency versions, tidying modules, and reporting deferred major upgrades.
Why use it?
It identifies vulnerable packages and separates routine upgrades from major upgrades that may require compatibility decisions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is authgear/authgear-server's own configuration. It tells Claude Code how to work on authgear-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything authgear-server configures →

About the project

Authgear is an open-source identity and authentication service that provides login, account management, multi-factor authentication, passkeys, and single sign-on for applications. SaaS and mobile-app developers can run it themselves or use Authgear Cloud to manage consumer and enterprise user access. The catalogue entries relate to operating and configuring Authgear's authentication workflows.

authgear/authgear-server · 2,133 stars · on GitHub · authgear.com

Reuse

Borrowing it

Nothing to install: this file belongs to authgear/authgear-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/authgear/authgear-server/main/.claude/skills/update-deps/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/authgear/authgear-server

Made for: Claude Code.

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 update-deps

README.md
[![agentmods](https://agentmods.dev/badge/skills/authgear/authgear-server/update-deps/github.svg)](https://agentmods.dev/skills/authgear/authgear-server/update-deps)
Your own site
<a href="https://agentmods.dev/skills/authgear/authgear-server/update-deps"><img src="https://agentmods.dev/badge/skills/authgear/authgear-server/update-deps/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 update-deps

Your own site · 80×15
<a href="https://agentmods.dev/skills/authgear/authgear-server/update-deps"><img src="https://agentmods.dev/badge/skills/authgear/authgear-server/update-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,131 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.
Origin 81% copy Near-identical to another mod 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.00039 $0.03131
Opus 5.5 $0.00016 $0.01252
Sonnet 5.5 $0.00008 $0.00626
Haiku 4.5 $0.00004 $0.00313

Measured 2mo ago against content hash 16a67a2ee1f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-deps 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 2mo ago.

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.

Origin

This is a copy

81% identical to amazon-alexa — 204 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/update-deps/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit and fix dependency vulnerabilities in this project. Follow the steps below in order.

Step 1: Go Vulnerability Check

Run govulncheck in every Go module in the repository:

make govulncheck
cd custombuild && make govulncheck
cd e2e && make govulncheck
cd k6 && make govulncheck
cd packagetracker && make govulncheck

Use the module's own make govulncheck target if it exists; otherwise run go tool govulncheck ./... from that module root.

Parse the output:

  • If there are no vulnerabilities, note it and move on.
  • If there are vulnerabilities, for each affected module:
    1. Run go list -m -u <module> to find the latest available version.
    2. Compare the current version with the latest version:
    • If the major version changes (e.g. v1.x.x → v2.x.x), this is a major version upgrade. Generate a Breaking Change Report for it (see below), defer the upgrade, and continue with any other patchable work.
    • If only minor/patch version changes, proceed automatically.
    1. After all patchable fixes are applied and any deferred major upgrades have been presented to the user for a decision, run go get <module>@latest then go mod tidy in all relevant directories:
      • ./
      • ./custombuild
      • ./e2e
      • ./k6
      • ./packagetracker

Important:

  • go get <module>@latest is for Go module dependencies only. Do not use it to change the Go toolchain version.
  • If the requested fix is a Go version bump, update the repository's Go version files and generated inputs directly instead of trying to solve it with go get:
    • flake.nix
    • .tool-versions
    • go.mod
    • custombuild/go.mod
    • e2e/go.mod
    • k6/go.mod
    • packagetracker/go.mod.tpl
    • custombuild/cmd/authgearx/Dockerfile
    • custombuild/cmd/portalx/Dockerfile
    • cmd/portal/Dockerfile
    • cmd/authgear/Dockerfile
    • once/partial.dockerfile
    • regenerate once/Dockerfile with make once/Dockerfile
    • run make go-mod-tidy
  • If a Go version bump is needed, verify the repository-specific generation and build steps after editing the version files. Do not commit a toolchain bump that only changes go.mod without updating the other affected files.

Breaking Change Report for Go (major version bumps) must include:

  • Module name, current version → proposed version
  • Link to the module's changelog or migration guide if available (check the module's repository)
  • Known incompatibilities (import path changes, removed/renamed symbols)
  • Note that the upgrade is deferred until the end of the patchable-fix pass, then ask: "Do you want to apply this major version upgrade? (yes/no)"

After updating Go deps:

  • Run make build or go build ./... to verify the build.
  • If the build breaks, report the compiler errors and ask the user how to proceed. Do not commit.
  • If vulnerabilities cannot be fixed (no fix available), note them in an Unfixable Issues Report and notify the user.
  • If fixes were applied and build passes, stage and commit all affected Go module files, including go.sum, go.mod, custombuild/go.sum, custombuild/go.mod, e2e/go.sum, e2e/go.mod, k6/go.sum, k6/go.mod, and packagetracker/go.sum/packagetracker/go.mod when they change, with commit message: chore: fix Go dependency vulnerabilities

Read the full file on GitHub · 182 lines

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. 2mo ago First seen · 182 lines · 39 tokens per session scan A 16a67a2ee1f0

Subscribe to this mod's changes

update-deps is a skill published in the GitHub repository authgear/authgear-server (2,133 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 3,131 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 81% identical to amazon-alexa, differing in 204 lines, and is treated as a copy.