Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计提醒

giggle-generation-drama傻笑一代剧

Agent Skill

giggle-generation-drama 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,544

周安装

65

GitHub Stars

公开资料未说明

下载量

541
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:giggle-generation-drama(傻笑一代剧)
来源仓库:https://github.com/giggle-official/skills
仓库路径:skills/giggle-generation-drama
安装命令:
npx skills add https://github.com/giggle-official/skills --skill giggle-generation-drama
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/giggle-official/skills --skill giggle-generation-drama

简介

giggle-generation-drama 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在开发协作中整理相关事项。

  • 适用于围绕仓库状态、代码变更或协作事项进行信息整理和分析的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,注意是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

⚠️ Review Before Installing

Please review before installing. This skill will:

  1. Network – Calls Giggle.pro API for video generation

Requirements: python3, GIGGLE_API_KEY (system environment variable), pip packages: requests

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

Required Setup Before First Use

Before performing any operation, confirm the user has configured the API Key to avoid workflow failure due to auth errors.

  • API Key: Log in to Giggle.pro. On the main site, open the left sidebar and go to API Key (API 密钥) — create or copy your key there. Do not rely on vague “account settings” alone; the sidebar API Key block is the intended entry point.
  • Configuration: Set system environment variable GIGGLE_API_KEY

- export GIGGLE_API_KEY=your_api_key

Verification steps:

  1. Confirm the user has configured GIGGLE_API_KEY in system environment.
  2. If not configured, guide the user: Open giggle.pro while logged in → left sidebarAPI Key / API 密钥 → create or copy your key, then run export GIGGLE_API_KEY=your_api_key in the terminal.
  3. Wait for the user to configure before continuing the workflow.

Generation Modes

Supports three modes. Ask the user to select a mode before starting the workflow. If not specified, default to Episodes mode (director).

Modeproject_typeDescription
EpisodesdirectorAI-directed short drama with storyboards and shot language
NarrationnarrationNarration-focused video
Short Filmshort-filmStory and visuals balanced; cinematic short film

Main Workflow: execute_workflow

Use execute_workflow to run the full workflow: submit + poll + auto-pay (if needed) + wait for completion. Call once and wait for return.

Inside the function (for your mental model): submit task → poll about every 3 seconds → detect pending payment and auto-pay if needed → wait for completion (max ~1 hour) → return video download link or error.

Continuous progress updates (blocking workflow)

execute_workflow blocks: submit, pay if needed, and poll (~every 3s) are all inside the Python call (up to ~1 hour). You cannot send per-poll chat between ticks.

  1. Before the call, inform the user that the short drama/narration/short film production process is in progress, typically taking a few minutes to tens of minutes, and that a message will be sent again immediately after function is restored—the user does not need to contact you proactively.
  2. Initiate the call, without waiting for the user to ask "Any progress?", proactively push the current progress to the user every 10 seconds, showing which step is currently being done.
  3. After the call is restored, immediately forward the complete signed video URL upon success or a clear error; if the API exposes project_id, also provide this information upon failure/timeout for the user's subsequent operations or retry.
  4. Non-blocking path (create_and_submit only): If the user wishes, you can submit and return the ID—then query it only when the user inquires.

Function Signature

execute_workflow(
    diy_story: str,                           # Story/script content (required)
    aspect: str,                              # Aspect ratio: 16:9 or 9:16 (required)
    project_name: str,                        # Project name (required)
    language: str,                            # zh or en (required)—see "Language" below
    video_duration: str = "auto",             # Duration, default "auto" (optional)
    style_id: Optional[int] = None,          # Style ID (optional)
    project_type: str = "director",           # Mode, default "director" (optional)
    character_info: Optional[List[Dict]] = None  # Character images (optional)
)

Language (language, required)

Must be zh or en. Set it from the dominant language of the user’s story/prompt and the current dialogue:

  • User writes or dictates the story mainly in Chinese (or your conversation with them is mainly Chinese) → language="zh".
  • User writes or dictates the story mainly in English (or the conversation is mainly English) → language="en".
  • Mixed story: choose the language of the majority of the script body; if evenly mixed, prefer the language the user used for the latest explicit instructions.

This value is passed to the Giggle API as the generation language; it must not be omitted or guessed without matching the content.

Parameter Description

