Where Is the GPT-Image2 Agent Skill Package Published?

The GPT-Image2 agent skill is published as the npm package gpt-image-2-style-library on the public npm registry, with source code maintained in the agents/skills/gpt-image-2-style-library directory of the freestylefly/awesome-gpt-image-2 repository.

The GPT-Image2 agent skill package provides style library functionality for AI image generation workflows. According to the freestylefly/awesome-gpt-image-2 source code, this skill is distributed through the npm registry and integrated into the main application via standard Node.js package management.

NPM Registry Publication Details

The primary distribution channel for the GPT-Image2 agent skill is the public npm registry. The package is registered under the name gpt-image-2-style-library and is accessible at https://www.npmjs.com/package/gpt-image-2-style-library.

In agents/skills/gpt-image-2-style-library/package.json, the package metadata declares the registry configuration and repository linkage:

{
  "name": "gpt-image-2-style-library",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/freestylefly/awesome-gpt-image-2.git"
  }
}

Source Code Structure in the Repository

While the compiled skill is published to npm, the source code resides within the monorepo structure at agents/skills/gpt-image-2-style-library/.

Package Configuration

The package.json file located at agents/skills/gpt-image-2-style-library/package.json defines the package manifest, including entry points, dependencies, and publication metadata. This file specifies the exact version and registry tags used during the publication process.

CLI Entry Point

The skill exposes a command-line interface through agents/skills/gpt-image-2-style-library/bin/install.mjs. This module serves as the executable entry point when the package is installed globally via npm, handling skill initialization and agent integration.

Documentation

Usage instructions and configuration parameters are documented in agents/skills/gpt-image-2-style-library/SKILL.md, which accompanies the published package and is referenced by the installation scripts.

Installing the Published GPT-Image2 Agent Skill

You can install the published package using standard npm commands or the Instagit CLI as implemented in the repository:


# Install the skill globally via npm

npm install -g gpt-image-2-style-library

# Add the skill to an agent using the Instagit CLI

npx skills add freestylefly/awesome-gpt-image-2 \
    --skill gpt-image-2-style-library \
    --agent claude-code \
    --global \
    --yes \
    --copy

Programmatic Usage Examples

After installation, the skill can be invoked programmatically using Node.js child processes:

// Example: Using the skill programmatically (Node.js)
import { exec } from "child_process";

// Run the skill's CLI command to generate a style prompt
exec("gpt-image-2-style-library --prompt \"city life\" ", (err, stdout) => {
  if (err) {
    console.error("Skill execution failed:", err);
    return;
  }
  console.log("Generated prompt:", stdout);
});

Frontend Integration and Registry References

The main application references the npm package URL in src/main.jsx, where the registry location is displayed to users and used for dynamic skill loading. This integration demonstrates how the published npm package connects to the React frontend application, showing the direct link between the registry publication and the user interface.

Build and Publication Configuration

According to the root package.json in the freestylefly/awesome-gpt-image-2 repository, the project includes a publish:skill:npm script that automates the publication process to the npm registry. This script handles versioning, tagging, and uploading the package artifacts from the agents/skills/gpt-image-2-style-library/ directory to the public npm registry.

Summary

  • The GPT-Image2 agent skill package is published on npm under the name gpt-image-2-style-library at https://www.npmjs.com/package/gpt-image-2-style-library
  • Source code is located at agents/skills/gpt-image-2-style-library/ in the freestylefly/awesome-gpt-image-2 repository
  • Package configuration is defined in agents/skills/gpt-image-2-style-library/package.json
  • CLI functionality is implemented in agents/skills/gpt-image-2-style-library/bin/install.mjs
  • The root package.json contains a publish:skill:npm script for automated publication
  • The frontend application in src/main.jsx references the npm registry URL for the skill

Frequently Asked Questions

What is the exact npm package name for the GPT-Image2 agent skill?

The package is registered on the npm registry as gpt-image-2-style-library. You can view the package details and version history at https://www.npmjs.com/package/gpt-image-2-style-library.

Is the GPT-Image2 agent skill package open source?

Yes. While the package is published to the npm registry for easy installation, the complete source code is available in the freestylefly/awesome-gpt-image-2 GitHub repository under the agents/skills/gpt-image-2-style-library/ directory.

How do I install the GPT-Image2 skill globally?

You can install the skill globally using the command npm install -g gpt-image-2-style-library. Alternatively, you can use the Instagit CLI command npx skills add freestylefly/awesome-gpt-image-2 --skill gpt-image-2-style-library --global as shown in the repository's installation examples.

Where is the skill's documentation and configuration located?

Documentation is maintained in agents/skills/gpt-image-2-style-library/SKILL.md within the repository. The package configuration, including dependencies and entry points, is defined in agents/skills/gpt-image-2-style-library/package.json.

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →