Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

sageox-distill鼠尾草蒸馏物

Agent Skill

sageox-distill 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,646

周安装

155

GitHub Stars

公开资料未说明

下载量

1,277
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sageox-distill(鼠尾草蒸馏物)
来源仓库:https://github.com/galexy/sageox-distill
安装命令:
openclaw skills install sageox-distill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sageox-distill

简介

sageox-distill 同步并支持团队知识库,通过索引 Git 活动提升协作效率。

  • 适用于需要实时更新项目上下文和提取团队动态的开发环境。
  • 通过 clawhub 安装后,可自动拉取仓库变更并建立可检索的知识索引。
  • 使用前应确认对目标仓库的读取权限,避免触发敏感数据泄露风险。
  • 建议定期检查索引完整性和同步频率以满足团队协作需求。

SKILL.md

name
sageox-distill
description
Sync, index, and distill team activity across SageOx-enabled repositories. Keeps your team's knowledge base up to date by syncing repo contexts, indexing GitHub PRs/issues, and running the SageOx distillation pipeline.
version
0.2.1
metadata

SageOx Distill

You are an agent that keeps a team's SageOx knowledge base current by syncing repo contexts, indexing GitHub activity, and running the distillation pipeline.

Pairs with the sageox-summary skill — distill writes the daily source files that summary synthesizes.

Prerequisites

Before doing anything else, verify the user's environment. Run every check in order. If any required check fails, explain precisely what's missing and stop. Do not proceed until the user has fixed it.

1. Required binaries

git, gh, jq, claude, and ox are declared in the front matter's requires.bins, so OpenClaw checks them before running the skill. claude (npm), gh (brew), and jq (brew) have declarative installs in the front matter; git and ox do not. If OpenClaw reports a missing bin, surface its message to the user and stop — except for ox, which has the interactive install flow in § 3 below.

claude is required because ox distill shells out to it for LLM calls. The skill itself does not invoke claude directly — claude must simply be installed and authenticated. Use either claude login (Pro/Max subscription) or export ANTHROPIC_API_KEY in the shell that launches OpenClaw. The skill no longer accepts a per-skill apiKey.

2. Path validation rules

Several steps below ask the user for a repo path or read a path from a JSON state file. Before interpolating any such value into a shell command, the agent must validate it against these rules:

  1. Absolute path required. Must start with / or ~. Reject relative

paths and bare names.

  1. No .. segments. Reject anything containing ...
  2. No shell metacharacters. Reject anything containing any of these

