agent-hoppscotch

CLI tool for managing Hoppscotch API documentation. Use when user asks to document API, add API to Hoppscotch, update API docs, or manage API collections.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-hoppscotch" with this command: npx skills add omkarbhede/agent-hoppscotch/omkarbhede-agent-hoppscotch-agent-hoppscotch

Hoppscotch API Documentation with agent-hoppscotch

Core workflow

  1. Check config: agent-hoppscotch auth status
  2. If not configured, ask user for:
    • Hoppscotch GraphQL endpoint URL
    • Session cookie (from browser DevTools → Application → Cookies)
  3. Configure: Set endpoint, cookie, and defaults
  4. Work: Create/update collections and requests

Configuration (only if status shows "Not configured")

# Step 1: Set endpoint (ask user for their Hoppscotch URL)
agent-hoppscotch auth set-endpoint "<user_provided_url>/graphql"

# Step 2: Set cookie (ask user to copy from browser)
agent-hoppscotch auth set-cookie "<cookie_string>"

# Step 3: List teams and ask user to select
agent-hoppscotch team list
agent-hoppscotch auth set-default --team <selected_team_id>

# Step 4: List collections and ask user to select default
agent-hoppscotch collection list
agent-hoppscotch auth set-default --collection <selected_collection_id>

Commands

Auth

agent-hoppscotch auth status                        # Show configuration
agent-hoppscotch auth set-endpoint "<url>"          # Set GraphQL endpoint
agent-hoppscotch auth set-cookie "<cookie>"         # Set session cookie
agent-hoppscotch auth set-default --team <id> --collection <id>  # Set defaults
agent-hoppscotch auth clear                         # Remove all credentials

Team

agent-hoppscotch team list                          # List all teams
agent-hoppscotch team find "<term>"                 # Search by name
agent-hoppscotch team get <id>                      # Get team details

Collection

agent-hoppscotch collection list                    # List root collections (uses default team)
agent-hoppscotch collection list --team <id>        # List for specific team
agent-hoppscotch collection list --parent <id>      # List child collections
agent-hoppscotch collection find "<term>"           # Search (includes children)
agent-hoppscotch collection get <id>                # Get collection details
agent-hoppscotch collection create --title "..." [--team <id> | --parent <id>]
agent-hoppscotch collection delete <id>
agent-hoppscotch collection export --team <id>      # Export as JSON

Request

agent-hoppscotch request list                       # List (uses default collection)
agent-hoppscotch request list --collection <id>     # List for specific collection
agent-hoppscotch request find "<term>"              # Search by title
agent-hoppscotch request get <id>                   # Get request details
agent-hoppscotch request create \
  --title "..." --method GET|POST|PUT|PATCH|DELETE|HEAD|OPTIONS \
  --url "..." [--collection <id>] [--team <id>] \
  [--headers '<json or array>'] [--body '<json>'] [--body-type application/json|multipart/form-data|application/x-www-form-urlencoded|text/plain|none] \
  [--form '[{"key":"k","value":"v","isFile":false}]'] \
  [--params '<json>'] [--auth-type bearer|basic|api-key|oauth2|inherit|none] \
  [--auth-token "..."] [--auth-username "..."] [--auth-password "..."] \
  [--auth-key "..."] [--auth-value "..."] [--auth-add-to header|query] \
  [--oauth-grant-type client_credentials|authorization_code] [--oauth-token-url "..."] \
  [--oauth-client-id "..."] [--oauth-client-secret "..."] [--oauth-scope "..."] \
  [--pre-request-script '<js>'] [--pre-request-script-file <path>] \
  [--test-script '<js>'] [--test-script-file <path>] [--variables '<json>'] \
  [--description '<text>'] [--description-file <path>] [--validate-body]
agent-hoppscotch request update <id> [--title] [--method] [--url] [--headers] [--body] [--body-type] [--form] \
  [--auth-type] [--auth-token] [--auth-username] [--auth-password] \
  [--auth-key] [--auth-value] [--auth-add-to] \
  [--oauth-grant-type] [--oauth-token-url] [--oauth-client-id] [--oauth-client-secret] [--oauth-scope] \
  [--pre-request-script '<js>'] [--pre-request-script-file <path>] \
  [--test-script '<js>'] [--test-script-file <path>] [--variables '<json>'] \
  [--description '<text>'] [--description-file <path>] [--validate-body]
agent-hoppscotch request delete <id>
agent-hoppscotch request move <id> --to <collectionId>
agent-hoppscotch request run <id> [--var key=value] [--body-only] [--status-only] [--include-headers] [--verbose]

GraphQL

agent-hoppscotch graphql list --collection <id>    # List GraphQL requests
agent-hoppscotch graphql get <id>                  # Get request details
agent-hoppscotch graphql create \
  --title "..." --url "{{baseUrl}}/graphql" \
  --query 'query { users { id name } }' [--query-file <path>] \
  [--variables '<json>'] [--variables-file <path>] [--headers '<json>']
agent-hoppscotch graphql update <id> [--title] [--url] [--query] [--query-file] [--variables] [--variables-file] [--headers]
agent-hoppscotch graphql delete <id>

Realtime (WebSocket, SSE, Socket.IO, MQTT)

agent-hoppscotch realtime list --collection <id> [--type websocket|sse|socketio|mqtt]
agent-hoppscotch realtime get <id>
agent-hoppscotch realtime create --type websocket --title "..." --url "wss://..." [--protocols '["proto"]'] [--headers '<json>']
agent-hoppscotch realtime create --type sse --title "..." --url "https://..." [--headers '<json>']
agent-hoppscotch realtime create --type socketio --title "..." --url "https://..." [--path '/socket.io'] [--version '4']
agent-hoppscotch realtime create --type mqtt --title "..." --url "mqtt://..." [--topic '...'] [--qos 0|1|2] [--client-id '...']
agent-hoppscotch realtime update <id> [--title] [--url] [--headers] [--protocols] [--path] [--topic] [--qos] [--client-id]
agent-hoppscotch realtime delete <id>

Environment

agent-hoppscotch env list --team <id>               # List environments
agent-hoppscotch env get <id> --team <id>           # Get environment details
agent-hoppscotch env create --team <id> --name "..." --variables '[{"key":"k","value":"v","secret":false}]'
agent-hoppscotch env update <id> --team <id> [--name "..."] [--variables '<json>']
agent-hoppscotch env delete <id>

Global Flags

FlagDescription
--jsonMachine-readable JSON output
--verboseShow raw GraphQL queries/responses
--cookie <str>Override stored cookie
--endpoint <url>Override stored endpoint

Exit Codes

CodeMeaning
0Success
1General error
2Auth error (not configured/expired)
3Not found
4Validation error

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated
Coding

clawhub-rate-limited-publisher

Queue and publish local skills to ClawHub with a strict 5-per-hour cap using the local clawhub CLI and host scheduler.

Archived SourceRecently Updated