Logo von Corezoid Variable Manager

Corezoid Variable Manager

Organisation
corezoid
corezoid-variable-manager

Verwaltet Corezoid-Umgebungsvariablen (env_var): Variablen erstellen, auflisten, ändern und löschen sowie in Prozess-JSON verwenden. Aktivieren, wenn der Nutzer „Variable“, „env var“, „Umgebungsvariable“, „Secret“, „Variable erstellen“, „Variablen auflisten“, „Variable löschen“, „Variable ändern“ oder „env_var“, „{{env_var“ erwähnt oder fragt, wie sich eine URL, ein Token, ein API-Schlüssel oder eine andere Konstante speichern lässt, die nicht fest in einem Prozess codiert sein soll. Auch aktivieren, wenn ein Prozess auf {{env_var[@name]}} verweist und die Variable noch nicht existiert.

Add to TypingMind

Übersicht

Herausgebercorezoid
Repositorycorezoid-ai-plugin
Skill-Namecorezoid-variable-manager
Sterne
74
Forks
26
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
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.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

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

Installation

Installieren Sie den KI-Skill Corezoid Variable Manager 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/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-variable-manager
  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/corezoid/corezoid-ai-plugin.git /tmp/corezoid-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/corezoid-ai-plugin/plugins/corezoid/skills/corezoid-variable-manager .claude/skills/corezoid-variable-manager
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Corezoid Variable Manager 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 Corezoid Variable Manager 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 Corezoid Variable Manager 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.

Corezoid Variable Manager

How to call these tools

Every operation in this skill is an action of the single cz-variables MCP tool — the individual names below are action strings, not tools of their own:

cz-variables {"action": "list-variables"}

Arguments always go inside args; the shorthand used in the examples below — create-variable(name="payment-api-url", …) — means exactly that call. When unsure about an action's arguments, call cz-variables {"action": "<action>", "help": true} — it returns the full schema and runs nothing.

What variables are

Environment variables store constants (URLs, tokens, API keys, IDs, configuration values) that must not be hardcoded in process logic. The reference syntax {{env_var[@name]}} is resolved at runtime — changing a variable value takes effect immediately without redeploying any process.

Variables are stage-scoped: shared across all processes within a stage.


Variable types

By data type

data_typeWhen to useValue format
rawPlain string (URL, token, ID, any scalar)"https://api.example.com"
jsonStructured config, multi-field config, feature flags{"key":"value","nested":{...}}

By visibility

env_var_typeUI displayAccessible fromScopes
visibleValue shown in plain textAll node types[{"type":"*","fields":"*"}]
secretValue masked, shows only fingerprintAPI Call nodes only[{"type":"api_call","fields":"*"}]

⚠️ Secret variables are designed for tokens, passwords, and API keys. They are never returned in plain text by the API after creation — only an MD5/SHA256 fingerprint is available. Use visible for non-sensitive configuration.


Actions of cz-variables

ActionPurpose
create-variableCreate a raw + visible variable in one step
list-variablesList a stage's variables with obj_id, types, values (secrets masked)
modify-variableChange value/title/data_type or rename — dry-run + confirm-gated
delete-variablePERMANENTLY delete (no recycle bin) — dry-run + confirm-gated

Note: creating secret or json variables is not yet exposed as an action — use the direct API calls documented below for creation; manage them afterwards with the actions above.

Double-confirmation etiquette (modify / delete)

modify-variable and delete-variable are consequential: a deleted variable is gone FOREVER (env vars have NO recycle bin), a renamed one breaks every {{env_var[@old-name]}} reference, and a changed value takes effect immediately in running processes. The actions enforce a two-step gate, and you must drive it honestly:

  1. Call the action WITHOUT apply — you get a dry-run: a current → new diff (modify) or a red 🔴 PERMANENT DELETION block (delete), including a local reference scan.
  2. Show that dry-run output to the user verbatim — do not summarize away the warnings, especially the red block and the list of files that still reference the variable.
  3. Ask the user explicitly whether to proceed, and wait for their clear agreement in the conversation.
  4. Only then re-run with apply=true and the exact confirm="<short_name>#<obj_id>" from the dry-run output. Never fabricate the confirm string without steps 1–3, and never treat an earlier, unrelated "yes" as agreement for this action.

Server facts the tools rely on (verified live): modify is PARTIAL — omitted fields keep their value, so modifying a secret's title does not require (or touch) its value; env_var_type (visible/secret) can NOT be changed after creation — the server silently ignores such attempts; delete requires project_id + stage_id and is irreversible.


Using variables in process JSON

Once a variable exists, reference it with {{env_var[@short-name]}} anywhere a value is expected.

API Call node — URL field

json
{
  "type": "api",
  "url": "{{env_var[@payment-api-url]}}/charge",
  "method": "POST",
  "extra_headers": {},
  "max_threads": 5,
  "err_node_id": "<error_node_id>"
}

API Call node — header field

json
{
  "type": "api",
  "url": "{{env_var[@payment-api-url]}}/charge",
  "method": "POST",
  "extra_headers": {},
  "max_threads": 5,
  "extra": { "Authorization": "Bearer {{env_var[@payment-api-token]}}" },
  "extra_type": { "Authorization": "string" },
  "err_node_id": "<error_node_id>"
}

Set Parameters node

json
{
  "type": "set_param",
  "extra": {
    "baseUrl": "{{env_var[@service-url]}}",
    "token":   "{{env_var[@service-token]}}"
  },
  "extra_type": {
    "baseUrl": "string",
    "token":   "string"
  },
  "err_node_id": "<error_node_id>"
}

Call a Process node — passing variable as parameter

json
{
  "type": "api_rpc",
  "conv_id": "@target-process",
  "extra": { "endpoint": "{{env_var[@service-endpoint]}}" },
  "extra_type": { "endpoint": "string" },
  "err_node_id": "<error_node_id>"
}

Condition node (go_if_const)

Variable references work in condition expressions as both the left-hand value and the comparison value:

json
{
  "type": "go_if_const",
  "conditions": [
    {
      "fun": "equal",
      "arg": "{{env_var[@feature-flag]}}",
      "val": "enabled"
    }
  ],
  "to_node_id": "<next_node_id>"
}

Code node — variables must be pre-loaded via set_param

Variables are not directly accessible inside api_code JavaScript. First assign them to task fields using a set_param node upstream, then read via data.* in code:

javascript
// In set_param upstream: "apiUrl": "{{env_var[@my-api-url]}}"
var url = data.apiUrl + "/endpoint";

Naming rules

  • Only lowercase letters [a-z], digits [0-9], and hyphens -
  • Name and description must be at least 3 characters
  • Must be unique within the stage
  • Good: stripe-secret-key, payment-api-url, db-host-prod
  • Bad: URL, TOKEN, x, My_Var

Local cache files

Two files store variable information locally. Check both before creating a new variable:

FileCreated byContains
_ENV_VARS_.jsonpull-folder (ZIP export from Corezoid)All variables in the stage
.processes/variables.jsonthe create-variable actionOnly variables created in this session

If neither file exists, run pull-folder or call the list API (see below) to get the current state.


Workflow: Create a visible raw variable (MCP tool)

Step 1 — Check if variable already exists

Read _ENV_VARS_.json (or .processes/variables.json) and search for the short_name. If found, reuse it — do not create a duplicate.

Step 2 — Create the variable

Call cz-variables with action: "create-variable" and these args:

  • name: the short_name (kebab-case, e.g. stripe-api-key)
  • description: human-readable label (min 3 chars), used as title in the API
  • value: the actual value
cz-variables {"action": "create-variable", "args": {
  "name": "payment-api-url",
  "description": "Payment Service Base URL",
  "value": "https://api.payments.example.com"
}}

The action creates the variable in Corezoid and appends it to .processes/variables.json.

Step 3 — Reference in process JSON

Use {{env_var[@payment-api-url]}} wherever this value is needed.


Workflow: Create a secret variable (direct API)

Use when storing tokens, passwords, API keys — values that must be masked in the UI.

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type":         "create",
    "obj":          "env_var",
    "obj_type":     0,
    "status":       "active",
    "data_type":    "raw",
    "env_var_type": "secret",
    "title":        "Stripe Secret Key",
    "short_name":   "stripe-secret-key",
    "description":  "",
    "value":        "sk_live_...",
    "company_id":   "<WORKSPACE_ID>",
    "project_id":   <PROJECT_ID>,
    "stage_id":     <STAGE_ID>,
    "scopes":       [{"type": "api_call", "fields": "*"}]
  }]
}

Response: { "obj_id": 2192, "proc": "ok", "fingerprints": [...] }

The value is never returned after creation. Store it securely before calling this API.


Workflow: Create a JSON variable (direct API)

Use when a variable holds a structured config object or array.

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type":         "create",
    "obj":          "env_var",
    "obj_type":     0,
    "status":       "active",
    "data_type":    "json",
    "env_var_type": "visible",
    "title":        "Service Config",
    "short_name":   "service-config",
    "description":  "",
    "value":        "{\"host\":\"db.example.com\",\"port\":5432,\"name\":\"prod\"}",
    "company_id":   "<WORKSPACE_ID>",
    "project_id":   <PROJECT_ID>,
    "stage_id":     <STAGE_ID>,
    "scopes":       [{"type": "*", "fields": "*"}]
  }]
}

The value field must be a JSON string (the JSON content encoded as a string). A secret JSON variable uses "env_var_type": "secret" and "scopes": [{"type": "api_call", "fields": "*"}].


Workflow: List variables (direct API)

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type":       "list",
    "obj":        "env_var",
    "sort":       "date",
    "order":      "asc",
    "id":         "<WORKSPACE_ID>",
    "company_id": "<WORKSPACE_ID>",
    "project_id": <PROJECT_ID>,
    "stage_id":   <STAGE_ID>
  }]
}

Response fields per variable:

FieldDescription
obj_idNumeric ID (needed for modify/delete)
short_nameThe @name used in {{env_var[@name]}}
titleHuman-readable display label
data_typeraw or json
env_var_typevisible or secret
valueActual value (empty for secret after creation)
fingerprintsMD5 + SHA256 hashes — use to detect value changes
scopesAccess scope rules
create_time / change_timeUnix timestamps
uuidVariable UUID

Workflow: Modify a variable (direct API)

Modify updates all mutable fields in one call. Always send the full payload — partial updates are not supported.

POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type":         "modify",
    "obj":          "env_var",
    "obj_id":       <VAR_OBJ_ID>,
    "data_type":    "raw",
    "env_var_type": "visible",
    "title":        "Updated Display Title",
    "short_name":   "new-short-name",
    "description":  "",
    "value":        "new-value",
    "company_id":   "<WORKSPACE_ID>",
    "project_id":   <PROJECT_ID>,
    "stage_id":     <STAGE_ID>,
    "scopes":       [{"type": "*", "fields": "*"}]
  }]
}

⚠️ Changing short_name invalidates all {{env_var[@old-name]}} references across every process in the stage. After renaming, grep all .conv.json files for the old name and update them, then push-process each affected file.


Workflow: Delete a variable (direct API)

⚠️ Before deleting, verify no process references {{env_var[@short-name]}}. push-process validates env_var references and will fail if the variable is missing.

bash
# Check which processes reference this variable
grep -r "env_var\[@variable-name\]" . --include="*.conv.json"
POST {corezoid_url}/api/2/json
Authorization: Simulator {access_token}
Content-Type: application/json

{
  "ops": [{
    "type":       "delete",
    "obj":        "env_var",
    "obj_id":     <VAR_OBJ_ID>,
    "company_id": "<WORKSPACE_ID>",
    "project_id": <PROJECT_ID>,
    "stage_id":   <STAGE_ID>
  }]
}

Resolving environment values

When calling the create-variable / modify-variable / delete-variable / list-variables actions you do not need to look up stage_id or project_id — MCP resolves both from the <id>_<name>.stage.json marker at the workspace root.

For direct /api/2/json calls (the raw workflows below) you need the values explicitly:

ValueWhere to find it
company_idworkspace_id field in current Folder in ~/.corezoid/config.json
stage_idobj_id in <id>_<name>.stage.json at the workspace root
project_idparent_id in the same <id>_<name>.stage.json
API URLcorezoid_url field in current Folder
Access tokenaccess_token field in current Folder
obj_id of variableList API response, or _ENV_VARS_.json

If the marker file is missing, run the corezoid-init skill.


Runtime behaviour

  • Variables are resolved before the node executes — the {{env_var[@name]}} token is replaced with the live value at the moment the task reaches that node
  • Updating a variable value takes effect immediately — no process redeploy needed
  • push-process validates all {{env_var[@name]}} references: if the variable does not exist in the stage, deployment fails with an error

Common pitfalls

MistakeCorrect approach
{{env_var[payment-url]}} — missing @{{env_var[@payment-url]}} — @ is required
{{env_var[@Payment-URL]}} — uppercase{{env_var[@payment-url]}} — always lowercase
Storing secrets as visible variablesUse env_var_type: "secret" for tokens and passwords
Trying to read a secret variable in a Code nodeSecret variables are only accessible from api (API Call) nodes
Duplicate variable creationAlways read _ENV_VARS_.json or call the list API first
Renaming short_name without updating process filesGrep all .conv.json, update references, push each changed process
Deleting a variable used by active processespush-process will fail; remove all references first
Passing large JSON config as raw stringUse data_type: json for structured values

Reference Documents

PathWhen to read
${CLAUDE_PLUGIN_ROOT}/docs/variables-guide.mdNaming rules and usage examples (quick reference)
${CLAUDE_PLUGIN_ROOT}/docs/nodes/set-parameters-node.mdHow set_param feeds variables into task data for Code nodes
${CLAUDE_PLUGIN_ROOT}/docs/nodes/api-call-node.mdHow variables are used in URL, headers, and body fields
${CLAUDE_PLUGIN_ROOT}/docs/process/process-json-validation.mdHow push-process validates {{env_var[@name]}} references

Häufig gestellte Fragen

Was macht der KI-Skill Corezoid Variable Manager?

Verwaltet Corezoid-Umgebungsvariablen (env_var): Variablen erstellen, auflisten, ändern und löschen sowie in Prozess-JSON verwenden. Aktivieren, wenn der Nutzer „Variable“, „env var“, „Umgebungsvariable“, „Secret“, „Variable erstellen“, „Variablen auflisten“, „Variable löschen“, „Variable ändern“ oder „env_var“, „{{env_var“ erwähnt oder fragt, wie sich eine URL, ein Token, ein API-Schlüssel oder eine andere Konstante speichern lässt, die nicht fest in einem Prozess codiert sein soll. Auch aktivieren, wenn ein Prozess auf {{env_var[@name]}} verweist und die Variable noch nicht existiert.

Warum Corezoid Variable Manager in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Corezoid Variable Manager 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 Corezoid Variable Manager in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-variable-manager ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Corezoid Variable Manager 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 Corezoid Variable Manager verwenden?

So viele Sie möchten. In TypingMind können Sie Corezoid Variable Manager 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 Corezoid Variable Manager kostenlos?

Ja. Der Skill wird von corezoid auf GitHub unter der Lizenz MIT veröffentlicht. 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 👇