Agent Skills
› openai/plugins
› human-protein-atlas-skill
human-protein-atlas-skill
GitHub用于提交紧凑的人类蛋白质图谱(HPA)请求,支持基因JSON查询、搜索下载及组织/细胞系页面查找。默认返回简洁摘要,仅在明确要求时保存原始数据。
Trigger Scenarios
用户需要人类蛋白质图谱的基因信息摘要
用户查询特定基因的组织或细胞系表达情况
用户需要HPA数据的搜索或下载链接
Install
npx skills add openai/plugins --skill human-protein-atlas-skill -g -y
SKILL.md
Frontmatter
{
"name": "human-protein-atlas-skill",
"description": "Submit compact Human Protein Atlas requests for gene JSON, search downloads, and page-level tissue or cell-line lookups. Use when a user wants concise Human Protein Atlas summaries; save raw JSON or HTML only on request."
}
Operating rules
- Use
scripts/rest_request.pyfor all Human Protein Atlas calls. - Use
base_url=https://www.proteinatlas.org. - The script accepts
max_items; single gene entry lookups usually do not need it, while search and download endpoints are better withmax_items=10. - Re-run requests in long conversations instead of relying on older tool output.
- Treat displayed
...in tool previews as UI truncation, not literal request content. - If the user asks for full HTML or JSON, set
save_raw=trueand report the saved file path instead of pasting large payloads into chat.
Execution behavior
- Return concise markdown summaries from the script JSON by default.
- Return the script JSON verbatim only if the user explicitly asks for machine-readable output.
- Prefer these paths:
<ENSG>.json,api/search_download.php,search/tissue/<symbol>, andsearch/cellline/<symbol>. - For page-level search endpoints, prefer
response_format=textso the script returns onlytext_headunless raw output is requested.
Input
- Read one JSON object from stdin.
- Required fields:
base_url,path - Optional fields:
method,params,headers,json_body,form_body,record_path,response_format,max_items,max_depth,timeout_sec,save_raw,raw_output_path - Common HPA patterns:
{"base_url":"https://www.proteinatlas.org","path":"ENSG00000141510.json"}{"base_url":"https://www.proteinatlas.org","path":"api/search_download.php","params":{"search":"TP53","format":"json","columns":"g,gs,tissue","compress":"no"},"max_items":10}{"base_url":"https://www.proteinatlas.org","path":"search/tissue/TP53","response_format":"text"}
Output
- Success returns
ok,source,path,method,status_code,warnings, and either compactrecords, a compactsummary, ortext_head. - Use
raw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codeanderror.message.
Execution
echo '{"base_url":"https://www.proteinatlas.org","path":"ENSG00000141510.json"}' | python scripts/rest_request.py
References
- No additional runtime references are required; keep the import package limited to this file and
scripts/rest_request.py.
Version History
- 11c74d6 Current 2026-07-19 09:38


