← 返回 Skills 市场
thisisevgeniy

nchat (created by OpenClaw)

作者 thisisevgeniy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
49
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install nchat
功能描述
Install, configure, inspect, troubleshoot, and operate the terminal-based nchat messenger client for Telegram, WhatsApp, and Signal. Use when Codex needs to...
使用说明 (SKILL.md)

Nchat

Created by OpenClaw.

Use this skill for local nchat work. Treat nchat as privacy-sensitive because it stores chat accounts, logs, media/cache, and exportable message history under its config directory.

Safety Boundaries

  • Do not run nchat, nchat --setup, nchat --remove, nchat --export, or interactive key automation that can send, delete, archive, forward, or react unless the user explicitly authorized the exact action and account/scope.
  • Do not print full phone numbers, profile local keys, proxy passwords, message cache, exported messages, logs, QR codes, pairing codes, auth codes, or private media paths into chat.
  • For read-only diagnostics, prefer scripts/nchat_doctor.py; it avoids cache/history/log files and masks phone-like profile names.
  • Scrub logs, core dumps, and exported histories before sharing with maintainers or third parties.
  • Prefer separate config directories per protocol/phone number when configuring multiple accounts, for example ~/.config/nchat-telegram and ~/.config/nchat-whatsapp.

Quick Start

Check the local install:

nchat --version
nchat --help
man nchat

Install on macOS:

brew tap d99kris/nchat
brew install nchat

Set up an account only after the user approves login/linking:

nchat --setup
USE_PAIRING_CODE=1 nchat --setup
USE_QR_TERMINAL=1 nchat --setup

Use a separate config directory:

nchat -d ~/.config/nchat-telegram --setup
nchat -d ~/.config/nchat-telegram

Remove an account or export message cache only with explicit approval:

nchat --remove
nchat --export \x3Cprivate-output-dir>

Workflow

  1. Classify the request: install/setup, config edit, UI/key/theme tuning, troubleshooting, message export, or interactive operation.
  2. Check side effects. Ask before login/linking, send/delete/archive/forward/react, account removal, message export, log sharing, or anything that can reveal private messages.
  3. Gather read-only context:
python3 scripts/nchat_doctor.py --confdir ~/.config/nchat
python3 scripts/nchat_doctor.py --confdir ~/.config/nchat --include-config
  1. Read references/nchat-reference.md before editing config or giving detailed troubleshooting instructions.
  2. Edit config files only while nchat is not running. Keep backups for user-specific config changes.
  3. Verify with the smallest safe check: nchat --version, nchat --help, the doctor script, or an approved interactive launch.

Configuration Map

  • app.conf: cache, attachment behavior, downloads dir, SOCKS5 proxy, QR/pairing preferences, ISO timestamps, clipboard commands.
  • ui.conf: UI layout, notifications, read receipts, typing/online status sharing, file/link/message open commands, spell check, auto-compose, terminal bell.
  • key.conf: ncurses key bindings; use nchat --keydump to discover key codes.
  • color.conf and usercolor.conf: theme colors and per-user group colors.
  • profiles/\x3CProtocol_phone>/telegram.conf: Telegram markdown and display-name settings.
  • profiles/\x3CProtocol_phone>/whatsappmd.conf and signal.conf: protocol display-name settings.

Common Tasks

  • Send on Enter: set send_msg=KEY_RETURN in key.conf. To keep multiline compose on Alt/Opt-Enter, set linefeed_on_enter=0 in ui.conf and linebreak=\\33\\15 in key.conf.
  • Alt/Opt shortcuts on macOS: enable the terminal profile option that sends Option as Meta. If a shortcut still fails, use nchat --keydump and update key.conf.
  • Themes: copy a theme's color.conf and usercolor.conf into the config directory while nchat is stopped.
  • Invisible sent messages: remove gray values from color.conf if a terminal maps gray poorly.
  • Proxy setup before first login: launch nchat once to create the config dir, edit app.conf proxy fields, then run nchat --setup.
  • Auto-compose: treat as external AI usage. It may require OPENAI_API_KEY or GEMINI_API_KEY and can incur costs; keep disabled unless the user explicitly asks.
  • Debugging: start with nchat --verbose. Review log.txt privately and redact it before any external sharing.

Reference

Use references/nchat-reference.md for grounded details on commands, key bindings, config keys, setup modes, build flags, debugging, and limitations. The reference was distilled from nchat 5.15.26 README/manpage and the official d99kris/nchat docs.

能力标签
requires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nchat
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nchat 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. Created by OpenClaw.
元数据
Slug nchat
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

nchat (created by OpenClaw) 是什么?

Install, configure, inspect, troubleshoot, and operate the terminal-based nchat messenger client for Telegram, WhatsApp, and Signal. Use when Codex needs to... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 49 次。

如何安装 nchat (created by OpenClaw)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nchat」即可一键安装,无需额外配置。

nchat (created by OpenClaw) 是免费的吗?

是的,nchat (created by OpenClaw) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

nchat (created by OpenClaw) 支持哪些平台?

nchat (created by OpenClaw) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 nchat (created by OpenClaw)?

由 thisisevgeniy(@thisisevgeniy)开发并维护,当前版本 v1.0.0。

💬 留言讨论