string-skill

작성자: openai

네트워크, 상호작용 파트너, 농축 엔드포인트에 대한 간결한 STRING API 요청을 제출합니다. 사용자가 간결한 STRING 요약을 원할 때 사용합니다.

npx skills add https://github.com/openai/plugins --skill string-skill

Operating rules

  • Use scripts/rest_request.py for all STRING API calls.
  • Use base_url=https://string-db.org/api/json.
  • Use method=POST with form_body for STRING endpoints.
  • Include caller_identity in form_body; keep it stable within a session when possible.
  • The script accepts max_items; for network and interaction_partners, start with API limit=10 and max_items=10.
  • For enrichment, summarize the top 5 to 10 rows unless the user asks for more.
  • Re-run requests in long conversations instead of relying on prior 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.
  • Return the script JSON verbatim only if the user explicitly asks for machine-readable output.
  • Prefer these paths: network, interaction_partners, and enrichment.
  • For long identifier lists, keep the request small and paged; if full results are needed, use save_raw=true.

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 STRING patterns:
    • {"base_url":"https://string-db.org/api/json","path":"network","method":"POST","form_body":{"identifiers":"TP53","species":9606,"caller_identity":"chatgpt-skill","limit":10},"max_items":10}
    • {"base_url":"https://string-db.org/api/json","path":"interaction_partners","method":"POST","form_body":{"identifier":"TP53","species":9606,"caller_identity":"chatgpt-skill","limit":10},"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://string-db.org/api/json","path":"network","method":"POST","form_body":{"identifiers":"TP53","species":9606,"caller_identity":"chatgpt-skill","limit":10},"max_items":10}' | 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.

openai의 다른 스킬

test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
release
openai
커밋된 버전을 올리고, 이를 반영하고, 병합된 커밋에 태그를 단 후, Burrito 릴리스 워크플로우를 검증하여 Symphony 릴리스를 진행합니다. 다음과 같이 요청받았을 때 사용합니다…
ukb-topmed-phewas-skill
openai
단일 변이에 대한 간결한 UKB-TOPMed PheWAS 요약을 가져오며, rsID, GRCh37 또는 GRCh38 입력을 받아 필요한 GRCh38 쿼리로 변환합니다. 다음과 같은 경우에 사용하세요…
pull
openai
최신 origin/main을 현재 로컬 브랜치로 가져오고 병합 충돌을 해결합니다(일명 update-branch). Codex가 기능 브랜치를 동기화해야 할 때 사용합니다…
code-review-context
openai
모델 가시 컨텍스트
push
openai
현재 브랜치 변경 사항을 origin으로 푸시하고 해당 풀 리퀘스트를 생성하거나 업데이트합니다. 푸시, 업데이트 게시, 또는 풀 리퀘스트 생성을 요청받았을 때 사용합니다.
debug
openai
이슈/세션 식별자로 Symphony 및 Codex 로그를 추적하여 중단된 실행과 실행 실패를 조사합니다. 실행이 멈추거나, 반복적으로 재시도되거나, 실패할 때 사용하세요…
signing-entitlements
openai
macOS 앱의 서명, 자격, 강화된 런타임 및 Gatekeeper 문제를 검사합니다. 코드 서명 실패, 누락된 자격 등을 진단하라는 요청을 받을 때 사용하세요.