← 返回 Skills 市场
jdrhyne

Gong

作者 Jonathan Rhyne · GitHub ↗ · v1.1.0
cross-platform ✓ 安全检测通过
2104
总下载
1
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install gong
功能描述
Gong API for searching calls, transcripts, and conversation intelligence. Use when working with Gong call recordings, sales conversations, transcripts, meeting data, or conversation analytics. Supports listing calls, fetching transcripts, user management, and activity stats.
使用说明 (SKILL.md)

Gong

Access Gong conversation intelligence - calls, transcripts, users, and analytics.

Setup

Store credentials in ~/.config/gong/credentials.json:

{
  "base_url": "https://us-XXXXX.api.gong.io",
  "access_key": "YOUR_ACCESS_KEY",
  "secret_key": "YOUR_SECRET_KEY"
}

Get credentials from Gong: Settings → Ecosystem → API → Create API Key.

Authentication

GONG_CREDS=~/.config/gong/credentials.json
GONG_BASE=$(jq -r '.base_url' $GONG_CREDS)
GONG_AUTH=$(jq -r '"\(.access_key):\(.secret_key)"' $GONG_CREDS | base64)

curl -s "$GONG_BASE/v2/endpoint" \
  -H "Authorization: Basic $GONG_AUTH" \
  -H "Content-Type: application/json"

Core Operations

List Users

curl -s "$GONG_BASE/v2/users" -H "Authorization: Basic $GONG_AUTH" | \
  jq '[.users[] | {id, email: .emailAddress, name: "\(.firstName) \(.lastName)"}]'

List Calls (with date range)

curl -s -X POST "$GONG_BASE/v2/calls/extensive" \
  -H "Authorization: Basic $GONG_AUTH" \
  -H "Content-Type: application/json" \
  -d '{
    "filter": {
      "fromDateTime": "2025-01-01T00:00:00Z",
      "toDateTime": "2025-01-31T23:59:59Z"
    },
    "contentSelector": {}
  }' | jq '{
    total: .records.totalRecords,
    calls: [.calls[] | {
      id: .metaData.id,
      title: .metaData.title,
      started: .metaData.started,
      duration_min: ((.metaData.duration // 0) / 60 | floor),
      url: .metaData.url
    }]
  }'

Get Call Transcript

curl -s -X POST "$GONG_BASE/v2/calls/transcript" \
  -H "Authorization: Basic $GONG_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"filter": {"callIds": ["CALL_ID"]}}' | \
  jq '.callTranscripts[0].transcript[] | "\(.speakerName // "Speaker"): \(.sentences[].text)"' -r

Get Call Details

curl -s -X POST "$GONG_BASE/v2/calls/extensive" \
  -H "Authorization: Basic $GONG_AUTH" \
  -H "Content-Type: application/json" \
  -d '{
    "filter": {"callIds": ["CALL_ID"]},
    "contentSelector": {"exposedFields": {"content": true, "parties": true}}
  }' | jq '.calls[0]'

Activity Stats

curl -s -X POST "$GONG_BASE/v2/stats/activity/aggregate" \
  -H "Authorization: Basic $GONG_AUTH" \
  -H "Content-Type: application/json" \
  -d '{
    "filter": {
      "fromDateTime": "2025-01-01T00:00:00Z",
      "toDateTime": "2025-01-31T23:59:59Z"
    }
  }'

Endpoints Reference

Endpoint Method Use
/v2/users GET List users
/v2/calls/extensive POST List/filter calls
/v2/calls/transcript POST Get transcripts
/v2/stats/activity/aggregate POST Activity stats
/v2/meetings GET Scheduled meetings

Pagination

Responses include cursor for pagination:

{"records": {"totalRecords": 233, "cursor": "eyJ..."}}

Include cursor in next request: {"cursor": "eyJ..."}

Date Helpers

# Last 7 days
FROM=$(date -v-7d +%Y-%m-%dT00:00:00Z 2>/dev/null || date -d "7 days ago" +%Y-%m-%dT00:00:00Z)
TO=$(date +%Y-%m-%dT23:59:59Z)

Notes

  • Rate limit: ~3 requests/second
  • Call IDs are large integers as strings
  • Transcripts may take time to process after call ends
  • Date format: ISO 8601 (e.g., 2025-01-15T00:00:00Z)
安全使用建议
This skill appears to do what it claims: read a local Gong credentials JSON and call Gong API endpoints. Things to check before installing: 1) Ensure you only place a Gong API key with minimal (read-only) scope in ~/.config/gong/credentials.json and keep that file access-limited. 2) Confirm the skill will call only your configured base_url (the script uses whatever base_url is in the credentials file). 3) The helper script depends on curl, jq, base64 and standard date — make sure those are available; the registry metadata does not list these dependencies. 4) Because the skill will send transcripts and call metadata to Gong, review your Gong API key permissions and rotate keys if needed. 5) Source/homepage is absent; if you require provenance, ask the publisher for upstream source or a repository before trusting it in sensitive environments.
功能分析
Type: OpenClaw Skill Name: gong Version: 1.1.0 The skill bundle is designed to interact with the Gong API, requiring credentials stored in `~/.config/gong/credentials.json`. Both `SKILL.md` and `scripts/gong.sh` demonstrate standard API interaction patterns using `curl` and `jq`. The `SKILL.md` file contains no prompt injection attempts. The `gong.sh` script uses standard shell utilities and does not exhibit any signs of data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, or obfuscation. While user input for `call_id` is directly embedded into a JSON string in `gong.sh`, this is unlikely to lead to shell injection due to `curl -d` quoting and would primarily result in API errors rather than local code execution or data compromise, thus not meeting the threshold for 'suspicious' or 'malicious' behavior.
能力评估
Purpose & Capability
Name/description match the behavior: the SKILL.md and script only call Gong endpoints using credentials from ~/.config/gong/credentials.json. Requested access (the credentials file) is appropriate for the stated purpose.
Instruction Scope
Instructions and the provided shell script limit actions to reading the specified credentials file and calling the user-provided Gong base_url endpoints. They do not attempt to read other system files or call external endpoints beyond the configured base_url. Note: the SKILL.md/script reference the optional GONG_CREDS env var but that environment variable is not declared in the registry metadata.
Install Mechanism
No install spec and the skill is instruction-only plus a small helper script — nothing is downloaded or installed automatically, which minimizes install-time risk.
Credentials
The skill requires a credentials JSON (base_url, access_key, secret_key) which is proportional for calling the Gong API. Minor inconsistency: no required env vars or binaries are declared in the registry metadata, yet the script uses environment variable GONG_CREDS and depends on external tools (curl, jq, base64, date).
Persistence & Privilege
The skill does not request always:true or any elevated persistence. It does not modify other skills or system-wide settings; it only reads its own credentials file.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gong
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gong 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Fix: add metadata.openclaw with credentials config requirement
v1.0.0
Initial release - list calls, fetch transcripts, user management, activity stats
元数据
Slug gong
版本 1.1.0
许可证
累计安装 4
当前安装数 2
历史版本数 2
常见问题

Gong 是什么?

Gong API for searching calls, transcripts, and conversation intelligence. Use when working with Gong call recordings, sales conversations, transcripts, meeting data, or conversation analytics. Supports listing calls, fetching transcripts, user management, and activity stats. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2104 次。

如何安装 Gong?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gong」即可一键安装,无需额外配置。

Gong 是免费的吗?

是的,Gong 完全免费(开源免费),可自由下载、安装和使用。

Gong 支持哪些平台?

Gong 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gong?

由 Jonathan Rhyne(@jdrhyne)开发并维护,当前版本 v1.1.0。

💬 留言讨论