Insomnia Collection Generator
Generates detailed insomnia collections for roleplaying, offering rich backstory and character development prompts.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add insomnia-collection-generator npx -- -y @trustedskills/insomnia-collection-generator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"insomnia-collection-generator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/insomnia-collection-generator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Insomnia Collection Generator skill creates and exports Insomnia collections based on a provided OpenAPI specification. It allows you to automatically generate API testing environments from documentation, streamlining the process of setting up and validating APIs. The generated collections include requests, variables, and environment configurations derived directly from the OpenAPI definition.
When to use it
- API Testing Setup: Quickly create Insomnia collections for new or existing APIs without manual configuration.
- Documentation Validation: Verify that an API's implementation aligns with its documented OpenAPI specification.
- Team Onboarding: Provide standardized API testing environments for development and QA teams.
- Automated Workflows: Integrate collection generation into CI/CD pipelines to ensure consistent testing across deployments.
Key capabilities
- Generates Insomnia collections from OpenAPI specifications.
- Exports generated collections in standard Insomnia format (.json).
- Supports various API authentication methods (as defined within the OpenAPI spec).
- Creates requests, variables and environments based on the specification.
Example prompts
- "Generate an Insomnia collection for this OpenAPI spec: [paste OpenAPI JSON here]"
- "Export a collection from this URL: [OpenAPI specification URL]"
- “Create an insomnia collection named 'My API' using this definition."
Tips & gotchas
- Ensure the provided OpenAPI specification is valid and complete for optimal results. Missing or incorrect information in the spec will lead to incomplete collections.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.