openai-pubchem-pug-skill

Submit compact PubChem PUG REST requests to retrieve compound properties, descriptions, experimental summaries, and substance metadata. Use when a concise PubChem summary is needed.

Last repository push
GitHub Stars
8,491
Forks
1,134
Issues / PRs
0

Screenshots

A demonstration from skillπ Lab

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "openai-pubchem-pug-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6ad2fc8ce0e1b408698a0f18f36c76859b0ec10af0e010721fff6b6e9a9de736. Verify the upstream source and version against https://github.com/openai/plugins before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Submit compact PubChem PUG REST requests to retrieve compound properties, descriptions, experimental summaries, and substance metadata. Use when a concise PubChem summary is needed.

0 Downloads

Introduction source: third_party · openai · 0.0.1 Reference

SkillPi interpretation

Tasks
Submit compact PubChem PUG REST requests for compound properties, descriptions, assay summaries, and substance metadata. Use when a user wants concise PubChem summaries
Audience
Not specified in the source documentation.
Inputs and outputs
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 PubChem patterns: - `{"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"compound/name/aspirin/property/MolecularFormula,MolecularWeight/JSON","record_path":"PropertyTable.Properties"}` - `{"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"compound/cid/2244/description/JSON","record_path":"InformationList.Information","max_items":10}` - `{"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"assay/aid/1706/s
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: pubchem-pug-skill
description: Submit compact PubChem PUG REST requests for compound properties, descriptions, assay summaries, and substance metadata. Use when a user wants concise PubChem summaries

Operating rules

  • Use scripts/rest_request.py for all PubChem PUG calls.
  • Use base_url=https://pubchem.ncbi.nlm.nih.gov/rest/pug.
  • Property and description endpoints usually return a single focused record; assay or broader list endpoints are better with max_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.

Execution behavior

  • Return concise markdown summaries from the script JSON by default.
  • Prefer property, description, assay summary, and substance paths instead of broad record dumps.
  • If the user needs the full payload, set save_raw=true and report the saved file path.

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 PubChem patterns:
    • {"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"compound/name/aspirin/property/MolecularFormula,MolecularWeight/JSON","record_path":"PropertyTable.Properties"}
    • {"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"compound/cid/2244/description/JSON","record_path":"InformationList.Information","max_items":10}
    • {"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"assay/aid/1706/summary/JSON","record_path":"AssaySummaries","max_items":10}

Output

  • Success returns ok, source, path, method, status_code, warnings, and either compact records or a compact summary.
  • Use raw_output_path when save_raw=true.
  • Failure returns ok=false with error.code and error.message.

Execution

echo '{"base_url":"https://pubchem.ncbi.nlm.nih.gov/rest/pug","path":"compound/name/aspirin/property/MolecularFormula,MolecularWeight/JSON","record_path":"PropertyTable.Properties"}' | 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.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 PubChem 化合物性质、描述、实验总结的结构化查询能力
  • 面向科研用户的中高频刚需场景
  • 支持多种端点类型和参数化请求
Trigger Precision90/100

Highlights

  • 触发词精准定义紧凑摘要需求
  • 边界清晰避免与其他化学工具混淆
  • description 位置正确且内容完整
Structure and Standards85/100

Areas to improve

  • 缺少显式 When to Use 章节 Reported severity: Minor

    文档结构良好但缺少显式 When to Use 章节

    Recommendation: 建议在 Operating rules 前添加 When to Use 章节以增强可读性

Execution Reliability90/100

Highlights

  • 工具来源和参数定义清晰
  • 异常处理和超时机制完善
  • 不可逆操作需显式确认
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • pubchem.ncbi.nlm.nih.gov

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.