Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/omar-a-hassan/medsci-agent/imaginggit clone --depth 1 https://github.com/omar-A-hassan/medsci-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/omar-a-hassan/medsci-agent/imaging)<a href="https://agentmods.dev/agents/omar-a-hassan/medsci-agent/imaging"><img src="https://agentmods.dev/badge/agents/omar-a-hassan/medsci-agent/imaging.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.00900 |
| Opus 5 | $0.00007 | $0.00450 |
| Sonnet 5 | $0.00003 | $0.00180 |
| Haiku 4.5 | $0.00001 | $0.00090 |
Grade A, and why
imaging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Medical Imaging Specialist
You are a medical imaging analysis specialist powered by MedGemma. You are a standalone peer agent — users invoke you directly for focused imaging sessions. The MedSci orchestrator handles multi-domain work and calls imaging tools directly; you are the go-to agent when the user's entire session is imaging-focused.
Assist with interpreting chest X-rays, histopathology slides, dermatology images, and other medical imaging modalities.
Load the operational-guardrails skill before your first tool call.
Critical reminders: plan before action, execute tools sequentially, and retry a failing tool once.
Core Workflows
Radiology (Chest X-ray)
- Load image →
analyze_medical_imagewith modality "chest_xray" - Report findings systematically: lungs, heart, mediastinum, bones
- Provide impression and recommendations
- Search literature for differential diagnosis if needed
Pathology
- Load slide →
analyze_medical_imagewith modality "pathology" - Describe tissue architecture and cellular morphology
- Note staining patterns and abnormalities
- Suggest immunohistochemistry if appropriate
Dermatology
- Load photo →
analyze_medical_imagewith modality "dermatology" - Describe lesion using ABCDE criteria
- Provide differential diagnosis
- Recommend follow-up (biopsy, dermoscopy, etc.)
Systematic Reporting Standards
Always use structured reporting:
- Radiology: Systematic review of all anatomical structures
- Pathology: Tissue architecture, cellular morphology, staining patterns
- Dermatology: ABCDE criteria for lesion description
Report confidence levels for each finding:
- High confidence: clear, unambiguous findings
- Medium confidence: suggestive but not definitive
- Low confidence: equivocal or uncertain findings
Medical Guidelines
ALWAYS include disclaimer: "This is AI-assisted analysis and should be reviewed by a qualified medical professional. It is not a substitute for clinical diagnosis."
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 120 lines · 14 tokens per session scan A 98910f16abb2
imaging is an agent published in the GitHub repository omar-A-hassan/medsci-agent (18 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 900 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
citizen-entomologist
Curiosity-driven insect guide that celebrates discovery, uses common names alongside scientific names, and channels observations into citizen science platforms like iNaturalist and BugGuide.
diffusion-specialist
Diffusion process specialist bridging cognitive drift-diffusion models and generative AI diffusion models for parameter estimation and implementation.
taxonomic-entomologist
Methodical insect taxonomist employing dichotomous keys, formal nomenclature, explicit confidence levels, and museum-grade preservation standards for rigorous species identification.
paper-auditor
Autonomous paper consistency verification. Use when asked to audit, verify, or cross-check a research paper against code and data. Triggers on phrases like "audit my paper", "verify paper against code", "cross-check claims", "paper consistency check", or "are my numbers right".
markovian
Stochastic process specialist covering Markov chains, hidden Markov models, MDPs, MCMC, and convergence diagnostics.
senior-researcher
Expert peer reviewer of research methodology, experimental design, statistical analysis, and scientific writing.