platform-api
Skill1 starsChanged 9 months agoMITView on GitHub
Queries the Genesys Cloud Platform API schema for endpoint details,
2 other projects use a version of this.
Adopted by
Most recently taken up by
- DenchHQ/ironclawtheir own version, first seen Oct 8, 2026
- DenchHQ/DenchClawtheir own version, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- DenchHQ/DenchClaw★ 1.7ksame name
- DenchHQ/ironclaw★ 1.7ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Before running any queries, determine the absolute path to this SKILL.md file's parent directory and set the schema path variable:
- Very specific: line 30
All examples below use "$SCHEMA" to reference this file.
- Distinctive: line 38
When asked about an endpoint or API operation, you MUST follow this 4-step workflow:
- Very specific: line 62
If this returns null, the endpoint does not exist.
- Distinctive: line 82
After completing steps 1-3 with actual results from the schema, respond using this structure:
- Distinctive: line 116
Always run verification queries before every recommendation
- Distinctive: line 118
Use actual schema data in your responses
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Platform API Extraction Skill
Overview
This skill provides jq query patterns for extracting API endpoint information from the Genesys Cloud Platform API Swagger 2.0 schema. The schema contains over 1,900 endpoints and 4,305 definitions in a 19MB+ file.
Schema: schema.json must be downloaded before first use. Run the download script from this skill's directory:
./scripts/download-schema.shSee the download script for region options and usage details.
Before running any queries, determine the absolute path to this SKILL.md file's parent directory and set the schema path variable:
SCHEMA="<resolved-skill-directory>/schema.json"All examples below use "$SCHEMA" to reference this file.
MANDATORY WORKFLOW
CRITICAL: NEVER recommend endpoints without verification!
When asked about an endpoint or API operation, you MUST follow this 4-step workflow:
PERFORMANCE REQUIREMENT: Execute Queries in PARALLEL
Steps 1-3 are INDEPENDENT queries. Execute them in a SINGLE message using multiple Bash tool calls in parallel.
Step 1: Search & Verify
Search for matching endpoints (ALWAYS limit to 15-20 results):
jq -r '.paths | keys | map(select(test("KEYWORD"; "i"))) | .[0:15] | .[]' "$SCHEMA"Common patterns: "find all X" -> /api/v2/X$, "get specific X" -> /api/v2/X/\{id\}
See references/search-operations.md for detailed search patterns.
Step 2: Confirm Exact Endpoint Exists
jq '.paths["/api/v2/exact/path"] | keys' "$SCHEMA"If this returns null, the endpoint does not exist. Do NOT proceed.
Step 3: Extract Full Operation Details
jq '.paths["/api/v2/exact/path"]["METHOD"] | {
operationId,
summary,
description,
permissions: ."x-inin-requires-permissions",
parameters: [.parameters[]? | {name, in, required, type, description}]
}' "$SCHEMA"Replace METHOD with: get, post, put, patch, or delete.
See references/jq-query-patterns.md for complete extraction patterns and references/schema-resolution.md for resolving $ref references.
Step 4: Format and Respond to User
After completing steps 1-3 with actual results from the schema, respond using this structure:
## Recommended Endpoint
**Endpoint:** `[METHOD] /api/v2/path`
**Operation ID:** `operationId`
**Summary:** Brief description
### Permissions
- Type: ALL/ANY (or "No special permissions required" if null)
- Required: permission list
### Key Parameters
- List path/query/body parameters with required status
### Usage Notes
- Brief guidance on how to use this endpoint
- Any important caveats or considerationsFORBIDDEN BEHAVIORS
- Assuming endpoints exist based on REST patterns
- Guessing endpoint paths without verification
- Recommending endpoints before running verification queries
- Providing information based on typical API conventions
- Executing queries sequentially when they can run in parallel
- Returning unlimited search results (always limit to 15-20)
REQUIRED BEHAVIORS
- Always run verification queries before every recommendation
- Execute independent queries in PARALLEL using multiple Bash tool calls in a single message
- Use actual schema data in your responses
- Limit search results with
.[0:15]or similar - Show uncertainty if verification fails ("The endpoint does not exist in the schema")
- Provide alternatives if searched endpoint is not found
- Format responses using the structured template
COMPLETE WORKFLOW EXAMPLE
User asks: "What API endpoint can be used to find all the users?"
Execute Steps 1-3 in PARALLEL (single message with 3 Bash tool calls):
# Tool Call 1: Search for user endpoints
jq -r '.paths | keys | map(select(test("user"; "i"))) | .[0:15] | .[]' "$SCHEMA"
# Tool Call 2: Verify /api/v2/users exists
jq '.paths["/api/v2/users"] | keys' "$SCHEMA"
# Tool Call 3: Get full details for GET /api/v2/users
jq '.paths["/api/v2/users"]["get"] | {
operationId,
summary,
description,
permissions: ."x-inin-requires-permissions",
parameters: [.parameters[]? | {name, in, required, type, description}]
}' "$SCHEMA"Step 4: Respond with structured format
## Recommended Endpoint
**Endpoint:** `GET /api/v2/users`
**Operation ID:** `getUsers`
**Summary:** Get the list of available users.
### Permissions
- Type: No special permissions required (permissions is null)
### Key Parameters
- `pageSize` (query, optional): Page size
- `pageNumber` (query, optional): Page number
- `id` (query, optional): A list of user IDs to fetch by bulk
- `sortOrder` (query, optional): Ascending or descending sort order
- `state` (query, optional): Only list users of this state
### Usage Notes
- This endpoint supports pagination via pageSize and pageNumber
- You can fetch specific users by providing an array of IDs in the id parameter
- Use expand parameter to include additional user informationResources
Reference Documentation:
references/jq-query-patterns.md- Comprehensive jq syntax, advanced filtering, variable chainingreferences/search-operations.md- All search techniques, count-before-fetch patternsreferences/schema-resolution.md- Definition resolution, nested references, property extractionreferences/complete-examples.md- Step-by-step workflow examples for common tasks
External Resources:
- Swagger 2.0 Spec: https://swagger.io/specification/v2/
- jq Manual: https://jqlang.github.io/jq/manual/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

