cdf-curation-and-retrieval
CLAUDE.md0 starsChanged 27 days agoApache-2.0View on GitHub
Product / repo: cdf-curation-and-retrieval Integration and operator environment for CDF Curation and Retrieval. Pipeline logic stays in vendor images (Cosmos Curator and Data Mining). This repository exposes Make as the supported local operator UX. The installed cdf_curation_and_retrieval CLI is a non-interactive helper for Make targets, orchestrators, and tests; do not present it as a separate public product UX. Customer documentation: docs/user-guide/README.md. Cookbooks: cookbook/README.md. Default Curator / Data Mining / CDS image pins: root Makefile (override via .env / local.env). Make…
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- NVIDIA/paidf-curation-and-retrievalword for word, first seen Oct 18, 2026
Other versions1 project uses a version of this.
Word for word · 1
- NVIDIA/paidf-curation-and-retrieval★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cdf-curation-and-retrievalSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 38
Run engines via Make:
- Very specific: line 68
Default Curator / Data Mining / CDS image pins: root Makefile (override via .env / local.env).
- Very specific: line 84
Keep operator documentation Make-first.
- Very specific: line 103
Curator: prefer flat YAML with snake_case keys matching upstream argparse dest names.
- Distinctive: line 147
Never hardcode machine-specific paths in config YAMLs.
- Very specific: line 148
Commit messages follow conventional commits (feat:, fix:, chore:, docs:).
- Very specific: line 152
Never commit secrets, local.env, or private registry hosts.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cosmos Data Factory — Curation and Retrieval
Product / repo: cdf-curation-and-retrieval
Integration and operator environment for CDF Curation and Retrieval. Pipeline
logic stays in vendor images (Cosmos Curator and Data Mining). This
repository exposes Make as the supported local operator UX.
The installed cdf_curation_and_retrieval CLI is a non-interactive helper for
Make targets, orchestrators, and tests; do not present it as a separate public
product UX.
Project Layout
.env.example Image pins
adapters/ Curator, Data Mining, and Docker runtime integration
apps/ Click delivery, workflow modules, composition root
packages/ Domain types, ports, analytics
configs/ Full Curator reference YAMLs (split, dedup, shard, image)
cookbook/ Scenario recipes
docs/ Operator user-guide and architecture
skills/ Agent skills (SKILL.md per skill)
tests/unit/ Unit tests
.external/ Ignored optional upstream source checkoutsCustomer documentation: docs/user-guide/README.md.
How It Works
- Copy env and sync deps:
cp .env.example .envuv sync
- Pull vendor images (never build them in the normal path):
make pull— Cosmos Curatormake pull-data-mining— Data Mining
- Curator host FFmpeg sidecar:
make ffmpeg-installthenmake check-setup - Run engines via Make:
- Curator:
make run-pipeline CONFIG_FILE=…/make run_image_pipeline - Image embeddings:
make run-image-embeddings … - Text embeddings:
make run-text-embeddings … - Mining:
make run-data-mining-select TMM_CONFIG_FILE=… - Unique match:
make run-data-mining-unique-match TMM_UNM_CONFIG_FILE=…
- Curator:
Cookbooks: cookbook/README.md.
Operator Entry Points (Make)
| Command | Purpose |
make help | Show targets and configuration |
make check-setup | Prerequisites (Docker, NVIDIA, FFmpeg sidecar) |
make pull | Pull Curator image and retag locally |
make pull-data-mining | Pull tao-toolkit image |
make ffmpeg-install | Install host FFmpeg sidecar (conda-forge LGPL) |
make download-models | Download Curator model weights (~90GB) |
make run-pipeline | Run Curator video pipeline in Docker |
make run_image_pipeline | Run Curator image annotate (upstream config-file mode) |
make shell | Interactive shell in Curator container |
make run-data-mining-select | TAO tmm nearest_neighbors |
make run-data-mining-unique-match | TAO tmm unique_neighbor_matching |
make run-image-embeddings | TAO embedding image_embeddings |
make run-text-embeddings | TAO embedding text_embeddings |
make format | Format with ruff |
make clean | Clean up (preserves images and models) |
make clone-curator / make build | Optional Curator source build only |
Default Curator / Data Mining / CDS image pins: root Makefile
(override via .env / local.env).
Internal Automation CLI
Make targets call the installed helper:
uv run cdf_curation_and_retrieval ...Canonical helper groups are:
cdf_curation_and_retrieval integration ...for finite TAO Data Services image-embedding handoffs.
Keep operator documentation Make-first. Use direct cdf_curation_and_retrieval
commands only for
automation, tests, or orchestration contracts.
Development
uv sync --extra dev
uv run ruff check .
uv run ruff format .
uv run pytest tests/unit -q- Python 3.10+, ruff line-length 100, double quotes.
- Engines ship inside pulled Docker images; do not redeclare engine-only packages in this project's dependencies.
Configuration
Curator: prefer flat YAML with snake_case keys matching upstream argparse
dest names. CDF preflight also accepts a nested args mapping and flattens
it before invoking Curator. Upstream fills omitted keys from parser defaults.
Templates in configs/: split.yaml, dedup.yaml, shard.yaml, image.yaml.
Cookbook scenarios under cookbook/ hold minimal recipe overrides.
Mining: Make targets + TAO experiment YAML (tmm.yaml) — see cookbook/.
Environment Variables
Image pins: copy .env.example → .env.
Object-store credentials are injected at runtime by the selected operator
deployment mechanism. Handoff commands accept credential environment-variable
names (OBJECT_STORE_ACCESS_KEY_ENV, OBJECT_STORE_SECRET_KEY_ENV) rather
than credential values. Never commit or document secret values.
Model weights: set model_weights_path in Curator config or MODELS_DIR.
Skills
Skills are in skills/. Each has a SKILL.md with progressive
disclosure via references/ subdirectories.
| Skill | Purpose |
cdf-curation-and-retrieval | Cosmos Curator split / dedup / shard / image annotate: configure, run, troubleshoot, KPI and distribution-aware curation |
Scope notes:
- Data Mining ops are covered by
make help/ cookbooks, not by expanding this Curator-focused skill into a second product surface.
Domain Catalogs
Domain catalogs in .agents/references/catalogs/ define canonical event
taxonomies with tiered severity levels, alias remap tables, and keyword
lists. Supported domains: traffic safety, warehouse, construction,
parking facility video analytics, retail store video analytics, facility
incident analytics, logistics, and workplace visual safety.
Conventions
- Never hardcode machine-specific paths in config YAMLs; use placeholders.
- Commit messages follow conventional commits (
feat:,fix:,chore:,docs:). - Operator UX is Make-first; keep
cdf_curation_and_retrievaldocumented as an internal automation helper, not a separate public UX. - Never commit secrets,
local.env, or private registry hosts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

