greppable/greppable-cc-plugin/exploring-gdla-api-contracts

Claude Code and agent skill by greppable/greppable-cc-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when working with API endpoints, understanding what a service exposes, or checking API authentication and parameters before integrating. Works with .gdla API contract files — endpoint lookups, schema definitions, auth configuration, and cross-API dependencies. Triggers on: \"what endpoints does X expose\", \"what auth does Y require\", \"what parameters does this endpoint accept\", integrating with a service's API, or direct .gdla file operations. NOT for building new API endpoints from scratch, creating OpenAPI specs, or .gdls schema maps.

Install

npx vskill@latest install greppable/greppable-cc-plugin/exploring-gdla-api-contracts

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as greppable/greppable-cc-plugin/exploring-gdla-api-contracts.

GDLA Quick Reference

Available API Contracts

!bash -c 'find docs/gdl -name "*.gdla" -maxdepth 3 2>/dev/null | while read f; do echo "- $f"; done'

Format

@D service-name|description|version|base-url
@S SchemaName|description
field|type|required|format|description
@EP METHOD /path|description|responses|auth
@P param|location|type|required|description
@AUTH scheme|description|header
@ENUM Name|value1,value2,value3
@R Source -> Target|relationship|via field
@PATH Entity -> Entity|traversal description

Endpoints and auth are single-line records. Schemas use indented field lines (like GDLS tables).

Grep Patterns

bash
# All endpoints
grep "^@EP" contract.gdla
# Specific HTTP method
grep "^@EP GET" contract.gdla
grep "^@EP POST" contract.gdla
# GraphQL operations
grep "^@EP QUERY" contract.gdla
grep "^@EP MUTATION" contract.gdla
grep "^@EP SUBSCRIPTION" contract.gdla
# Find a schema and its fields
grep "@S Pet" -A 20 contract.gdla
# All schemas (just headers)
grep "^@S " contract.gdla
# Parameters for an endpoint
grep "^@EP GET /pets" -A 10 contract.gdla | grep "^@P"
# Authentication schemes
grep "^@AUTH" contract.gdla
# Endpoints requiring specific auth
grep "^@EP.*|bearer" contract.gdla
# Schema relationships
grep "^@R" contract.gdla
# Traversal paths
grep "^@PATH" contract.gdla
# Enums
grep "^@ENUM" contract.gdla
# Cross-file: all endpoints across all APIs
grep "^@EP" *.gdla
# Cross-file: find which APIs use bearer auth
grep "^@AUTH.*bearer" *.gdla

Combined Queries (Fewer Tool Calls)

bash
# Full API surface (endpoints + auth)
grep -E "^@EP|^@AUTH" contract.gdla
# Schema + relationships
grep -E "^@S |^@R " contract.gdla
# All constraints (enums + required fields)
grep -E "^@ENUM|required" contract.gdla
# Endpoints that return a specific schema
grep "^@EP.*Pet" contract.gdla
# Cross-API: all endpoints and their auth across all contracts
grep -E "^@EP|^@AUTH" *.gdla

Tool Functions

Source the helpers:

bash
source "${CLAUDE_PLUGIN_ROOT}/scripts/gdla-tools.sh"
FunctionUsageWhat it does
gdla_endpointsgdla_endpoints [--method=M] [file.gdla]List endpoints, optionally filtered by method
gdla_paramsgdla_params "METHOD /path" [file.gdla]List parameters for an endpoint
gdla_schemasgdla_schemas [file.gdla]List schema names
gdla_schema_fieldsgdla_schema_fields SCHEMA [file.gdla]List fields for a schema
gdla_authgdla_auth [file.gdla]List authentication schemes
gdla_by_authgdla_by_auth SCHEME [file.gdla]Find endpoints requiring a specific auth scheme
gdla_relationshipsgdla_relationships [file.gdla]List @R relationship records
gdla_pathsgdla_paths [file.gdla]List @PATH traversal records

Cross-Layer Search

FunctionUsageWhat it does
gdl_aboutgdl_about TOPIC [dir] [--layer=gdla]Search across all GDL layers for TOPIC

Flags:

  • --layer=gdla — restrict to API contract layer
  • --exclude-layer=gdla — skip API contracts
  • --summary — show match counts only, no record content

Key Rules

  • @EP lines are complete — one grep returns the full endpoint with responses and auth
  • @S blocks need -A context (like @T in GDLS) to see fields below the header
  • @P lines follow their parent @EP — grep with context to see both
  • @AUTH, @R, @PATH, @ENUM are single-line self-contained records
  • Pipe within values is escaped as \| — use the tool functions for safe field extraction

Bridge Tools

SourceBridgeOutput
OpenAPI JSON/YAMLopenapi2gdla.sh.gdla contract
GraphQL SDLgraphql2gdla.sh.gdla contract
GDLA contractgdla2gdld.sh.gdld diagram

Visualization Pipeline

bash
# OpenAPI → GDLA → GDLD → Mermaid
bash "${CLAUDE_PLUGIN_ROOT}/scripts/openapi2gdla.sh" spec.json --output=api/
bash "${CLAUDE_PLUGIN_ROOT}/scripts/gdla2gdld.sh" api/petstore.openapi.gdla > /tmp/api.gdld
bash "${CLAUDE_PLUGIN_ROOT}/scripts/gdld2mermaid.sh" /tmp/api.gdld

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
1
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/greppable/greppable-cc-plugin/exploring-gdla-api-contracts/badge)](https://verified-skill.com/skills/greppable/greppable-cc-plugin/exploring-gdla-api-contracts)

Something wrong with this skill or its page? Tell us.