[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BSPR3RQ3ZF2KQQ3J0NMDD2":3,"skill-same:01M6BSPR3RQ3ZF2KQQ3J0NMDD2":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6BSPR3RQ3ZF2KQQ3J0NMDD2","spitballing",null,"audy\u002Fdotflies","audy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F115904?v=4","01M6BSPM7N3739T42N7YP16MGM","Austin Richardson","01M6BSPMC3Y0WFH2B5SW9M86HX",6,"MIT","https:\u002F\u002Fgithub.com\u002Faudy\u002Fdotflies\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspitballing\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"---\nname: artifacts\ndescription: >\n  Fetch data assets into the kernel, transfer Python objects between servers,\n  and publish output files to the user. Activate when working with data files,\n  cross-server data movement, or when the user asks for downloads or exports.\n---\n\n# Artifacts: Fetch, Transfer, and Publish\n\n## Discovering Data Assets\n\nServers with a data catalog expose tools for finding available datasets:\n\n```\nsearch_data(query=\"temperature observations\", domain=\"earthscience\", top=5)\nlist_domains()                    # See all available data domains\nget_artifact(artifact_id=\"...\")   # Get full metadata for a specific artifact\nquery_catalog(sql=\"SELECT name, domain, description FROM artifacts WHERE domain = 'powergrid'\")\n```\n\n**Not all servers have a data catalog.** These tools (`search_data`,\n`list_domains`, `get_artifact`, `query_catalog`) are registered only when the\nserver is configured with one — and unlike most tools they are **not** prefixed\nwith the server name. If they are not in the server's tool list, the server has\nno caller-visible catalog: skip them and use the data references the user\nprovides directly. These legacy tools are unscoped: their presence means the\nserver operator has chosen to expose the entire catalog to callers with tool\naccess. Read-only `query_catalog` prevents writes but is not caller\nauthorization. Configuring and protecting a catalog is a server-author\u002Fdeployment\ntask, not something you can do from the client side.\n\nWhen present, results include the artifact's `storage_uri`, `domain`,\n`source_type` (local or blob), `description`, and `content_type`. Use these\ntools to find the correct asset reference before using it in code.\n\n## Fetching Data Assets\n\nAsset references use a **type-tagged format** where the tag indicates the storage\nbackend and the inner value is the artifact identifier to resolve:\n\n| Tag format | Storage location | Example |\n|------------|------------------|---------|\n| `\u003Cblob>{artifact_id}\u003C\u002Fblob>` | Azure Blob Storage (resolved server-side from the artifact ID) | `\u003Cblob>abc123\u003C\u002Fblob>` |\n| `\u003Clocal>\u002Fdata\u002Fgrid\u002Flines.geojson\u003C\u002Flocal>` | Server local filesystem | `\u003Clocal>\u002Fdata\u002Fgrid\u002Flines.geojson\u003C\u002Flocal>` |\n\nFor blob assets, use the artifact `id` returned by `search_data` \u002F `get_artifact` inside the `\u003Cblob>…\u003C\u002Fblob>` tag (not a blob path).\nEmbed these tagged references as string literals in your code — the server\nautomatically detects them, downloads the file to a local cache, and replaces\nthe literal with a `Path` variable:\n\n```python\n# The tag tells the server which asset to resolve; it is replaced with a local Path at runtime\ndf = pd.read_csv(\"\u003Cblob>abc123\u003C\u002Fblob>\")\nnetwork = load_network(\"\u003Clocal>\u002Fdata\u002Fgrid\u002Ftexas_grid.nc\u003C\u002Flocal>\")\n```\n\nYou do not need to handle authentication or downloads — the server's managed\nidentity fetches the data on your behalf.\n\n## Cross-Server Object Transfer\n\nMove Python objects between servers without serializing through agent context:\n\n```\n{server}_send(data_ref=\"molecule_data\", to=\"gis\", name=\"input_data\")\n```\n\n### Addressing the target server\n\nUse the **logical server name** (e.g., `\"gis\"`, `\"chemistry\"`) as the `to`\nparameter. The server resolves this to the correct internal address based on\nits deployment configuration.\n\nIf the transfer fails with a connection or trust error, the error message will\nindicate the expanded URL and what went wrong. Surface this error to the user —\nit is an operator configuration issue (the environment variables\n`OBJECT_TRANSFER_TRUSTED_HTTP_HOSTS` or `OBJECT_TRANSFER_ALLOWED_HOSTS` may\nneed to be adjusted by the deployment operator).\n\nDo not attempt to guess deployment URLs, ports, or hostnames — the logical name\nis the correct default in all environments.\n\n### Parameters\n\n| Parameter | Usage |\n|-----------|-------|\n| `data_ref` | Kernel variable name or filename in `AGORA_OUTPUT_DIR` to transfer |\n| `to` | Logical destination name (e.g., `\"gis\"`, `\"blob\"`, `\"user\"`, `\"local\"`) |\n| `name` | Variable name at destination (defaults to `data_ref` if empty) |\n| `path` | Full destination path for blob\u002Flocal publishers (e.g., `\"outputs\u002Freport.csv\"`) |\n| `session_id` | Target session ID (if empty, uses the caller's first active session on target) |\n\n### When to use object transfer\n\n- Passing DataFrames, arrays, or complex objects between domain servers.\n- Avoiding token-heavy serialization of large data in chat context.\n- Multi-domain workflows where one server produces input for another.\n\n## Publishing Artifacts\n\nTo produce downloadable files for the user:\n\n1. Write files to the session output directory inside `execute_{server}_code`.\n   The kernel pre-injects a helper and a variable for this — never resolve the\n   path to an absolute string yourself:\n\n   ```python\n   # ✓ Preferred — agora_output() builds the path for you, no f-string needed\n   df.to_csv(agora_output(\"results.csv\"), index=False)\n\n   # ✓ Also correct — use the pre-injected variable name directly\n   df.to_csv(f\"{AGORA_OUTPUT_DIR}\u002Fresults.csv\", index=False)\n\n   # ✓ Also correct — read AGORA_OUTPUT_DIR from the environment\n   import os\n   df.to_csv(f\"{os.environ['AGORA_OUTPUT_DIR']}\u002Fresults.csv\", index=False)\n\n   # ✗ WRONG — do not hardcode the resolved path (triggers path guardrails)\n   df.to_csv(\"\u002Ftmp\u002Fagora_output_abc123\u002Fresults.csv\", index=False)\n   ```\n\n   Both `agora_output(\"name\")` and the bare `AGORA_OUTPUT_DIR` symbol are\n   injected automatically — no `import` is required to use them.\n\n2. Publish only when the user explicitly requests a download or export:\n   ```\n   {server}_send(data_ref=\"results.csv\", to=\"user\")\n   ```\n\n### Destinations\n\n| Destination | Publisher | Use case |\n|-------------|-----------|----------|\n| `\"user\"` | GuiPublisher | Browser download for the user |\n| `\"blob\"` | BlobPublisher | Azure Blob Storage |\n| `\"local\"` | LocalFilePublisher | Local filesystem |\n\n**Not all destinations are available on every server.** Available destinations\ndepend on the server's configured publishers. If you use an unsupported\ndestination, the tool returns an error listing the available options. When\nunsure, try `\"user\"` first — the GuiPublisher is always available.\n\n### Rules\n\n- Only write user-facing files to `AGORA_OUTPUT_DIR` — files elsewhere stay inside the container.\n- Build output paths with `agora_output(\"name\")` or the `AGORA_OUTPUT_DIR` variable — never hardcode the resolved absolute path.\n- Do not publish unless the user asks for a download or export.\n- The `data_ref` must match a file already written to `AGORA_OUTPUT_DIR` (for file-based sends).\n","# Artifacts: Fetch, Transfer, and Publish\n\n## Discovering Data Assets\n\nServers with a data catalog expose tools for finding available datasets:\n\n```\nsearch_data(query=\"temperature observations\", domain=\"earthscience\", top=5)\nlist_domains()                    # See all available data domains\nget_artifact(artifact_id=\"...\")   # Get full metadata for a specific artifact\nquery_catalog(sql=\"SELECT name, domain, description FROM artifacts WHERE domain = 'powergrid'\")\n```\n\n**Not all servers have a data catalog.** These tools (`search_data`,\n`list_domains`, `get_artifact`, `query_catalog`) are registered only when the\nserver is configured with one — and unlike most tools they are **not** prefixed\nwith the server name. If they are not in the server's tool list, the server has\nno caller-visible catalog: skip them and use the data references the user\nprovides directly. These legacy tools are unscoped: their presence means the\nserver operator has chosen to expose the entire catalog to callers with tool\naccess. Read-only `query_catalog` prevents writes but is not caller\nauthorization. Configuring and protecting a catalog is a server-author\u002Fdeployment\ntask, not something you can do from the client side.\n\nWhen present, results include the artifact's `storage_uri`, `domain`,\n`source_type` (local or blob), `description`, and `content_type`. Use these\ntools to find the correct asset reference before using it in code.\n\n## Fetching Data Assets\n\nAsset references use a **type-tagged format** where the tag indicates the storage\nbackend and the inner value is the artifact identifier to resolve:\n\n| Tag format | Storage location | Example |\n|------------|------------------|---------|\n| `\u003Cblob>{artifact_id}\u003C\u002Fblob>` | Azure Blob Storage (resolved server-side from the artifact ID) | `\u003Cblob>abc123\u003C\u002Fblob>` |\n| `\u003Clocal>\u002Fdata\u002Fgrid\u002Flines.geojson\u003C\u002Flocal>` | Server local filesystem | `\u003Clocal>\u002Fdata\u002Fgrid\u002Flines.geojson\u003C\u002Flocal>` |\n\nFor blob assets, use the artifact `id` returned by `search_data` \u002F `get_artifact` inside the `\u003Cblob>…\u003C\u002Fblob>` tag (not a blob path).\nEmbed these tagged references as string literals in your code — the server\nautomatically detects them, downloads the file to a local cache, and replaces\nthe literal with a `Path` variable:\n\n```python\n# The tag tells the server which asset to resolve; it is replaced with a local Path at runtime\ndf = pd.read_csv(\"\u003Cblob>abc123\u003C\u002Fblob>\")\nnetwork = load_network(\"\u003Clocal>\u002Fdata\u002Fgrid\u002Ftexas_grid.nc\u003C\u002Flocal>\")\n```\n\nYou do not need to handle authentication or downloads — the server's managed\nidentity fetches the data on your behalf.\n\n## Cross-Server Object Transfer\n\nMove Python objects between servers without serializing through agent context:\n\n```\n{server}_send(data_ref=\"molecule_data\", to=\"gis\", name=\"input_data\")\n```\n\n### Addressing the target server\n\nUse the **logical server name** (e.g., `\"gis\"`, `\"chemistry\"`) as the `to`\nparameter. The server resolves this to the correct internal address based on\nits deployment configuration.\n\nIf the transfer fails with a connection or trust error, the error message will\nindicate the expanded URL and what went wrong. Surface this error to the user —\nit is an operator configuration issue (the environment variables\n`OBJECT_TRANSFER_TRUSTED_HTTP_HOSTS` or `OBJECT_TRANSFER_ALLOWED_HOSTS` may\nneed to be adjusted by the deployment operator).\n\nDo not attempt to guess deployment URLs, ports, or hostnames — the logical name\nis the correct default in all environments.\n\n### Parameters\n\n| Parameter | Usage |\n|-----------|-------|\n| `data_ref` | Kernel variable name or filename in `AGORA_OUTPUT_DIR` to transfer |\n| `to` | Logical destination name (e.g., `\"gis\"`, `\"blob\"`, `\"user\"`, `\"local\"`) |\n| `name` | Variable name at destination (defaults to `data_ref` if empty) |\n| `path` | Full destination path for blob\u002Flocal publishers (e.g., `\"outputs\u002Freport.csv\"`) |\n| `session_id` | Target session ID (if empty, uses the caller's first active session on target) |\n\n### When to use object transfer\n\n- Passing DataFrames, arrays, or complex objects between domain servers.\n- Avoiding token-heavy serialization of large data in chat context.\n- Multi-domain workflows where one server produces input for another.\n\n## Publishing Artifacts\n\nTo produce downloadable files for the user:\n\n1. Write files to the session output directory inside `execute_{server}_code`.\n   The kernel pre-injects a helper and a variable for this — never resolve the\n   path to an absolute string yourself:\n\n   ```python\n   # ✓ Preferred — agora_output() builds the path for you, no f-string needed\n   df.to_csv(agora_output(\"results.csv\"), index=False)\n\n   # ✓ Also correct — use the pre-injected variable name directly\n   df.to_csv(f\"{AGORA_OUTPUT_DIR}\u002Fresults.csv\", index=False)\n\n   # ✓ Also correct — read AGORA_OUTPUT_DIR from the environment\n   import os\n   df.to_csv(f\"{os.environ['AGORA_OUTPUT_DIR']}\u002Fresults.csv\", index=False)\n\n   # ✗ WRONG — do not hardcode the resolved path (triggers path guardrails)\n   df.to_csv(\"\u002Ftmp\u002Fagora_output_abc123\u002Fresults.csv\", index=False)\n   ```\n\n   Both `agora_output(\"name\")` and the bare `AGORA_OUTPUT_DIR` symbol are\n   injected automatically — no `import` is required to use them.\n\n2. Publish only when the user explicitly requests a download or export:\n   ```\n   {server}_send(data_ref=\"results.csv\", to=\"user\")\n   ```\n\n### Destinations\n\n| Destination | Publisher | Use case |\n|-------------|-----------|----------|\n| `\"user\"` | GuiPublisher | Browser download for the user |\n| `\"blob\"` | BlobPublisher | Azure Blob Storage |\n| `\"local\"` | LocalFilePublisher | Local filesystem |\n\n**Not all destinations are available on every server.** Available destinations\ndepend on the server's configured publishers. If you use an unsupported\ndestination, the tool returns an error listing the available options. When\nunsure, try `\"user\"` first — the GuiPublisher is always available.\n\n### Rules\n\n- Only write user-facing files to `AGORA_OUTPUT_DIR` — files elsewhere stay inside the container.\n- Build output paths with `agora_output(\"name\")` or the `AGORA_OUTPUT_DIR` variable — never hardcode the resolved absolute path.\n- Do not publish unless the user asks for a download or export.\n- The `data_ref` must match a file already written to `AGORA_OUTPUT_DIR` (for file-based sends).\n",{"name":23,"description":24},"artifacts","Fetch data assets into the kernel, transfer Python objects between servers, and publish output files to the user. Activate when working with data files, cross-server data movement, or when the user asks for downloads or exports.","main","719fc2f6e67325f49765af1b2015f3fb22448e49",".claude\u002Fskills\u002Fspitballing",0,"https:\u002F\u002Fgithub.com\u002Faudy\u002Fdotflies","https:\u002F\u002Fgithub.com\u002Faudy","agdr.org","Bioinformatics Engineer & Technical Lead","2026-11-08 13:22:27",{"source":7,"skillName":23,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add audy\u002Fdotflies --skill artifacts",{"tool":40,"command":41},"bunx","bunx skills add audy\u002Fdotflies --skill artifacts",{"tool":43,"command":44},"pnpm","pnpm dlx skills add audy\u002Fdotflies --skill artifacts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faudy\u002Fdotflies\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspitballing\u002FSKILL.md",true,[],[49,69],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M6BSPSECCASYFXAC0B6K4SM0","taxonomy","Rust\u002FPython library for reading, editing, and traversing biological taxonomies. Supports NCBI, JSON, Newick, GTDB, and PhyloXML formats.","https:\u002F\u002Fgithub.com\u002Faudy\u002Fdotflies\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftaxonomy\u002FSKILL.md",[],[51,56,57,58,59,60,61,62,63,64,65,66,67,68],"python","github","codex","rust","https","library","json","editing","reading","formats","for","taxonomies","NCBI",{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M6BSPPF635M091QP32H9SR0N","science","https:\u002F\u002Fgithub.com\u002Faudy\u002Fdotflies\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fscience\u002FSKILL.md",[],[71]]