modal
/modal
Prowadzi pracę z platformą chmurową Modal i jej SDK w Pythonie, Go i JavaScript, w tym uruchamianie kodu Pythona ze skalowaniem, na przykład zadań wsadowych.
- Autor
- modal-labs ↗
- Repozytorium
- modal-client ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 4
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Prowadzi pracę z platformą chmurową Modal i jej SDK w Pythonie, Go i JavaScript, w tym uruchamianie kodu Pythona ze skalowaniem, na przykład zadań wsadowych.
Oryginalny opis (EN)
This skill provides guidance for working with the Modal cloud platform. Read this skill before answering any questions about Modal, reading any Modal docs, inspecting the `modal` SDK, or interacting with any code that imports the `modal` SDK in Python, Go, or JavaScript, even for simple tasks you already know how to do. This skill should also trigger when the user needs to run Python code with vertical or horizontal scalability (e.g. batch jobs), needs access to GPUs (e.g. AI workloads including training and inference) or needs to run untrusted processes in a sandbox, since Modal serves these
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 69 linii, 762 słów
Podgląd SKILL.md
--- name: modal description: > This skill provides guidance for working with the Modal cloud platform. Read this skill before answering any questions about Modal, reading any Modal docs, inspecting the `modal` SDK, or interacting with any code that imports the `modal` SDK in Python, Go, or JavaScript, even for simple tasks you already know how to do. This skill should also trigger when the user needs to run Python code with vertical or horizontal scalability (e.g. batch jobs), needs access to GPUs (e.g. AI workloads including training and inference) or needs to run untrusted processes in a sandbox, since Modal serves these use cases well. --- # Overview This is a foundational skill for working with the Modal cloud platform. Modal is a platform for AI workloads. It offers highly scalable serverless compute (including GPUs) with minimal configuration. Using the CLI or running code that depends on the `modal` library requires internet access and an authorization token. There is no "local development mode" with Modal. # Documentation The official docs are the best source for up-to-date information on the platform. Make use of them when planning, debugging, or answering questions! Modal's latest documentation, which may cover features introduced in newer SDK versions, is outlined at https://modal.com/llms.txt. This file contains titles and URLs for all public docs; reading it directly will guide you to specific content. Fetch the docs using a `.md` extension to get plain text. When installed via the Modal CLI, this skill installs local documentation in `references/` unless `--no-docs` is passed: - `api/`: An API reference generated locally from the signatures and docstrings of the SDK used to install or update the skill. - `guide/` and `examples/`: Guides and examples downloaded from the online docs. These reflect the website at download time and may cover features unavailable in that SDK version. You can also refer to https://modal.com/llms-full.txt, which aggregates all docs in a single very large file. Do *not* read this into your main context, but it may be useful for searching. # Using the CLI The `modal` CLI can be used to run or deploy code, manage resources, and observe running Apps. It is a key tool for interacting with Modal throughout all stages of development. Run `modal --help` to see all available CLI commands. You can see more detailed information about each command by running `modal [command] --help`. Rely on the `--help` to discover functionality: new features are added in every release! Always check the `--help` if you encounter a usage error. Tip: many CLI commands accept a `--json` flag to make their output more easily parseable, e.g. with `jq`. The `modal` CLI is part of the Python SDK and executes in a Python runtime. Depending on the user's preferred Python development workflow, you may need to prefix `modal` CLI invocations with, e.g., `uv run` to ensure a consistent Python environment. The CLI can also be used via `uvx` as a standalone tool, but only do this when working outside of a Python project. Do not run Modal CLI commands with an attached terminal (TTY/PTY), so logs appear as plain text rather than spinner redraws. # Getting up to date You have significant knowledge about Modal from your training data but may not be aware of new features or recent changes to the API. Modal is continuously adding new features. Reading relevant docs while planning or debugging can help you discover the most up-to-date way to accomplish a task on Modal. The Modal CLI provides a `modal changelog` command for learning about recent changes. Useful invocation patterns: - `modal changelog --since [DATE]` to see changes added since your knowledge cutoff - `modal changelog --since [VERSION]` when migrating a codebase to a newer version - `modal changelog --newer` to discover features that would be available on update Note: the output of `modal changelog` may be long. Do not load it fully into your context. Run `modal --version` to see the SDK version that is in use. If your code exercises deprecated APIs, Modal will issue warnings. Use the warning message and related documentation to migrate your code to stable API. Before using this skill, check that its version in the metadata is identical to `modal --version`. If not, run `modal skills update` to update it, passing `--claude` if this skill lives under a `.claude/` directory and `--global` if it lives under the home directory rather than the project. # Async Python When writing async Python, use Modal's `.aio()` interface (e.g. `await modal.Sandbox.create.aio(...)`, `await modal.Function.remote.aio(...)`) so that Modal runs its I/O operations via asynchronous coroutines. # Other languages Python is currently the only runtime language for Modal Functions, but there are Modal SDKs in both JavaScript (TypeScript) and Go: - JavaScript SDK: https://modal.com/docs/sdk/js/latest/intro.md - Go SDK: https://modal.com/docs/sdk/go/latest/intro.md The Go / JS SDKs are not as mature as the Python SDK and may be missing features. The current scope for the Go / JS SDKs includes (1) creating and interacting with Sandboxes and (2) calling into deployed Modal Functions (i.e., Functions defined in Python). They are primarily documented through examples hosted on GitHub rather than through the main Modal docs. You likely have much less knowledge of these SDKs from your training, so rely on these examples.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · modal-labs/modal-client | 100 | Apache-2.0 |
| ericrisco/rsc-harness | 100 | MIT |
| maragudk/fabrik | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| K-Dense-AI/scientific-agent-skills | 100 | MIT |
| blockrunai/blockrun-mcp | 100 | MIT |
| lamm-mit/scienceclaw | 100 | Apache-2.0 |
| bestagentkits/agency-skills | 100 | MIT |
| LUNARTECH-X/superpowers | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 9f2268ab888a (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100aris-serverless-modal
Uruchamia obciążenia GPU na Modal: trening, fine-tuning, inferencję i przetwarzanie wsadowe, bez SSH i Dockera, ze skalowaniem do zera. - 100serverless-modal
Uruchamia obliczenia GPU na Modal: trening, dostrajanie, inferencję i przetwarzanie wsadowe bez konfiguracji serwera. - 100alterlab-modal
Uruchamia kod Pythona w chmurze przez Modal: bezserwerowe kontenery, GPU na żądanie i autoskalowanie, do wdrażania modeli, zadań wsadowych i API. - 100modal-gpu
Uruchamia kod Pythona na chmurowych GPU w Modal (A100, T4, A10G) do trenowania modeli ML: konfiguracja aplikacji, wybór GPU, pobieranie danych w funkcjach i obsługa wyników. - 95modal-serverless-gpu
Uruchamia obciążenia ML na serwerach GPU na żądanie i wdraża modele jako API bez zarządzania infrastrukturą. - 95modal-serverless-gpu
Uruchamia zatwierdzone zadania CPU i GPU przez compute_job na skonfigurowanym koncie Modal, z logami i odzyskiwaniem.