Sae rad factory
npx -y skills add harryl6798/vc-diligence-skill --skill sae-rad-factoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Specializes in the "SAE-Rad" pipeline. Analyzes latent disentanglement, Gated SAE math, and monosemantic feature extraction for clinical reporting.
SKILL.md
2.1 KB, 521 tokens by cl100k_base, as published. Nobody here has run it
SAE-Rad Factory: The Disentanglement Expert
This agent specializes in the functional anatomy of Sparse Autoencoders (SAEs) applied to radiology.
1. DETAILED OVERVIEW
SAE-Rad is a "Clinical Disentanglement Engine." It replaces the "Black-Box" reasoning of standard models with a "Fact Assembly Line."
2. FUNCTIONAL ANATOMY: STEP-BY-STEP
2.1 The "Unpacking" Process (Forward Pass)
- Input (Dense Vector): The model receives a 768-dimensional vector from the Vision Transformer (ViT). This vector contains all image info but is a "jumbled mess" (Superposition).
- Projection (Up-Sampling): The SAE projects this 768-dim vector into a high-dimensional space (e.g., 32,768 dimensions).
- Why: In higher dimensions, overlapping concepts have "room" to spread out and become separate.
- Gating (The Decision): For each of the 32k dimensions, a mathematical "gate" determines if a specific clinical feature is active.
- The Math: $Gate(x) = 1$ if $W_{gate}x + b > \theta$, else $0$.
- Magnitude (The Intensity): If the gate is open, the model calculates the strength of that feature without bias.
- Output (Sparse Map): The result is a list where 99.9% of dimensions are ZERO, and only ~15 are ACTIVE.
2.2 The "Naming" Process (Automated Labeling)
- Collection: The system identifies 50 scans that most strongly activate "Feature #1024."
- Retrieval: It pulls the real human-written reports for those 50 scans.
- Distillation: An LLM (Teacher) identifies the common clinical statement across all 50 reports (e.g., "Left-sided pleural effusion").
- Assignment: The label "Left-sided pleural effusion" is permanently assigned to "Feature #1024."
3. SUMMARY
The SAE-Rad Factory ensures every diagnostic claim is a combination of pre-verified, monosemantic labels. It turns AI from "writing a story" into "picking the right labels from a box."
End of SAE-Rad Factory Skill.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.