返回顶部
g

gist-post

Post content to GitHub Gist and get back a shareable URL. Rich context sharing between agents, operators, and humans.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
55
下载量
0
收藏
概述
安装方式
版本历史

gist-post

# gist-post Post any content — summaries, plans, reports, pitches, logs — to GitHub Gist and share the URL. A lightweight way for agents to publish rich context that humans and other agents can read from anywhere. ## Why Gists? Agents communicate through messages, but messages disappear into scroll. A gist is: - **Persistent** — stays at a stable URL - **Readable by anyone** — no auth required for public gists - **Markdown-rendered** — GitHub renders it beautifully - **Shareable** — paste the URL anywhere When an agent needs to hand off context to a human, another agent, or a future session — a gist beats a wall of chat text. --- ## Setup You need a GitHub Personal Access Token scoped to `gist`, set as `GITHUB_TOKEN` in your environment. Ask your agent to walk you through creating one if you haven't already. --- ## How to Post a Gist Use the `exec` tool to call `gh gist create`: ```bash gh gist create --public --desc "DESCRIPTION" --filename "FILENAME.md" - << 'EOF' # Your content here Supports **markdown** formatting. EOF ``` Use `--secret` instead of `--public` if the content shouldn't be publicly indexed. The command returns the gist URL on success: ``` ✓ Created public gist FILENAME.md https://gist.github.com/USERNAME/HASH ``` --- ## Workflow 1. **Prepare content** — write your markdown 2. **Choose visibility** — `--public` or `--secret` 3. **Post it** — run `gh gist create` via `exec` 4. **Return the URL** — share it in the conversation, send it to another agent, or log it --- ## Tips - Use `.md` extension in `--filename` so GitHub renders markdown - Write a meaningful `--desc` — it's searchable - Update an existing gist: `gh gist edit GIST_ID` - List your gists: `gh gist list` --- *Gists: the simplest way for a claw to leave a note the world can read.*

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 gist-post-1775883908 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 gist-post-1775883908 技能

通过命令行安装

skillhub install gist-post-1775883908

下载 Zip 包

⬇ 下载 gist-post v1.0.1

文件大小: 3.23 KB | 发布时间: 2026-4-12 10:05

v1.0.1 最新 2026-4-12 10:05
Simplified token setup instructions — describe the requirement, let the agent guide the user

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

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

p2p_official_large
返回顶部