characters: ; $ ` ` | & < > ( ) { } * ? [ ] ! \` newline.

On any validation failure: print a clear error to the user explaining which rule failed and ask them to provide a different path. Do not attempt to "fix up" or sanitize the input — reject and re-prompt.

Treat values read from ~/.openclaw/memory/*.json files as untrusted even though this skill writes them: the user (or a process running as the user) may have edited the file by hand or by another tool between runs. Re-validate every read.

3. Installing ox

The ox CLI install state is recorded in ~/.openclaw/memory/sageox-ox-install.json. On every run of this skill, invoke the bundled readiness gate:

bash scripts/update-ox.sh

Contract:

  • Stdout: nothing on success
  • Stderr: on any failure, a two-line message — an error: line

describing what's wrong, followed by a fix: line with the remediation. Surface both verbatim to the user.

  • Exit: 0 ox is pinned, installed, and reports the expected

version (continue to § 4); 2 ox is not usable — one of: state file missing, binary missing at $HOME/.local/bin/ox, ox on PATH resolves to a different binary, binary fails to run, or binary reports a version other than the one recorded in sageox-ox-install.json. On exit 2, STOP, read references/INSTALL.md, follow the install flow, then re-run this script to confirm.

There is no per-run auto-update. The curl install pins a specific ox release by tag and sha256; users pick up newer releases by re-running clawhub install for this skill after a new skill version publishes. The user can say "reinstall ox" at any time to re-enter the flow in references/INSTALL.md.

Do not install ox via Homebrew or any package manager (e.g. brew install sageox/tap/ox, apt, dnf, pacman). The tap exists for general use but is not supported inside OpenClaw skills — only the pinned-release curl flow is.

4. Authentication and git config

After all binaries are present, verify credentials:

  1. ox status — confirm ox is authenticated. If not, tell the user to

run ox login and try again.

  1. gh auth status — confirm GitHub credentials are available.
  2. git config user.name — confirm git identity is set.
  3. Confirm claude has credentials. Either claude login was run

(Pro/Max OAuth, stored under ~/.claude/) or ANTHROPIC_API_KEY is exported in the shell that launched OpenClaw. ox distill will fail without one of these. The skill cannot inject the key itself.

Do not proceed until all four pass.

Repo Manifest

The list of repos to distill is stored in ~/.openclaw/memory/sageox-distill-repos.json.

The manifest format is:

{
  "repos": [
    { "path": "/home/user/repos/my-project", "team_id": "my-team" }
  ]
}
  • If the manifest exists, read it and confirm the repos with the user

before proceeding.

  • If the manifest does not exist, ask the user which repos to include. For

each repo path provided: 1. Validate the path against the Path validation rules in Prerequisites § 2. Reject and re-prompt on failure. 2. Verify the directory exists. 3. Verify .sageox/config.json exists (confirms ox init was run). 4. Read team_id from .sageox/config.json. Treat the value as untrusted — do not interpolate it into shell commands. If you need to use it as an argument, pass it as a separate argv element (not via string concatenation) and refuse values containing shell metacharacters. 5. If .sageox/config.json is missing, ask if the user wants to run ox init in that repo.

  • When loading an existing manifest, re-validate every repo path in

it against the Path validation rules. The manifest file is user-writable and may have been edited externally between runs.

  • Write the manifest after collecting all repos.
  • The user can say "add repo", "remove repo", or "show repos" at any

time to manage the manifest.

Distill Pipeline

When the user asks to distill, run the following phases in order.

Phase 1: Sync and Index

Group repos by team_id from the manifest.

For each team:

  1. Sync team context — run from the first repo in the team group:
   ox sync --all-teams

This syncs all team contexts via the SageOx daemon.

  1. Index GitHub activity — run for EACH repo in the team group:
   ox index github

This indexes PRs, issues, and comments for the specific repo.

Both commands are non-fatal. If one fails, log the error and continue with the next repo or team. Do not abort the pipeline.

Neither of these commands needs Claude credentials — ox uses its own auth token for SageOx API calls.

Phase 2: Wait for Daemon Sync

After all sync and index commands have been issued, the SageOx daemon processes them asynchronously. Before distilling, verify that processing is complete.

For each repo in the manifest:

  1. Run ox daemon status in the repo directory
  2. Check the output for sync/index completion status
  3. If the daemon reports it is still processing:

- Wait 10 seconds - Check again - Repeat up to 30 times (5 minutes max)

  1. If after 30 attempts the daemon is still not finished:

- Report which repos are still pending - Ask the user whether to proceed with distill anyway or abort

  1. If the daemon reports an error:

- Surface the full error message to the user - Ask the user whether to proceed with distill anyway or abort

Phase 3: Distill

For each unique team (grouped by team_id), run distill from the first repo in that team's group. ox distill shells out to claude for LLM calls, so it inherits whatever credentials claude has — either an OAuth session from claude login or ANTHROPIC_API_KEY from the shell that launched OpenClaw (see Prerequisites § 1):

ox distill --sync --layer daily --concurrency 3 --model sonnet --quiet

--quiet suppresses non-error output, so a successful run prints nothing and a failed run prints only the error. If ox distill exits 0, report <team_id>: ok. If it exits non-zero, report <team_id>: failed — <first line of stderr> and continue with the next team. Do not abort the pipeline for a single team failure.

Output

After all teams have run, print one line per team (<team_id>: ok or <team_id>: failed — <reason>) and nothing else. No preamble, no counts, no daemon-sync recap. If every team passed, a single all ok line is fine. The user can ask for details if they want them.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.13%
按下载量换算896

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills