← 返回 Skills 市场
patches429

Giggle Generation Music

作者 Parker · GitHub ↗ · v0.0.10 · MIT-0
cross-platform ✓ 安全检测通过
445
总下载
0
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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)
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install giggle-generation-music
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /giggle-generation-music 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug giggle-generation-music
版本 0.0.10
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 8
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 445 次。

如何安装 Giggle Generation Music?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install giggle-generation-music」即可一键安装,无需额外配置。

Giggle Generation Music 是免费的吗?

是的,Giggle Generation Music 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Giggle Generation Music 支持哪些平台?

Giggle Generation Music 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Giggle Generation Music?

由 Parker(@patches429)开发并维护,当前版本 v0.0.10。

💬 留言讨论