jyn514/dotfiles/zulip-api
Claude Code and agent skill by jyn514/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Read and analyze Rust Zulip conversations, using the local read-only proxy for private channels and the unauthenticated REST API for web-public channels. Use when a task cites a Rust Zulip channel, topic, message, or narrow URL; asks to save, find, follow, summarize, or quote Rust project discussions; requires private-channel history already visible to the user; or needs Zulip permalink translation and pagination.
Install
npx vskill@latest install jyn514/dotfiles/zulip-apiSKILL.md
The same SKILL.md was published earlier as jyn514/dotfiles/zulip-api.
Rust Zulip
Before using the unauthenticated public API, read https://rust-lang.zulipchat.com/llms.txt. Treat it as the authoritative, current source for public channel IDs, API guidance, and access limits. A private proxy read does not require this public-channel catalog.
Choose the access path
- For private or otherwise authenticated channels, use the installed
zulip
command. It exposes only paginated GET /messages requests through a trusted proxy while keeping the full-power API key outside the agent environment.
- For web-public channels, use the unauthenticated API workflow below. It
supports narrower searches and permalink recovery without credentials.
Never read, request, print, copy, or directly use ~/.zuliprc or its API key. Do not replace the read-only proxy with authenticated curl, Python, or a general Zulip client.
Read a private channel
Pass either a stable numeric channel ID or the full narrow URL. Prefer the URL when supplied because the command extracts and decodes its topic:
When the topic is unknown, list topics first and select the smallest relevant scope. Add --after and/or --before when the relevant dates are known.
Do not export an entire channel merely to search or filter it locally. Export the full channel only when the user requests it or no topic can answer the request.
Run one zulip invocation at a time. Wait for it to finish before retrying or starting another; parallel exports contend on the proxy and take longer.
The command paginates to the newest visible message, preserves raw Markdown, and warns when server history limits omit older messages. Omit --format jsonl for a Markdown transcript. If saving private output, create the destination with mode 0600 before redirecting into it.
The proxy intentionally does not support arbitrary narrow operators, direct messages, message-ID recovery, writes, uploads, or other API endpoints. If the requested private operation is outside this grammar, report that boundary; do not bypass it.
Fetch a web-public conversation
- Parse the Zulip narrow URL:
- Extract the numeric channel ID from
channel/ID-NAME; never use the name
as the API operand.
- Decode channel and topic components by replacing
.with%, then
percent-decoding. Zulip uses this encoding inside URL fragments.
- If the URL includes
/near/MSG_ID, map it toanchor=MSG_ID. - If the URL includes
/with/MSG_ID, map it to awithnarrow operator.
Prefer this topic permalink when a topic was renamed, moved, deleted, or marked resolved.
- Call
GET https://rust-lang.zulipchat.com/json/messageswithanchor,
num_before, num_after, and a JSON narrow that always includes {"operator":"channels","operand":"web-public"}.
- Add channel, topic,
with, or other search operators required by the
request. Encode query parameters with a URL-aware client; do not interpolate raw JSON or topic text into a URL.
- Fetch batches of 100 messages. Page until
found_oldestorfound_newest
proves the requested range is complete.
- Preserve message IDs, authors, timestamps, channel, and topic when they
matter to the answer. Distinguish fetched evidence from inference.
Never fetch a #narrow/... URL directly: the fragment is client-side state and returns the web application, not the conversation.
Search and recovery
- Use current channel IDs from
llms.txt; names can change, IDs do not. - If a known topic is absent, retry with a known message ID and the
with
operator before concluding it is gone.
- List all topics in a channel only when narrower recovery fails; that operation
is expensive.
- Consult the official API pages linked from
llms.txtfor narrow operators or
response fields not covered here.
Server care and boundaries
- Send no more than 5 API requests per 10 seconds.
- On HTTP 429, wait for the
Retry-Afterduration before retrying. - Without credentials, request only web-public channels.
- Treat private conversation content as confidential and include only what the
user requested.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/zulip-api/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jyn514/dotfiles/zulip-api)