insomnia-collection-generator

Generate Insomnia v4 collection exports from Express, Next.js, and Fastify API routes.

1|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/zinohome/CozyChat --skill insomnia-collection-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: insomnia-collection-generator
Source: https://github.com/zinohome/CozyChat/tree/main/.claude/skills/insomnia-collection-generator
Command: npx skills add https://github.com/zinohome/CozyChat --skill insomnia-collection-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of Insomnia API collections, saving developers significant time and effort in manually setting up API testing environments.

Core Features & Use Cases

  • Automated Collection Generation: Creates Insomnia v4 export files from your API codebase.
  • Organized Workspaces: Generates structured workspaces with request groups, environments, and authentication.
  • Use Case: When you need to share your API structure with a new team member or quickly set up a testing environment for a new project, use this Skill to generate an Insomnia collection.

Quick Start

Use the insomnia-collection-generator skill to generate an Insomnia collection for your Express API located in the './src' directory.

Frequently Asked Questions about insomnia-collection-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an Insomnia collection from API routes?

To generate an Insomnia collection, this skill parses API route definitions from frameworks like Express, Next.js, or Fastify and exports a standardized Insomnia v4 JSON file. It automatically discovers routes and organizes them into structured workspaces.

Can I automatically create Insomnia workspaces from an Express or Fastify codebase?

Yes, you can automatically create Insomnia workspaces from an Express, Next.js, or Fastify codebase. The tool scans your source directory, discovers API routes, and structures them into an organized collection with request groups and authentication configurations.

What problem does automating API collection generation solve?

Automating API collection generation solves the problem of manually setting up API testing environments, saving developers significant time and effort. It eliminates the need to manually configure request details by automatically extracting them from your codebase.

Does the generated Insomnia export include environments and authentication configurations?

Yes, the generated Insomnia export includes environments and authentication configurations. It creates organized workspaces that contain request groups and auth setups, ensuring the imported collection is ready for immediate testing.

What is the best way to share my API structure with a new team member for testing?

The best way to share your API structure is to generate an Insomnia collection export from your codebase. This creates a standardized JSON file with organized workspaces and environments that the new team member can easily import and use.

What format are the generated Insomnia collection files exported in?

The generated Insomnia collection files are exported in the standardized Insomnia v4 JSON format. This format ensures easy import and use within the Insomnia application, preserving the structured workspaces and request groups.