← 返回 Skills 市场
psiclawops

gist-post

作者 PsiClawOps · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
103
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install gist-post
功能描述
Post content to GitHub Gist and get back a shareable URL. Rich context sharing between agents, operators, and humans.
使用说明 (SKILL.md)

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:

gh gist create --public --desc "DESCRIPTION" --filename "FILENAME.md" - \x3C\x3C '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.

安全使用建议
This skill appears to do what it says (post content to GitHub Gist) but the registry metadata omitted key runtime requirements. Before installing: - Expect to provide a GitHub Personal Access Token with only the `gist` scope (set GITHUB_TOKEN). Treat the token as sensitive. - Ensure the agent will prompt you before posting any content; autonomous posting could leak sensitive data. If you want manual confirmation, require explicit user approval in agent settings. - Install the `gh` CLI on hosts that will run this skill. The skill assumes `gh` is available and will use the `exec` tool to run it. - Prefer `--secret` for sensitive content and audit any gists created to ensure they don't expose private data. - If you plan to publish this skill in a shared registry, ask the author to update the skill metadata to declare the required GITHUB_TOKEN and the dependency on `gh` so the requirements are transparent.
功能分析
Type: OpenClaw Skill Name: gist-post Version: 1.0.1 The gist-post skill is a utility designed to allow an AI agent to post content to GitHub Gists using the official GitHub CLI (gh). The SKILL.md and README.md files provide clear instructions for the agent and user on setting up a GITHUB_TOKEN and executing the 'gh gist create' command via the system's exec tool. While the skill facilitates data transfer to an external service, this behavior is explicitly documented and aligned with its stated purpose of sharing markdown context. No evidence of intentional data exfiltration, obfuscation, or malicious prompt injection was found.
能力评估
Purpose & Capability
The skill claims to post gists and the SKILL.md describes using the GitHub CLI and a GITHUB_TOKEN. However, the registry metadata lists no required environment variables or primary credential and no required binaries — this is inconsistent: a GitHub PAT (GITHUB_TOKEN) and the `gh` CLI are necessary for the described functionality.
Instruction Scope
The SKILL.md stays on-purpose: it tells the agent to run `gh gist create` (via exec) to post content and return the gist URL. It does not instruct reading unrelated files or exfiltrating data to unexpected endpoints. Using exec to run commands is expected for an instruction-only CLI-based skill.
Install Mechanism
This is an instruction-only skill with no install spec or code to write to disk, which is the lowest-risk install model. The README suggests installing `gh` via system package managers, but the skill itself does not perform any downloads or installs.
Credentials
The SKILL.md and README require a GitHub Personal Access Token with the `gist` scope (GITHUB_TOKEN) and suggest adding it to shell profiles, but the skill metadata does not declare this required env var or a primary credential. That omission is disproportionate and may cause accidental misconfiguration or token leakage if users follow the README recommendations without knowing the skill expects the token.
Persistence & Privilege
The skill does not request permanent presence (always is false), does not modify other skills or system-wide settings, and does not declare config paths. Normal autonomous invocation is allowed (platform default) but not by itself a reason to deny the skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gist-post
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gist-post 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Simplified token setup instructions — describe the requirement, let the agent guide the user
v1.0.0
Initial release — post content to GitHub Gist and get back a shareable URL
元数据
Slug gist-post
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

gist-post 是什么?

Post content to GitHub Gist and get back a shareable URL. Rich context sharing between agents, operators, and humans. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 gist-post?

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

gist-post 是免费的吗?

是的,gist-post 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

gist-post 支持哪些平台?

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

谁开发了 gist-post?

由 PsiClawOps(@psiclawops)开发并维护,当前版本 v1.0.1。

💬 留言讨论