Agent Skills
› openai/plugins
› bgee-skill
bgee-skill
GitHub用于提交精简的Bgee SPARQL查询,获取健康野生型表达元数据。支持通过query或query_path输入,默认返回Markdown摘要,仅在明确要求时提供原始JSON结果。
Trigger Scenarios
用户需要Bgee基因表达数据的简洁总结
用户请求基于本体的健康野生型表达查询
Install
npx skills add openai/plugins --skill bgee-skill -g -y
SKILL.md
Frontmatter
{
"name": "bgee-skill",
"description": "Submit compact Bgee SPARQL requests for healthy wild-type expression metadata and ontology-aware lookup patterns. Use when a user wants concise Bgee summaries; save raw results only on request."
}
Operating rules
- Use
scripts/sparql_request.pyfor all Bgee SPARQL work. - Start with small
SELECTorASKqueries and addLIMITearly. - Prefer ontology-aware, healthy wild-type expression questions over broad triple dumps.
- Use
query_pathfor longer SPARQL documents instead of pasting large inline queries. - Re-run requests in long conversations instead of relying on older tool output.
Execution behavior
- Return concise markdown summaries from the SPARQL JSON by default.
- Return raw results only if the user explicitly asks for machine-readable output.
- Default to JSON result format unless the user explicitly asks for text output.
Input
- Read one JSON object from stdin.
- Required field:
queryorquery_path - Optional fields:
method,params,response_format,max_items,max_depth,timeout_sec,save_raw,raw_output_path - Common Bgee patterns:
{"query":"ASK {}"}{"query":"SELECT * WHERE { ?s ?p ?o } LIMIT 3","max_items":3}
Output
- Success returns
ok,source, a compactsummary, andraw_output_pathwhensave_raw=true. - Failure returns
ok=falsewitherror.codesuch asinvalid_json,invalid_input,network_error, orinvalid_response.
Execution
echo '{"query":"ASK {}"}' | python scripts/sparql_request.py
References
- No additional runtime references are required; keep the import package limited to this file and
scripts/sparql_request.py.
Version History
- 11c74d6 Current 2026-07-19 09:37


