← Back to Skills Marketplace
patches429

Giggle Generation Music

by Parker · GitHub ↗ · v0.0.10 · MIT-0
cross-platform ✓ Security Clean
445
Downloads
0
Stars
0
Active Installs
8
Versions
Install in OpenClaw
/install giggle-generation-music
Description
Use when the user wants to create, generate, or compose music—whether from text description, custom lyrics, or instrumental background music. Triggers: gener...
README (SKILL.md)

简体中文 | English

Giggle Music

Source: giggle-official/skills · API: giggle.pro

Generates AI music via giggle.pro. Supports simplified and custom modes. Submit task → query when ready. No polling or Cron.

API Key: Set system environment variable GIGGLE_API_KEY. Log in to Giggle.pro and obtain the API Key from account settings.

Important: Never pass GIGGLE_API_KEY in exec's env parameter. API Key is read from system environment variable.

No Retry on Error: If script execution encounters an error, do not retry. Report the error to the user directly and stop.


Interaction Guide

Mode Selection (priority: high to low)

User input Mode Description
User provides full lyrics Custom mode (B) Must be lyrics, not description
User requests instrumental/background music Instrumental mode (C) No vocals
Other cases (description, style, vocals, etc.) Simplified mode (A) Use user description as prompt; AI composes

Key rule: If the user does not provide lyrics, always use simplified mode A. Use the user's description exactly as --prompt; do not add or rewrite. E.g. user says "female voice, 1 min, ancient romance", use --prompt "female voice, 1 min, ancient romance" directly.

Guidance when info is lacking

Only when the user input is very vague (e.g. "generate music" with no description), ask:

Question: "What type of music would you like to generate?"
Options: AI compose (describe style) / Use my lyrics / Instrumental

Execution Flow: Submit and Query

Music generation is asynchronous (typically 1–3 minutes). Submit a task to get task_id, then query when the user wants to check status.


Step 1: Submit Task

First send a message to the user: "Music generation submitted. Usually takes 1–3 minutes. You can ask me about the progress anytime."

A: Simplified Mode

python3 scripts/giggle_music_api.py --prompt "user description"

B: Custom Mode

python3 scripts/giggle_music_api.py --custom \
  --prompt "lyrics content" \
  --style "pop, ballad" \
  --title "Song Title" \
  --vocal-gender female

C: Instrumental

python3 scripts/giggle_music_api.py --prompt "user description" --instrumental

Response example:

{"status": "started", "task_id": "xxx"}

Store task_id in memory (addMemory):

giggle-generation-music task_id: xxx (submitted: YYYY-MM-DD HH:mm)

Step 2: Query When User Asks

When the user asks about music progress (e.g. "is my music ready?", "progress?"), run:

python3 scripts/giggle_music_api.py --query --task-id \x3Ctask_id>

Output handling:

stdout pattern Action
Plain text with music links (🎶 音乐已就绪) Forward to user as-is
Plain text with error Forward to user as-is
JSON {"status": "processing", "task_id": "..."} Tell user "Still in progress, please ask again in a moment"

Link return rule: Audio links in stdout must be full signed URLs (with Policy, Key-Pair-Id, Signature query params). Correct: https://assets.giggle.pro/...?Policy=...&Key-Pair-Id=...&Signature=.... Keep as-is when forwarding.


Recovery

When the user asks about previous music progress:

  1. task_id in memory → Run --query --task-id xxx directly. Do not resubmit
  2. No task_id in memory → Tell the user, ask if they want to regenerate

Parameter Reference

