Cxc Remote logo

Cxc Remote

Community
lidge-jun
cxc-remote

Use for Telegram/Discord bridge setup. Triggers: remote, messenger, pairing, tokens, webhooks, 텔레그램 연결, 디스코드 연결, 메신저 연결, 봇 연결, 원격, 페어링.

Overview

Publisherlidge-jun
Repositorycodexclaw
Skill namecxc-remote
Stars
51
Forks
10
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by lidge-jun on GitHub. Read the source before you install it.

Installation

Install the Cxc Remote AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lidge-jun/codexclaw/tree/main/plugins/codexclaw/skills/remote
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lidge-jun/codexclaw.git /tmp/codexclaw
mkdir -p .claude/skills
cp -r /tmp/codexclaw/plugins/codexclaw/skills/remote .claude/skills/cxc-remote
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cxc Remote in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cxc Remote on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cxc Remote is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

remote — Messenger Bridge Setup Ladder

Use this skill when the user wants codexclaw reachable from Telegram or Discord ("텔레그램 연결해줘", "connect discord", "set up remote"). The agent runs every step below itself and verifies each one; the user is only needed for the two steps a bot platform requires a human for (creating the bot and tapping the pairing trigger).

All API calls target the local bridge at http://127.0.0.1:7717. Every mutating request MUST send BOTH headers, or the server answers 403:

bash
-H 'content-type: application/json' -H 'x-codexclaw-local: 1'

Ladder (both platforms)

  1. Preflight — is the bridge up? curl -s http://127.0.0.1:7717/api/health -> {"ok":true,...}. Not running? Foreground: cxc serve --port 7717 --cwd <project>. Daemon (macOS launchd): cd <project> FIRST (install binds the current working directory as --cwd), then cxc service install --port 7717. Check with cxc service status; logs at ~/.codexclaw/serve.{out,err}.log. There is no serve status subcommand. On Linux, use systemd user units. On Windows, use Task Scheduler. See platform-specific sections in references/telegram.md and references/discord.md.
  2. Token (human step). Walk the user through bot creation — exact steps in references/telegram.md / references/discord.md. Never echo the token into logs, commit it, or paste it back in chat responses.
  3. Create the named agent (validates the token). GET /api/agents to see existing ones. New: POST /api/agents with {"name":"...","kind":"telegram"|"discord","token":"..."} — the server validates via TG getMe / DC users/@me and answers 400 on a bad token (stop and re-ask), 200 with username/botId on success. Existing agent: POST /api/agents/update with {"id":<n>,"token":"..."} (same validation). Then POST /api/agents/enable with {"id":<n>,"enabled":true}.
  4. Pair the chat (human tap). Snapshot the baseline first: GET /api/agents/handshake/status?id=<n> -> note allowlistCount.
    • TG preferred — one-tap deep link: POST /api/agents/pairing-link with {"id":<n>,"seconds":600} (default 600, cap 3600) returns {"ok":true,"url":"https://t.me/<bot>?start=<code>","code":..., "expiresAt":...}. Send the url to the user; tapping it makes Telegram send /start <code> — the code is single-use and TTL-bounded, no open window needed. Never paste the code anywhere else.
    • Window fallback (and the only DC path): POST /api/agents/handshake/open with {"id":<n>,"seconds":120} (default 120, cap 600); the user sends /start (TG) or types !cxc start in a channel the bot can read (DC — pairing is a text trigger; slash commands reject unpaired channels). Either way, poll the status endpoint: pairing succeeded when allowlistCount grows past the baseline; on expiry mint a fresh link or reopen the window.
  5. Smoke test. POST /api/agents/test-send with {"id":<n>} messages the newest paired chat (an explicit "chatId" must already be paired; 400 otherwise). Then have the user send /status (TG) or !cxc status (DC) — the first gateway command creates the binding row, and only THEN does GET /api/bindings show it.
  6. Anything wrong -> references/troubleshooting.md (symptom -> cause -> fix, all distilled from real incidents).

Platform references

Human-facing overview: the bridge README (served at http://127.0.0.1:7717/readme while the bridge runs).

  • references/telegram.md — BotFather steps, TG command surface, forum-topic sessions, optional webhook mode (HTTPS /webhook/telegram/<secret>, auto-fallback to long-poll).
  • references/discord.md — Developer Portal steps, Message Content intent, invite URL (scope=bot&permissions=3072), slash vs text command split, thread mode (slash: /mode value:thread|plain; text: !cxc mode thread|plain).

Scope guard

  • The GUI at http://127.0.0.1:7717 can do this visually: the Agents page is the named-agent setup flow (same /api/agents/* surface); the Channels page is the legacy single-channel shim. Offer the Agents page when the user prefers clicking over chat.
  • /api/connect/* is the legacy single-channel shim (its validate even stores the token as a side effect); teach and use the /api/agents/* surface.
  • This skill configures the bridge only. Bridge behavior changes (commands, adapters, gates) are cxc-dev territory, not setup.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cxc Remote AI skill do?

Use for Telegram/Discord bridge setup. Triggers: remote, messenger, pairing, tokens, webhooks, 텔레그램 연결, 디스코드 연결, 메신저 연결, 봇 연결, 원격, 페어링.

Why use Cxc Remote on TypingMind?

Because you install it once and use it with any model. Cxc Remote is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cxc Remote in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lidge-jun/codexclaw/tree/main/plugins/codexclaw/skills/remote. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cxc Remote?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cxc Remote?

As many as you like. As long as a model supports skills, you can use Cxc Remote with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cxc Remote AI skill free?

Yes. It is published on GitHub by lidge-jun under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