[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MAGANSRCGXTG7R880VKVPF":3,"skill-same:01M6MAGANSRCGXTG7R880VKVPF":148},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":75,"commitSha":76,"skillDirectory":77,"forksCount":78,"repositoryHtmlUrl":79,"repositoryHomepageUrl":80,"ownerHtmlUrl":81,"ownerBlogUrl":82,"ownerDescription":83,"updatedAt":84,"install":85,"resources":97},"01M6MAGANSRCGXTG7R880VKVPF","modal",null,"Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI\u002FML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"use","serving","for","python code","true","URL","data-science","id","false","platform","scaling","token","endpoints","scheduling","models","python","model","serverless","tuning","data","Fine-Tuning","examples","batch","database","code","deployment","training","inference","containers","2026-11-10 10:12:30",false,"---\nname: modal\ndescription: Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI\u002FML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.\nlicense: Apache-2.0\nmetadata:\n  version: '1.3'\n  category: data-science-and-ml\n  maintainer: Kalaris Labs\n  openclaw:\n    envVars:\n    - name: MODAL_TOKEN_ID\n      required: true\n      description: Modal token id.\n    - name: MODAL_TOKEN_SECRET\n      required: true\n      description: Modal token secret.\n    - name: DATABASE_URL\n      required: false\n      description: Optional database URL for examples.\n  tags: serverless GPU, cloud computing, model deployment, ML inference\n---\n\n# Modal\n\n## Overview\n\nModal is a cloud platform for running Python code serverlessly, with a focus on AI\u002FML workloads. Key capabilities:\n- **GPU compute** on demand (T4, L4, A10, L40S, A100, H100, H200, B200)\n- **Serverless functions** with autoscaling from zero to thousands of containers\n- **Custom container images** built entirely in Python code\n- **Persistent storage** via Volumes for model weights and datasets\n- **Web endpoints** for serving models and APIs\n- **Scheduled jobs** via cron or fixed intervals\n- **Sub-second cold starts** for low-latency inference\n\nEverything in Modal is defined as code — no YAML, no Dockerfiles required (though both are supported).\n\n## When to Use This Skill\n\nUse this skill when:\n- Deploy or serve AI\u002FML models in the cloud\n- Run GPU-accelerated computations (training, inference, fine-tuning)\n- Create serverless web APIs or endpoints\n- Scale batch processing jobs in parallel\n- Schedule recurring tasks (data pipelines, retraining, scraping)\n- Need persistent cloud storage for model weights or datasets\n- Want to run code in custom container environments\n- Build job queues or async task processing systems\n\n## Installation and Authentication\n\n### Install\n\n```bash\nuv pip install modal\n```\n\nThe Modal Python SDK supports Python 3.10–3.14. This skill targets the stable `modal>=1.0` API (current release: 1.4.x).\n\n### Authenticate\n\nPrefer existing credentials before creating new ones. Only the two Modal-specific\nvariables below are relevant — do not read, load, or expose any other environment\nvariables or `.env` file contents:\n\n1. Check whether `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET` are already set in the current environment.\n2. If not, look up only those two keys in a local `.env` file (ignore all other entries) and load them if appropriate for the workflow.\n3. Only fall back to interactive `modal setup` or generating fresh tokens if neither source already provides those two values.\n\n```bash\nmodal setup\n```\n\nThis opens a browser for authentication. For CI\u002FCD or headless environments, use environment variables:\n\n```bash\nexport MODAL_TOKEN_ID=\u003Cyour-token-id>\nexport MODAL_TOKEN_SECRET=\u003Cyour-token-secret>\n```\n\nIf tokens are not already available in the environment or `.env`, generate them at https:\u002F\u002Fmodal.com\u002Fsettings\n\nModal offers a free tier with $30\u002Fmonth in credits.\n\n**Reference**: See `references\u002Fgetting-started.md` for detailed setup and first app walkthrough.\n\n## Core Concepts\n\n### App and Functions\n\nA Modal `App` groups related functions. Functions decorated with `@app.function()` run remotely in the cloud:\n\n```python\nimport modal\n\napp = modal.App(\"my-app\")\n\n@app.function()\ndef square(x):\n    return x ** 2\n\n@app.local_entrypoint()\ndef main():\n    # .remote() runs in the cloud\n    print(square.remote(42))\n```\n\nRun with `modal run script.py`. Deploy with `modal deploy script.py`.\n\n**Reference**: See `references\u002Ffunctions.md` for lifecycle hooks, classes, `.map()`, `.spawn()`, and more.\n\n### Container Images\n\nModal builds container images from Python code. The recommended package installer is `uv`:\n\n```python\nimage = (\n    modal.Image.debian_slim(python_version=\"3.11\")\n    .uv_pip_install(\"torch==2.12.0\", \"transformers==5.9.0\", \"accelerate==1.13.0\")\n    .apt_install(\"git\")\n)\n\n@app.function(image=image)\ndef inference(prompt):\n    from transformers import pipeline\n    pipe = pipeline(\"text-generation\", model=\"meta-llama\u002FLlama-3-8B\")\n    return pipe(prompt)\n```\n\nKey image methods:\n- `.uv_pip_install()` — Install Python packages with uv (recommended)\n- `.pip_install()` — Install with pip (fallback)\n- `.apt_install()` — Install system packages\n- `.run_commands()` — Run shell commands during build\n- `.run_function()` — Run Python during build (e.g., download model weights)\n- `.add_local_python_source()` — Add local modules\n- `.env()` — Set environment variables\n\n**Reference**: See `references\u002Fimages.md` for Dockerfiles, micromamba, caching, GPU build steps.\n\n### GPU Compute\n\nRequest GPUs via the `gpu` parameter:\n\n```python\n@app.function(gpu=\"H100\")\ndef train_model():\n    import torch\n    device = torch.device(\"cuda\")\n    # GPU training code here\n\n# Multiple GPUs\n@app.function(gpu=\"H100:4\")\ndef distributed_training():\n    ...\n\n# GPU fallback chain\n@app.function(gpu=[\"H100\", \"A100-80GB\", \"A100-40GB\"])\ndef flexible_inference():\n    ...\n```\n\nAvailable GPUs: T4, L4, A10, L40S, A100-40GB, A100-80GB, RTX-PRO-6000, H100, H200, B200, B200+\n\n- GPUs are always specified as **strings** (e.g. `gpu=\"H100\"`, `gpu=\"H100:4\"`). The old `modal.gpu.*` objects are deprecated as of v0.73.31.\n- Up to 8 GPUs per container (except A10: up to 4)\n- L40S is recommended for inference (cost\u002Fperformance balance, 48 GB VRAM)\n- H100\u002FA100 can be auto-upgraded to H200\u002FA100-80GB at no extra cost\n- Use `gpu=\"H100!\"` to prevent auto-upgrade\n\n**Reference**: See `references\u002Fgpu.md` for GPU selection guidance and multi-GPU training.\n\n### Volumes (Persistent Storage)\n\nVolumes provide distributed, persistent file storage:\n\n```python\nvol = modal.Volume.from_name(\"model-weights\", create_if_missing=True)\n\n@app.function(volumes={\"\u002Fdata\": vol})\ndef save_model():\n    # Write to the mounted path\n    with open(\"\u002Fdata\u002Fmodel.pt\", \"wb\") as f:\n        torch.save(model.state_dict(), f)\n\n@app.function(volumes={\"\u002Fdata\": vol})\ndef load_model():\n    model.load_state_dict(torch.load(\"\u002Fdata\u002Fmodel.pt\"))\n```\n\n- Optimized for write-once, read-many workloads (model weights, datasets)\n- CLI access: `modal volume ls`, `modal volume put`, `modal volume get`\n- Background auto-commits every few seconds\n- Mount read-only or limit to a subdirectory with `vol.with_mount_options(read_only=True, sub_path=\"subset\")`\n\n**Reference**: See `references\u002Fvolumes.md` for v2 volumes, concurrent writes, and best practices.\n\n### Secrets\n\nSecurely pass credentials to functions:\n\n```python\n@app.function(secrets=[modal.Secret.from_name(\"my-api-keys\")])\ndef call_api():\n    import os\n    api_key = os.environ[\"API_KEY\"]\n    # Use the key\n```\n\nCreate secrets via CLI: `modal secret create my-api-keys API_KEY=sk-xxx`\n\nOr from a `.env` file: `modal.Secret.from_dotenv()`\n\n**Reference**: See `references\u002Fsecrets.md` for dashboard setup, multiple secrets, and templates.\n\n### Web Endpoints\n\nServe models and APIs as web endpoints:\n\n```python\n@app.function()\n@modal.fastapi_endpoint()\ndef predict(text: str):\n    return {\"result\": model.predict(text)}\n```\n\n- `modal serve script.py` — Development with hot reload and temporary URL\n- `modal deploy script.py` — Production deployment with permanent URL\n- Supports FastAPI, ASGI (Starlette, FastHTML), WSGI (Flask, Django), WebSockets\n- Request bodies up to 4 GiB, unlimited response size\n\n**Reference**: See `references\u002Fweb-endpoints.md` for ASGI\u002FWSGI apps, streaming, auth, and WebSockets.\n\n### Scheduled Jobs\n\nRun functions on a schedule:\n\n```python\n@app.function(schedule=modal.Cron(\"0 9 * * *\"))  # Daily at 9 AM UTC\ndef daily_pipeline():\n    # ETL, retraining, scraping, etc.\n    ...\n\n@app.function(schedule=modal.Period(hours=6))\ndef periodic_check():\n    ...\n```\n\nDeploy with `modal deploy script.py` to activate the schedule.\n\n- `modal.Cron(\"...\")` — Standard cron syntax, stable across deploys\n- `modal.Period(hours=N)` — Fixed interval, resets on redeploy\n- Monitor runs in the Modal dashboard\n\n**Reference**: See `references\u002Fscheduled-jobs.md` for cron syntax and management.\n\n### Scaling and Concurrency\n\nModal autoscales containers automatically. Configure limits:\n\n```python\n@app.function(\n    max_containers=100,    # Upper limit\n    min_containers=2,      # Keep warm for low latency\n    buffer_containers=5,   # Reserve capacity\n    scaledown_window=300,  # Idle seconds before shutdown\n)\ndef process(data):\n    ...\n```\n\nProcess inputs in parallel with `.map()`:\n\n```python\nresults = list(process.map([item1, item2, item3, ...]))\n```\n\nEnable concurrent request handling per container with `@modal.concurrent`. Set\n`target_inputs` (the autoscaler's per-container target) below `max_inputs` (the hard\ncap) to keep headroom while scaling up:\n\n```python\n@app.function()\n@modal.concurrent(max_inputs=10, target_inputs=8)\nasync def handle_request(req):\n    ...\n```\n\nReconfigure a deployed Function or Cls at invocation time without redeploying using\n`Function.with_options()` \u002F `Function.with_concurrency()` \u002F `Function.with_batching()`\n(and `Cls.with_options()`):\n\n```python\nModel = modal.Cls.from_name(\"my-app\", \"Model\")\nfast = Model.with_options(gpu=\"H200\", max_containers=20)\nfast().generate.remote(prompt)\n```\n\n**Reference**: See `references\u002Fscaling.md` for `.map()`, `.starmap()`, `.spawn()`, and limits.\n\n### Resource Configuration\n\n```python\n@app.function(\n    cpu=4.0,              # Physical cores (not vCPUs)\n    memory=16384,         # MiB\n    ephemeral_disk=51200, # MiB (up to 3 TiB)\n    timeout=3600,         # Seconds\n)\ndef heavy_computation():\n    ...\n```\n\nDefaults: 0.125 CPU cores, 128 MiB memory. Billed on max(request, usage).\n\n**Reference**: See `references\u002Fresources.md` for limits and billing details.\n\n## Classes with Lifecycle Hooks\n\nFor stateful workloads (e.g., loading a model once and serving many requests):\n\n```python\n@app.cls(gpu=\"L40S\", image=image)\nclass Predictor:\n    @modal.enter()\n    def load_model(self):\n        self.model = load_heavy_model()  # Runs once on container start\n\n    @modal.method()\n    def predict(self, text: str):\n        return self.model(text)\n\n    @modal.exit()\n    def cleanup(self):\n        ...  # Runs on container shutdown\n```\n\nCall with: `Predictor().predict.remote(\"hello\")`\n\n## Sandboxes\n\nFor running untrusted or dynamically generated code (for example, AI-agent output or a code interpreter), use a `modal.Sandbox` — an isolated container you create and control programmatically rather than a decorated Function:\n\n```python\napp = modal.App.lookup(\"sandbox-demo\", create_if_missing=True)\n\n# Isolated container; restrict egress for untrusted workloads\nsb = modal.Sandbox.create(\n    app=app,\n    image=modal.Image.debian_slim(),\n    outbound_cidr_allowlist=[\"10.0.0.0\u002F8\"],\n)\n\n# Stream files in\u002Fout via the filesystem API (beta)\nsb.filesystem.write_text(\"print(2 ** 10)\\n\", \"\u002Ftmp\u002Fjob.py\")\ncontents = sb.filesystem.read_text(\"\u002Ftmp\u002Fjob.py\")\n\nsb.terminate()\n```\n\n- Run commands inside the sandbox with its `exec` method (e.g. run `python \u002Ftmp\u002Fjob.py`) and read stdout from the returned process handle — see `references\u002Fapi_reference.md`\n- Restrict connectivity with `outbound_cidr_allowlist=[...]` \u002F `inbound_cidr_allowlist=[...]`\n- Snapshot the filesystem with `sb.snapshot_filesystem()` to reuse as a base image\n- Ideal for code interpreters, agent tool execution, and per-user isolation\n\n## Common Workflow Patterns\n\n### GPU Model Inference Service\n\n```python\nimport modal\n\napp = modal.App(\"llm-service\")\n\nimage = (\n    modal.Image.debian_slim(python_version=\"3.11\")\n    .uv_pip_install(\"vllm\")\n)\n\n@app.cls(gpu=\"H100\", image=image, min_containers=1)\nclass LLMService:\n    @modal.enter()\n    def load(self):\n        from vllm import LLM\n        self.llm = LLM(model=\"meta-llama\u002FLlama-3-70B\")\n\n    @modal.method()\n    @modal.fastapi_endpoint(method=\"POST\")\n    def generate(self, prompt: str, max_tokens: int = 256):\n        outputs = self.llm.generate([prompt], max_tokens=max_tokens)\n        return {\"text\": outputs[0].outputs[0].text}\n```\n\n### Batch Processing Pipeline\n\n```python\napp = modal.App(\"batch-pipeline\")\nvol = modal.Volume.from_name(\"pipeline-data\", create_if_missing=True)\n\n@app.function(volumes={\"\u002Fdata\": vol}, cpu=4.0, memory=8192)\ndef process_chunk(chunk_id: int):\n    import pandas as pd\n    df = pd.read_parquet(f\"\u002Fdata\u002Finput\u002Fchunk_{chunk_id}.parquet\")\n    result = heavy_transform(df)\n    result.to_parquet(f\"\u002Fdata\u002Foutput\u002Fchunk_{chunk_id}.parquet\")\n    return len(result)\n\n@app.local_entrypoint()\ndef main():\n    chunk_ids = list(range(100))\n    results = list(process_chunk.map(chunk_ids))\n    print(f\"Processed {sum(results)} total rows\")\n```\n\n### Scheduled Data Pipeline\n\n```python\napp = modal.App(\"etl-pipeline\")\n\n@app.function(\n    schedule=modal.Cron(\"0 *\u002F6 * * *\"),  # Every 6 hours\n    secrets=[modal.Secret.from_name(\"db-credentials\")],\n)\ndef etl_job():\n    import os\n    db_url = os.environ[\"DATABASE_URL\"]\n    # Extract, transform, load\n    ...\n```\n\n## CLI Reference\n\n| Command | Description |\n|---------|-------------|\n| `modal setup` | Authenticate with Modal |\n| `modal run script.py` | Run a script's local entrypoint |\n| `modal serve script.py` | Dev server with hot reload |\n| `modal deploy script.py` | Deploy to production |\n| `modal volume ls \u003Cname>` | List files in a volume |\n| `modal volume put \u003Cname> \u003Cfile>` | Upload file to volume |\n| `modal volume get \u003Cname> \u003Cfile>` | Download file from volume |\n| `modal secret create \u003Cname> K=V` | Create a secret |\n| `modal secret list` | List secrets |\n| `modal app list` | List deployed apps |\n| `modal app stop \u003Cname>` | Stop a deployed app |\n\n## Security Notes\n\n- **Credentials:** Only `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET` are needed to authenticate. Do not read, log, or forward any other environment variables or `.env` entries.\n- **Subprocess \u002F custom servers:** Some patterns here (multi-GPU training launchers, `@modal.web_server` apps) call `subprocess.run`\u002F`subprocess.Popen` or shell commands during builds. Keep argument lists fixed and hardcoded. Never construct subprocess or shell arguments from unsanitized user input — pass untrusted values as data (files, env vars, stdin), not as command arguments.\n- **Untrusted code:** Run user- or model-generated code inside a `modal.Sandbox` (see above), not a regular Function, and restrict network access with CIDR allowlists.\n\n## Reference Files\n\nDetailed documentation for each topic:\n\n- `references\u002Fgetting-started.md` — Installation, authentication, first app\n- `references\u002Ffunctions.md` — Functions, classes, lifecycle hooks, remote execution\n- `references\u002Fimages.md` — Container images, package installation, caching\n- `references\u002Fgpu.md` — GPU types, selection, multi-GPU, training\n- `references\u002Fvolumes.md` — Persistent storage, file management, v2 volumes\n- `references\u002Fsecrets.md` — Credentials, environment variables, dotenv\n- `references\u002Fweb-endpoints.md` — FastAPI, ASGI\u002FWSGI, streaming, auth, WebSockets\n- `references\u002Fscheduled-jobs.md` — Cron, periodic schedules, management\n- `references\u002Fscaling.md` — Autoscaling, concurrency, .map(), limits\n- `references\u002Fresources.md` — CPU, memory, disk, timeout configuration\n- `references\u002Fexamples.md` — Common use cases and patterns\n- `references\u002Fapi_reference.md` — Key API classes and methods\n\nRead these files when detailed information is needed beyond this overview.\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the Python environment and library versions (`python -c \"import pkg; print(pkg.__version__)\"`) and inspect the data's shape, types and missing values.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run on a sample or a single fold first and check runtime and memory.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Use held-out data, fixed random seeds and appropriate metrics; check for leakage; report uncertainty (CIs, std over seeds).\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Out-of-memory or very slow execution | Subsample, use chunked or lazy computation, or reduce model size, and tell the user what changed. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Never report a metric you did not compute in this session; show the code path that produced every number.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `modal-serverless-gpu`: Serverless GPU cloud platform for running ML workloads.\n- `tensorrt-llm`: Optimizes LLM inference with NVIDIA TensorRT for maximum throughput and lowest latency.\n- `serving-llms-vllm`: Serves LLMs with high throughput using vLLM's PagedAttention and continuous batching.\n","# Modal\n\n## Overview\n\nModal is a cloud platform for running Python code serverlessly, with a focus on AI\u002FML workloads. Key capabilities:\n- **GPU compute** on demand (T4, L4, A10, L40S, A100, H100, H200, B200)\n- **Serverless functions** with autoscaling from zero to thousands of containers\n- **Custom container images** built entirely in Python code\n- **Persistent storage** via Volumes for model weights and datasets\n- **Web endpoints** for serving models and APIs\n- **Scheduled jobs** via cron or fixed intervals\n- **Sub-second cold starts** for low-latency inference\n\nEverything in Modal is defined as code — no YAML, no Dockerfiles required (though both are supported).\n\n## When to Use This Skill\n\nUse this skill when:\n- Deploy or serve AI\u002FML models in the cloud\n- Run GPU-accelerated computations (training, inference, fine-tuning)\n- Create serverless web APIs or endpoints\n- Scale batch processing jobs in parallel\n- Schedule recurring tasks (data pipelines, retraining, scraping)\n- Need persistent cloud storage for model weights or datasets\n- Want to run code in custom container environments\n- Build job queues or async task processing systems\n\n## Installation and Authentication\n\n### Install\n\n```bash\nuv pip install modal\n```\n\nThe Modal Python SDK supports Python 3.10–3.14. This skill targets the stable `modal>=1.0` API (current release: 1.4.x).\n\n### Authenticate\n\nPrefer existing credentials before creating new ones. Only the two Modal-specific\nvariables below are relevant — do not read, load, or expose any other environment\nvariables or `.env` file contents:\n\n1. Check whether `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET` are already set in the current environment.\n2. If not, look up only those two keys in a local `.env` file (ignore all other entries) and load them if appropriate for the workflow.\n3. Only fall back to interactive `modal setup` or generating fresh tokens if neither source already provides those two values.\n\n```bash\nmodal setup\n```\n\nThis opens a browser for authentication. For CI\u002FCD or headless environments, use environment variables:\n\n```bash\nexport MODAL_TOKEN_ID=\u003Cyour-token-id>\nexport MODAL_TOKEN_SECRET=\u003Cyour-token-secret>\n```\n\nIf tokens are not already available in the environment or `.env`, generate them at https:\u002F\u002Fmodal.com\u002Fsettings\n\nModal offers a free tier with $30\u002Fmonth in credits.\n\n**Reference**: See `references\u002Fgetting-started.md` for detailed setup and first app walkthrough.\n\n## Core Concepts\n\n### App and Functions\n\nA Modal `App` groups related functions. Functions decorated with `@app.function()` run remotely in the cloud:\n\n```python\nimport modal\n\napp = modal.App(\"my-app\")\n\n@app.function()\ndef square(x):\n    return x ** 2\n\n@app.local_entrypoint()\ndef main():\n    # .remote() runs in the cloud\n    print(square.remote(42))\n```\n\nRun with `modal run script.py`. Deploy with `modal deploy script.py`.\n\n**Reference**: See `references\u002Ffunctions.md` for lifecycle hooks, classes, `.map()`, `.spawn()`, and more.\n\n### Container Images\n\nModal builds container images from Python code. The recommended package installer is `uv`:\n\n```python\nimage = (\n    modal.Image.debian_slim(python_version=\"3.11\")\n    .uv_pip_install(\"torch==2.12.0\", \"transformers==5.9.0\", \"accelerate==1.13.0\")\n    .apt_install(\"git\")\n)\n\n@app.function(image=image)\ndef inference(prompt):\n    from transformers import pipeline\n    pipe = pipeline(\"text-generation\", model=\"meta-llama\u002FLlama-3-8B\")\n    return pipe(prompt)\n```\n\nKey image methods:\n- `.uv_pip_install()` — Install Python packages with uv (recommended)\n- `.pip_install()` — Install with pip (fallback)\n- `.apt_install()` — Install system packages\n- `.run_commands()` — Run shell commands during build\n- `.run_function()` — Run Python during build (e.g., download model weights)\n- `.add_local_python_source()` — Add local modules\n- `.env()` — Set environment variables\n\n**Reference**: See `references\u002Fimages.md` for Dockerfiles, micromamba, caching, GPU build steps.\n\n### GPU Compute\n\nRequest GPUs via the `gpu` parameter:\n\n```python\n@app.function(gpu=\"H100\")\ndef train_model():\n    import torch\n    device = torch.device(\"cuda\")\n    # GPU training code here\n\n# Multiple GPUs\n@app.function(gpu=\"H100:4\")\ndef distributed_training():\n    ...\n\n# GPU fallback chain\n@app.function(gpu=[\"H100\", \"A100-80GB\", \"A100-40GB\"])\ndef flexible_inference():\n    ...\n```\n\nAvailable GPUs: T4, L4, A10, L40S, A100-40GB, A100-80GB, RTX-PRO-6000, H100, H200, B200, B200+\n\n- GPUs are always specified as **strings** (e.g. `gpu=\"H100\"`, `gpu=\"H100:4\"`). The old `modal.gpu.*` objects are deprecated as of v0.73.31.\n- Up to 8 GPUs per container (except A10: up to 4)\n- L40S is recommended for inference (cost\u002Fperformance balance, 48 GB VRAM)\n- H100\u002FA100 can be auto-upgraded to H200\u002FA100-80GB at no extra cost\n- Use `gpu=\"H100!\"` to prevent auto-upgrade\n\n**Reference**: See `references\u002Fgpu.md` for GPU selection guidance and multi-GPU training.\n\n### Volumes (Persistent Storage)\n\nVolumes provide distributed, persistent file storage:\n\n```python\nvol = modal.Volume.from_name(\"model-weights\", create_if_missing=True)\n\n@app.function(volumes={\"\u002Fdata\": vol})\ndef save_model():\n    # Write to the mounted path\n    with open(\"\u002Fdata\u002Fmodel.pt\", \"wb\") as f:\n        torch.save(model.state_dict(), f)\n\n@app.function(volumes={\"\u002Fdata\": vol})\ndef load_model():\n    model.load_state_dict(torch.load(\"\u002Fdata\u002Fmodel.pt\"))\n```\n\n- Optimized for write-once, read-many workloads (model weights, datasets)\n- CLI access: `modal volume ls`, `modal volume put`, `modal volume get`\n- Background auto-commits every few seconds\n- Mount read-only or limit to a subdirectory with `vol.with_mount_options(read_only=True, sub_path=\"subset\")`\n\n**Reference**: See `references\u002Fvolumes.md` for v2 volumes, concurrent writes, and best practices.\n\n### Secrets\n\nSecurely pass credentials to functions:\n\n```python\n@app.function(secrets=[modal.Secret.from_name(\"my-api-keys\")])\ndef call_api():\n    import os\n    api_key = os.environ[\"API_KEY\"]\n    # Use the key\n```\n\nCreate secrets via CLI: `modal secret create my-api-keys API_KEY=sk-xxx`\n\nOr from a `.env` file: `modal.Secret.from_dotenv()`\n\n**Reference**: See `references\u002Fsecrets.md` for dashboard setup, multiple secrets, and templates.\n\n### Web Endpoints\n\nServe models and APIs as web endpoints:\n\n```python\n@app.function()\n@modal.fastapi_endpoint()\ndef predict(text: str):\n    return {\"result\": model.predict(text)}\n```\n\n- `modal serve script.py` — Development with hot reload and temporary URL\n- `modal deploy script.py` — Production deployment with permanent URL\n- Supports FastAPI, ASGI (Starlette, FastHTML), WSGI (Flask, Django), WebSockets\n- Request bodies up to 4 GiB, unlimited response size\n\n**Reference**: See `references\u002Fweb-endpoints.md` for ASGI\u002FWSGI apps, streaming, auth, and WebSockets.\n\n### Scheduled Jobs\n\nRun functions on a schedule:\n\n```python\n@app.function(schedule=modal.Cron(\"0 9 * * *\"))  # Daily at 9 AM UTC\ndef daily_pipeline():\n    # ETL, retraining, scraping, etc.\n    ...\n\n@app.function(schedule=modal.Period(hours=6))\ndef periodic_check():\n    ...\n```\n\nDeploy with `modal deploy script.py` to activate the schedule.\n\n- `modal.Cron(\"...\")` — Standard cron syntax, stable across deploys\n- `modal.Period(hours=N)` — Fixed interval, resets on redeploy\n- Monitor runs in the Modal dashboard\n\n**Reference**: See `references\u002Fscheduled-jobs.md` for cron syntax and management.\n\n### Scaling and Concurrency\n\nModal autoscales containers automatically. Configure limits:\n\n```python\n@app.function(\n    max_containers=100,    # Upper limit\n    min_containers=2,      # Keep warm for low latency\n    buffer_containers=5,   # Reserve capacity\n    scaledown_window=300,  # Idle seconds before shutdown\n)\ndef process(data):\n    ...\n```\n\nProcess inputs in parallel with `.map()`:\n\n```python\nresults = list(process.map([item1, item2, item3, ...]))\n```\n\nEnable concurrent request handling per container with `@modal.concurrent`. Set\n`target_inputs` (the autoscaler's per-container target) below `max_inputs` (the hard\ncap) to keep headroom while scaling up:\n\n```python\n@app.function()\n@modal.concurrent(max_inputs=10, target_inputs=8)\nasync def handle_request(req):\n    ...\n```\n\nReconfigure a deployed Function or Cls at invocation time without redeploying using\n`Function.with_options()` \u002F `Function.with_concurrency()` \u002F `Function.with_batching()`\n(and `Cls.with_options()`):\n\n```python\nModel = modal.Cls.from_name(\"my-app\", \"Model\")\nfast = Model.with_options(gpu=\"H200\", max_containers=20)\nfast().generate.remote(prompt)\n```\n\n**Reference**: See `references\u002Fscaling.md` for `.map()`, `.starmap()`, `.spawn()`, and limits.\n\n### Resource Configuration\n\n```python\n@app.function(\n    cpu=4.0,              # Physical cores (not vCPUs)\n    memory=16384,         # MiB\n    ephemeral_disk=51200, # MiB (up to 3 TiB)\n    timeout=3600,         # Seconds\n)\ndef heavy_computation():\n    ...\n```\n\nDefaults: 0.125 CPU cores, 128 MiB memory. Billed on max(request, usage).\n\n**Reference**: See `references\u002Fresources.md` for limits and billing details.\n\n## Classes with Lifecycle Hooks\n\nFor stateful workloads (e.g., loading a model once and serving many requests):\n\n```python\n@app.cls(gpu=\"L40S\", image=image)\nclass Predictor:\n    @modal.enter()\n    def load_model(self):\n        self.model = load_heavy_model()  # Runs once on container start\n\n    @modal.method()\n    def predict(self, text: str):\n        return self.model(text)\n\n    @modal.exit()\n    def cleanup(self):\n        ...  # Runs on container shutdown\n```\n\nCall with: `Predictor().predict.remote(\"hello\")`\n\n## Sandboxes\n\nFor running untrusted or dynamically generated code (for example, AI-agent output or a code interpreter), use a `modal.Sandbox` — an isolated container you create and control programmatically rather than a decorated Function:\n\n```python\napp = modal.App.lookup(\"sandbox-demo\", create_if_missing=True)\n\n# Isolated container; restrict egress for untrusted workloads\nsb = modal.Sandbox.create(\n    app=app,\n    image=modal.Image.debian_slim(),\n    outbound_cidr_allowlist=[\"10.0.0.0\u002F8\"],\n)\n\n# Stream files in\u002Fout via the filesystem API (beta)\nsb.filesystem.write_text(\"print(2 ** 10)\\n\", \"\u002Ftmp\u002Fjob.py\")\ncontents = sb.filesystem.read_text(\"\u002Ftmp\u002Fjob.py\")\n\nsb.terminate()\n```\n\n- Run commands inside the sandbox with its `exec` method (e.g. run `python \u002Ftmp\u002Fjob.py`) and read stdout from the returned process handle — see `references\u002Fapi_reference.md`\n- Restrict connectivity with `outbound_cidr_allowlist=[...]` \u002F `inbound_cidr_allowlist=[...]`\n- Snapshot the filesystem with `sb.snapshot_filesystem()` to reuse as a base image\n- Ideal for code interpreters, agent tool execution, and per-user isolation\n\n## Common Workflow Patterns\n\n### GPU Model Inference Service\n\n```python\nimport modal\n\napp = modal.App(\"llm-service\")\n\nimage = (\n    modal.Image.debian_slim(python_version=\"3.11\")\n    .uv_pip_install(\"vllm\")\n)\n\n@app.cls(gpu=\"H100\", image=image, min_containers=1)\nclass LLMService:\n    @modal.enter()\n    def load(self):\n        from vllm import LLM\n        self.llm = LLM(model=\"meta-llama\u002FLlama-3-70B\")\n\n    @modal.method()\n    @modal.fastapi_endpoint(method=\"POST\")\n    def generate(self, prompt: str, max_tokens: int = 256):\n        outputs = self.llm.generate([prompt], max_tokens=max_tokens)\n        return {\"text\": outputs[0].outputs[0].text}\n```\n\n### Batch Processing Pipeline\n\n```python\napp = modal.App(\"batch-pipeline\")\nvol = modal.Volume.from_name(\"pipeline-data\", create_if_missing=True)\n\n@app.function(volumes={\"\u002Fdata\": vol}, cpu=4.0, memory=8192)\ndef process_chunk(chunk_id: int):\n    import pandas as pd\n    df = pd.read_parquet(f\"\u002Fdata\u002Finput\u002Fchunk_{chunk_id}.parquet\")\n    result = heavy_transform(df)\n    result.to_parquet(f\"\u002Fdata\u002Foutput\u002Fchunk_{chunk_id}.parquet\")\n    return len(result)\n\n@app.local_entrypoint()\ndef main():\n    chunk_ids = list(range(100))\n    results = list(process_chunk.map(chunk_ids))\n    print(f\"Processed {sum(results)} total rows\")\n```\n\n### Scheduled Data Pipeline\n\n```python\napp = modal.App(\"etl-pipeline\")\n\n@app.function(\n    schedule=modal.Cron(\"0 *\u002F6 * * *\"),  # Every 6 hours\n    secrets=[modal.Secret.from_name(\"db-credentials\")],\n)\ndef etl_job():\n    import os\n    db_url = os.environ[\"DATABASE_URL\"]\n    # Extract, transform, load\n    ...\n```\n\n## CLI Reference\n\n| Command | Description |\n|---------|-------------|\n| `modal setup` | Authenticate with Modal |\n| `modal run script.py` | Run a script's local entrypoint |\n| `modal serve script.py` | Dev server with hot reload |\n| `modal deploy script.py` | Deploy to production |\n| `modal volume ls \u003Cname>` | List files in a volume |\n| `modal volume put \u003Cname> \u003Cfile>` | Upload file to volume |\n| `modal volume get \u003Cname> \u003Cfile>` | Download file from volume |\n| `modal secret create \u003Cname> K=V` | Create a secret |\n| `modal secret list` | List secrets |\n| `modal app list` | List deployed apps |\n| `modal app stop \u003Cname>` | Stop a deployed app |\n\n## Security Notes\n\n- **Credentials:** Only `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET` are needed to authenticate. Do not read, log, or forward any other environment variables or `.env` entries.\n- **Subprocess \u002F custom servers:** Some patterns here (multi-GPU training launchers, `@modal.web_server` apps) call `subprocess.run`\u002F`subprocess.Popen` or shell commands during builds. Keep argument lists fixed and hardcoded. Never construct subprocess or shell arguments from unsanitized user input — pass untrusted values as data (files, env vars, stdin), not as command arguments.\n- **Untrusted code:** Run user- or model-generated code inside a `modal.Sandbox` (see above), not a regular Function, and restrict network access with CIDR allowlists.\n\n## Reference Files\n\nDetailed documentation for each topic:\n\n- `references\u002Fgetting-started.md` — Installation, authentication, first app\n- `references\u002Ffunctions.md` — Functions, classes, lifecycle hooks, remote execution\n- `references\u002Fimages.md` — Container images, package installation, caching\n- `references\u002Fgpu.md` — GPU types, selection, multi-GPU, training\n- `references\u002Fvolumes.md` — Persistent storage, file management, v2 volumes\n- `references\u002Fsecrets.md` — Credentials, environment variables, dotenv\n- `references\u002Fweb-endpoints.md` — FastAPI, ASGI\u002FWSGI, streaming, auth, WebSockets\n- `references\u002Fscheduled-jobs.md` — Cron, periodic schedules, management\n- `references\u002Fscaling.md` — Autoscaling, concurrency, .map(), limits\n- `references\u002Fresources.md` — CPU, memory, disk, timeout configuration\n- `references\u002Fexamples.md` — Common use cases and patterns\n- `references\u002Fapi_reference.md` — Key API classes and methods\n\nRead these files when detailed information is needed beyond this overview.\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the Python environment and library versions (`python -c \"import pkg; print(pkg.__version__)\"`) and inspect the data's shape, types and missing values.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run on a sample or a single fold first and check runtime and memory.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Use held-out data, fixed random seeds and appropriate metrics; check for leakage; report uncertainty (CIs, std over seeds).\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Out-of-memory or very slow execution | Subsample, use chunked or lazy computation, or reduce model size, and tell the user what changed. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Never report a metric you did not compute in this session; show the code path that produced every number.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `modal-serverless-gpu`: Serverless GPU cloud platform for running ML workloads.\n- `tensorrt-llm`: Optimizes LLM inference with NVIDIA TensorRT for maximum throughput and lowest latency.\n- `serving-llms-vllm`: Serves LLMs with high throughput using vLLM's PagedAttention and continuous batching.\n",{"name":5,"license":15,"metadata":58,"description":7},{"tags":59,"version":60,"category":61,"openclaw":62,"maintainer":74},"serverless GPU, cloud computing, model deployment, ML inference","1.3","data-science-and-ml",{"envVars":63},[64,68,71],{"name":65,"required":66,"description":67},"MODAL_TOKEN_ID",true,"Modal token id.",{"name":69,"required":66,"description":70},"MODAL_TOKEN_SECRET","Modal token secret.",{"name":72,"required":54,"description":73},"DATABASE_URL","Optional database URL for examples.","Kalaris Labs","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":86,"prompt":96,"zipAvailable":66},[87,90,93],{"tool":88,"command":89},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill modal",{"tool":91,"command":92},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill modal",{"tool":94,"command":95},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill modal","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002FSKILL.md",[98,104,108,112,116,120,124,128,132,136,140,144],{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fapi_reference.md","REFERENCE","参考文档",6847,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fapi_reference.md",{"path":105,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fexamples.md",7493,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fexamples.md",{"path":109,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Ffunctions.md",5793,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Ffunctions.md",{"path":113,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fgetting-started.md",4060,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fgetting-started.md",{"path":117,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fgpu.md",5068,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fgpu.md",{"path":121,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fimages.md",6681,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fimages.md",{"path":125,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fresources.md",2581,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fresources.md",{"path":129,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fscaling.md",4556,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fscaling.md",{"path":133,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fscheduled-jobs.md",3777,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fscheduled-jobs.md",{"path":137,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fsecrets.md",2874,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fsecrets.md",{"path":141,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fvolumes.md",5806,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fvolumes.md",{"path":145,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":146,"sourceHtmlUrl":147},"references\u002Fweb-endpoints.md",5857,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fmodal\u002Freferences\u002Fweb-endpoints.md",[149,159,167,175,183,191],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":153,"licenseFileUrl":154,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":158},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":153,"licenseFileUrl":163,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":158},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":153,"licenseFileUrl":171,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":158},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":153,"licenseFileUrl":179,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":158},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":153,"licenseFileUrl":187,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":158},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":153,"licenseFileUrl":195,"sourceHtmlUrl":196,"categories":197,"keywords":198,"publishedAt":158},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]