Skip to content

Commit f022ac2

Browse files
fedorovclaude
andcommitted
Add update notifications and rename repo references (v1.6.5)
- Session-start notify-only checks: warn when a newer idc-index (PyPI) or skill version (GitHub Releases) is available; never auto-install, fail silently offline. Install still pins to an author-vetted MIN_VERSION. - Switch version comparison from string to numeric tuple comparison; fix idc-index version drift (0.12.2 vs 0.12.3) -> 0.12.3. - Rename repository references idc-claude-skill -> imaging-data-commons-skill across SKILL.md, README.md, USAGE.md. - Add "Keeping the Skill Up to Date" section to USAGE.md; link from README. - Bump version to 1.6.5 and add CHANGELOG entry. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 26d4fa5 commit f022ac2

4 files changed

Lines changed: 111 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to the IDC Claude Skill are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/),
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [1.6.5] - 2026-06-17
9+
10+
### Added
11+
12+
- Session-start notifications (best-effort, notify-only): warn when a newer `idc-index` (PyPI) or skill version (GitHub Releases) is available; never auto-install, fail silently offline
13+
- "Keeping the Skill Up to Date" section in `USAGE.md` (release notifications, per-surface update steps, fresh-conversation reminder); linked from README
14+
15+
### Changed
16+
17+
- Renamed repository references `idc-claude-skill``imaging-data-commons-skill` across `SKILL.md`, `README.md`, `USAGE.md`
18+
- Reworked startup version-check: pinned author-vetted `MIN_VERSION` for install; numeric (not string) version comparison
19+
20+
### Fixed
21+
22+
- Reconciled `idc-index` version drift between the check block (`0.12.2`) and frontmatter (`0.12.3`); both now `0.12.3`
23+
824
## [1.6.4] - 2026-05-22
925

1026
### Changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Once the skill is loaded, you can ask questions like:
2121

2222
## Reporting Issues
2323

