Logo von Template Creator

Template Creator

Community
ahang1598
template-creator

Create or update a reusable personal Codex artifact-template skill. Use when the user invokes $template-creator or asks in natural language to create a reusable template from a reference document, presentation, spreadsheet, Google Docs, Slides, or Sheets link, ImageGen or Product Design image, email, Slack message, or Site project, or explicitly asks to edit or update a passed artifact-template skill. Do not use for one-off creation from an existing template.

Übersicht

Herausgeberahang1598
Repositorydoubao-workbuddy-qwenwork-skills
Skill-Nametemplate-creator
Sterne
90
Forks
35
Mitgelieferte Dateien
5
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 5

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von ahang1598 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Template Creator in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/ahang1598/doubao-workbuddy-qwenwork-skills/tree/main/chatgpt/plugins/openai-primary-runtime/template-creator/26.1015.12040/skills/template-creator
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ahang1598/doubao-workbuddy-qwenwork-skills.git /tmp/doubao-workbuddy-qwenwork-skills
mkdir -p .claude/skills
cp -r /tmp/doubao-workbuddy-qwenwork-skills/chatgpt/plugins/openai-primary-runtime/template-creator/26.1015.12040/skills/template-creator .claude/skills/template-creator
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Template Creator in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Template Creator automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Template Creator nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Template Creator

Create or update a reference-backed template. Keep the source file, Site project, or a canonical Google Workspace URL and rendered reference image inside the skill so later use can reproduce its structure, voice, and visual system precisely.

Routing

  • Manage only personal skills under ${CODEX_HOME:-~/.codex}/skills.
  • Create a new template by default. Use a numbered skill name instead of overwriting an existing template.
  • Update only when the user explicitly asks to edit or update exactly one passed artifact-template skill. Treat that passed skill as the exact target; never choose a similarly named template.
  • Do not modify an installed or bundled plugin cache. If the passed template is plugin-backed, explain that this skill can update only a personal template.
  • Do not create, modify, upload, or publish a plugin. If the request also asks to share the template with a workspace, explain that this skill only manages personal templates.
  • A template exists only after create-template-skill.mjs succeeds. Never hand-author, rename, or copy a normal skill and report it as an artifact template.

Create workflow

  1. Require exactly one supported reference unless the user explicitly requests a batch. For a batch, complete this workflow separately for every reference:

    • Document: .docx
    • Presentation: .pptx
    • Spreadsheet: .xlsx
    • Google Workspace: one Google Docs, Google Slides, or Google Sheets URL
    • ImageGen or Product Design image: .png
    • Email or Slack message: .txt
    • Site: an existing Site project directory
    • When email or Slack content is pasted rather than attached, materialize the exact content as a temporary UTF-8 reference.txt without rewriting it.
  2. Infer a concise display name and intended-use description from the reference and request. Infer document, presentation, spreadsheet, and image from the file extension. For a Site project directory, use site. Infer google-docs, google-slides, or google-sheets from the supplied Workspace URL; for a generic Drive share URL, use Google Drive metadata to identify the native file type and resolve its canonical docs.google.com URL. Ask only when the link is inaccessible or does not identify a supported native Workspace artifact. For an image, set its gallery kind to product-design when the request includes @Product Design; otherwise default to imagegen, including when the user provides only the image and this skill. Ask only when the request explicitly includes both Product Design and ImageGen and the intended target remains unclear. For .txt, determine whether the user requested email or slack; ask if the intended type is ambiguous.

  3. For references other than Site projects, create preview.png before packaging:

    • DOCX: use Documents to render the reference and copy its first page PNG.
    • PPTX: use Presentations to render the reference and copy its first slide PNG.
    • XLSX: use Spreadsheets to render the used range of the first visible non-empty sheet.
    • Google Workspace: load the google-drive skill and the matching google-docs, google-slides, or google-sheets skill from @Google Drive, inspect the native artifact, and use the file bridge below. Then:
      • Google Docs: export to PDF and render its first content page to reference.png. Normally this is PDF page 1. For a tabbed Doc, Google may prepend one or more synthetic pages that contain only a tab title; skip only those consecutive tab-title separator pages and use the first page containing the first tab's actual document body. Treat that page as the artifact's first page rather than as a later-page substitution. Do not skip a real content page merely to choose a more attractive preview, and stop if the export contains no representative content page.
      • Google Slides: export to PDF and render only its first slide to reference.png.
      • Google Sheets: identify the first visible non-empty sheet, export to XLSX, and use Spreadsheets to render that sheet's used range to reference.png.
    • PNG: copy the reference PNG unchanged.
    • Email or Slack: render a legible representative portion of the exact reference text on a neutral canvas. Do not paraphrase, decorate, or invent content.
    • For a Google Workspace template, copy the checked reference.png unchanged to preview.png.
    • A Google Workspace URL is sufficient to activate the Google Drive workflow; do not require the user to add @Google Drive. Before entering functions.exec, check whether the Google Drive fetch tool is callable. If it is not, use tool_search once to find and load the Google Drive action that fetches a native Google Doc, Sheet, or Slides file with raw-file download support, then check the callable tools again. Do not run the file bridge until fetch is loaded, and do not report that it is unavailable before this discovery attempt has failed or returned no matching action.
    • For every Google Workspace export, use the connected Google Drive fetch tool with download_raw_file and raw_export_mime_type. Do not download through the in-app browser, open a Google /export URL, follow a googleusercontent.com download redirect, use a shell HTTP client, or request browser download permission. Browser inspection does not substitute for connector export. If fetch is unavailable, the Drive connection lacks access, or the connector does not return the requested file, stop and explain the connector requirement instead of falling back to a browser download.

    Load the workspace dependencies and use the checked-in file bridge for Google Docs and Slides PDF exports and Google Sheets XLSX exports. Run this inside one functions.exec call. The bridge resolves the Google Drive fetch action, requests an authenticated raw export, validates the returned base64 file, and writes it inside the task workspace without exposing it to a shell argument or browser download:

