返回顶部
g

get-tldr 获取摘要

Provide the summary returned by the get-tldr.com summarize API without further summarization; the skill should format the API output for readability but must not change its content.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
4,057
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

get-tldr

get-tldr

使用get-tldr.com API快速、确定性地总结链接内容的技能。

使用模式(供代理使用):

  • - 当用户说出类似get-tldr <链接>或get-tldr后跟URL时触发。
  • 该技能将以URL作为唯一参数调用捆绑脚本get_tldr.py。
  • 重要提示:API响应已经是摘要;技能不得进一步总结或更改内容——仅需提取json中summary元素的值并进行可读性格式化。获取完整的summary属性,不得遗漏任何内容。
  • 重要提示:如果API返回的响应json中的summary元素已采用markdown格式,则直接返回格式化后的markdown。不得遗漏任何内容,也不得更改文本。确保其未包裹在代码块中,如果已包裹则移除包裹的代码块,使其正确渲染为markdown,而非代码块。

包含的文件:

  • - gettldr.py — 小型Python脚本(位于技能文件夹中),使用所需的X-API-Key标头将{input: }发送至https://www.get-tldr.com/api/v1/summarize,并将JSON响应打印到标准输出。该脚本从~/.config/get-tldr/config.json(首选)读取API密钥和可选的日志文件路径,或回退到GETTLDRAPIKEY环境变量或技能文件夹中的.env文件。如果未配置日志文件,脚本默认使用~/.config/get-tldr/skill.log。

维护者注意事项:

  • - 在~/.config/get-tldr/config.json创建配置文件,结构如下(JSON):

{
api_token: <您的密钥>,
logfile: /path/to/logfile.log
}

  • - 脚本将使用配置中的apitoken字段。如果配置文件缺失,脚本将回退到GETTLDRAPIKEY环境变量或技能文件夹中的.env文件。
  • 重要提示:不要再次总结API响应;技能仅应对响应进行可读性格式化,不得更改内容。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 get-tldr-1776376874 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 get-tldr-1776376874 技能

通过命令行安装

skillhub install get-tldr-1776376874

下载

⬇ 下载 get-tldr v1.0.0(免费)

文件大小: 3.15 KB | 发布时间: 2026-4-17 14:29

v1.0.0 最新 2026-4-17 14:29
get-tldr v1.0.0

- Initial release of the get-tldr skill.
- Provides summaries of links using the get-tldr.com summarize API.
- Strictly formats but does not alter or further summarize the API's output.
- Handles markdown formatting: removes unwanted code blocks but preserves all other original formatting.
- Uses a bundled script (get_tldr.py) for API interaction, with configuration options for API key and logging.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部