agent-hoppscotch
Enabling AI agents to manage the Hoppscotch API collaboration platform via the command line
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: agent-hoppscotch. It is used for: Enabling AI agents to manage the Hoppscotch API collaboration platform via the command line Full Skill content: https://321skill.com/skills/agent-hoppscotch/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
agent-hoppscotch is a CLI tool designed for AI agents, addressing the challenge of directly operating the Hoppscotch API collaboration platform within automated workflows. With this tool, AI can manage Hoppscotch teams, collections, API requests, and environment variables directly from the command line, eliminating the need for manual browser interaction.
Usage is straightforward: first, authenticate by configuring the GraphQL endpoint and browser cookie using the auth command. Then, use subcommands like team, collection, request, and env to perform CRUD operations on various resources. All commands support the --json flag to output structured data, making it easy for AI to parse and process further.
This tool is ideal for developers who need to integrate API management into automated scripts or AI workflows. Whether you're a full-stack developer, DevOps engineer, or AI agent developer, you can use it to batch-create test requests, synchronize team configurations, or set up API testing in CI/CD pipelines.
Before use, ensure you have access to a Hoppscotch instance (self-hosted or cloud) and obtain a valid session cookie. It is recommended to use this tool in a secure environment, safeguard authentication credentials, and utilize the --verbose flag to inspect raw GraphQL interactions during debugging.
Key Features
Unlike general-purpose HTTP clients or the Postman CLI, it deeply integrates with Hoppscotch's GraphQL API, providing atomic operation commands for Hoppscotch-specific resources such as team collaboration, collection management, and environment variables. This makes it more suitable for precisely managing API collaboration projects within AI-driven automated workflows.
Limitations
It is not suitable for directly sending and testing individual API requests (which is better handled by the Hoppscotch UI or tools like curl). Its primary focus is the metadata management of API collaboration projects.
FAQ
How do I obtain the authentication cookie for Hoppscotch?
After logging into Hoppscotch in your browser, open Developer Tools (F12), navigate to the Application or Storage tab, and look for cookie values named `connect.sid`, `access_token`, or `refresh_token` to copy.
Can this tool be used to send API requests?
No. Its main functionality is to manage metadata on the Hoppscotch platform, such as request definitions, collections, and teams, not to execute those HTTP requests. Sending requests must be done within the Hoppscotch UI or other HTTP clients.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/agent-hoppscotch/raw/index.md to read the original Skill definition (Markdown format) for agent-hoppscotch, and install it according to the instructions.
Raw Markdown URL for AI: /skills/agent-hoppscotch/raw/index.md