js
const SKILL_DIR = "<absolute-template-creator-skill-directory>";
const WORKSPACE = "<absolute-task-workspace>";
const NODE_BIN = "<absolute-node-path-from-workspace-dependency-loader>";
const usesPowerShell = /^(?:[A-Za-z]:[\\/]|\\\\)/.test(SKILL_DIR);
const loadCommand = usesPowerShell
  ? "Get-Content -Raw -LiteralPath '.\\host\\export-google-workspace-file.mjs'"
  : "/bin/cat -- ./host/export-google-workspace-file.mjs";
const loaded = await tools.exec_command({
  cmd: loadCommand,
  shell: usesPowerShell ? "powershell.exe" : "/bin/sh",
  workdir: SKILL_DIR,
  login: false,
  yield_time_ms: 30000,
  max_output_tokens: 30000,
});
if (loaded.exit_code !== 0)
  throw new Error("Could not load the Google Workspace exporter");
const exportGoogleWorkspaceFile = new Function(
  `${loaded.output}\nreturn exportGoogleWorkspaceFile;`,
)();
const result = await exportGoogleWorkspaceFile({
  sourceUrl: "<canonical-google-workspace-url>",
  mimeType: "<application/pdf-or-xlsx-mime-type>",
  nodePath: NODE_BIN,
  receiverPath: `${SKILL_DIR}/host/google-workspace-export-stdin-receiver.mjs`,
  outputPath: `${WORKSPACE}/<reference.pdf-or-reference.xlsx>`,
  workspaceRoot: WORKSPACE,
  tools,
});
text(JSON.stringify(result));

Use the canonical docs.google.com URL, including any resourcekey query parameter required for link access. Use application/pdf and an output ending in .pdf for Google Docs and Slides. Use application/vnd.openxmlformats-officedocument.spreadsheetml.sheet and an output ending in .xlsx for Google Sheets. Do not manually copy base64 export content into a command or file-editing tool.

  1. Visually inspect the PNG when one was created. Stop if it is blank, clipped, corrupted, or not representative of the reference. Site templates use a bundled generic Sites PNG preview and do not require a screenshot.
  2. Do not create an intermediary request file or use a file-editing tool for script inputs. Set SKILL_DIR to the directory containing this SKILL.md, load the workspace dependency runtime, and pass the values directly. Before substituting real values into the command, shell-escape each value as one argument for the active shell. Never interpolate a raw path, display name, description, or skill name.
bash
"$NODE_BIN" "$SKILL_DIR/scripts/create-template-skill.mjs" \
  --reference-path "/absolute/path/reference.docx" \
  --preview-path "/absolute/path/preview.png" \
  --display-name "Standup" \
  --description "Run a structured daily standup with updates, blockers, and owners."

Use the Node path returned by the dependency loader for NODE_BIN. Do not use a system Node installation.

