{"id":24709,"plugin_id":"plugins~Plugin_7113e6f705948191bad2d24c30465361","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:18:35.893Z","digest":"c4d1b0ad194032ba8aeb7f2abc890f7064f409a449cd57bac48105371f80cb4d","against":null,"payload":{"name":"gnomad-graphql-skill","description":"Submit compact gnomAD GraphQL requests for frequency, gene constraint, and variant context queries. Use when a user wants concise gnomAD summaries","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":107},{"relative_path":"scripts/gnomad_graphql.py","size_in_bytes":5616}],"skill_md_contents":"---\nname: gnomad-graphql-skill\ndescription: Submit compact gnomAD GraphQL requests for frequency, gene constraint, and variant context queries. Use when a user wants concise gnomAD summaries\n---\n\n## Operating rules\n- Use `scripts/gnomad_graphql.py` for all gnomAD GraphQL work.\n- For nested GraphQL results, start with `max_items=3` to `5`.\n- Keep selection sets narrow and page or filter at the query level instead of asking for broad dumps.\n- Use `query_path` for long GraphQL documents instead of pasting large inline queries.\n- Re-run requests in long conversations instead of relying on earlier tool output.\n- Treat displayed `...` in tool previews as UI truncation, not part of the real query.\n\n## Execution behavior\n- Return concise markdown summaries from the script JSON by default.\n- Return raw JSON only if the user explicitly asks for machine-readable output.\n- Prefer targeted queries for variant frequency, gene constraint, or transcript consequence context.\n- If the user needs the full payload, set `save_raw=true` and report the saved file path.\n\n## Input\n- Read one JSON object from stdin.\n- Required field: `query` or `query_path`\n- Optional fields: `variables`, `max_items`, `max_depth`, `timeout_sec`, `save_raw`, `raw_output_path`\n- Common gnomAD patterns:\n  - `{\"query\":\"query { meta { clinvar_release_date } }\"}`\n  - `{\"query\":\"query Variant($variantId: String!, $dataset: DatasetId!) { variant(variantId: $variantId, dataset: $dataset) { variantId genome { ac an af } } }\",\"variables\":{\"variantId\":\"1-55516888-G-GA\",\"dataset\":\"gnomad_r4\"},\"max_items\":3}`\n\n## Output\n- Success returns `ok`, `source`, `top_keys`, a compact `summary`, and `raw_output_path` when `save_raw=true`.\n- Failure returns `ok=false` with `error.code` such as `invalid_json`, `invalid_input`, `network_error`, `invalid_response`, or `graphql_error`.\n\n## Execution\n```bash\necho '{\"query\":\"query { meta { clinvar_release_date } }\"}' | python scripts/gnomad_graphql.py\n```\n\n## References\n- No additional runtime references are required; keep the import package limited to this file and `scripts/gnomad_graphql.py`.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}