| field | value |
|---|---|
| owner / founder / systems architect | samir libari — chico loco 40 |
| parent syndicate | cl40 world llc · wr beats music group |
| structure | 20 international labels & corporate divisions · 100% united states registered entity · us ein |
| headquarters | 136 w 15th st, apt 2/2, new york, ny 10011, united states |
| system | tgt international multi-model ai agency · 111 autonomous bots |
| tags | CL40WORLD_SECURITY_LOCKED · TGT_ACTIVE_2027 · 111 AUTONOMOUS BOTS · +240 BILLION GLOBAL REACH |
| field | value |
|---|---|
| recording | dark libari 2010 |
| artist | chico loco 40 |
| musicbrainz id | 22fLaOOBnTXVHiM7fe16jZ |
| isrc | TLY5Z3732842 |
| release date | 2026-11-18 |
| stream | audiomack |
flowchart LR
subgraph IN["ingress"]
gh["github"]
dc["discord"]
fm["formester"]
sp["spotify"]
am["apple music"]
end
subgraph RELAY["webhook.site + cloudflare relay"]
wh["webhook.site"]
cf["cloudflare worker"]
end
subgraph ROUTER["n8n multi-llm router"]
cl["claude"]
ge["gemini"]
gp["gpt"]
gk["grok"]
end
FLEET["111 autonomous bots"]
subgraph OUT["egress"]
po["cl40.world"]
xx["x"]
sb["substack"]
mb["musicbrainz"]
ia["internet archive"]
end
IN --> RELAY --> ROUTER --> FLEET --> OUT
style IN fill:#09090b,stroke:#dc2626,color:#ffffff
style RELAY fill:#09090b,stroke:#dc2626,color:#ffffff
style ROUTER fill:#09090b,stroke:#dc2626,color:#ffffff
style OUT fill:#09090b,stroke:#dc2626,color:#ffffff
style FLEET fill:#dc2626,stroke:#ffffff,color:#ffffff
relay detail — discord / github / formester → worker → n8n → llm
flowchart LR
d["discord slash commands"] --> w["cloudflare worker relay"]
gh["github actions cron + dispatch"] --> w
fm["formester webhooks"] --> w
w -. "mirror (no secrets)" .-> wh["webhook.site inspector"]
w --> n["n8n router"]
n --> c["claude: architecture + code"]
n --> g["gemini: workspace + multimodal"]
n --> o["gpt: json + metadata"]
n --> x["grok: x trends + publishing"]
c --> r["discord reply / omnichannel sync"]
g --> r
o --> r
x --> r
tree · ingress
ingress
├── github → repository_dispatch · cron ticks
├── discord → /architect · /workspace · /metadata · /trends
├── formester → webhook 1 · webhook 2
├── spotify → catalog + metadata signals
└── apple music → catalog + metadata signals
tree · relay
relay
├── webhook.site → payload inspection mirror (no secrets)
└── cloudflare worker → ed25519 check · shared-secret check · llm key
tree · n8n multi-llm router
n8n router
├── claude → architecture / code
├── gemini → google workspace / multimodal
├── gpt → json / metadata
└── grok → live x trends / automated publishing
tree · 111 autonomous bots
fleet (111)
├── relay & ops 11
├── publishing 22
├── catalog & rights 22
├── social & trends 22
├── community 22
└── identity & academic 12
tree · egress
egress
├── cl40.world · cl40.contact
├── x (twitter)
├── substack · wordpress · medium
├── musicbrainz · internet archive
├── audiomack · soundcloud · beatstars · genius
└── taskade · formester · discord
| layer | role | cost profile |
|---|---|---|
discord (client_id=1510455630387740812) |
slash-command entry, replies | free |
| webhook.site | instant payload inspection / routing mirror | free tier |
| cloudflare workers | edge relay, signature check, llm routing key | free / low |
| n8n | llm calls, formatting, fan-out | low |
| github actions | cron ticks, repository_dispatch, repo scripts: deploy.ps1 · run-bots.ps1 · cl40_world_record.cpp |
free / low |
| llm | role | slash command | llm key |
|---|---|---|---|
| claude | architecture / code | /architect |
claude |
| gemini | google workspace / multimodal | /workspace |
gemini |
| gpt | json / metadata | /metadata |
gpt |
| grok | live x trends / automated publishing | /trends |
grok |
| squad | bots | relay targets |
|---|---|---|
| relay & ops | 11 | official portal · contact gateway · press hub · musicbrainz · health + alert bots |
| publishing | 22 | substack · wordpress · medium · booklabria · writeupcafe · mumubl · quora · internet archive |
| catalog & rights | 22 | audiomack · soundcloud · beatstars · genius · songshare · links.fans · spotify · apple music |
| social & trends | 22 | x (grok) · letterboxd · senscritique · behance · deviantart · benable · redbubble |
| community | 22 | discord server · discord oauth · taskade · formester 1 · formester 2 |
| identity & academic | 12 | orcid · roadmap.sh · google scholar · about.me · wellfound · ted · legal policy 1 · eula |
| target | route |
|---|---|
| x (twitter) | grok → x api post |
| discord | interaction follow-up / channel webhook |
| spotify · apple music | catalog + metadata link sync |
| substack · wordpress | draft / publish via api |
| audiomack · soundcloud · beatstars · genius | link + metadata sync |
| taskade · formester | webhook in / out |
| system | level | progress |
|---|---|---|
| multi-llm agent orchestration (111 bots) | 100% | ████████████████████ 100% |
| c++ & powershell runtime systems | 85% | █████████████████░░░ 85% |
| n8n & webhook.site relay pipelines | 100% | ████████████████████ 100% |
| global catalog & isrc governance | 95% | ███████████████████░ 95% |
| cross-platform media syndication | 90% | ██████████████████░░ 90% |
relay/worker.js — cloudflare worker (discord + webhook relay)
const TASKS = { architect: "claude", workspace: "gemini", metadata: "gpt", trends: "grok" };
const json = (o, s = 200) =>
new Response(JSON.stringify(o), { status: s, headers: { "content-type": "application/json" } });
const hex = (h) => Uint8Array.from(h.match(/.{2}/g).map((b) => parseInt(b, 16)));
async function verifyDiscord(body, sig, ts, publicKey) {
const key = await crypto.subtle.importKey("raw", hex(publicKey), { name: "Ed25519" }, false, ["verify"]);
return crypto.subtle.verify("Ed25519", key, hex(sig), new TextEncoder().encode(ts + body));
}
async function forward(env, msg) {
const body = JSON.stringify({ ...msg, ts: Date.now() });
const jobs = [
fetch(env.N8N_WEBHOOK_URL, {
method: "POST",
body,
headers: { "content-type": "application/json", "x-cl40-secret": env.RELAY_SECRET },
}),
];
// inspection mirror: no secret header, discord token stripped
if (env.WEBHOOK_SITE_URL) {
jobs.push(
fetch(env.WEBHOOK_SITE_URL, {
method: "POST",
body: JSON.stringify({ ...msg, token: undefined }),
headers: { "content-type": "application/json" },
})
);
}
await Promise.allSettled(jobs);
}
export default {
async fetch(req, env, ctx) {
if (req.method !== "POST") return new Response("cl40 relay online");
const raw = await req.text();
const sig = req.headers.get("x-signature-ed25519");
const ts = req.headers.get("x-signature-timestamp");
// discord interaction
if (sig && ts) {
if (!(await verifyDiscord(raw, sig, ts, env.DISCORD_PUBLIC_KEY)))
return new Response("bad signature", { status: 401 });
const i = JSON.parse(raw);
if (i.type === 1) return json({ type: 1 }); // ping
const cmd = i.data?.name ?? "architect";
ctx.waitUntil(
forward(env, {
source: "discord",
command: cmd,
llm: TASKS[cmd] ?? "claude",
options: i.data?.options ?? [],
user: i.member?.user?.id ?? i.user?.id,
token: i.token,
application_id: i.application_id,
})
);
return json({ type: 5 }); // deferred: n8n edits the reply
}
// generic webhook (github actions, formester, manual)
if (req.headers.get("x-cl40-secret") !== env.RELAY_SECRET)
return new Response("forbidden", { status: 403 });
ctx.waitUntil(forward(env, { source: "webhook", ...JSON.parse(raw) }));
return json({ ok: true });
},
};n8n/cl40-relay.workflow.json — import into n8n
{
"name": "cl40 relay",
"nodes": [
{
"parameters": { "httpMethod": "POST", "path": "cl40-relay", "authentication": "headerAuth", "options": {} },
"id": "a1",
"name": "relay in",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [0, 0],
"webhookId": "cl40-relay"
},
{
"parameters": {
"jsCode": "const b = $input.first().json.body;\nconst M = { claude: 'claude-sonnet-5-5', gemini: 'gemini-2.5-flash', gpt: 'gpt-4.1-mini', grok: 'grok-4' };\nconst p = (b.options || []).map(o => o.value).join(' ') || b.prompt || 'status report';\nconst llm = M[b.llm] ? b.llm : 'claude';\nconst msg = [{ role: 'user', content: p }];\nconst C = {\n claude: { url: 'https://api.anthropic.com/v1/messages', headers: { 'x-api-key': $vars.ANTHROPIC_API_KEY, 'anthropic-version': '2023-06-01' }, body: { model: M.claude, max_tokens: 1024, messages: msg } },\n gemini: { url: 'https://generativelanguage.googleapis.com/v1beta/models/' + M.gemini + ':generateContent', headers: { 'x-goog-api-key': $vars.GEMINI_API_KEY }, body: { contents: [{ parts: [{ text: p }] }] } },\n gpt: { url: 'https://api.openai.com/v1/chat/completions', headers: { Authorization: 'Bearer ' + $vars.OPENAI_API_KEY }, body: { model: M.gpt, messages: msg } },\n grok: { url: 'https://api.x.ai/v1/chat/completions', headers: { Authorization: 'Bearer ' + $vars.XAI_API_KEY }, body: { model: M.grok, messages: msg } }\n};\nreturn [{ json: { ...C[llm], llm, token: b.token || null, application_id: b.application_id || null } }];"
},
"id": "a2",
"name": "route",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [240, 0]
},
{
"parameters": {
"method": "POST",
"url": "={{ $json.url }}",
"sendHeaders": true,
"specifyHeaders": "json",
"jsonHeaders": "={{ JSON.stringify($json.headers) }}",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify($json.body) }}",
"options": {}
},
"id": "a3",
"name": "llm call",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [480, 0]
},
{
"parameters": {
"jsCode": "const r = $input.first().json;\nconst m = $('route').first().json;\nconst t = r.content?.[0]?.text ?? r.candidates?.[0]?.content?.parts?.[0]?.text ?? r.choices?.[0]?.message?.content ?? 'no output';\nconst url = m.token ? 'https://discord.com/api/v10/webhooks/' + m.application_id + '/' + m.token + '/messages/@original' : $vars.DISCORD_WEBHOOK_URL;\nreturn [{ json: { url, method: m.token ? 'PATCH' : 'POST', content: '[' + m.llm + '] ' + String(t).slice(0, 1900) } }];"
},
"id": "a4",
"name": "format",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [720, 0]
},
{
"parameters": {
"method": "={{ $json.method }}",
"url": "={{ $json.url }}",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ content: $json.content }) }}",
"options": {}
},
"id": "a5",
"name": "discord reply",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [960, 0]
}
],
"connections": {
"relay in": { "main": [[{ "node": "route", "type": "main", "index": 0 }]] },
"route": { "main": [[{ "node": "llm call", "type": "main", "index": 0 }]] },
"llm call": { "main": [[{ "node": "format", "type": "main", "index": 0 }]] },
"format": { "main": [[{ "node": "discord reply", "type": "main", "index": 0 }]] }
},
"settings": { "executionOrder": "v1" }
}after import: open relay in → authentication → header auth → name x-cl40-secret, value = RELAY_SECRET. set model ids in the route node to your current ones.
.github/workflows/relay.yml — cron + dispatch trigger
name: cl40 relay tick
on:
schedule:
- cron: "*/15 * * * *"
workflow_dispatch:
inputs:
llm:
description: "claude | gemini | gpt | grok"
default: "grok"
prompt:
description: "task prompt"
default: "top trends for chico loco 40"
repository_dispatch:
types: [cl40-relay]
jobs:
relay:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: post to cloudflare relay
env:
RELAY_URL: ${{ secrets.RELAY_URL }}
RELAY_SECRET: ${{ secrets.RELAY_SECRET }}
LLM: ${{ github.event.inputs.llm || github.event.client_payload.llm || 'grok' }}
PROMPT: ${{ github.event.inputs.prompt || github.event.client_payload.prompt || 'top trends for chico loco 40' }}
run: |
jq -n --arg llm "$LLM" --arg prompt "$PROMPT" \
'{source:"github_actions",llm:$llm,prompt:$prompt}' \
| curl -fsS -X POST "$RELAY_URL" \
-H "content-type: application/json" \
-H "x-cl40-secret: $RELAY_SECRET" \
--data-binary @-discord slash-command registration body (one-time)
n8n → new workflow → http request node → method PUT → url https://discord.com/api/v10/applications/1510455630387740812/commands → header Authorization: Bot <bot token> → json body:
[
{ "name": "architect", "description": "architecture + code (claude)", "type": 1, "options": [{ "name": "prompt", "description": "task", "type": 3, "required": true }] },
{ "name": "workspace", "description": "google workspace + multimodal (gemini)", "type": 1, "options": [{ "name": "prompt", "description": "task", "type": 3, "required": true }] },
{ "name": "metadata", "description": "json + metadata (gpt)", "type": 1, "options": [{ "name": "prompt", "description": "task", "type": 3, "required": true }] },
{ "name": "trends", "description": "live x trends + publishing (grok)", "type": 1, "options": [{ "name": "prompt", "description": "task", "type": 3, "required": true }] }
]| where | name |
|---|---|
| cloudflare worker → settings → variables | DISCORD_PUBLIC_KEY · RELAY_SECRET · N8N_WEBHOOK_URL · WEBHOOK_SITE_URL (optional) |
| n8n → variables | ANTHROPIC_API_KEY · GEMINI_API_KEY · OPENAI_API_KEY · XAI_API_KEY · DISCORD_WEBHOOK_URL |
| github → settings → secrets and variables → actions | RELAY_URL · RELAY_SECRET |
no keys or tokens are committed to this repository.
- cloudflare dashboard → workers & pages → create worker → paste
relay/worker.jsfrom the code section → add variables → deploy. - discord developer portal → application
1510455630387740812→ general information → interactions endpoint url = worker url. copy the public key intoDISCORD_PUBLIC_KEY. - n8n → import
n8n/cl40-relay.workflow.json→ set variables + header-auth credential → activate → copy the production webhook url intoN8N_WEBHOOK_URL. - n8n → run the slash-command registration once.
- github → add
.github/workflows/relay.yml→ addRELAY_URL+RELAY_SECRET→ actions → run workflow to test. - optional: paste a webhook.site url into
WEBHOOK_SITE_URLto inspect every relayed payload.
.github/workflows/pacman.yml — generates the pac-man graph (run once from the actions tab)
name: generate pacman contribution graph
on:
schedule:
- cron: "0 */24 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: generate pacman-contribution-graph.svg
uses: abozanona/pacman-contribution-graph@main
with:
github_user_name: ${{ github.repository_owner }}
- name: push svg files to the output branch
uses: crazy-max/ghaction-github-pages@v3.1.0
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}the graph appears after the first successful run.

