csag-extraction SKILL.md skillA

csag-extraction from fmschulz/omics-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fmschulz/omics-skills/csag-extraction@v0.6.0

Pins v0.6.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fmschulz/omics-skills
Path
skills/csag-extraction/SKILL.md
Versions recorded
4
Latest version
v0.6.0, committed Aug 7, 2026
First version recorded
May 26, 2026
Size
13,090 bytes
Repository stars
11
License
MIT

Extract a Conditional Scientific Argumentation Graph and grounded Q&A from a manuscript. Use when representing assertions, contexts, evidence links, and inference steps in machine-readable form.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CSAG extraction skill

## Goal

Convert a manuscript into a **CSAG `PaperExtraction`** instance that is:

- **Schema-valid** (LinkML: `assets/csag.yaml`)
- **Evidence-grounded** (TextSpans for key objects)
- **Canonical** (support/refute only via `EvidenceLink`, chains via `InferenceStep`)
- **Conditional** (every Assertion has ≥1 Context)

## Files in this skill

- `assets/csag.yaml` — authoritative schema
- `assets/csag_qa_templates.yaml` — QA template catalog
- `references/CSAG_PLAYBOOK.md` — detailed extraction guide + edge cases

## Quick Reference

| Task | Action |
|------|--------|
| Extract paper | Build one `PaperExtraction` per manuscript, not per search hit. |
| Ground claims | Attach important assertions, evidence, and links to TextSpans. |
| Validate schema | Run `scripts/validate_paper_extraction.py` before finalizing. |
| Review quality | Run `scripts/csag_quality_report.py --strict` and resolve issues. |

## Non‑negotiable invariants

1) **Every Assertion MUST have ≥1 Context** (schema-enforced).
2) **Support/refute polarity ONLY in `EvidenceLink`**.
3) **Contradictions/qualification ONLY in `AssertionRelation`**.
4) **Reasoning chains ONLY as `InferenceStep`**.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fmschulz/omics-skills/csag-extraction@sha256:ff4e2140cfb6de16

The line at the top of this page pins the label v0.6.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yc4t6v2w4j4vnvji.svg)](https://markdownregistry.com/a/art_yc4t6v2w4j4vnvji)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between May 26, 2026 and Aug 7, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
v0.6.0 latest2026-08-07 4acaed9 13,090 BA view · diff
v0.6.02026-07-12 3675171 13,089 BA view · diff
v0.6.02026-07-11 5ae6f6f 12,813 BA view · diff
v0.6.02026-05-26 498d7f1 12,946 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13090 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fmschulz/omics-skills · 11 stars · license MIT · pushed 2026-10-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yc4t6v2w4j4vnvji
GET https://markdownregistry.com/api/v1/resolve?ref=fmschulz/omics-skills/csag-extraction
GET https://markdownregistry.com/api/v1/blob/ff4e2140cfb6de16a0c00ff0cdba025dc05e8d4bef6f620c66c47a264c911940

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fmschulz/omics-skills

AGENTS.md AGENTS.md file
fmschulz/omics-skills · AGENTS.md
git:20261002.3faa684 · audit A · 11 stars
ai-scientist-evaluator SKILL.md skill
fmschulz/omics-skills · skills/ai-scientist-evaluator/SKILL.md · Score finished AI-generated biology or bioinformatics work against its task and required artifacts. Use when auditing…
git:20261001.bf5afd6 · audit A · 11 stars
arxiv-search SKILL.md skill
fmschulz/omics-skills · skills/arxiv-search/SKILL.md · Search arXiv through its official API and write Markdown notes for arXiv IDs. Use for CS, math, physics, statistics, or…
git:20261001.bf5afd6 · audit A · 11 stars
beautiful-data-viz SKILL.md skill
fmschulz/omics-skills · skills/beautiful-data-viz/SKILL.md · Shared design rules for every plot, figure, chart, dashboard or data visual (matplotlib, seaborn, ggplot2, Plotly…
git:20261001.06f977a · audit A · 11 stars
bio-annotation SKILL.md skill
fmschulz/omics-skills · skills/bio-annotation/SKILL.md · Annotate proteins with functions, domains, and homology-based taxonomy. Use when assigning functional or taxonomic…
git:20261001.bf5afd6 · audit A · 11 stars
bio-assembly-qc SKILL.md skill
fmschulz/omics-skills · skills/bio-assembly-qc/SKILL.md · Assemble isolate genomes or metagenomes and run QUAST/MetaQUAST with a restartable driver. Use when turning QC-passed…
git:20261001.bf5afd6 · audit A · 11 stars
bio-binning-qc SKILL.md skill
fmschulz/omics-skills · skills/bio-binning-qc/SKILL.md · Bin metagenomic contigs with QuickBin and assess MAG quality with CheckM2, GUNC, EukCC, and GTDB-Tk. Use when binning…
git:20261001.bf5afd6 · audit A · 11 stars
bio-fasta-database-curator SKILL.md skill
fmschulz/omics-skills · skills/bio-fasta-database-curator/SKILL.md · Curate and validate FASTA or FAA databases. Use when standardizing headers, merging or deduplicating references…
git:20261001.bf5afd6 · audit A · 11 stars
bio-foundation-housekeeping SKILL.md skill
fmschulz/omics-skills · skills/bio-foundation-housekeeping/SKILL.md · Add LinkML/Pydantic metadata validation, Parquet tables, and a DuckDB catalog to a bioinformatics project. Use when…
git:20261001.bf5afd6 · audit A · 11 stars
bio-gene-calling SKILL.md skill
fmschulz/omics-skills · skills/bio-gene-calling/SKILL.md · Predict genes and count tRNA and rRNA genes in assemblies. Use when calling CDS in prokaryotic, viral, or eukaryotic…
git:20261001.bf5afd6 · audit A · 11 stars
bio-interdomain-hgt SKILL.md skill
fmschulz/omics-skills · skills/bio-interdomain-hgt/SKILL.md · Detect and polarize interdomain horizontal gene transfer with reciprocal hits, genomic context, and gene trees. Use for…
git:20261001.bf5afd6 · audit A · 11 stars
bio-logic SKILL.md skill
fmschulz/omics-skills · skills/bio-logic/SKILL.md · Assess a scientific claim, study design, or interpretation against its evidence. Use when testing causal reasoning…
git:20261001.bf5afd6 · audit A · 11 stars

Every file in fmschulz/omics-skills

Browse by kind, by grade A, or by owner.