Skip to content
Back to skills

Export Proposed Terms

ASecurity

Export top-level ai-gene-review `proposed_new_terms` entries to a deterministic TSV table.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 4, 2026
ai-agentspythonbash

Security analysis

A100/100

Scanned October 4, 2026

npx -y skills add ai4curation/ai-gene-review --skill export-proposed-terms --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Export Proposed Terms?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Export Proposed Terms
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ai4curation-export-proposed-terms/badge)](https://www.skillsdirectory.com/skills/ai4curation-export-proposed-terms)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: export-proposed-terms
description: Export top-level ai-gene-review `proposed_new_terms` entries to a deterministic TSV table.
---

# Export Proposed Terms

Use this skill when the user asks for a TSV or tabular extract of ontology term
requests recorded in gene review YAML files.

Run the helper from the repository root:

```bash
uv run python src/ai_gene_review/tools/export_proposed_terms.py -o reports/proposed_new_terms.tsv
```

Pass files or directories after the options to restrict the export. With no
inputs, the helper scans `genes/**/*-ai-review.yaml`.

The TSV defaults to `reports/proposed_new_terms.tsv`. It has one row per
top-level `proposed_new_terms` entry and skips reviews where
`proposed_new_terms` is empty. It includes:

- source review fields: `source_path`, `organism`, `gene_directory`,
  `review_id`, `gene_symbol`, `taxon_id`, `taxon_label`
- proposal fields: `term_index`, `proposed_name`, `proposed_definition`,
  `justification`, `proposed_parent_id`, `proposed_parent_label`
- structured evidence fields serialized as JSON: `proposed_mappings`,
  `supported_by`

The exporter intentionally ignores `knowledge_gaps[].proposed_terms`; those are
nested gap-specific proposals, not the review's top-level ontology request list.
If the user explicitly asks for gap proposals too, write a separate ad hoc
extract with a column that distinguishes top-level terms from gap terms.

For custom column order, filtering, or aggregation, treat the generated TSV as a
staging table and post-process it with Python's `csv` module or pandas. Preserve
TSV safety by keeping embedded tabs and newlines out of scalar cells.

Treat the TSV as a read-only reporting view, not a round-trip editing source.
Scalar columns are whitespace-normalized for tabular readability; nested
`proposed_mappings` and `supported_by` values are compact JSON for inspection.
When updating a review, copy exact `supporting_text` from the source YAML or
publication cache, not from a TSV extract.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.