Medchem (compound triage)
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- Medchem (compound triage)
- perks
- [ "rules", "common_alerts", "nibr", "alerts", "lilly", "complexity", "query", "groups" ]
- skill
- medchem
02 资源文件 63
- 其他blueprint.drawio2.7 KB
- 参考文档blueprint.json3.5 KB
- 资产文件blueprint.svg8.9 KB
- 参考文档index.json6.6 KB
- 参考文档ledger.json369 B
- 许可证LICENSE.txt1.0 KB
- 参考文档perks.json2.0 KB
- 参考文档perks/alerts/manifesto.json357 B
- 参考文档perks/alerts/metadata.json1.0 KB
- 参考文档perks/alerts/src/contracts.json389 B
- 脚本perks/alerts/src/filter_molecules.py12.0 KB
- 脚本perks/alerts/src/mc_alerts.sh794 B
- 参考文档perks/alerts/test/case.json228 B
- 参考文档perks/alerts/test/fixture/mols.txt63 B
- 参考文档perks/common_alerts/manifesto.json320 B
- 参考文档perks/common_alerts/metadata.json838 B
- 参考文档perks/common_alerts/src/contracts.json347 B
- 脚本perks/common_alerts/src/filter_molecules.py12.0 KB
- 脚本perks/common_alerts/src/mc_common_alerts.sh763 B
- 参考文档perks/common_alerts/test/case.json220 B
- 参考文档perks/common_alerts/test/fixture/mols.txt63 B
- 参考文档perks/complexity/manifesto.json487 B
- 参考文档perks/complexity/metadata.json1.1 KB
- 参考文档perks/complexity/src/contracts.json490 B
- 脚本perks/complexity/src/filter_molecules.py12.0 KB
- 脚本perks/complexity/src/mc_complexity.sh915 B
- 参考文档perks/complexity/test/case.json269 B
- 参考文档perks/complexity/test/fixture/mols.txt63 B
- 参考文档perks/groups/manifesto.json357 B
- 参考文档perks/groups/metadata.json1.1 KB
- 参考文档perks/groups/src/contracts.json389 B
- 脚本perks/groups/src/filter_molecules.py12.0 KB
- 脚本perks/groups/src/mc_groups.sh790 B
- 参考文档perks/groups/test/case.json252 B
- 参考文档perks/groups/test/fixture/mols.txt63 B
- 参考文档perks/lilly/manifesto.json366 B
- 参考文档perks/lilly/metadata.json1.1 KB
- 参考文档perks/lilly/src/contracts.json388 B
- 脚本perks/lilly/src/filter_molecules.py12.0 KB
- 脚本perks/lilly/src/mc_lilly.sh796 B
- 参考文档perks/lilly/test/case.json220 B
- 参考文档perks/lilly/test/fixture/mols.txt63 B
- 参考文档perks/nibr/manifesto.json293 B
- 参考文档perks/nibr/metadata.json861 B
- 参考文档perks/nibr/src/contracts.json311 B
- 脚本perks/nibr/src/filter_molecules.py12.0 KB
- 脚本perks/nibr/src/mc_nibr.sh731 B
- 参考文档perks/nibr/test/case.json193 B
- 参考文档perks/nibr/test/fixture/mols.txt63 B
- 参考文档perks/query/manifesto.json350 B
- 参考文档perks/query/metadata.json1.1 KB
- 参考文档perks/query/src/contracts.json384 B
- 脚本perks/query/src/filter_molecules.py12.0 KB
- 脚本perks/query/src/mc_query.sh762 B
- 参考文档perks/query/test/case.json268 B
- 参考文档perks/query/test/fixture/mols.txt63 B
- 参考文档perks/rules/manifesto.json350 B
- 参考文档perks/rules/metadata.json1.0 KB
- 参考文档perks/rules/src/contracts.json384 B
- 脚本perks/rules/src/filter_molecules.py12.0 KB
- 脚本perks/rules/src/mc_rules.sh771 B
- 参考文档perks/rules/test/case.json237 B
- 参考文档perks/rules/test/fixture/mols.txt63 B
03 SKILL.md 正文
medchem — Medchem (compound triage)
Filter and triage compound libraries with medicinal-chemistry rules, structural-alert
catalogs, complexity metrics, chemical-group detection, and the medchem query language.
Each perk reads a molecule file (.csv/.tsv with a smiles column, .sdf, or .txt
one-SMILES-per-line) and writes a CSV of per-molecule filter results — read-only analysis,
nothing mutated remotely.
What to look out for
Each tool emits one line of structured JSON (the audit + debug log) and writes its
artifacts under record_store. LOGS TO CHECK: that line + the named CSV + the executor run-ledger.
The heavy science stack (medchem, datamol, rdkit, pandas) is NOT bundled — when it is absent the
porter degrades gracefully (the contract's output_exists still holds) so governance can be
exercised offline; install medchem datamol pandas tqdm (and Python ≥3.9) for real results.
Perks
| perk | tool | nature |
|---|---|---|
rules |
mc_rules |
read-only — drug-likeness rule table (Lipinski/Veber/CNS/...) |
common_alerts |
mc_common_alerts |
read-only — ChEMBL common structural alerts |
nibr |
mc_nibr |
read-only — NIBR screening-deck curation (severity) |
alerts |
mc_alerts |
read-only — named alert catalogs (pains/brenk/tox/...) |
lilly |
mc_lilly |
read-only — Lilly demerits (optional lilly-medchem-rules binaries) |
complexity |
mc_complexity |
read-only — ZINC-15 percentile complexity filter |
query |
mc_query |
read-only — medchem query-language pass mask |
groups |
mc_groups |
read-only — chemical-group / substructure detection |
Every perk is read-only (destructive: false): it parses an input molecule file, applies one
independent deterministic filter, and writes a results CSV under record_store. No perk mutates
a remote or live service. The lilly perk additionally needs the optional native
lilly-medchem-rules binaries; without them it records nulls rather than failing.
How to use it
Pick a perk, copy ledger.json → task-ledger.json, fill its vars (always INPUT, plus the
perk-specific var such as RULES, ALERTS, QUERY, COMPLEXITY, or GROUPS) + record_store,
then validate → compose → compile → oversight → executor.
Localized from K-Dense-AI/scientific-agent-skills
medchem— MIT (see LICENSE.txt).
04 同仓库更多 Skills
Vercel Deploy
暂无简介
Audio Transcribe
暂无简介
Speech (OpenAI TTS)
暂无简介
Skill Installer
暂无简介
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.