Source profileQuality 92/100Review permissions

NVIDIA-TAO/tao-skill-bank/skills/applications/tao-run-deft-iaa/SKILL.md

tao-run-deft-iaa

Run iterative improvement for NVIDIA TAO CLIP / SigLIP image-text retrieval on attribute-labelled data. Use when a request combines retrieval evaluation, weak-attribute or caption-pair mining, repeated retraining, and a stopping condition based on a retrieval KPI, validation plateau, or iteration budget; the customer need not know the DEFT or Image Attribute Augmentation (IAA) names. The self-contained workflow performs dataset preparation, zero-shot evaluation, attribute gap analysis, caption-s

Source repository stars
86
Declared platforms
0
Static risk flags
2
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Standalone install? If this session was not initialized by the TAO skill bank plugin, run the tao-setup skill first for host preflight, credential checks, and cross-skill discovery.

Best for

  • Use when a request combines retrieval evaluation, weak-attribute or caption-pair mining, repeated retraining, and a stopping condition based on a retrieval KPI, validation plateau, or iteration budget; the customer need…

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/NVIDIA-TAO/tao-skill-bank --skill "skills/applications/tao-run-deft-iaa"
Safe inspection promptEditorial

Inspect the Agent Skill "tao-run-deft-iaa" from https://github.com/NVIDIA-TAO/tao-skill-bank/blob/d2ff1fa41d588457c49efa3714ea1462fd0d7f35/skills/applications/tao-run-deft-iaa/SKILL.md at commit d2ff1fa41d588457c49efa3714ea1462fd0d7f35. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    The normal path is linear, with only two meaningful decisions:

    The normal path is linear, with only two meaningful decisions:Stage ownership and exact commands are in references/scripts-and-agents.md. Read the detailed reference only when its stage is next:visualize is the only optional stage. Commit it with --skip only when both visualization settings are false in the approved config. Do not turn off a failing visualization mid-run without revising and reapproving the co…
  2. 02

    Entry Contract

    tao-deft-iaa and tao-run-deft-iaa select this same workflow. IAA supports local Docker only, so that declaration is the platform selection. State it and do not ask the user to choose a platform.

    Perform only bounded, lightweight path discovery. Two explicit archive fileIf maxiterations or a time budget is absent, ask one consolidatedworkspace and either a new ${RESULTSDIR} or one existing run to resume;
  3. 03

    Safety Gate

    Perform only read-only discovery before approval: resolve paths, inspect file metadata and archives, check process-environment variable presence, inspect local images, inspect GPUs, and audit an existing run. Credentials come only from the launching process environment. Never op…

    Perform only read-only discovery before approval: resolve paths, inspect file metadata and archives, check process-environment variable presence, inspect local images, inspect GPUs, and audit an existing run. Credential…Show the summary defined in references/preflight.md, including every parameter and source, planned file creation/extraction, image pulls, estimated runtime, and resume status. Wait for explicit approval before Docker lo…If an approved parameter later changes, show the changed summary rows and get approval again before continuing. No confirmation is needed between unchanged, already-approved stages.
  4. 04

    Execution Contract

    1. After approval, follow references/preflight.md to prepare the runtime, materialize the immutable run config, and initialize state once. Never reinitialize an existing run. 2. Before every stage, after context compaction, and before any completion claim, run:

    After approval, follow references/preflight.md to prepare the runtime,Before every stage, after context compaction, and before any completionRead only the current stage reference named by readbeforeaction. Use
  5. 05

    Loop and Recovery Rules

    The loop is bounded by maxiterations; never create an iteration outside

    The loop is bounded by maxiterations; never create an iteration outsideMonitoring defaults to attached (longrunningenabled=true, five-minuteNever send a final response while an approved run is nonterminal. A final

Permission review

Static risk signals and limitations

Reads files

low · line 93

The documentation asks the agent to read local files, directories, or repositories.

Perform only read-only discovery before approval: resolve paths, inspect file

Reads files

low · line 99

The documentation asks the agent to read local files, directories, or repositories.

Do not inspect credential-file metadata when no credential is needed. If the

Runs scripts

medium · line 216

The documentation asks the agent to run terminal commands or scripts.

is terminal for the run.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars86SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
NVIDIA-TAO/tao-skill-bank
Skill path
skills/applications/tao-run-deft-iaa/SKILL.md
Commit
d2ff1fa41d588457c49efa3714ea1462fd0d7f35
License
Apache-2.0
Collected
2026-08-28
Default branch
main
View the original SKILL.md

IAA DEFT Workflow

Standalone install? If this session was not initialized by the TAO skill bank plugin, run the tao-setup skill first for host preflight, credential checks, and cross-skill discovery.

Run the canonical IAA flow as one resumable, disk-backed workflow. All IAA workflow logic, templates, and host adapters ship with this skill; customers do not need a separate source checkout. The bundled scripts make stage calls deterministic without adding another orchestration layer.

This skill supports local Docker only. Do not ask the user to choose a platform or silently translate the workflow to SLURM, Kubernetes, or Brev.

Entry Contract

tao-deft-iaa and tao-run-deft-iaa select this same workflow. IAA supports local Docker only, so that declaration is the platform selection. State it and do not ask the user to choose a platform.

Use two intake phases:

  1. Perform only bounded, lightweight path discovery. Two explicit archive file paths win and suppress all archive searching. An explicit archive directory is treated as one approved search root. Otherwise, resolve the conventional ~/workspace and use only these deduplicated search roots: ~/iaa, the workspace root, and its iaa/, input/, and inputs/ children. Check the workspace root itself only; beneath each other search root, inspect the root and directories at most two levels below it. This AOI-style bounded-subtree lookup supports nested export/drop directories without turning into a home or repository scan. Never follow symlinks or add the current checkout, source repositories, tutorial/notebook trees, or workspace dataset-output trees as implicit search roots.

    An archive candidate contains direct regular-file children images_raw.tar and meta.tar.gz; the workflow needs one such pair, not multiple dataset directories. Follow the classification and provenance format in references/preflight.md so the user sees every search root, its reason and depth bound, the directory in which a pair was found, and whether it is archive-only or mixed with extracted data.

    Enumerate run-state files only at <workspace>/results/run_*/deft_state.json. Read the minimal identity fields and present a resume candidate only when workflow is exactly tao-run-deft-iaa; never offer AOI or unidentified DEFT state as IAA. Do not validate large archives to EOF or inspect Docker, images, GPUs, or credentials yet.

  2. If max_iterations or a time budget is absent, ask one consolidated question for that required value and any genuinely ambiguous path/run choice. State the documented defaults and that a complete read-only preflight plus approval summary follows. Do not ask whether the user wants optional KPI, authentication, or parameter overrides; apply their defaults unless the prompt already supplies an override.

After required intake is resolved, discover and validate:

  • workspace and either a new ${RESULTS_DIR} or one existing run to resume;
  • images_raw.tar and meta.tar.gz; SHA256SUMS is optional;
  • max_iterations, or a user-supplied time budget from which an iteration limit can be estimated;
  • metric name, query type, operator, and optional target;
  • whether the deployment requires authenticated Hugging Face model access;
  • any explicit epoch, GPU, mining, continual-learning, or visualization overrides.

For a new run, RESULTS_DIR must be a child of WORKSPACE. DATASET_ROOT must be below a workspace data directory (for example $WORKSPACE/data/iaa_v31_tao_ft), not directly below the workspace; neither path may contain the other. All approved paths are absolute and non-symlink.

Never replace an explicit value with a heuristic. Defaults apply only to unspecified values and must be identified as defaults in the pre-flight summary. max_iterations has no default. An absent metric target means an ungated run that stops after max_iterations. Hugging Face token forwarding defaults to disabled because the bundled model is public.

The authoritative parameter contract is the nested dataclass schema in scripts/iaa_deft/config.py, adapted from the PAS reference notebook. Read that schema when a request needs the meaning, default, numeric bounds, or valid options of a DEFT parameter. Do not infer an undocumented field or bypass its metadata constraint. Config preparation, initialization, audit, and every host-side stage validate the materialized bundle through that same schema; the legacy YAML section name iaa is normalized to the typed pas section.

If required information remains missing after full discovery, ask one consolidated follow-up. A normal invocation should need no knowledge of stage modules, container mounts, state files, or bundled-runtime function signatures.

Safety Gate

Perform only read-only discovery before approval: resolve paths, inspect file metadata and archives, check process-environment variable presence, inspect local images, inspect GPUs, and audit an existing run. Credentials come only from the launching process environment. Never open, source, grep, or copy a credential file. If a required variable is absent, tell the user which name to export in the shell that launches the agent; never ask for its value in chat. Do not inspect credential-file metadata when no credential is needed. If the user explicitly asks for a file-permission check, stat only that named file, warn about group/other readability, and still do not load it.

Show the summary defined in references/preflight.md, including every parameter and source, planned file creation/extraction, image pulls, estimated runtime, and resume status. Wait for explicit approval before Docker login or pulls, package installation, archive extraction, config/state creation, or any write under the workspace.

If an approved parameter later changes, show the changed summary rows and get approval again before continuing. No confirmation is needed between unchanged, already-approved stages.

Execution Contract

  1. After approval, follow references/preflight.md to prepare the runtime, materialize the immutable run config, and initialize state once. Never reinitialize an existing run.

  2. Before every stage, after context compaction, and before any completion claim, run:

    "$SKILL_ROOT/scripts/deft_python.sh" --workspace "$WORKSPACE" --runtime \
      "$SKILL_ROOT/scripts/audit_deft_run.py" --results-dir "$RESULTS_DIR"
    

    Continue only when the audit reports IN_PROGRESS and its next_action matches the intended stage. For INVALID, stop launching work and report the listed inconsistency. For nonterminal FAILED whose next_action is loop_stop, follow the pipeline reference and commit hard_stop; for terminal FAILED, report the failure and launch no more work. For COMPLETE, do not rerun a stage.

  3. Read only the current stage reference named by read_before_action. Use run_iaa_stage.py for bundled IAA host stages and run_deft_container.py for every TAO container command. These wrappers reconstruct paths and images from state on each call, so do not depend on a previous cd or export.

  4. A command succeeds only when its exit status is zero and its documented output checks pass. Redirect verbose output to the wrapper-owned log; inspect the final error block or at most the last 40 lines.

  5. Commit each successful or terminally failed stage exactly once with commit_stage.py. It validates artifact structure, freshness, iteration scope, command evidence, leakage, and transition order before applying a recoverable, journaled update to deft_state.json and loop_log.jsonl. Never call log_stage.py or record_metric_result.py directly, and never hand-edit canonical state, log, metric, or history files.

  6. Render the HTML report with render_deft_report.py. Reporting is a deterministic read of audited state; it does not require another agent.

  7. Keep the driving turn attached through the complete bounded loop. After a stage reaches terminal status, finalize/commit it, re-audit, and immediately continue with the audit-selected next action. An in-progress update is commentary, not a final response and not a detach point.

All recorded artifact paths are absolute host paths under ${RESULTS_DIR}. Baseline artifacts live under zs/, iteration N under iter_N/, and run-wide splits, source embeddings, and history files at the run root.

Workflow

The normal path is linear, with only two meaningful decisions:

pre-flight approval
  -> dataset_setup -> pool_embed -> baseline evaluate
  -> KPI met? yes: loop_stop
              no: baseline gap_analysis
  -> for N = 1..max_iterations:
       data_mining -> history_select -> visualize -> train -> evaluate
       -> KPI met? yes: loop_stop
                   no and N < max: gap_analysis -> next iteration
                   no and N = max: loop_stop
  -> final audit -> HTML report

Stage ownership and exact commands are in references/scripts-and-agents.md. Read the detailed reference only when its stage is next:

StageReferenceRequired result
dataset setupreferences/data-layout.mdverified rebuilt dataset, transparent layout report, five split files, non-empty source-pool parquet
pool embedding and miningreferences/mining.mdfresh command evidence plus non-empty, schema-checked parquet outputs
evaluate and trainreferences/clip-train-eval.md, references/metric-contract.mdsuccessful TAO status, bound metric evidence; for train, a fresh best and normalized checkpoint
gap analysisreferences/gap-analysis.mdnon-empty iteration-scoped gaps parquet
history selectionreferences/mining.mdbudgeted mined set, cumulative/history entry, zero eval leakage
visualizationreferences/visualization.mdenabled artifacts and command evidence, or a config-authorized skip

visualize is the only optional stage. Commit it with --skip only when both visualization settings are false in the approved config. Do not turn off a failing visualization mid-run without revising and reapproving the config.

Loop and Recovery Rules

  • The loop is bounded by max_iterations; never create an iteration outside that range. Once the KPI passes, the only legal next transition is loop_stop. Do not mine or train again.
  • Monitoring defaults to attached (long_running_enabled=true, five-minute updates). Use terminal-condition polling: for a deliberately backgrounded container, poll its wrapper-owned status evidence no more often than every 30 seconds, continuing through finalize, commit, audit, and the next stage. The bounded workflow's terminal audit status is the end condition, so this is not open-ended polling.
  • Never send a final response while an approved run is nonterminal. A final response ends chat-side execution and nothing can wake it automatically. Finalize the turn only after the audit reports COMPLETE, terminal FAILED, or INVALID, or when the user explicitly asks to stop or detach. If the runtime genuinely cannot keep a turn alive, say so before launch and provide the exact durable resume audit command; do not claim unattended monitoring.
  • Never repeat an unchanged failed command speculatively. Classify the failure, inspect its final log block, make one evidence-based correction permitted by the stage reference, then retry once. Stable command status records persist attempt 1/2, and the wrappers refuse a third attempt after context loss. The audit must pass before advancing.
  • A transient registry/network interruption or GPU contention may be retried once after evidence shows the condition changed. A second equivalent failure is terminal for the run.
  • Never retry checksum or rebuild verification failure, zero-row mining, schema/cardinality failure, missing eval-split evidence, eval leakage, history conflict that fails documented resume, metric-contract mismatch, stale/cross-iteration output, or an unsupported GPU architecture. Commit an error when state permits and stop with the exact recovery action.
  • If a command wrote outputs but crashed before stage commit, run the audit. Reuse outputs only when their command status is successful, fresh, correctly scoped, and all stage validators pass. History selection has one supported recovery: rerun the deterministic adapter with --resume; never delete or edit a history entry by hand.
  • Manual modification or truncation of deft_state.json or loop_log.jsonl invalidates the run. Preserve it for diagnosis and start a new results directory.

Metric and Stop Semantics

The approved metric contract is immutable for the run. Evaluation must parse the exact iteration's nvidia_pas_metrics_aggregate.csv; the result records its source path and is re-derived during commit and audit. Checkpoint ranking and best-run reporting follow the approved operator (>=/> chooses the higher value, <=/< the lower), not a hard-coded metric convention.

Successful completion is exactly one of:

  • loop_stop(reason=kpi_met) after a bound evaluation satisfies its target;
  • loop_stop(reason=max_iterations) after the final allowed evaluation when the target is unmet or absent.

hard_stop is a failed terminal outcome, not successful completion.

Completion

At a normal loop boundary:

  1. commit loop_stop with the audit-selected reason;

  2. render ${RESULTS_DIR}/DEFT_Loop_Report.html with trigger loop-end;

  3. require this command to exit zero:

    "$SKILL_ROOT/scripts/deft_python.sh" --workspace "$WORKSPACE" --runtime \
      "$SKILL_ROOT/scripts/audit_deft_run.py" \
        --results-dir "$RESULTS_DIR" --require-complete
    

Report the stop reason, baseline and best metric, best iteration/checkpoint, completed iteration count, report path, and any warnings. A checkpoint, CSV, HTML file, or assistant statement alone is not completion evidence.

Progressive References

NeedRead
read-only checks, approval summary, initializationreferences/preflight.md
stage commands and script interfacesreferences/scripts-and-agents.md
state transitions and resume behaviorreferences/pipeline-and-state.md
dataset/archive contractreferences/data-layout.md
KPI parsing and evidencereferences/metric-contract.md
gap generationreferences/gap-analysis.md
embeddings, k-NN, selectionreferences/mining.md
contact sheets and t-SNEreferences/visualization.md
train/evaluate/checkpointsreferences/clip-train-eval.md

Frequently asked questions

What to verify before installation and use

What does the tao-run-deft-iaa source document cover?

Standalone install? If this session was not initialized by the TAO skill bank plugin, run the tao-setup skill first for host preflight, credential checks, and cross-skill discovery.

How do I install tao-run-deft-iaa?

The source record exposes this install command: npx skills add https://github.com/NVIDIA-TAO/tao-skill-bank --skill "skills/applications/tao-run-deft-iaa". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged read-files, exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10025,136

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10015,385

wanshuiyin/Auto-claude-code-research-in-sleep

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.

Computed 10014,706

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance

Computed 9967

brucesongs/kali-claw

insecure-design

Insecure Design (OWASP A06:2025) focuses on security flaws in system architecture and design phases, rather than code implementation-level bugs.