hyperchats
Read, search and write the existing chats of another Hyper on hypermesh as yourself: list chats, full-text search, read history by cursor, send with an…
от hyper-code-harness★ 22 звезды на GitHub
Установить hyperchats в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Hyperchats
Work with the chats of another Hyper (e.g. Zlata's) from this one, as yourself.
await ctx.fns.hyperchats.hypers({}); // Hypers hypermesh shows you: name = peer
await ctx.fns.hyperchats.peers({}); // extra, hand-configured remote Hypers
await ctx.fns.hyperchats.chats({ peer: "zlata", query: "мульт" }); // chats by title
await ctx.fns.hyperchats.search({ peer: "zlata", query: "морж" }); // messages and files, all chats of one Hyper
await ctx.fns.hyperchats.searchAll({ query: "морж" }); // every Hyper you can enter, merged
await ctx.fns.hyperchats.file({ peer: "zlata", chat: "aw", id: hit.file.id }); // download a file → local path
await ctx.fns.hyperchats.read({ peer: "zlata", chat: "aw" }); // newest page; after/before/around cursors
const s = await ctx.fns.hyperchats.send({ peer: "zlata", chat: "aw", text: "…", key: "stable-key", files: ["/abs/report.pdf"] });
await ctx.fns.hyperchats.newChat({ peer: "zlata", title: "…", text: "…" }); // new chat, first message
await ctx.fns.hyperchats.reply({ peer: "zlata", chat: "aw", after: s.cursor }); // waits for the agent's answer
await ctx.fns.hyperchats.sql({ peer: "zlata", sql: "SELECT id, title FROM agents WHERE run_state = $1", params: ["running"] }); // owners only
Search across chats, files and Hypers
search covers person and agent messages (BM25) and the files attached to chats: a file matches by name or by its
text (text files; PDFs through their extracted text). A file hit has kind: "file" and file: { id, name, mimeType, size }; file downloads it into the agent's scratch folder. read lists each message's files too. searchAll
asks every Hyper you can enter in parallel (6 at a time, 15 s each), round-robins the hits so one busy Hyper does not
crowd out the rest, and lists Hypers it could not search in skipped with the reason — it never fails because one is
down or closed to you.
Which Hypers
hypers asks the hypermesh control plane (GET https://control.hn.hyper-mesh.xyz/v1/net/catalog?kind=hyper, setting
hyperchats.catalogUrl) which Hypers this machine's person may reach. It answers by the caller's overlay address, so it
works only from a person's device on hypermesh (403 otherwise — then use hyperchats.peers). The name of a Hyper is its
team (zlata, cs); team/node when a team has Hypers on several machines. Any granted Hyper works as peer without
configuration. Being listed is not entry: the Hyper itself still requires you to be its user.
Read-only SQL
sql calls POST /api/mobile/v1/sql on the remote: one query, wrapped as a sub-select in a READ ONLY transaction with
a 10 s timeout and rolled back; several statements, data-modifying CTEs and escaping the transaction fail. Only users
with role owner there may call it (the database holds everyone's chats). Logs who and how long, never the text.
Who may do what
Access is decided by hypermesh and the remote Hyper, not by this plugin:
- The request goes through the hypermesh hub, which signs who you are (
X-Hn-Assertion, hypermesh person id). - The remote Hyper must have portal trust on (
HYPER_PORTAL_TRUST=true, audiencehn:<team>/<node>/<service>) andHYPER_PORTAL_AUTO_CREATE=false: then only people who already are its users get in. Everyone else gets 401; nothing is created there. Disabling the user there (or removing the hypermesh grant) cuts access at once. - Inside, you are that user: you see and write what you would see in its web UI. Your messages carry your name.
- Plain VPN reachability is never enough; bare
X-Hn-*headers are never trusted.
Setting hyperchats.peers: [{ "name": "zlata", "url": "https://hyper.zlata.in.hn.hyper-mesh.xyz" }]. Only
HTTPS *.hn.hyper-mesh.xyz origins (or numeric loopback for tests), only /api/mobile/v1/* paths. No cookies or tokens
are stored or sent. Each call writes a content-free log line hyperchats.request (peer, method, path, status, ms).
Sending and replies
send is an outward action in someone else's chat: send only what the person asked to send. Reuse the same key when
retrying after a timeout — the remote stores the message once and answers duplicate: true. send returns cursor;
reply({ after: cursor }) polls until the agent stops and has written an answer (done: true), or until waitMs
(default 2 min). For long tasks call reply again with after: next, or schedule an agent.wake.
Remote side requirements
Hyper core with GET /api/mobile/v1/search (files included), GET /api/mobile/v1/agents/:id/attachments/:attachment,
POST /api/mobile/v1/sql and Idempotency-Key on POST /api/mobile/v1/agents/:id/messages
(hyper-code2, December 2026) and auth.portalAutoCreate.
Reliability
GET calls are retried once after a network error or 502/503/504 from the hub; POST is not retried (send's idempotency k
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- package.json
- src/hyperchats/$setting_catalogUrl.ts
- src/hyperchats/$setting_peers.ts
- src/hyperchats/Hyper.ts
- src/hyperchats/Peer.ts
- src/hyperchats/SearchHit.ts
- src/hyperchats/chats.ts
- src/hyperchats/file.ts
- src/hyperchats/hyperchats.test.ts
- src/hyperchats/hypers.ts
- src/hyperchats/newChat.ts
- src/hyperchats/peers.ts
- src/hyperchats/read.ts
- src/hyperchats/reply.ts
- src/hyperchats/request.ts
- src/hyperchats/search.ts
- src/hyperchats/searchAll.ts
- src/hyperchats/send.ts
- src/hyperchats/sql.ts
FAQ
Что делает скилл hyperchats?
Read, search and write the existing chats of another Hyper on hypermesh as yourself: list chats, full-text search, read history by cursor, send with an idempotency key and wait for the agent's reply.
Как установить скилл hyperchats?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hyperchats запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…