来源信息
- 仓库
- brycewang-stanford/Auto-Empirical-Research-Skills
- 最近来源活动
- 2026年4月3日 02:07
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 3,291
- 分支
- 432
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
菜单
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills --skill pdb-structure-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
中英双语学术降 AIGC / bilingual academic de-AIGC skill. Removes AI-generated writing signatures from empirical papers in economics, management, and the social sciences — in both English and Chinese. Covers Turnitin AI, GPTZero, Originality.ai on the English side and 知网 AMLC, 万方, 维普 on the Chinese side. Uses a six-step loop (intake → audit → claim-evidence check → differentiated rewrite → five-dimension self-score → cold-reader recheck) with two pattern libraries (22 English + 17 Chinese patterns), section-by-section strategies for empirical papers, and hard protections that keep every number, coefficient, and citation intact.
Use when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an explicitly approved Kaggle write/delete operation through the official CLI.
基于 SOC 职业分类
| name | pdb-structure-api |
| description | Search and retrieve 3D protein structures from the RCSB Protein Data Bank |
| metadata | {"openclaw":{"emoji":"🔮","category":"domains","subcategory":"biomedical","keywords":["protein structure","PDB","crystallography","structural biology","RCSB","molecular structure"],"source":"https://data.rcsb.org"}} |
The RCSB Protein Data Bank (PDB) is the single global archive for experimentally determined 3D structures of biological macromolecules. It hosts over 200,000 structures resolved by X-ray crystallography, cryo-EM, NMR spectroscopy, and other methods. Each entry includes atomic coordinates, experimental metadata, polymer sequences, bound ligands, and literature references.
Two complementary APIs are available. The Data API (data.rcsb.org) serves structured entry metadata, polymer entities, and chemical components via RESTful GET endpoints. The Search API (search.rcsb.org) supports full-text, attribute-based, sequence similarity, and structure similarity searches.
No authentication required. Both APIs are freely accessible without API keys, tokens, or registration.
Retrieve metadata for a structure including experimental method, resolution, citations, and bound components.
GET https://data.rcsb.org/rest/v1/core/entry/{pdb_id}curl "https://data.rcsb.org/rest/v1/core/entry/4HHB"
{
"rcsb_id": "4HHB",
"struct": {
"title": "THE CRYSTAL STRUCTURE OF HUMAN DEOXYHAEMOGLOBIN AT 1.74 ANGSTROMS RESOLUTION"
},
"exptl": [{"method": "X-RAY DIFFRACTION"}],
"rcsb_entry_info": {
"deposited_atom_count": 4779,
"molecular_weight": 64.74,
"polymer_composition": "heteromeric protein",
"polymer_entity_count_protein": 2,
"resolution_combined": [1.74],
"nonpolymer_bound_components": ["HEM"]
}
}
Retrieve protein/nucleic acid entity details including sequence, organism, and gene info.
GET https://data.rcsb.org/rest/v1/core/polymer_entity/{pdb_id}/{entity_id}curl "https://data.rcsb.org/rest/v1/core/polymer_entity/4HHB/1"
{
"entity_poly": {
"pdbx_seq_one_letter_code_can": "VLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSH...",
"rcsb_entity_polymer_type": "Protein",
"rcsb_sample_sequence_length": 141,
"type": "polypeptide(L)"
},
"entity_src_gen": [{
"gene_src_common_name": "Human",
"pdbx_gene_src_scientific_name": "Homo sapiens",
"pdbx_gene_src_ncbi_taxonomy_id": "9606"
}]
}
Retrieve ligand or small molecule metadata by component ID.
GET https://data.rcsb.org/rest/v1/core/chemcomp/{comp_id}curl "https://data.rcsb.org/rest/v1/core/chemcomp/HEM"
{
"rcsb_id": "HEM",
"chem_comp": {
"formula": "C34 H32 Fe N4 O4",
"formula_weight": 616.487,
"name": "PROTOPORPHYRIN IX CONTAINING FE",
"type": "non-polymer"
}
}
Search across all PDB entries with free-text queries. Returns ranked results by relevance.
POST https://search.rcsb.org/rcsbsearch/v2/queryContent-Type: application/jsonquery.type ("terminal"), query.service ("full_text", "text", "sequence", "structure"), query.parameters.value, return_type ("entry", "polymer_entity", "assembly"), request_options.paginate.start/rowscurl -X POST "https://search.rcsb.org/rcsbsearch/v2/query" \
-H "Content-Type: application/json" \
-d '{
"query": {
"type": "terminal",
"service": "full_text",
"parameters": {"value": "hemoglobin"}
},
"return_type": "entry",
"request_options": {
"results_content_type": ["experimental"],
"paginate": {"start": 0, "rows": 3}
}
}'
{
"query_id": "6f7192a6-d65b-4ff1-9d94-37b9600a8864",
"result_type": "entry",
"total_count": 8960,
"result_set": [
{"identifier": "3GOU", "score": 1.0},
{"identifier": "6IHX", "score": 0.9995},
{"identifier": "2PGH", "score": 0.9985}
]
}
For attribute-based searches, use "service": "text" with "attribute" and "operator" fields. Combine multiple criteria with "type": "group" and "logical_operator": "and".
No formal rate limits or rate-limit headers are published. RCSB recommends reasonable request rates. For bulk data, use FTP downloads at https://files.rcsb.org/pub/pdb/ or ftp://ftp.wwpdb.org/pub/pdb/ instead of iterative API calls.
import requests
# Search for kinase inhibitor structures
search_body = {
"query": {"type": "terminal", "service": "full_text",
"parameters": {"value": "tyrosine kinase inhibitor"}},
"return_type": "entry",
"request_options": {"results_content_type": ["experimental"],
"paginate": {"start": 0, "rows": 5}}
}
results = requests.post("https://search.rcsb.org/rcsbsearch/v2/query",
json=search_body).json()
print(f"Total hits: {results['total_count']}")
# Retrieve metadata for each hit
for hit in results["result_set"]:
pdb_id = hit["identifier"]
entry = requests.get(
f"https://data.rcsb.org/rest/v1/core/entry/{pdb_id}").json()
info = entry["rcsb_entry_info"]
print(f"{pdb_id}: {entry['struct']['title'][:80]}")
print(f" Resolution: {info.get('resolution_combined', ['N/A'])[0]} A, "
f"Method: {info['experimental_method']}")
import requests
pdb_id = "4HHB"
entry = requests.get(
f"https://data.rcsb.org/rest/v1/core/entry/{pdb_id}").json()
for eid in range(1, entry["rcsb_entry_info"]["polymer_entity_count"] + 1):
entity = requests.get(
f"https://data.rcsb.org/rest/v1/core/polymer_entity/{pdb_id}/{eid}"
).json()
poly = entity["entity_poly"]
src = entity.get("rcsb_entity_source_organism", [{}])[0]
print(f"Entity {eid}: {poly['rcsb_entity_polymer_type']} "
f"({src.get('ncbi_scientific_name', 'N/A')})")
print(f" {poly['rcsb_sample_sequence_length']} residues: "
f"{poly['pdbx_seq_one_letter_code_can'][:50]}...")