Pass --kind "image" and --gallery-kind "imagegen" or --gallery-kind "product-design" for image templates. Pass --kind "email" or --kind "slack" for text templates, and --kind "site" for Site project directories. The script can infer the three Office kinds and image from their extensions, but Template Creator must pass the image gallery kind explicitly so ImageGen and Product Design templates remain separate. .txt always requires --kind "email" or --kind "slack". Site templates never require --preview-path.

For a Google Workspace template, pass its exact kind, resolved docs.google.com link as --source-url, and the rendered PNG as both the reference and preview inputs. The script validates that the link matches the requested kind and stores a canonical file URL without account-routing or deep-link parameters while preserving a resourcekey required for link-based access.

bash
"$NODE_BIN" "$SKILL_DIR/scripts/create-template-skill.mjs" \
  --kind "google-docs" \
  --source-url "https://docs.google.com/document/d/example/edit?usp=sharing" \
  --reference-path "/absolute/path/reference.png" \
  --preview-path "/absolute/path/reference.png" \
  --display-name "Project Brief" \
  --description "Create project briefs with this Google Doc's native structure and visual system."
bash
"$NODE_BIN" "$SKILL_DIR/scripts/create-template-skill.mjs" \
  --kind "image" \
  --gallery-kind "product-design" \
  --reference-path "/absolute/path/reference.png" \
  --preview-path "/absolute/path/preview.png" \
  --display-name "Launch Visual" \
  --description "Create launch visuals with this product-design direction."
bash
"$NODE_BIN" "$SKILL_DIR/scripts/create-template-skill.mjs" \
  --kind "email" \
  --reference-path "/absolute/path/reference.txt" \
  --preview-path "/absolute/path/preview.png" \
  --display-name "Launch Email" \
  --description "Draft launch emails with this structure, voice, and call to action."
bash
"$NODE_BIN" "$SKILL_DIR/scripts/create-template-skill.mjs" \
  --kind "site" \
  --reference-path "/absolute/path/existing-site" \
  --display-name "Marketing Site" \
  --description "Create a marketing site with this layout and component system."
  1. Read the JSON result. Verify that skillName begins with artifact-template- and that the generated directory contains SKILL.md, artifact-template.json, agents/openai.yaml, and assets/preview.png. For Site templates, verify that the project is retained in assets/source with the generic Sites preview. Read the original project's .gitignore when present, inspect assets/source, and remove ignored files, project-specific credentials, customer exports, runtime data, generated archives, and unnecessary large files from the generated copy without modifying the original project before reporting success. For all other templates, verify the retained canonical assets/reference.<ext>. For a Google Workspace template, also verify that the manifest contains the canonical sourceUrl and assets/reference.png. If any check fails, do not claim the template was created or emit an artifact-template card.

Update workflow

  1. Resolve the exact passed artifact-template skill and read its SKILL.md, artifact-template.json, agents/openai.yaml, retained reference, and preview. Stop if it is not a direct child of the personal skills directory or if more than one target was passed.
  2. Preserve the skill folder name. For Sites, rebuild the entire template from the selected source; for other templates, preserve every file or behavior the user did not ask to change.
  3. Apply the requested edit:
    • For reference content or visual changes, use the matching artifact, image, or text workflow to edit a temporary copy of the retained reference, render a new preview from it, and visually inspect the result. Never edit a linked Google Workspace source artifact; update its canonical URL and rendered reference image only when the user explicitly changes the template source.
    • For Site project changes, use the updated project directory as the reference without creating a preview.
    • For display-name or intended-use changes, preserve the current reference and, when applicable, preview unless the request also changes them. For Site metadata-only changes, use the existing template's assets/source, not the current project.
    • For instruction-only or other skill-owned text changes, edit only the requested files directly and keep the manifest and agent metadata consistent.
  4. When the reference, preview, display name, or description changes, pass the existing kind and values for every unchanged field directly to the script. For an image template, also pass its existing galleryKind as --gallery-kind. For a Google Workspace template, pass its existing or explicitly updated sourceUrl as --source-url. For a Site template, pass the updated project directory or the existing template's assets/source, as selected above, as --reference-path without --preview-path. Do not create or edit a request file:
