Skip to content
Agentmart
Submit a tool

autoglm-websearch

使用 AutoGLM Web Search 接口进行网络信息搜索。当用户需要联网搜索、查询最新资讯、检索网页内容或获取实时信息时使用此 skill。 Token 通过本地服务 http://127.0.0.1:53699/get_token 自动获取,无需手动配置环境变量。

Skill by mugpeng

IndexedMPL-2.0★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mugpeng-autoglm-websearch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

使用 AutoGLM Web Search 接口进行网络信息搜索。当用户需要联网搜索、查询最新资讯、检索网页内容或获取实时信息时使用此 skill。 Token 通过本地服务 http://127.0.0.1:53699/get_token 自动获取,无需手动配置环境变量。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/autoglm-websearch

What's inside

Skill name
autoglm-websearch
Description
使用 AutoGLM Web Search 接口进行网络信息搜索。当用户需要联网搜索、查询最新资讯、检索网页内容或获取实时信息时使用此 skill。 Token 通过本地服务 http://127.0.0.1:53699/get_token 自动获取,无需手动配置环境变量。
License
MPL-2.0
Instructions
86 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • compatibility: must be text of at most 500 characters

Files (2)

  • SKILL.md
  • websearch.py

SKILL.md (first lines)

# AutoGLM WebSearch Skill

调用 AutoGLM Web Search API 进行网络搜索。

---

## Token 获取

脚本启动时自动向本地服务发起 HTTP GET 请求获取 token:

| 项目 | 内容 |
|------|------|
| 地址 | `http://127.0.0.1:53699/get_token` |
| 方式 | GET |
| 返回 | `Bearer xxx`(直接作为 Authorization 头使用) |

> 若返回值不含 `Bearer` 前缀,脚本会自动补全。

---

## Search API

| 项目 | 内容 |
|------|------|
| 地址 | `https://autoglm-api.zhipuai.cn/agentdr/v1/assistant/skills/web-search` |
| 方式 | POST |
| 请求体 | `{"queries": [{"query": "<搜索词>"}]}` |

**签名 Headers(每次动态生成):**

- `X-Auth-Appid`: `100003`
- `X-Auth-TimeStamp`: 当前秒级 Unix 时间戳
- `X-Auth-Sign`: MD5(`100003 + "&" + timestamp + "&" + 38d2391985e2369a5fb8227d8e6cd5e5`)

---

## 执行脚本

使用同目录下的 `websearch.py`:

```bash
python websearch.py "搜索关键词"
```

---

## 返回结果处理

### 响应结构

```json
{
  "code": 0,
  "msg": "SUCCESS",
  "data": {
    "results": [
      {
        "webPages": {
          "value": [
            {
              "name": "页面标题",
              "url": "页面链接",
              "snippet": "摘要内容"
            }
          ]
        }
      }
    ]
  }
}
```

### 输出要求

**1. 总结搜索内容**
基于所有条目的 `snippet` 字段,提炼出与用户 query 相关的核心信息,用自然语言组织成简洁的回答。

**2. 附加引用列表**
在回答末尾附上参考来源:

```
**参考来源:**
1. [页面标题](页面链接)
2. [页面标题](页面链接)
```

From mugpeng/oh-my-skills, MPL-2.0.

More from mugpeng/oh-my-skills

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Apr 13, 2026 (6 months ago)
Last release
Apr 13, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MPL-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mugpeng

Cite this page

autoglm-websearch skill. Agent Mart. https://agentmart.dev/skills/mugpeng-autoglm-websearch (last updated 2026-10-24)