atlan-python: Skill for Claude Code

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

upgrade-deps is a skill for Claude Code from atlanhq/atlan-python. It costs 19 tokens per session (1,050 once invoked), scanned C, original, Apache-2.0.

A workflow for updating the pyatlan Python SDK’s direct package dependencies and GitHub Actions, which automate tasks such as testing and releases.

In plain words
What is it for?
Use it to check direct dependencies, choose compatible versions, update the project lock file and workflow files, and use uv for Python package operations.
Why use it?
It finds outdated packages while respecting the project’s Python 3.9 support, avoiding upgrades that require a newer Python version.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is atlanhq/atlan-python's own configuration. It tells Claude Code how to work on atlan-python 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 atlan-python configures →

Reuse

Borrowing it

Nothing to install: this file belongs to atlanhq/atlan-python. 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/atlanhq/atlan-python/main/.claude/skills/upgrade-deps/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/atlanhq/atlan-python

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/atlanhq/atlan-python/upgrade-deps"><img src="https://agentmods.dev/badge/skills/atlanhq/atlan-python/upgrade-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00019 $0.01050
Opus 5.5 $0.00008 $0.00420
Sonnet 5.5 $0.00004 $0.00210
Haiku 4.5 $0.00002 $0.00105

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

Security

Grade C, and why

upgrade-deps scanned grade C with 2 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 1mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://pypi.org/pypi/<package>/<new-version>/json | python3 -c "import json,sys; d=json.load(sys.stdin); print(d['info']['requires_python'])"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://pypi.org/pypi/<package>/<new-version>/json | python3 -c "import json,sys; d=json.load(sys.stdin); print(d['info']['requires_python'])"
.claude/skills/upgrade-deps/SKILL.md · 141 lines

How it starts

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

Upgrade all dependencies for the pyatlan Python SDK. Follow these steps carefully.

Context

  • The project supports Python >=3.9, so skip any package version that requires Python >=3.10 or higher
  • Use uv for all Python package operations
  • Workflow files are in .github/workflows/
  • Dependencies are managed in pyproject.toml and locked in uv.lock

Step 1 — Find outdated Python packages

Run:

uv pip list --outdated

Cross-reference the output with the direct dependencies pinned in pyproject.toml (sections: dependencies, dev, docs). Ignore transitive dependencies — only update packages that are explicitly listed in pyproject.toml.


Step 2 — Check Python version compatibility for each outdated package

For every package identified in Step 1, check its requires_python field:

curl -s https://pypi.org/pypi/<package>/<new-version>/json | python3 -c "import json,sys; d=json.load(sys.stdin); print(d['info']['requires_python'])"

Rules:

  • If requires_python is >=3.9 or lower (or None) → safe to upgrade
  • If requires_python is >=3.10 or higher → check if an older compatible version exists:
    curl -s https://pypi.org/pypi/<package>/json | python3 -c "
    import json, sys
    d = json.load(sys.stdin)
    for v in sorted(d['releases'].keys(), reverse=True)[:10]:
        rels = d['releases'][v]
        if rels:
            rp = rels[0].get('requires_python','')
            print(f'{v}: {rp}')
    "
    
    Pick the highest version that supports Python 3.9. If already at that version, skip it.
  • Packages already conditioned in pyproject.toml with ; python_version >= '3.10' (like filelock) can be upgraded freely since they only install on 3.10+

Step 3 — Update pyproject.toml

For each package that can be safely upgraded, update its version pin in pyproject.toml.

Keep the same ~=X.Y.Z pinning style as used by other packages in the file.


Step 4 — Upgrade GitHub Actions

Scan all workflow files in .github/workflows/ for uses: lines:

grep -rh "uses:" .github/workflows/ | sort -u

Read the full file on GitHub · 141 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. 1mo ago First seen · 141 lines · 19 tokens per session scan C 73d050b99a08

Subscribe to this mod's changes

upgrade-deps is a skill published in the GitHub repository atlanhq/atlan-python (21 stars, last pushed yesterday), licensed Apache-2.0. It adds 19 tokens to every session and 1,050 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

azure-identity-py

Azure Identity SDK for Python authentication with Microsoft Entra ID. Use for DefaultAzureCredential, managed identity, service principals, and token caching. Triggers: "azure-identity", "DefaultAzureCredential", "authentication", "managed identity", "service principal", "credential".

microsoft/skills · 60 tokens

m365-agents-py

Microsoft 365 Agents SDK for Python. Build multichannel agents for Teams/M365/Copilot Studio with aiohttp hosting, AgentApplication routing, streaming responses, and MSAL-based auth. Triggers: "Microsoft 365 Agents SDK", "microsoftagents", "AgentApplication", "startagentprocess", "TurnContext", "Copilot Studio…

microsoft/skills · 83 tokens

azure-eventhub-py

Azure Event Hubs SDK for Python streaming. Use for high-throughput event ingestion, producers, consumers, and checkpointing. Triggers: "event hubs", "EventHubProducerClient", "EventHubConsumerClient", "streaming", "partitions".

microsoft/skills · 57 tokens

azure-keyvault-py

Azure Key Vault SDK for Python. Use for secrets, keys, and certificates management with secure storage. Triggers: "key vault", "SecretClient", "KeyClient", "CertificateClient", "secrets", "encryption keys".

microsoft/skills · 53 tokens

azure-messaging-webpubsubservice-py

Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".

microsoft/skills · 64 tokens

azure-mgmt-apicenter-py

Azure API Center Management SDK for Python. Use for managing API inventory, metadata, and governance across your organization. Triggers: "azure-mgmt-apicenter", "ApiCenterMgmtClient", "API Center", "API inventory", "API governance".

microsoft/skills · 59 tokens