24-
If the skill provides incorrect or incomplete answers, please [open an issue](https://github.com/ImagingDataCommons/idc-claude-skill/issues/new/choose) using our issue template.
24+
If the skill provides incorrect or incomplete answers, please [open an issue](https://github.com/ImagingDataCommons/imaging-data-commons-skill/issues/new/choose) using our issue template.
2525

2626
## Setup Instructions
2727

@@ -33,7 +33,7 @@ This skill follows [Semantic Versioning](https://semver.org/).
3333

3434
- **Requires:** [idc-index](https://github.com/ImagingDataCommons/idc-index)
3535

36-
See [CHANGELOG.md](CHANGELOG.md) for version history and [Releases](https://github.com/ImagingDataCommons/idc-claude-skill/releases) for downloads.
36+
See [CHANGELOG.md](CHANGELOG.md) for version history and [Releases](https://github.com/ImagingDataCommons/imaging-data-commons-skill/releases) for downloads. For how to stay current with new releases and IDC data versions, see [Keeping the Skill Up to Date](USAGE.md#keeping-the-skill-up-to-date).
3737

3838
## Credits
3939

SKILL.md

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: imaging-data-commons
33
description: Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data access, radiology (CT, MR, PET) or pathology AI training sets, metadata queries, visualization, or license checks — even when the user doesn't explicitly mention "IDC". No authentication required.
44
license: This skill is provided under the MIT License. IDC data itself has individual licensing (mostly CC-BY, some CC-NC) that must be respected when using the data.
55
metadata:
6-
version: 1.6.4
6+
version: 1.6.5
77
skill-author: Andrey Fedorov, @fedorov
88
idc-index: "0.12.3"
99
idc-data-version: "v24"
10-
repository: https://github.com/ImagingDataCommons/idc-claude-skill
10+
repository: https://github.com/ImagingDataCommons/imaging-data-commons-skill
1111
---
1212

1313
# Imaging Data Commons
@@ -27,16 +27,53 @@ Use the `idc-index` Python package to query and download public cancer imaging d
2727
```python
2828
import idc_index
2929

30-
REQUIRED_VERSION = "0.12.2" # Must match metadata.idc-index in this file
30+
# Pinned, author-vetted minimum. Keep in sync with metadata.idc-index above.
31+
MIN_VERSION = "0.12.3"
32+
33+
def _ver(v):
34+
return tuple(int(x) for x in v.split(".")[:3])
35+
3136
installed = idc_index.__version__
3237

33-
if installed < REQUIRED_VERSION:
34-
print(f"Upgrading idc-index from {installed} to {REQUIRED_VERSION}...")
38+
# Enforce the pinned minimum (numeric comparison, not string comparison).
39+
if _ver(installed) < _ver(MIN_VERSION):
40+
print(f"Upgrading idc-index from {installed} to {MIN_VERSION}...")
3541
import subprocess
36-
subprocess.run(["pip3", "install", "--upgrade", "--break-system-packages", f"idc-index=={REQUIRED_VERSION}"], check=True)
42+
subprocess.run(
43+
["pip3", "install", "--upgrade", "--break-system-packages", f"idc-index=={MIN_VERSION}"],
44+
check=True,
45+
)
3746
print("Upgrade complete. Restart Python to use new version.")
3847
else:
39-
print(f"idc-index {installed} meets requirement ({REQUIRED_VERSION})")
48+
print(f"idc-index {installed} meets the pinned minimum ({MIN_VERSION})")
49+
50+
# Notify only (don't auto-install): a newer release may bring a newer IDC data version
51+
# and/or package improvements.
52+
try:
53+
import json, urllib.request
54+
latest = json.load(urllib.request.urlopen(
55+
"https://pypi.org/pypi/idc-index/json", timeout=5))["info"]["version"]
56+
if _ver(latest) > _ver(installed):
57+
print(f"ℹ️ idc-index {latest} available (you have {installed}); may include newer IDC "
58+
f"data and/or improvements. To update: pip install --upgrade idc-index")
59+
except Exception:
60+
pass # offline / PyPI unreachable — skip silently
61+
62+
# Notify only: is a newer version of this skill itself available? Keep in sync with
63+
# metadata.version above. Update by reinstalling from the latest release (see USAGE.md).
64+
SKILL_VERSION = "1.6.5"
65+
try:
66+
import json, urllib.request
67+
tag = json.load(urllib.request.urlopen(
68+
"https://api.github.com/repos/ImagingDataCommons/imaging-data-commons-skill/releases/latest",
69+
timeout=5))["tag_name"]
70+
latest_skill = tag[1:] if tag.startswith("v") else tag
71+
if _ver(latest_skill) > _ver(SKILL_VERSION):
72+
print(f"ℹ️ A newer IDC skill version ({latest_skill}) is available (you have "
73+
f"{SKILL_VERSION}). See "
74+
f"https://github.com/ImagingDataCommons/imaging-data-commons-skill/releases/latest")
75+
except Exception:
76+
pass # offline / GitHub unreachable — skip silently
4077
```
4178

4279
**Verify IDC data version and check current data scale:**
@@ -752,5 +789,5 @@ See the Quick Navigation section at the top for the full list of reference guide
752789
### Skill Updates
753790

754791
This skill version is available in skill metadata. To check for updates:
755-
- Visit the [releases page](https://github.com/ImagingDataCommons/idc-claude-skill/releases)
792+
- Visit the [releases page](https://github.com/ImagingDataCommons/imaging-data-commons-skill/releases)
756793
- Watch the repository on GitHub (Watch → Custom → Releases)

USAGE.md

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document provides technical instructions for integrating the IDC Claude ski
66

77
### Install the skill
88

9-
1. Download the latest release ZIP from the [Releases page](https://github.com/ImagingDataCommons/idc-claude-skill/releases/latest)
9+
1. Download the latest release ZIP from the [Releases page](https://github.com/ImagingDataCommons/imaging-data-commons-skill/releases/latest)
1010
2. Open Claude Customize settings https://claude.ai/customize, select "Skills" and upload the `imaging-data-commons` skill ZIP file.
1111
- <img width="871" height="292" alt="2026-05-18_12-37-57" src="https://github.com/user-attachments/assets/e12a94dc-6d7f-402f-a7e6-b1c6b9cf869d" />
1212

@@ -47,7 +47,7 @@ If you're using [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (t
4747
The simplest way to install this skill using the [Skills.sh](https://skills.sh/) framework:
4848

4949
```bash
50-
npx skills add ImagingDataCommons/idc-claude-skill
50+
npx skills add ImagingDataCommons/imaging-data-commons-skill
5151
```
5252

5353
This command will automatically detect all AI agents on your system and offer to install the skill across all of them, making it available system-wide. Once installed, invoke with `/imaging-data-commons` or let your AI assistant auto-detect based on questions about IDC.
@@ -58,10 +58,10 @@ Link or copy the skill to your personal skills directory. This makes it availabl
5858

5959
```bash
6060
# Create a symlink (keeps skill updated with repo)
61-
ln -s /path/to/idc-claude-skill ~/.claude/skills/imaging-data-commons
61+
ln -s /path/to/imaging-data-commons-skill ~/.claude/skills/imaging-data-commons
6262

6363
# Or copy the entire directory
64-
cp -r /path/to/idc-claude-skill ~/.claude/skills/imaging-data-commons
64+
cp -r /path/to/imaging-data-commons-skill ~/.claude/skills/imaging-data-commons
6565
```
6666

6767
Once installed, invoke with `/imaging-data-commons` or let Claude auto-detect based on your questions about IDC.
@@ -72,7 +72,7 @@ For project-specific use, link to your project's `.claude/skills/` directory:
7272

7373
```bash
7474
mkdir -p /path/to/your-project/.claude/skills
75-
ln -s /path/to/idc-claude-skill /path/to/your-project/.claude/skills/imaging-data-commons
75+
ln -s /path/to/imaging-data-commons-skill /path/to/your-project/.claude/skills/imaging-data-commons
7676
```
7777

7878
This makes the skill available only when working in that project.
@@ -82,22 +82,22 @@ This makes the skill available only when working in that project.
8282
For one-time use without permanent installation, ask Claude to read the skill file at the start of your session:
8383

8484
```
85-
Please read /path/to/idc-claude-skill/SKILL.md and use it for IDC queries.
85+
Please read /path/to/imaging-data-commons-skill/SKILL.md and use it for IDC queries.
8686
```
8787

8888
Ask Claude to load reference guides as needed for specific topics:
8989

9090
```
91-
Please also read /path/to/idc-claude-skill/references/bigquery_guide.md # BigQuery advanced queries
92-
Please also read /path/to/idc-claude-skill/references/dicomweb_guide.md # DICOMweb API access
93-
Please also read /path/to/idc-claude-skill/references/index_tables_guide.md # Table schemas and join columns
94-
Please also read /path/to/idc-claude-skill/references/sql_patterns.md # Quick-reference SQL patterns
95-
Please also read /path/to/idc-claude-skill/references/use_cases.md # End-to-end workflow examples
96-
Please also read /path/to/idc-claude-skill/references/digital_pathology_guide.md # Pathology (SM, ANN, SEG)
97-
Please also read /path/to/idc-claude-skill/references/clinical_data_guide.md # Clinical/tabular data
98-
Please also read /path/to/idc-claude-skill/references/cloud_storage_guide.md # Direct GCS/S3 access
99-
Please also read /path/to/idc-claude-skill/references/cli_guide.md # idc-index CLI tools
100-
Please also read /path/to/idc-claude-skill/references/parquet_access_guide.md # Direct Parquet queries
91+
Please also read /path/to/imaging-data-commons-skill/references/bigquery_guide.md # BigQuery advanced queries
92+
Please also read /path/to/imaging-data-commons-skill/references/dicomweb_guide.md # DICOMweb API access
93+
Please also read /path/to/imaging-data-commons-skill/references/index_tables_guide.md # Table schemas and join columns
94+
Please also read /path/to/imaging-data-commons-skill/references/sql_patterns.md # Quick-reference SQL patterns
95+
Please also read /path/to/imaging-data-commons-skill/references/use_cases.md # End-to-end workflow examples
96+
Please also read /path/to/imaging-data-commons-skill/references/digital_pathology_guide.md # Pathology (SM, ANN, SEG)
97+
Please also read /path/to/imaging-data-commons-skill/references/clinical_data_guide.md # Clinical/tabular data
98+
Please also read /path/to/imaging-data-commons-skill/references/cloud_storage_guide.md # Direct GCS/S3 access
99+
Please also read /path/to/imaging-data-commons-skill/references/cli_guide.md # idc-index CLI tools
100+
Please also read /path/to/imaging-data-commons-skill/references/parquet_access_guide.md # Direct Parquet queries
101101
```
102102

103103
### Verifying Installation
@@ -145,6 +145,36 @@ message = client.messages.create(
145145
)
146146
```
147147

148+
## Keeping the Skill Up to Date
149+
150+
The skill is refined frequently, and IDC publishes periodic (roughly quarterly) data releases. A skill that was accurate against one IDC release can return stale answers once a newer one lands, so it is worth staying current.
151+
152+
When network access is available, the skill checks at the start of a session and prints a notice if a newer `idc-index` package or a newer skill release is available. You can also subscribe to release notifications and update manually as described below.
153+
154+
### Get notified of new releases
155+
156+
The skill follows [Semantic Versioning](https://semver.org/) and publishes a GitHub Release for each update. On the [repository page](https://github.com/ImagingDataCommons/imaging-data-commons-skill), click **Watch → Custom → Releases** to be alerted whenever a new version is tagged. Skim the release notes first — they flag breaking changes, such as column renames or other schema changes.
157+
158+
### Update the skill
159+
160+
**claude.ai and Claude Desktop** — a custom skill is updated by replacing it:
161+
162+
1. Download the latest release ZIP from the [Releases page](https://github.com/ImagingDataCommons/imaging-data-commons-skill/releases/latest).
163+
2. Confirm **Code execution and file creation** is enabled under **Settings > Capabilities**.
164+
3. At https://claude.ai/customize, select **Skills**, delete the existing `imaging-data-commons` skill (**···****Delete**), and upload the new ZIP.
165+
166+
**Claude Code** — re-run the installer to pull the latest version:
167+
168+
```bash
169+
npx skills add ImagingDataCommons/imaging-data-commons-skill
170+
```
171+
172+
If you installed by symlinking a local clone (USAGE Options 2–3), just `git pull` in that clone — the symlink always reflects the latest checked-out version.
173+
174+
### Start a fresh conversation after updating
175+
176+
A skill loads into a conversation when Claude decides it is relevant, at the session level. Updating the skill in settings does **not** change a conversation already underway. After updating, **start a new conversation** so the new version is picked up.
177+
148178
## Example Workflows
149179

150180
### Basic Data Discovery
@@ -193,7 +223,7 @@ Claude: [Checks license and explains usage restrictions]
193223

194224
- **Verify skill is loaded**: Ask Claude "What do you know about the Imaging Data Commons?" — it should give a detailed response
195225
- **Be specific**: Use clear questions like "Find lung CT scans in IDC" rather than just "find scans"
196-
- **Report issues**: If the skill fails to answer expected questions, [open an issue](https://github.com/ImagingDataCommons/idc-claude-skill/issues/new/choose)
226+
- **Report issues**: If the skill fails to answer expected questions, [open an issue](https://github.com/ImagingDataCommons/imaging-data-commons-skill/issues/new/choose)
197227

198228
### Installation Commands Fail
199229

@@ -218,6 +248,6 @@ Claude: [Checks license and explains usage restrictions]
218248
## Support
219249

220250
For questions about:
221-
- **The skill itself**: [Open a GitHub issue](https://github.com/ImagingDataCommons/idc-claude-skill/issues)
251+
- **The skill itself**: [Open a GitHub issue](https://github.com/ImagingDataCommons/imaging-data-commons-skill/issues)
222252
- **IDC data or platform**: [IDC Forum](https://discourse.canceridc.dev/)
223253
- **idc-index package**: [idc-index Issues](https://github.com/ImagingDataCommons/idc-index/issues)

0 commit comments

Comments
 (0)