用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/LSTM-Kirigaya/LBot --skill util命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | util |
| description | 外部扩展能力,包括网络搜索、网页内容转换。 |
触发逻辑: 内部记忆无法覆盖的事实性提问,使用搜索引擎搜索网页。
数据处理: 提炼 snippet 中的关键点,严禁直接复制大段网页原文。
返回格式: { url, title, snippet }[]
const searchKey = "大语言模型进展";
const results = await util.websearch(searchKey);
if (results && results.length > 0) {
// 仅提取前 3 条结果的标题和简介
const summary = results.slice(0, 3)
.map(r => `${r.title}: ${r.snippet}`)
.join(' ');
await context.sendGroupMsg(groupId, `根据检索,核心进展为:${summary.substring(0, 100)}...`);
}
触发逻辑: 上下文出现网页链接,而是你需要从网页链接中获取用户想要的有效信息时。
// 将指定网页转换为 Markdown
const url = "https://example.com/article/123";
const page = await util.getWebPageMarkdown(url);
// page.title: 网页标题
// page.markdown: Markdown 格式的内容
// page.url: 原始 URL
await context.sendGroupMsg(groupId, `文章标题:${page.title}\n\n核心内容:${page.markdown.substring(0, 500)}...`);
execute-task 的图片规范处理。getWebPageMarkdown 返回的 markdown 内容可能较长,应根据需要截取后发送。