技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
io-caching-security【数据与研究】Route WebDataset URL opening, stream caching, secure mode, custom gopen schemes, and handler choices without re-teaching full reading pipelines.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about WebDataset's opener and cache boundary: choosing how URLs are opened, deciding whether a source is cached or streamed, adding a custom scheme, or diagnosing secure-mode and broken-pipe failures. Do not expand into full sample decoding or training loops here.
gopen(...) and gopen_schemes[...] decisions for local paths, file:, pipe:, http:, https:, gs:, hf:, ais:, htgs:, scp:, and sftp: resources.FileCache, StreamingOpen, LRUCleanup, url_to_cache_name, cache validation, and cache-size cleanup.WDS_SECURE=1 or webdataset.utils.enforce_security = True.GOPEN_REWRITE, GOPEN_VERBOSE, GOPEN_BUFFER, WDS_CACHE, WDS_CACHE_SIZE, WDS_VERBOSE_CACHE, and USE_AIS_FOR.reraise_exception, ignore_and_continue, warn_and_continue, ignore_and_stop, or warn_and_stop.Broken pipe, cache-dir, missing executable, and pickle/torch security blocks.../reading-pipelines/SKILL.md.../shard-writing/SKILL.md.references/api-reference.md for verified signatures, scheme coverage, and env vars.references/workflows.md for safe opener patterns, cache setup, custom schemes, and handler selection.references/troubleshooting.md for broken pipes, cache failures, and security blocks.scripts/check_io_security.py for a no-network smoke check.pipe: is allowed only because the caller trusts the command text.cache_dir=None or cache_size=0.url_to_name flat and let FileCache validate the downloaded shard.WDS_SECURE=1 before opening anything.webdataset.gopen_schemes[...] instead of hiding auth inside a one-off shell pipe.gopen reads a local file and a trusted pipe: source in non-secure mode.- stdin/stdout remains usable.LRUCleanup deletes the oldest files first.If the request is really about how those openers are used inside a data pipeline, stop here and hand off to ../reading-pipelines/SKILL.md.