[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBVT5XFQ9FEJ2DKN5RPPXB":3,"skill-same:01M7EBVT5XFQ9FEJ2DKN5RPPXB":63},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7EBVT5XFQ9FEJ2DKN5RPPXB","experiment-tracking",null,"Instrument Python ML and data scripts with ClearML Task experiment tracking, Logger reports, artifacts, configs, models, offline mode, and tracking validation.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fclearml\u002Fsub-skills\u002Fexperiment-tracking\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: experiment-tracking\ndescription: \"Instrument Python ML and data scripts with ClearML Task experiment\n  tracking, Logger reports, artifacts, configs, models, offline mode, and\n  tracking validation.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# ClearML Experiment Tracking\n\nUse this sub-skill when a user asks to add, review, or troubleshoot ClearML experiment tracking in a Python script. It covers `Task.init`, `TaskTypes`, connected hyperparameters\u002Fconfiguration, `Logger` reports, artifacts, model metadata, framework auto-logging, offline mode, task reuse, `output_uri`, and static validation.\n\n## When To Use\n\n- Retrofit a training\u002Fevaluation script with ClearML tracking while preserving existing `argparse`, config files, framework logging, and model save paths.\n- Add explicit reports for scalars, text, images, tables, Plotly, Matplotlib, artifacts, or model metadata.\n- Make a script work without credentials by using offline mode and later import the offline session.\n- Diagnose missing metrics, duplicate task reuse, upload failures, bad `output_uri`, or logger calls made before `Task.init`.\n- Validate a candidate script without importing the user code or contacting a ClearML server.\n\n## Route Elsewhere\n\n- Use `..\u002Fdata-storage\u002FSKILL.md` for `Dataset`, `StorageManager`, `clearml-data`, dataset versioning, cache\u002Fdownload, and object-storage data movement.\n- Use `..\u002Fremote-execution-cli\u002FSKILL.md` for `clearml-task`, `Task.create`, `Task.enqueue`, agents, queues, Docker execution, and remote execution packaging.\n- Use `..\u002Fautomation-pipelines\u002FSKILL.md` for `PipelineController`, `PipelineDecorator`, HPO, schedulers, triggers, and pipeline orchestration.\n- Use `..\u002Frouters-services\u002FSKILL.md` for `Task.get_http_router()`, service endpoints, FastAPI\u002Frouter integration, and the `clearml[router]` extra.\n\n## Essential References\n\n- Read `references\u002Fapi-reference.md` for verified tracking\u002Freporting signatures, parameter notes, and method-selection guidance.\n- Read `references\u002Fworkflows.md` for concrete instrumentation recipes, logging examples, offline fallback, and validation flow.\n- Read `references\u002Ftroubleshooting.md` for symptoms, likely causes, and fixes across credentials, config, uploads, reuse, offline mode, framework auto-connect, and logger misuse.\n- Run `scripts\u002Fvalidate_tracking_script.py --help` to inspect a Python file statically for likely ClearML tracking issues.\n\n## Minimal Instrumentation Pattern\n\nPlace `Task.init` near the start of executable code, before training starts and before framework writers, plots, or model checkpoints are created.\n\n```python\nfrom clearml import Task, TaskTypes\n\ntask = Task.init(\n    project_name=\"my-project\",\n    task_name=\"train-model\",\n    task_type=TaskTypes.training,\n    reuse_last_task_id=False,\n    output_uri=True,\n)\n```\n\nUse `reuse_last_task_id=False` for most repeatable local training runs so previous outputs are not overwritten. Use `continue_last_task=True` only when intentionally appending to an existing task, and prefer an explicit `reuse_last_task_id=\"\u003Ctask-id>\"` when continuing a known task.\n\n## Connect Inputs\n\n- Let `Task.init(auto_connect_arg_parser=True)` capture common CLI parsers automatically, or pass a dictionary to include\u002Fexclude specific arguments.\n- Use `task.connect(params, name=\"General\")` for dictionaries, `argparse.Namespace`, `TaskParameters`, model objects, or simple config classes.\n- Use `task.connect_configuration(config_path_or_dict, name=\"train_config\")` before reading a JSON\u002FYAML\u002Fconfig file so remote overrides can replace the file or dictionary.\n- Use `ignore_remote_overrides=True` on `connect` or `connect_configuration` only when the script must not accept UI\u002Fbackend overrides.\n\n## Report Outputs\n\n- Get a logger with `logger = task.get_logger()` or, inside helper functions after initialization, `Task.current_task().get_logger()`.\n- Report scalar curves with `logger.report_scalar(title=\"train\", series=\"loss\", value=loss, iteration=step)`.\n- Report text with `logger.report_text(\"message\")`; stdout, stderr, and Python logging are also captured when `auto_connect_streams=True`.\n- Report images\u002Fplots\u002Ftables with `report_image`, `report_matplotlib_figure`, `report_plotly`, and `report_table`.\n- Upload one-time artifacts with `task.upload_artifact(name=\"metrics\", artifact_object=metrics, wait_on_upload=True)` when later code depends on upload success.\n- Register a live pandas DataFrame with `task.register_artifact(...)` only when dynamic synchronization is intended; otherwise prefer `upload_artifact`.\n\n## Model Tracking\n\n- Let framework auto-connect track supported model files when possible through `auto_connect_frameworks=True` or a framework-specific mapping such as `{\"pytorch\": [\"*.pt\", \"*.pth\"]}`.\n- Use `OutputModel(task=task, name=\"model\")` when manually registering or uploading model weights.\n- Call `output_model.update_labels(labels)` for class mappings and `output_model.update_weights(weights_filename=\"model.pt\")` for local weights; use `register_uri=\"...\"` for an existing remote model URL.\n- Use `InputModel(model_id=...)` or `InputModel(name=..., project=...)` for existing model inputs, then connect it with `task.connect(input_model, name=\"pretrained\")` if the task should record it.\n\n## Offline And Credentials Pattern\n\nUse offline mode when the script must run without credentials or network access:\n\n```python\nfrom clearml import Task\n\nTask.set_offline(True)\ntask = Task.init(project_name=\"offline\", task_name=\"train\")\n# training and reporting here\ntask.close()\nTask.set_offline(False)\nTask.import_offline_session(task.get_offline_mode_folder())\n```\n\nSet offline mode before `Task.init`. Close the task before switching back online. Do not use `Task.create` for offline experiment capture.\n\n## Validation Checklist\n\n- `from clearml import Task` exists and `Task.init(...)` is called exactly once for the main process.\n- `Task.init` has stable `project_name`, `task_name`, and a suitable `task_type` from `TaskTypes`.\n- `Task.init` happens before parser parsing, framework logger\u002Fwriter creation, Matplotlib plotting, model checkpoint setup, and `Logger` reporting.\n- Repeated local runs use `reuse_last_task_id=False`, unless intentional reuse\u002Fcontinue behavior is documented.\n- Artifact\u002Fmodel uploads have `output_uri=True` or a configured storage URI when server file storage is not enough.\n- Offline fallback sets `Task.set_offline(True)` before `Task.init` and closes\u002Fimports the session when appropriate.\n- Manual reports use `task.get_logger()` or `Task.current_task().get_logger()` after initialization, not `Logger()` construction.\n- The script still runs without optional ML frameworks if the requested change is limited to ClearML instrumentation.\n\n## Static Helper\n\nRun the bundled validator against a candidate script:\n\n```bash\npython scripts\u002Fvalidate_tracking_script.py path\u002Fto\u002Ftrain.py\n```\n\nThe helper parses the file with `ast`, never imports the script, never imports ClearML, and never contacts a server. Treat warnings as review prompts; it cannot prove runtime server connectivity, storage credentials, optional framework installation, or remote override behavior.\n","# ClearML Experiment Tracking\n\nUse this sub-skill when a user asks to add, review, or troubleshoot ClearML experiment tracking in a Python script. It covers `Task.init`, `TaskTypes`, connected hyperparameters\u002Fconfiguration, `Logger` reports, artifacts, model metadata, framework auto-logging, offline mode, task reuse, `output_uri`, and static validation.\n\n## When To Use\n\n- Retrofit a training\u002Fevaluation script with ClearML tracking while preserving existing `argparse`, config files, framework logging, and model save paths.\n- Add explicit reports for scalars, text, images, tables, Plotly, Matplotlib, artifacts, or model metadata.\n- Make a script work without credentials by using offline mode and later import the offline session.\n- Diagnose missing metrics, duplicate task reuse, upload failures, bad `output_uri`, or logger calls made before `Task.init`.\n- Validate a candidate script without importing the user code or contacting a ClearML server.\n\n## Route Elsewhere\n\n- Use `..\u002Fdata-storage\u002FSKILL.md` for `Dataset`, `StorageManager`, `clearml-data`, dataset versioning, cache\u002Fdownload, and object-storage data movement.\n- Use `..\u002Fremote-execution-cli\u002FSKILL.md` for `clearml-task`, `Task.create`, `Task.enqueue`, agents, queues, Docker execution, and remote execution packaging.\n- Use `..\u002Fautomation-pipelines\u002FSKILL.md` for `PipelineController`, `PipelineDecorator`, HPO, schedulers, triggers, and pipeline orchestration.\n- Use `..\u002Frouters-services\u002FSKILL.md` for `Task.get_http_router()`, service endpoints, FastAPI\u002Frouter integration, and the `clearml[router]` extra.\n\n## Essential References\n\n- Read `references\u002Fapi-reference.md` for verified tracking\u002Freporting signatures, parameter notes, and method-selection guidance.\n- Read `references\u002Fworkflows.md` for concrete instrumentation recipes, logging examples, offline fallback, and validation flow.\n- Read `references\u002Ftroubleshooting.md` for symptoms, likely causes, and fixes across credentials, config, uploads, reuse, offline mode, framework auto-connect, and logger misuse.\n- Run `scripts\u002Fvalidate_tracking_script.py --help` to inspect a Python file statically for likely ClearML tracking issues.\n\n## Minimal Instrumentation Pattern\n\nPlace `Task.init` near the start of executable code, before training starts and before framework writers, plots, or model checkpoints are created.\n\n```python\nfrom clearml import Task, TaskTypes\n\ntask = Task.init(\n    project_name=\"my-project\",\n    task_name=\"train-model\",\n    task_type=TaskTypes.training,\n    reuse_last_task_id=False,\n    output_uri=True,\n)\n```\n\nUse `reuse_last_task_id=False` for most repeatable local training runs so previous outputs are not overwritten. Use `continue_last_task=True` only when intentionally appending to an existing task, and prefer an explicit `reuse_last_task_id=\"\u003Ctask-id>\"` when continuing a known task.\n\n## Connect Inputs\n\n- Let `Task.init(auto_connect_arg_parser=True)` capture common CLI parsers automatically, or pass a dictionary to include\u002Fexclude specific arguments.\n- Use `task.connect(params, name=\"General\")` for dictionaries, `argparse.Namespace`, `TaskParameters`, model objects, or simple config classes.\n- Use `task.connect_configuration(config_path_or_dict, name=\"train_config\")` before reading a JSON\u002FYAML\u002Fconfig file so remote overrides can replace the file or dictionary.\n- Use `ignore_remote_overrides=True` on `connect` or `connect_configuration` only when the script must not accept UI\u002Fbackend overrides.\n\n## Report Outputs\n\n- Get a logger with `logger = task.get_logger()` or, inside helper functions after initialization, `Task.current_task().get_logger()`.\n- Report scalar curves with `logger.report_scalar(title=\"train\", series=\"loss\", value=loss, iteration=step)`.\n- Report text with `logger.report_text(\"message\")`; stdout, stderr, and Python logging are also captured when `auto_connect_streams=True`.\n- Report images\u002Fplots\u002Ftables with `report_image`, `report_matplotlib_figure`, `report_plotly`, and `report_table`.\n- Upload one-time artifacts with `task.upload_artifact(name=\"metrics\", artifact_object=metrics, wait_on_upload=True)` when later code depends on upload success.\n- Register a live pandas DataFrame with `task.register_artifact(...)` only when dynamic synchronization is intended; otherwise prefer `upload_artifact`.\n\n## Model Tracking\n\n- Let framework auto-connect track supported model files when possible through `auto_connect_frameworks=True` or a framework-specific mapping such as `{\"pytorch\": [\"*.pt\", \"*.pth\"]}`.\n- Use `OutputModel(task=task, name=\"model\")` when manually registering or uploading model weights.\n- Call `output_model.update_labels(labels)` for class mappings and `output_model.update_weights(weights_filename=\"model.pt\")` for local weights; use `register_uri=\"...\"` for an existing remote model URL.\n- Use `InputModel(model_id=...)` or `InputModel(name=..., project=...)` for existing model inputs, then connect it with `task.connect(input_model, name=\"pretrained\")` if the task should record it.\n\n## Offline And Credentials Pattern\n\nUse offline mode when the script must run without credentials or network access:\n\n```python\nfrom clearml import Task\n\nTask.set_offline(True)\ntask = Task.init(project_name=\"offline\", task_name=\"train\")\n# training and reporting here\ntask.close()\nTask.set_offline(False)\nTask.import_offline_session(task.get_offline_mode_folder())\n```\n\nSet offline mode before `Task.init`. Close the task before switching back online. Do not use `Task.create` for offline experiment capture.\n\n## Validation Checklist\n\n- `from clearml import Task` exists and `Task.init(...)` is called exactly once for the main process.\n- `Task.init` has stable `project_name`, `task_name`, and a suitable `task_type` from `TaskTypes`.\n- `Task.init` happens before parser parsing, framework logger\u002Fwriter creation, Matplotlib plotting, model checkpoint setup, and `Logger` reporting.\n- Repeated local runs use `reuse_last_task_id=False`, unless intentional reuse\u002Fcontinue behavior is documented.\n- Artifact\u002Fmodel uploads have `output_uri=True` or a configured storage URI when server file storage is not enough.\n- Offline fallback sets `Task.set_offline(True)` before `Task.init` and closes\u002Fimports the session when appropriate.\n- Manual reports use `task.get_logger()` or `Task.current_task().get_logger()` after initialization, not `Logger()` construction.\n- The script still runs without optional ML frameworks if the requested change is limited to ClearML instrumentation.\n\n## Static Helper\n\nRun the bundled validator against a candidate script:\n\n```bash\npython scripts\u002Fvalidate_tracking_script.py path\u002Fto\u002Ftrain.py\n```\n\nThe helper parses the file with `ast`, never imports the script, never imports ClearML, and never contacts a server. Treat warnings as review prompts; it cannot prove runtime server connectivity, storage credentials, optional framework installation, or remote override behavior.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fclearml\u002Fsub-skills\u002Fexperiment-tracking",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill experiment-tracking",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill experiment-tracking",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill experiment-tracking","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fclearml\u002Fsub-skills\u002Fexperiment-tracking\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fapi-reference.md","REFERENCE","参考文档",12676,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fclearml\u002Fsub-skills\u002Fexperiment-tracking\u002Freferences\u002Fapi-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftroubleshooting.md",10510,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fclearml\u002Fsub-skills\u002Fexperiment-tracking\u002Freferences\u002Ftroubleshooting.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fworkflows.md",9718,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fclearml\u002Fsub-skills\u002Fexperiment-tracking\u002Freferences\u002Fworkflows.md",[64,73,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":74,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":72},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":72},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":72},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":72},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":72},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]