Parameter Description
--prompt Music description or lyrics (required in simplified mode)
--custom Enable custom mode
--style Music style (required in custom mode)
--title Song title (required in custom mode)
--instrumental Generate instrumental
--vocal-gender Vocal gender: male / female (custom mode only)
--query Query task status
--task-id Task ID (use with --query)
Usage Guidance
This skill appears to do what it says: it runs the bundled Python script to send prompts/lyrics to giggle.pro and query task status. Before installing: (1) verify you trust giggle.pro and the skill's source/homepage and only use an API key you control; (2) do not include private secrets, personal data, or credentials inside prompts/lyrics because those will be sent to an external service; (3) ensure python3 and the requests package are available in the runtime; (4) note the skill expects to read GIGGLE_API_KEY from the system environment (do not embed it into commands); (5) because there is no install step, the provided script will be executed as-is—review the script if you want to confirm behavior. If you need higher assurance, ask the publisher for provenance of the repo and confirm the API host and auth scheme.
Capability Analysis
Type: OpenClaw Skill Name: giggle-generation-music Version: 0.0.10 The skill is a standard API wrapper for the giggle.pro AI music generation service. It follows security best practices by explicitly instructing the AI agent not to pass the API key in command-line arguments and instead relies on environment variables. The Python script (giggle_music_api.py) performs straightforward HTTP requests to legitimate endpoints and lacks any indicators of data exfiltration, unauthorized execution, or obfuscation.
Capability Assessment
Purpose & Capability
Name/description, required binary (python3), single required env var (GIGGLE_API_KEY), and the included script all align: the script calls giggle.pro endpoints to submit/query generation tasks and returns audio URLs. There are no unrelated credentials or binaries requested.
Instruction Scope
SKILL.md limits runtime actions to running the included Python script for submit/query flows, storing task_id in memory, and forwarding returned links or errors. It does not instruct reading unrelated files, other env vars, or sending data to endpoints other than giggle.pro. The guidance to avoid modifying prompts and to forward signed audio URLs is explicit and scoped.
Install Mechanism
No install specification is provided (instruction-only behavior plus an included script). The only dependency is requests listed in requirements.txt; nothing is downloaded from unknown URLs or extracted. This is low-risk for installation actions.
Credentials
Only a single API key (GIGGLE_API_KEY) is required and declared as primaryEnv; the script reads that environment variable directly. No other SECRET-/TOKEN-style env vars or unrelated credentials are requested. The SKILL.md explicitly warns against passing the key via exec env, which matches how the script loads the key.
Persistence & Privilege
always is false; the skill does not request permanent presence or modify other skills or system-wide settings. It instructs storing task_id in agent memory only, which is appropriate for the asynchronous workflow.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install giggle-generation-music
  3. After installation, invoke the skill by name or use /giggle-generation-music
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.10
- Updated author and source links to "giggle-official" instead of "storyclaw-official". - Clarified API key instructions: API Key is now obtained from Giggle.pro account settings. - Added a new "No Retry on Error" rule: do not retry on script errors; report errors directly to the user. - Minor copy and formatting improvements for clarity and consistency.
v0.0.8
Version 0.0.8 (giggle-generation-music) - Switched to a simplified async workflow—removes all polling and Cron logic. - Now submit music generation tasks and let users check status manually via queries. - Updated user guidance and interaction examples to reflect cronless, stateless approach. - Cleaned up outdated cron/poll instructions and requirements. - No functional change to music generation itself; only operational flow updated for simplicity.
v0.0.7
- Updated to version 0.0.7. - Improved installation notice for greater clarity and user consent requirements. - Simplified and clarified Cron, logging, and API key handling behavior in documentation. - Formatted metadata and guidance sections for improved readability. - No functional script changes; documentation and metadata only.
v0.0.5
**giggle-generation-music 0.0.5 – Streamlined environment and metadata** - Now requires `GIGGLE_API_KEY` as a system environment variable only; removed `.env` file handling. - Dropped dependency on `python-dotenv` (only `requests` is now required). - Updated Cron job, log directory, and in-memory task naming to use new skill name (`giggle-generation-music`). - Improved metadata: added author and homepage fields. - Clarified installation requirements and streamlined documentation for easier setup and maintenance.
v0.0.4
**English documentation & skill behavior improvements.** - SKILL.md rewritten in English with clear, concise guidance for both users and integrators. - Now lists required pip dependencies (requests, python-dotenv) explicitly. - Documents all file/dir access and Cron polling side effects for greater transparency. - No functional changes to user interaction or API usage; syntax and flow remain as before. - Added Simplified Chinese documentation file (SKILL.zh-CN.md).
v0.0.3
No changes detected in this version. - Version number updated, but no file changes were made. - Behavior and features remain the same as the previous release.
v0.0.2
- 移除了 description 中关于 "通过 Giggle.pro 生成 AI 音乐" 的说明。 - 文档其余内容保持不变,执行流程、模式选择和命令参数无调整。
v0.0.1
- Initial release of giggle-generation-music skill. - Supports AI music creation via Giggle.pro in three modes: simplified (prompt-based), custom (user lyrics + style + title), and instrumental-only. - Guides users through mode selection based on input: lyrics trigger custom mode, explicit background music triggers instrumental mode, all others use simplified prompt. - Implements a two-stage workflow: fast task submission with immediate user feedback, followed by automated cron polling for result delivery. - Ensures secure API key handling and adherence to required response and URL standards.
Metadata
Slug giggle-generation-music
Version 0.0.10
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 8
Frequently Asked Questions

What is Giggle Generation Music?

Use when the user wants to create, generate, or compose music—whether from text description, custom lyrics, or instrumental background music. Triggers: gener... It is an AI Agent Skill for Claude Code / OpenClaw, with 445 downloads so far.

How do I install Giggle Generation Music?

Run "/install giggle-generation-music" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Giggle Generation Music free?

Yes, Giggle Generation Music is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Giggle Generation Music support?

Giggle Generation Music is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Giggle Generation Music?

It is built and maintained by Parker (@patches429); the current version is v0.0.10.

💬 Comments