
Add Deltachat
Add DeltaChat channel integration via @deltachat/stdio-rpc-server.
Install
npx skills add nanocoai/nanoclaw --skill add-deltachat -g -a claude-code -y- Repository
- nanocoai/nanoclaw31.1k
- Category
- Engineering
- Updated
- 5d ago
- License
- MIT
- Context cost
- Mediumabout 2,662 tokens
- Runs scripts
- No, instructions only
What it does
Add DeltaChat channel integration via @deltachat/stdio-rpc-server. Native adapter, no Chat SDK bridge. Email-based messaging with end-to-end encryption.
Add DeltaChat Channel
The adapter drives the @deltachat/stdio-rpc-server JSON-RPC subprocess directly, pure Node.js against the DeltaChat core library. Messages are delivered over email with Autocrypt/OpenPGP encryption.
Install
1. Copy the adapter and its registration test
Fetch the channels branch from the configured remote that carries it, then
overwrite the skill-owned files with the canonical registry copies:
src/channels/deltachat.ts
src/channels/deltachat-registration.test.ts
2. Append the self-registration import
Append to src/channels/index.ts (skip if already present):
import './deltachat.js';
3. Install the adapter package (pinned)
@deltachat/stdio-rpc-server@2.49.0
4. Build and validate
pnpm run build
pnpm exec vitest run src/channels/deltachat-registration.test.ts
Both must be clean before proceeding. deltachat-registration.test.ts is the one integration test: it imports the real channel barrel and asserts the registry contains deltachat. It goes red if the import './deltachat.js'; line is deleted or drifts, if the barrel fails to evaluate (so the channel genuinely would not register), or if @deltachat/stdio-rpc-server isn't installed (the import throws), so it also implicitly verifies the dependency from step 4. Importing is safe: deltachat instantiates the rpc client only in setup() (at host startup), never at import.
End-to-end message delivery against a real email account is verified manually once the service is running, see Wiring and Troubleshooting.
Account Setup
A dedicated email account is strongly recommended, it will accumulate DeltaChat-formatted messages and store encryption keys. Not all providers work well with DeltaChat; check https://providers.delta.chat/ before picking one.
