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

happy-dreamina快乐的梦

Agent Skill

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

总安装

198

周安装

8

GitHub Stars

284

下载量

62
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/iamzhihuix/happy-claude-skills --skill happy-dreamina

简介

happy-dreamina 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕仓库状态进行整理。

  • 适用于 Codex、Claude、Cursor 和 Gemini CLI 中需要分析代码变更或协作事项的场景。
  • 通过 GitHub 安装,使用 npx skills add 命令添加技能。
  • 使用前需确认权限范围、维护状态,以及是否触发联网、命令执行或文件读写。
  • 建议结合来源仓库和原始 README 进一步核验具体功能和限制。

SKILL.md

happy-dreamina

Generate images and videos through ByteDance's official dreamina CLI. This skill is a thin instruction layer — it does not wrap any SDK. Every action maps to a dreamina subcommand the user's shell already has.

When to invoke this skill

Use this skill whenever any of these hold:

  • The user says 即梦, Jimeng, or Dreamina (any language).
  • The user explicitly names the dreamina CLI or its subcommands.
  • The user asks about their Jimeng task history, account credit, or login status.

If the user just says "generate an image" or "画张图" without naming Jimeng, prefer happy-image-gen / happy-video-gen instead and do NOT trigger this skill. The reason is that Jimeng uses browser login and is one specific provider — other skills let the user pick from many providers via EXTEND.md defaults.

Step 0: Preflight (BLOCKING — run both checks before anything else)

Run these in parallel:

  1. command -v dreamina — is the binary installed?
  2. dreamina user_credit — is the login alive? A healthy response is JSON containing credit info.

If dreamina is not installed

Tell the user the dreamina CLI is missing and offer to install it. The official installer is:

curl -fsSL https://jimeng.jianying.com/cli | bash

This is a shell install that writes to the user's machine — do not run it silently. Confirm, then run it, then re-check command -v dreamina. See references/install-and-login.md for platform notes (macOS, Linux x86_64/arm64). For any other platform (e.g. Windows) or when the installer changes, point the user at the official install page: https://jimeng.jianying.com/ai-tool/install.

If user_credit fails (exit non-zero, or JSON missing credit)

The user is not logged in, or the token expired. Ask them to run:

dreamina login

This opens the default browser for Jimeng authorization. Credentials land in ~/.dreamina_cli/credential.json automatically — the user never handles the file. If the browser does not open or the flow hangs, escalate to dreamina login --debug (see references/troubleshooting.md).

Do not proceed to generation until dreamina user_credit succeeds.

Step 1: Pick the right subcommand

Map the user's intent to exactly one subcommand:

User wants to…Command
Generate an image from textdreamina text2image
Transform or restyle an existing imagedreamina image2image
Generate a video from textdreamina text2video
Animate a still image (i2v)dreamina image2video
Fetch an earlier async resultdreamina query_result
Browse past jobsdreamina list_task

Step 2: Fill in parameters from the user's intent

Use references/ratio-resolution-map.md to convert natural language ("竖屏 / 1080P / 高清 / 方图 / 横屏") to flags. Pay attention to what the user did not say — fill in safe defaults, do not ask the user to restate obvious things.

Image generation — text2image / image2image

  • --prompt="..." — always double-quote so shell metacharacters (Chinese quotes, commas) do not break.
  • --ratio1:1 / 16:9 / 9:16 / 3:4 / 4:3. Default 1:1.
  • --resolution_type1k / 2k / 4k. Default 2k; use 1k for fast draft, 4k only when the user asks for ultra or print-ready.
  • For image2image only: --images <path> (plural — accepts a reference bundle, multiple paths space-separated).
  • Always include --poll=30.

Video generation — text2video / image2video

  • --prompt="..." — same quoting rule.
  • --duration — integer seconds. Default 5.
  • --ratio — default 16:9 for landscape intent, 9:16 for vertical, 1:1 for square.
  • --video_resolution480P / 720P / 1080P. Default 720P.
  • For image2video only: --image <path> (singular — a single keyframe).
  • Always include --poll=60 (videos take longer than images).
Easy to confuse: image2image uses --images (plural, reference bundle). image2video uses --image (singular, one keyframe). Mixing them up gives "unknown flag" errors.

Step 3: Submit and read the result

Run the command via Bash. On success the CLI prints JSON to stdout — the result URL(s) or local file path(s) if --download_dir was passed. Echo the path/URL back to the user.

Example — text to image:

dreamina text2image \
  --prompt="一只戴墨镜的橘猫,背光,电影感" \
  --ratio=1:1 \
  --resolution_type=2k \
  --poll=30

Example — image to video:

dreamina image2video \
  --image=./keyframe.png \
  --prompt="镜头缓缓推近,橘猫眼神闪动" \
  --duration=5 \
  --ratio=16:9 \
  --video_resolution=720P \
  --poll=60

If the user wants the result downloaded locally rather than a URL, add --download_dir=./out (create the directory first).

Step 4: Handle async timeout

If --poll times out, the CLI returns JSON with status querying and a submit_id. Tell the user you will retry, then:

dreamina query_result --submit_id=<submit_id> --download_dir=./out

If the job is still in progress, wait and retry. If it failed, pull the error message from the query_result response and relay it verbatim — do not guess.

Advanced: history and sessions

  • dreamina list_task --gen_status=success — list completed jobs.
  • dreamina list_task --submit_id=<id> — fetch one specific job.
  • Sessions (v1.3.5+) let the user keep separate workspaces for different projects. Only touch them if the user explicitly asks to "switch session", "work in session X", or "list sessions". Otherwise the default session is fine.

References

Load these on demand — do not read all up front:

  • references/cli-commands.md — full flag table for every dreamina subcommand.
  • references/install-and-login.md — installer details, browser login, credential file location, version upgrade.
  • references/ratio-resolution-map.md — user phrasing ↔ --ratio / --resolution_type / --video_resolution mapping.
  • references/troubleshooting.md — login expired, queue timeout, submit_id recovery, account switching.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.42%
按下载量换算22

Claude

28.47%
按下载量换算18

Cursor

20.09%
按下载量换算12

Gemini CLI

10.26%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills