auto-ontology
Skill1 starsChanged 6 days agoMITView on GitHub
Build and check NVIDIA Auto Ontology maps. Use when asked to "set up Auto Ontology", "build a semantic layer", "validate a metric mapping", or "check text-to-SQL". Not for schema design.
- Reads credentials
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-orchestratorSkill
- algorithmic-complexity-analyzerSkill
- api-securitySkill
- architectural-planningSkill
- bdd-gherkin-testerSkill
- caching-queues-reviewerSkill
- code-reviewerSkill
- csharp-developerSkill
- design-pattern-detectorSkill
- detect-overengineeringSkill
- eval-driven-developmentSkill
- git-committerSkill
- github-security-scanner-hookSkill
- java-developerSkill
- legacy-code-modernizationSkill
- llm-as-judgeSkill
- load-memorySkill
- memory-analyzerSkill
- nodejs-executorSkill
- playwright-testerSkill
- powershell-writerSkill
- pull-request-reviewerSkill
- python-api-writerSkill
- python-developerSkill
- python-linterSkill
- rag-pipelineSkill
- react-developerSkill
- researcher-poc-testerSkill
- save-memorySkill
- scan-halucinated-testsSkill
- scan-repo-readmeSkill
- site-reliability-engineerSkill
- skill-creatorSkill
- skill-doctorSkill
- sql-connectorSkill
- sql-executorSkill
- sync-github-forksSkill
- test-data-creatorSkill
- trace-code-contextSkill
- troubleshoot-and-fixSkill
- typescript-developerSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Run the validator from the repository root.
- Distinctive: line 51
Generate the draft: Use the ingestion and generation workflow for the installed release.
- Distinctive: line 52
Check how rows join: Write down the grain of each source and the expected cardinality.
- Distinctive: line 68
Ask the real owner to confirm tax treatment, refund status and attribution, currency, and the fiscal calendar before applying these rules …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
NVIDIA Auto Ontology
Choose The Starting Point
| Inputs available | Action |
| Running Auto Ontology and an approved read-only source | Confirm the deployment version and connector, then generate a scoped draft. |
| Only an approved schema export, glossary, or report SQL | Draft the map from those artifacts. Run the offline validator once table and column metadata is available. Do not claim NVIDIA ingestion or certification. |
| No approved business definition or baseline | Identify the data owner and list unresolved decisions. Do not invent formulas from column names. |
Offline Mapping Check
- Make a JSON bundle using the net-revenue fixture as the template. Supply a
schemaobject mapping exact table names to column lists, and ametricobject withname,owner,grain,calculation,columns, andjoins. Usetable.columnreferences (orschema.table.columnfor qualified tables); list join endpoints asleftandright, and declare cardinality from left to right. Use[]forjoinson a single-table metric. Run the validator from the repository root. First run the sample, then replace the last argument with the prepared bundle.
.\.venv\Scripts\python.exe .github/skills/auto-ontology/scripts/validate-mapping.py .github/skills/auto-ontology/assets/net-revenue.jsonOn Linux/macOS, use
.venv/bin/python. For a reusable report, redirect stdout to a new file such asontology-validation.json.- Read the report:
metric,status,errors, andhuman_review. Exit0means the structural checks passed;1means the report has validation errors;2means the input could not be read as a JSON object or the invocation was invalid. The sample should pass and flag its one-to-many join for fan-out review.
This is a local input format, not a NVIDIA import format. The check does not connect to a database, execute SQL, verify actual cardinality, or certify a definition. Keep the mapping draft until real-data reconciliation and owner approval are recorded.
Local Quickstart
Use the upstream quickstart matching the checkout. For a new local Compose deployment, confirm Docker Compose v2 is available and run from the root of the NVIDIA checkout. Copy the environment template only if .env does not already exist, then fill in the model endpoint credentials, app credentials, and approved source configuration described by that checkout. Keep credentials out of the repo and agent output.
if (-not (Test-Path -LiteralPath .env)) {
Copy-Item -LiteralPath .env.example -Destination .env
}
# Configure .env before starting the services.
docker compose config --services
docker compose up -d --wait postgres
docker compose up -d --build
docker compose psUse the frontend URL from the deployment configuration. Confirm that the app opens and that the approved source can be inspected before starting ingestion. For Kubernetes, use the NVIDIA deployment overview. Do not guess connector support, UI labels, API paths, or CLI flags; verify them for the installed release. Before enabling profiling or a hosted model, check whether schema names, sample values, or query history may leave the environment.
Generate And Certify
- Scope one question. Record the expected metric, reporting grain (what one output row represents), approved tables or views, owner, and known-good report or query. Start with existing business definitions and exclude unrelated schemas.
- Generate the draft. Use the ingestion and generation workflow for the installed release. Inspect the draft for business terms and aliases, table and column mappings, join conditions, and proposed SQL expressions. Distinguish declared keys from inferred relationships and mark assumptions that need confirmation.
- Check how rows join. Write down the grain of each source and the expected cardinality. Test whether combining them drops unmatched rows or multiplies amounts. Aggregate child rows to the parent grain before combining amounts when the business definition requires it.
- Reconcile the generated answer. Capture the generated SQL. Compare the result with the approved baseline using identical dates, time zone, filters, and grain. Compare at least one breakdown as well as the total so offsetting errors cannot hide. Check a boundary case and an ambiguous question. On ambiguous terms, ask for clarification instead of guessing.
- Publish only after approval. Record the owner, reviewed definition, evidence, and limitations. Expose certified terms over the supported MCP, API, or CLI surface, and verify the agent returns the intended definition and respects source permissions. Re-run the checks when mappings or business rules change.
Worked Example: Net Revenue
For this synthetic pilot only, assume an approved policy of order subtotal before tax minus completed refunds, with refunds attributed back to the order's fiscal quarter.
| Map entry | Example |
Order | orders.order_id, one row per order; booked_at determines fiscal quarter |
Refund | refunds.refund_id, one row per refund; link refunds.order_id to orders.order_id (many refunds to one order) |
Net revenue | Sum order subtotal less completed refunds aggregated by order. Keep orders with no refunds and treat their refund total as zero. |
| Ground truth | Order A: subtotal 100, completed refunds 10 and 15; order B: subtotal 50, no refunds. Expected per-order values: 75 and 50. Expected total: 125. |
| Regression checks | A direct join can incorrectly count order A's subtotal twice. A pending refund must not change the total. A refund paid in the next quarter still applies to the order's quarter under this example policy. |
Ask the real owner to confirm tax treatment, refund status and attribution, currency, and the fiscal calendar before applying these rules to production.
Handoff
For each metric, return the name and aliases, owner and definition source, tables and columns, grain and joins, calculation and filters, date semantics, and reconciliation evidence. Use draft, validated, or owner-approved as handoff labels, not assumed product states. List unresolved rules and checks you could not run.
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.

