feat(skill): add Signal messenger channel via signal-cli JSON-RPC daemon#1023
Closed
jorgenclaw wants to merge 3 commits into
Closed
feat(skill): add Signal messenger channel via signal-cli JSON-RPC daemon#1023jorgenclaw wants to merge 3 commits into
jorgenclaw wants to merge 3 commits into
Conversation
…ith keys Explains the signing daemon architecture: why file-based key storage is unsafe when AI agents have filesystem access, and how kernel memory + a Unix socket solves it. Written for sharing with other developers and AI agents building on Nostr. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds Signal as a channel skill using signal-cli's Unix socket JSON-RPC interface. Includes self-registration, direct/group messaging, and comprehensive test suite. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signal group members may @mention the assistant by phone number (e.g. @+15102143647) instead of by trigger word. This was silently ignored, causing the agent to never respond to those messages. Add phone-number matching to messageHasTrigger() so both @TriggerWord and @phonenumber are recognized as valid triggers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
A self-contained Signal channel skill that integrates with signal-cli's JSON-RPC daemon over a Unix socket.
Channel features
signal:<uuid>)signal:group:<base64id>)registerChannel()at import; barrel file triggers itconnect()/disconnect()with subscription managementSkill package (
.claude/skills/add-signal/)manifest.yaml— declares added/modified files, env vars, no extra npm depsSKILL.md— setup guide (install signal-cli, register number, configure env)add/— new source filesmodify/— patches tosrc/channels/index.ts(barrel import) andsrc/config.ts(env vars)Env vars
SIGNAL_PHONE_NUMBERSIGNAL_SOCKET_PATH/run/signal-cli/socketTests
12 unit tests covering connection, message routing (direct + group), chunked data, send, disconnect, and self-registration — all via a mock
net.Socket, no live daemon needed.Co-Authored-By: Claude Code noreply@anthropic.com