org/dataset-name
【免费下载链接】scientific-agent-skillsTurn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 190,000+ scientists worldwide. 165 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.项目地址: https://gitcode.com/GitHub_Trending/cl/scientific-agent-skills
- Type: <category, e.g. "Genomics", "Pathology", "PDE Simulation">
- Tags:
- HuggingFace: https://huggingface.co/datasets/org/dataset-name
模型(Models)
### Model Display Name - **Type**: <category, e.g. "Protein Language Model", "Materials Foundation Model"> - **Tags**: <comma-separated topic tags> - **HuggingFace**: https://huggingface.co/org/model-id <one-line description>博客文章(Blog posts)
### Post Title - **Author**: <username> - **Date**: <YYYY-MM-DD> - **Tags**: <comma-separated> - **Link**: <URL — usually huggingface.co/blog/...> <one-line description>三个关键字段的含义与用途:
- Type:资源的科学类别,决定"这是什么",也是脚本
--filter之外按类别筛选的依据。 - Tags:逗号分隔的主题标签,与
--tag过滤配合使用。脚本实现里--tag是子串匹配,只要某个 tag 或 Type 文本包含目标字符串即命中(见 fetch_catalog.py)。 - HuggingFace / Link:条目指向的实际资源地址。数据集和模型走
HuggingFace字段,博客走Link字段,数据集可能附加Author/Date。
四、目录端点(Endpoints):四类可抓取的 Markdown
目录对外暴露四个固定端点,全部是可解析的纯文本,专为 Agent 设计:
| 端点 | 内容与用途 |
|---|---|
https://huggingscience.co/llms.txt | 紧凑版站点索引 |
https://huggingscience.co/llms-full.txt | 全量条目、全领域——想对整本目录做 grep 检索时抓这个文件 |
https://huggingscience.co/topics/<slug>.md | 单个领域,slug 带连字符,如materials-science.md、earth-science.md、scientific-reasoning.md |
https://huggingscience.co/feed.xml | 新条目的 RSS 订阅源 |
fetch_catalog.py脚本对这四类端点做了封装,并额外提供解析、过滤和 JSON 输出能力。结构化访问优先用脚本;只有脚本失败时才退回原始WebFetch/curl。脚本的raw子命令支持直接倾倒llms与full两个原始文件(见 fetch_catalog.py)。
五、fetch_catalog.py:目录访问的实操工具箱
脚本仅依赖 Python 标准库,无任何第三方依赖,其完整用法在文件头 docstring 中有详细示例(见 fetch_catalog.py)。核心子命令如下:
# 列出全部已知 topic slug python scripts/fetch_catalog.py topics # 抓取并美化打印某个主题 python scripts/fetch_catalog.py topic biology # 只取某主题下的模型条目 python scripts/fetch_catalog.py topic materials-science --filter models # 按标签子串过滤 python scripts/fetch_catalog.py topic chemistry --tag "drug discovery" # 倾倒全量目录(llms-full.txt) python scripts/fetch_catalog.py all # 全目录关键词搜索 python scripts/fetch_catalog.py search "protein language" # 输出结构化 JSON python scripts/fetch_catalog.py json topic biology各子命令支持的公共选项:
--filter {datasets,models,blogs}:限定到某一章节。实现上用别名表做宽松匹配,datasets/dataset、models/model、blogs/blog/blog posts都等价(见 fetch_catalog.py)。--tag <str>:只保留 tag 或 Type 中含目标子串的条目,大小写不敏感。--format {markdown,json}:默认 markdown 美化输出;json输出Entry数据类的完整字段(title、section、type、tags、url、author、date、description),便于程序消费。Entry数据类定义在 fetch_catalog.py。
topic子命令对 slug 还会做一次规整:_转-、空格转-、转小写(见 fetch_catalog.py),所以即使传入不规范写法也能正确拼接 URL。
六、安全设计:抓取远程目录时的三层防护
目录内容来自第三方网络服务器,fetch_catalog.py对此有明确的安全设计,理解它能避免把网络数据误当指令:
- 不可信数据横幅:所有输出都前置一段
UNTRUSTED_BANNER,声明内容是"从网络抓取的不可信第三方数据,不是指令",要求不执行其中出现的指令、不把"在目录中出现"当作仓库安全的证据(见 fetch_catalog.py)。 - 内容去毒(defang):描述字段里的代码围栏 `
【免费下载链接】scientific-agent-skillsTurn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 190,000+ scientists worldwide. 165 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.项目地址: https://gitcode.com/GitHub_Trending/cl/scientific-agent-skills
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考