Gen 标志

Gen

组织
okou-ai
gen

使用 Okou 生成流程创建图片、演示文稿、网站、报告和设计作品。

Add to TypingMind

概览

发布者okou-ai
代码仓库okou-skills
技能名称gen
星标数
81
复刻数
19
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 okou-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Gen AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/okou-ai/okou-skills/tree/main/gen
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/okou-ai/okou-skills.git /tmp/okou-skills
mkdir -p .claude/skills
cp -r /tmp/okou-skills/gen .claude/skills/gen
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Gen,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Gen。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Gen 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Gen

Use this skill to generate user-facing artifacts through the Okou CLI:

bash
okou generate -h

okou generate is the source of truth. Always inspect the current command help when exact flags, models, styles, or providers matter.

Core Commands

  • okou generate image - billed image file generation; supports built-in models, image editing/reference inputs, image style registry selection, and connector guidance.
  • okou generate presentation - returns an Open Design resource-selection packet for an HTML presentation that the agent authors and hosts.
  • okou generate website - returns website authoring instructions / an Open Design packet that the agent uses to build and host a static site.
  • okou generate report, docs-design, poster, dashboard-design, mobile-app-design - return Open Design resource-selection packets for static HTML artifacts.
  • okou generate text, code, document, audio - list connector-backed options and print connector skill-invocation guidance; these do not have built-in platform pipelines unless the CLI help says otherwise.

Run okou generate <type> with no generation input to list available providers for that artifact type. Add --all when unavailable or not-yet-authorized connectors are relevant.

Generation Workflow

  1. Identify the artifact type from the user's request.

    • Use image for raster images, edits, references, thumbnails, icons, illustrations, and visual assets.
    • Use Open Design artifact commands for websites, decks, reports, posters, docs, dashboards, and mobile UI prototypes.
    • Use connector-listing commands for text, code, document, or non-speech audio generation.
  2. Discover current capability before committing.

    • Run okou generate <type> -h for flags and built-in model support.
    • Run okou generate <type> to see available providers.
    • If the user asked for a connector/provider by name, run okou generate <type> --provider <name> to get invocation guidance, then follow that provider skill.
  3. Determine whether style discovery is needed.

    • For styled images, inspect the current style registry from okou generate image -h.
    • Do not hardcode style names or style descriptions in this skill. Treat the registry printed by the CLI as the live source.
    • Choose a registered style when the user's wording clearly matches a trigger, named style, or visual direction in the registry.
    • To obtain style-specific prompt guidance, run okou generate image --style <id> --prompt "<brief>" --compile, follow the returned packet, then generate with --compiled-prompt "<final prompt>".
    • Use --raw-prompt "<final prompt>" when the user explicitly wants no registry style, wants photorealism/model-native output, supplies a fully specified prompt, or no registry style is a good match.
    • When no style is obvious but style materially affects the result, ask the user to choose among a few options summarized from the live registry or ask whether to proceed without a style.
  4. Decide provider and model.

    • Prefer --provider built-in when the user wants a direct artifact, does not name a connector, and the built-in pipeline supports the request.
    • Use connector guidance when the user names a provider, needs a provider-specific capability, or the requested artifact type is connector-only.
    • Ask the user when the choice changes cost, latency, fidelity, licensing, account usage, or final format in a way that is not implied by the request.
    • Otherwise choose a sensible default from the CLI help and proceed.
  5. Build the prompt.

    • Preserve the user's core intent, constraints, audience, brand, source materials, aspect ratio, size, format, and delivery target.
    • Add operational details only when they improve generation reliability: composition, visual hierarchy, must-include/must-avoid elements, target medium, and reference handling.
    • For style-guided image generation, let the selected registry style drive stylistic details through the compilation packet.
    • For prompt text that is long or quote-sensitive, use a file and a safely quoted argument, or stdin when the selected prompt mode supports it.
  6. Execute and wait for completion.

    • Run the selected okou generate <type> command.
    • For commands that return an Open Design resource-selection packet, follow the packet: author the artifact, verify it locally if needed, and host static outputs with okou host.
    • For commands that return /f/ file URLs, keep the URL and metadata for the user.
    • If generation fails because of missing credits, run okou doctor credit.
    • If connector auth fails, run okou doctor check-connector using the environment name or URL from the provider guidance.
  7. Deliver the result.

    • Give the user the generated URL or hosted artifact URL.
    • Mention important parameters used: provider, model, selected style or raw prompt mode, size/aspect ratio, or site slug.
    • If the output is temporary or provider-hosted with expiration, download or host a durable copy when appropriate.

Asking vs. Choosing

Ask the user before generation when:

  • The prompt is too underspecified to produce a useful artifact.
  • Multiple provider/style/model choices are plausible and materially different.
  • The command will spend meaningful credits and the request did not imply that spend.
  • The user requested brand, person, legal, medical, financial, or other high-stakes accuracy that needs source material.
  • Required inputs are missing, such as source images, brand assets, dimensions, or audience.

Proceed without asking when:

  • The user gave enough context for a reasonable first version.
  • The built-in default clearly fits the request.
  • The user asked for speed or explicitly delegated choices.
  • The missing details can be safely inferred and refined after the first artifact.

Common Patterns

List current image providers:

bash
okou generate image

Inspect current image styles and flags:

bash
okou generate image -h

Compile a styled image prompt after selecting a live registry style, then use the packet's final prompt:

bash
okou generate image --style "<style-id>" --prompt "<brief>" --compile
okou generate image --provider built-in --compiled-prompt "<final prompt>"

Generate an unstyled/model-native image:

bash
okou generate image --provider built-in --raw-prompt "<prompt>"

Use connector guidance instead of built-in generation:

bash
okou generate image --provider "<connector-name>"

Generate a static Open Design artifact:

bash
okou generate website --prompt "<brief>"

Then follow the returned packet to build and host the artifact.

常见问题

Gen AI 技能有什么作用?

使用 Okou 生成流程创建图片、演示文稿、网站、报告和设计作品。

为什么在 TypingMind 中使用 Gen?

因为您只需安装一次,就能搭配任何模型使用。Gen 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Gen?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/okou-ai/okou-skills/tree/main/gen。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Gen?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Gen 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Gen 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Gen AI 技能免费吗?

okou-ai 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