ParameterRequiredDescription
diy_storyyesStory or script content
aspectyesAspect ratio: 16:9 or 9:16
project_nameyesProject name
languageyeszh (Chinese) or en (English)—aligned with story/dialogue (see above)
video_durationnoauto, 30, 60, 120, 180, 240, 300; default "auto"
style_idnoStyle ID; omit if not specified
project_typenodirector / narration / short-film; default "director"
character_infonoCharacter image list: [{"name": "Character name", "url": "Image URL"},...]

Usage Flow

  1. Introduce and select generation mode (required): Before generating, must introduce the three modes and let the user choose. Display: We support three video generation modes. Please choose: Episodes (director): AI director handles storyboards and shot language. Good for short drama with dialogue and plot. Narration (narration): Narration-focused with visuals. Good for knowledge sharing, news commentary, product introductions. Short Film (short-film): Story and visuals balanced; cinematic shots and pacing. Good for emotional shorts, creative stories, artistic expression. Wait for explicit user choice before continuing. If not specified, default to Episodes.
  2. If the user wants to pick a style: Call get_styles() for the style list; show ID, name, category, description; wait for choice before continuing.
  3. If the user provides character image URLs: Build character_info array with name and url per character.
  4. Set language (zh / en) per Language section from the story and ongoing dialogue—required before execute_workflow.
  5. Run workflow:

- Before calling execute_workflow(), follow Continuous progress updates above: brief start message, realistic ETA—you will report as soon as it returns. - Call execute_workflow() with story, aspect ratio, project name, and language. - Set project_type per chosen mode; pass video_duration if specified (else "auto"); pass style_id if chosen; pass character_info if provided. - Call once and wait — the function handles create, submit, poll, pay, and completion; returns download link or error. Immediately after return, forward success (full signed URL) or failure to the user.

Examples

View style list:

api = TrusteeModeAPI()
styles_result = api.get_styles()
# Display style list to user

Basic workflow (no duration, no style):

api = TrusteeModeAPI()
result = api.execute_workflow(
    diy_story="An adventure story...",
    aspect="16:9",
    project_name="My Video Project",
    language="en",
)
# result contains download URL or error

Specify duration, no style:

result = api.execute_workflow(
    diy_story="An adventure story...",
    aspect="16:9",
    project_name="My Video Project",
    language="en",
    video_duration="60"
)

Specify duration and style:

result = api.execute_workflow(
    diy_story="An adventure story...",
    aspect="16:9",
    project_name="My Video Project",
    language="en",
    video_duration="60",
    style_id=142
)

Narration mode:

result = api.execute_workflow(
    diy_story="Today we'll talk about AI development...",
    aspect="16:9",
    project_name="Narration Video",
    language="en",
    project_type="narration"
)

Short film mode:

result = api.execute_workflow(
    diy_story="Sunset. An old fisherman rows home alone. The sea glows red...",
    aspect="16:9",
    project_name="Short Film",
    language="en",
    project_type="short-film"
)

With character images (when user provides character image URLs):

result = api.execute_workflow(
    diy_story="Xiao Ming and Xiao Hong meet in the park, they smile at each other...",
    aspect="16:9",
    project_name="Custom Character Video",
    language="zh",
    character_info=[
        {"name": "Xiao Ming", "url": "https://xxx/xiaoming.jpg"},
        {"name": "Xiao Hong", "url": "https://xxx/xiaohong.jpg"}
    ]
)

Return Value

The function blocks until the task completes (success or failure) or times out (1 hour). Wait for it to return.

Success (includes download link):

{
    "code": 200,
    "msg": "success",
    "uuid": "...",
    "data": {
        "project_id": "...",
        "video_asset": {...},
        "status": "completed"
    }
}

Return the full signed URL to the user (data.video_asset.download_url), e.g.:

https://assets.giggle.pro/private/ai_director/348e4956c7bd4f763b/qzjc7gwkpf.mp4?Policy=...&Key-Pair-Id=...&Signature=...&response-content-disposition=attachment

Do not strip response-content-disposition=attachment or other query params from download_url. Do not return unsigned URLs without query params, e.g.:

https://assets.giggle.pro/private/ai_director/348e4956c7bd4f763b/qzjc7gwkpf.mp4

Failure:

{
    "code": -1,
    "msg": "Error message",
    "data": null
}

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.94%
按下载量换算194

Claude

29.11%
按下载量换算157

Cursor

18.73%
按下载量换算101

Gemini CLI

9.91%
按下载量换算54

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills