/corezoid:corezoid-gitcallfrom corezoid
Runs custom code (Python, Go, JS, PHP, Java, Dockerfile) as an isolated step in a Corezoid process via JSON-RPC 2.0. Use only when native nodes cannot handle the task.
Ships in corezoid. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Git Call node runs your code (9 built-in languages, or a custom Docker image)
in an isolated container as one step of a process. Each task is delivered to a
handle function over JSON-RPC 2.0; the value you return becomes the payload of
the next node.
Git Call is one of the most constrained nodes on the platform. Use it only
when a step needs a capability that native nodes and a Code (api_code) node
cannot provide — parsing a file, an external library, cryptography, or a custom
runtime — and the work finishes comfortably within the observed runtime
budget. For everything else use the native alternative. "One code block is
easier to write" is not one of those capabilities.
__conveyor_git_call_return_type_tag__ = git_call_executing_error, description
usercode: timeout). In those measurements, inline cold and warm runs ended at
the same point; custom images may have different startup overhead./tmp, are ephemeral and must not be used as state between runs.For work that waits, polls, or retries over time, model progress as process state
transitions (condition+delay) or resume through a callback. Those patterns do
not hold one Git Call handler open, but they remain subject to normal
platform/process limits.
set_param, condition, delay,
api/api_rpc, api_code, db_call, api_sum, api_copy).api_code) node (JS with the platform's
built-ins) — try this first for any transform/parse/compute.condition+delay) or a callback, never in one
Git Call invocation.If any answer is "no", do not use Git Call.
.1CD, XML, PDF, QR, image, …).condition+delay, or a callback).api/api_rpc).api_code).| Aspect | Native nodes / api_code | Git Call |
|---|---|---|
| Runtime model | Platform node execution | Container handler; ~60 s deadline observed in hosted tests |
| Warm-up | None for ordinary native nodes | Container build + dispatch |
| Memory / CPU | Platform-managed | 50 MB / 0.1 CPU defaults from a shared, configurable pool |
| Concurrency | Node-specific | Shared capacity can introduce contention |
| State/storage | Task/process state | No persistent local storage; /tmp is ephemeral |
| External deps | Built-in capabilities | External libraries and custom runtimes supported |
Selection rule: default to native nodes + api_code. Use Git Call only when a
file to parse, an external library, cryptography, or a custom runtime leaves no
native way to do it, and keep each invocation short, bounded, and within the
configured resource allocation.
| Language | Version | Package manager | OS |
|---|---|---|---|
| JavaScript | node v20 | yarn, npm | alpine 3.17 |
| Go | v1.23 | go mod | alpine 3.20 |
| Python | v3.12 | pip | alpine 3.17 |
| Java | v22 | gradle | alpine 3.15 |
| PHP | v8.3 | composer 2.5.4 | alpine 3.17 |
| Clojure | v1.11.1 | lein 2.10 | alpine 3.17 |
| Lisp | v2.4.8 | roswell | Ubuntu 18.04 |
| Prolog | swipl v9.2.7 | swipl | debian bullseye |
| Dockerfile | any | — | your own image |
Git Call requests originate from 54.171.15.37, 108.128.68.222,
63.33.226.230. Whitelist these if a private repo or resource blocks access.
The handler receives the task payload and returns the next payload (or throws to
produce an error). In Git-Repo mode the entry file is usercode.<ext>.
# python — usercode.py
def handle(data):
data['result'] = 'ok'
return data
// js — usercode.js (CommonJS; for ESM use import/export default, .mjs, or "type":"module")
module.exports = (data) => { data.result = 'ok'; return data; };
// go — usercode.go
package main
import ("context"; "github.com/corezoid/gitcall-go-runner/gitcall")
func usercode(_ context.Context, data map[string]interface{}) error { data["result"]="ok"; return nil }
func main() { gitcall.Handle(usercode) }
// php — usercode.php
<?php
function handle($data) { $data['result']="ok"; return $data; }
// java — Usercode.java (fully-qualified name com.corezoid.usercode.Usercode is mandatory)
package com.corezoid.usercode;
import com.corezoid.gitcall.runner.api.UsercodeHandler;
import java.util.Map;
public class Usercode implements UsercodeHandler<Map<String,String>,Map<String,String>> {
public Map<String,String> handle(Map<String,String> data) throws Exception { data.put("result","ok"); return data; }
}
% prolog — usercode.pl
:- module(usercode, [handle/2]).
handle(Data, Result) :- put_dict(result, Data, "ok", Result).
;; lisp — usercode.lisp
(defpackage #:usercode (:use #:cl) (:export :handle))
(in-package #:usercode)
(defun handle (data) (setf (gethash 'result data) 'ok) data)
;; clojure — usercode.clj
(ns usercode.usercode)
(defn handle [data] (assoc data :result "ok"))
Runnable examples (hello_world, http_request, user_error, dependency demos)
for every language: https://github.com/corezoid/gitcall-examples.
Install dependencies with a Build command (Code editor) or a manifest file (Git Repo):
| Language | Build command (Code editor) | Manifest (Git Repo) |
|---|---|---|
| JS | npm install [email protected] [email protected] | package.json |
| Python | pip install 'pycryptodomex==3.20' | requirements.txt |
| Go | (latest versions resolved automatically) | go.mod |
| Java | a gradle command | build.gradle (+ ./gradlew build) |
| PHP | composer require guzzlehttp/guzzle:^7.0 | composer.json |
| Clojure | lein change :dependencies conj '[...]' && lein install | project.clj |
| Lisp | none — (ql:quickload '(:cl-mustache) :silent t) in code | — |
| Prolog | swipl -g "pack_install(matrix,[interactive(false)])." | (same command) |
No dependencies → empty Build command.
push-process deploys Git Call nodes automatically (as of the git_call build
support in this plugin). Just author the node like any other and push:
type is git_call, set lang and either code
(inline) or repo/commit/path/script (Git Repo).push-process — it uploads the source, builds the container on the build
service, and commits. Every runtime (JavaScript included) is built before the
commit; JavaScript just builds fastest (a few seconds) since it installs no
compiler toolchain.Builds take ~5 s (JavaScript) to ~20–120 s (compiled runtimes, first build with
dependency install), then build from cache. run-task reports the task settling
on a non-final node while the build runs — that is expected; the result merges
into the task payload asynchronously.
The build endpoint defaults to wss://ws.<domain>/api/1/sock_json, or to the
API host itself when that ws. host does not resolve (common on self-hosted
installs). If a push fails with build websocket dial …, the error names the
address it tried. Ask the user for the installation's socket address and set
"ws_url" in the workspace's entry of ~/.corezoid/config.json: it is read on
every push, so there's no need to restart the server. The COREZOID_WS_URL
environment variable overrides both. Do not retry the push unchanged or guess
hostnames.
The container build runs on Corezoid's build service and is driven over a
WebSocket (wss://ws.<host>/api/1/sock_json), authenticated with the same
Simulator access token as the HTTP API. push-process opens the socket after
uploading the source, sends a monitor_show/function_build/status:"on"
frame to start the build, keeps the socket alive (client sends "0", server
answers "1"), waits for log:{"type":"done"}, then commits. You do not need to
do any of this by hand — it is only useful to know when debugging a build.
Request to your code: {"jsonrpc":"2.0","method":"handle","id":"…","params":{…}}.
Success: {"jsonrpc":"2.0","id":"…","result":{…}}. Error:
{"jsonrpc":"2.0","id":"…","error":{"code":…,"message":"…"}}.
For a custom Dockerfile, run an HTTP server on $GIT_CALL_PORT, handle POST
requests per JSON-RPC 2.0, run as user 501:501, and treat the container as
read-only (/tmp is writable).
On failure the task carries these fields (routed to the auxiliary condition
output): __conveyor_git_call_return_type_error__ (Hardware = system, retry;
Software = code/settings), __conveyor_git_call_return_type_tag__
(git_call_return_format_error, git_call_executing_error,
git_call_is_not_supported = the node is v1, use v2, code_return_size_overflow,
git_call_fatal_error), and __conveyor_git_call_return_type_description__.
Common issues:
no response from server — an older plugin without
git_call build support. Upgrade the plugin.source has to be built — the container was not built before commit
(should not happen via push-process; if authoring by hand, build first).usercode module has no handle function — the entry handle is missing,
or a stale build instance — rebuild.Each container defaults to 100 millicpu (0.1 CPU) and 50 MB RAM from a resource pool shared by Git Call nodes. The exact scope and allocation are deployment-specific; ask a super-admin to inspect or adjust them before relying on Git Call for heavier or highly concurrent workloads.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
corezoid, git-call, custom-code, process-automation, isolated-container
npx claudepluginhub corezoid/corezoid-ai-plugin --plugin corezoid26 skills in this plugin
/corezoidCorezoid basics: platform model, .conv.json, nodes, MCP tools, validation. Use for any Corezoid task that no narrower corezoid-* skill covers.
/corezoid-accessShare processes, folders, stages, projects; groups, API-key users, invites, access audit. Triggers: "share", "доступ", "пошарь", "create API key".
/corezoid-alias-managerProcess aliases (short_name, conv[@alias]): create, list, modify, delete, link; callback hash / Direct URL. Triggers: "alias", "алиас".
/corezoid-api-connectorBuild a process that calls the Corezoid public API (/api/2/json). Run only via /corezoid-api-connector; for Corezoid API connectors use corezoid-connector-create.
/corezoid-connector-createAtomic connector process for ONE endpoint of any HTTP API (Corezoid /api/2/json too), from docs or OpenAPI. Triggers: "connector", "коннектор", "інтеграція з". Not multi-step.
/corezoid-createCreate a new process from scratch. Triggers: "create a process", "new process", "создай процесс". One-endpoint connectors: corezoid-connector-create.
Other plugins' skills for the same job