bash
"$NODE_BIN" "$SKILL_DIR/scripts/create-template-skill.mjs" \
  --mode "update" \
  --skill-name "artifact-template-standup" \
  --kind "document" \
  --reference-path "/absolute/path/updated-reference.docx" \
  --preview-path "/absolute/path/updated-preview.png" \
  --display-name "Standup" \
  --description "Run a structured daily standup with updates, blockers, and owners."
  1. The script validates the existing template kind, preserves additional skill-owned files, and replaces the package atomically without changing its skill name.
  2. Verify every requested change in the target directory and confirm there are no staging or backup directories left behind.

Response

After verification, replace the placeholders with the script result and respond with only the applicable content between the comment markers below. The markers delimit the response template; do not emit them. For templates other than Sites, also include the card directive:

Here’s your {displayName} template.

How to find templates

Find it in the Template Gallery when @{kind} is added to the prompt.

How to use a template

Tag ${skillName} and describe what you want to build.

::artifact-template{skill_name="{skillName}" skill_directory="{skillPath}" display_name="{displayName}" artifact_kind="{kind}"}

Formatting rules:

  • Include the How to find templates section for document, presentation, spreadsheet, Google Workspace, and image templates. Omit its heading and sentence for email, Slack, and Site templates because their source plugins do not open the Template Gallery.
  • Keep the paragraph wording and punctuation unchanged apart from replacing {displayName}, {skillPath}, {skillName}, and {kind}.
  • For an image template, append gallery_kind="{galleryKind}" inside the artifact-template directive, using the exact galleryKind returned by the script. Omit gallery_kind for every non-image template.
  • In the how to find template section, substitute @{kind} with the matching gallery-enabled mention: @Documents, @Presentations, @Spreadsheets, $google-drive:google-docs, $google-drive:google-slides, $google-drive:google-sheets, $imagegen, or @Product Design. @Google Drive also shows all three Google Workspace template kinds together. For image templates, use the generated template's exact galleryKind; never treat ImageGen and Product Design as interchangeable. Preserve the literal @ or $ so Codex renders an unquoted mention.
  • Do not tell users to add @Gmail, @Outlook Email, or @Slack to open the Template Gallery. Email and Slack templates are used by tagging their saved template skill directly.
  • In the usage sentence, preserve the literal $ before the exact returned skillName so Codex renders an unquoted skill mention.
  • For Site templates, omit the ::artifact-template directive because the result-card renderer does not support site.
  • Put the directive on its own line, using the exact returned skillName, skillPath, displayName, and lowercase kind values.
  • Escape directive attribute values when needed so the directive remains valid.
  • For a batch, repeat the applicable response block for each created or updated skill.

Constraints

  • Do not search for or fetch remote templates.
  • Do not create or edit request.json or any other intermediary request file. Pass script inputs through command-line flags so Template creation never surfaces a code-file edit card.
  • Do not delete or sanitize retained artifact-reference files; the user chose reference retention for fidelity. For Site projects, retain application source, project configuration, package-manager metadata, static assets, migrations, and logical D1/R2 bindings. Use the project's .gitignore to guide cleanup of the generated source, and exclude environment files, credentials, private keys, symlinks, dependencies, caches, build outputs, databases, and runtime or customer data without modifying the original project. Remove the original project_id from .openai/hosting.json.
  • Treat every linked Google Workspace source artifact as read-only. Generated template skills must copy the complete native artifact before making changes.
  • Generated Site templates must use the existing Sites workflow with assets/source; do not scaffold a new project over the retained source.
  • Do not send an email or post a Slack message merely because a template was created or invoked.
  • Do not create or mutate workspace plugins or marketplaces.
  • Do not add Artifact.md package generation here. The artifact plugins own template distillation and creation.
  • Do not modify global skill metadata or protocol files.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Template Creator?

Create or update a reusable personal Codex artifact-template skill. Use when the user invokes $template-creator or asks in natural language to create a reusable template from a reference document, presentation, spreadsheet, Google Docs, Slides, or Sheets link, ImageGen or Product Design image, email, Slack message, or Site project, or explicitly asks to edit or update a passed artifact-template skill. Do not use for one-off creation from an existing template.

Warum Template Creator in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Template Creator besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Template Creator in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/ahang1598/doubao-workbuddy-qwenwork-skills/tree/main/chatgpt/plugins/openai-primary-runtime/template-creator/26.1015.12040/skills/template-creator ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Template Creator nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Template Creator verwenden?

So viele Sie möchten. In TypingMind können Sie Template Creator mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Template Creator kostenlos?

Der Skill wird von ahang1598 auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