360 Secure SkillHub
360 安全技能中心

Clawhub Skill

通过 tmf 命令行准备项目、训练与评估模型,执行质量门禁、断点续跑、导出校验和以及可选的自动化实验活动;默认使用本地 CPU 与合成数据,使用私有数据或远程算力需显式授权。

分类:开发
ambitioncn
ambitioncn
热度 9.42
最近更新 2026-11-23 21:30:44

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ambitioncn/taskforce-model-foundry
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
taskforce-model-foundry
description
Train, evaluate, resume, export, and run bounded autonomous campaigns with Taskforce Model Foundry. Use for tmf CLI jobs, HF/PEFT fine-tuning, quality gates, and optional OpenClaw or Hermes workflows.
license
MIT

Taskforce Model Foundry

  1. Establish the job contract: dataset provenance, allowed compute host, backend, model path, resource/time budget, independent holdout, and quality thresholds. Default to synthetic data and local CPU. Obtain task-specific authorization before private data, paid compute, remote transfers, production changes, or publishing. Finish with a recorded scope and success criteria.

  2. Locate a trusted installation using the command reference. Run version, doctor, and backends checks. Doctor can return success while a missing config is only a warning: validate the actual config separately. Finish with the executable, version, usable backend, and validated config known.

  3. Prepare an isolated project directory. Use init only for a new synthetic project; for an existing project inspect its configuration before changing it. Keep data outside this skill directory. For HF/PEFT select an existing local model and a dedicated Python environment; inspect docs/tutorial.md in the installation for current config fields. Do not invent model download or GPU setup commands. Finish with licensed/provenanced data and disjoint splits.

  4. Fix the evaluation policy before training. eval.gates replaces the default list in full; validate it, and preserve the approved thresholds. A tiny fixture with fixture-specific gates validates plumbing, not business quality. Finish with a recorded baseline, holdout policy, and explicit gate list or defaults.

  5. Assign a stable job ID, inspect durable status, then train. Prefer --background for long local jobs and retain the returned request ID; use train-status/evaluate-status for receipts and train-cancel to cancel a background train. After a timeout or disconnected session, query durable state before any explicit --retry; never duplicate a running request. Foreground cancellation uses SIGINT/SIGTERM and exit 130. Resume an intentionally cancelled job only when authorized to continue. Finish with durable succeeded, cancelled, or failed state and the actual process exit code, not just a launched-process receipt.

  6. Evaluate baseline and tuned model on the independent holdout. Check leakage, sample counts, actual parameter changes, and each declared gate. Treat failed evaluation as a failed deliverable; diagnose it instead of weakening gates after seeing results. Finish with the report path, metrics, and gate verdict.

  7. Export only a passing job, preferably pinning its reviewed evaluation report. Verify checksums.txt from the bundle directory. HF/PEFT exports include adapter bytes but reference the local base model: record its identity and availability. Finish with bundle path, digest, lineage, checksum results, and base dependency.

    A project may freeze an eval.externalQuality contract before training and supply its own scorer evidence with --quality-report; Foundry verifies the declared metrics, lineage and thresholds but does not ship domain-specific suites, rubrics or judges. Never infer business quality from a technical loss gate alone.

    For an autonomous campaign, use the standalone tmf campaign lifecycle in the command reference. Freeze base model, data, technical/external-quality gates, search space, trial and training-step budgets, deadline, and ranking metric before starting. reflective proposals record each failed gate and a bounded next-step hypothesis; they are not unrestricted research agents. Query campaign status before any restart, and treat technical_passed as distinct from business acceptance. Campaigns never auto-export or authorize changed data/thresholds.

  8. Report measured results separately from unsupported or unverified capabilities. Read capability and host boundaries before making GPU, remote execution, recovery, or production claims. Include test pass/fail/ skip counts; a skipped test is not a pass. Publishing requires its own actual registry/release and installation verification. Finish with evidence paths, remaining limits, and whether the artifact is local, published, or deployed.