一键导入
opengram
Use OpenGram features — structured requests, chat management, media, and search.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use OpenGram features — structured requests, chat management, media, and search.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | opengram |
| description | Use OpenGram features — structured requests, chat management, media, and search. |
OpenGram is a chat interface and REST API for AI agents. When your messages are delivered via OpenGram (channel = "opengram"), you have access to features that standard chat platforms don't offer.
All OpenGram tools require a chatId parameter. Extract it from the From
field in your conversation context:
From: opengram:<chatId>From: opengram:abc123xyz, use chatId: "abc123xyz"Use opengram_search to search past conversations by title or message content.
Parameters:
query (required) — the search textscope (optional) — "all" (default), "titles", or "messages"Results include matching chats (with IDs and titles) and matching messages (with chat IDs and content snippets). Use the returned chat IDs to reference or link to past conversations.
When a user sends files in a message, you receive them as temporary local file paths in your context:
MediaPath contains the temp file path, MediaType has the MIME typeMediaPaths (array of paths), MediaTypes (array of MIME types)You can read these files directly from the provided paths.
Use opengram_media to upload files to a chat. The filePath parameter accepts:
MediaPath you received from the user's inbound messageThe file appears as an attachment in the chat with proper previews for images, PDFs, and audio.
Use opengram_chat to create, update, or list chats.
Create — starts a new chat. Requires modelId (the model to use).
Optionally set title, tags, and agentId.
Update — modify an existing chat. Requires chatId. You can change
title, tags, or pinned status.
List — returns up to 20 recent chats with their IDs and titles.