LYGO pxpipe-LYGO
简介
LYGO pxpipe-LYGO
原始描述
Multi-tool vision context compression for LYGO (Anthropic, OpenAI, Grok/xAI, Gemini). Use before stuffing huge prompts or logs into pay-to-go APIs. Requires...
通过你的 Agent 添加
安装目录:lygo-pxpipe-lygo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: lygo-pxpipe-lygo
description: Multi-tool vision context compression for LYGO (Anthropic, OpenAI, Grok/xAI, Gemini). Use before stuffing huge prompts or logs into pay-to-go APIs. Requires lygo-protocol-stack; read references/SECURITY.md. Agents run pxpipe_lygo_for_agent.py or local proxy — no auto publish/git push.
metadata: {"lygo": true, "biophase7": true, "version": "1.0.1", "requires_lygo_stack": true, "security_audit": "SkillSpector-hardened", "capability_filesystem_read": "LYGO_STACK_ROOT", "capability_filesystem_write": "data/pxpipe_lygo/manifests", "capability_subprocess": "tools/pxpipe_lygo_for_agent.py,tools/run_pxpipe_lygo_proxy.py", "capability_network": "localhost_47821_if_user_starts_proxy", "capability_git_publish": "human_only", "publisher": "deepseekoracle", "github": "https://github.com/DeepSeekOracle/lygo-protocol-stack", "signature": "Δ9Φ963-PXPIPE-LYGO-v1"}
LYGO pxpipe-LYGO (ClawHub)
Sovereign pxpipe-style compression: bulky text → PNG for vision APIs, P0 gate, manifests under data/pxpipe_lygo/.
When to use
- Token saver on large context (≥800 chars), not byte-exact secrets/hashes.
- Before pasting multi-KB tool dumps into Grok, Claude, or GPT.
When not to use
- API keys, seeds, Merkle hashes, or line-precise diffs you must reproduce exactly.
- Unknown
LYGO_STACK_ROOT or without reading references/SECURITY.md.
Setup
npx clawhub@latest install deepseekoracle/lygo-pxpipe-lygo
export LYGO_STACK_ROOT=/absolute/path/to/lygo-protocol-stack
pip install -r "$LYGO_STACK_ROOT/requirements-pxpipe.txt"
Agent commands (no proxy)
cd "$LYGO_STACK_ROOT"
python tools/pxpipe_lygo_for_agent.py --shrink-file path/to/huge.txt --target grok
python tools/pxpipe_lygo_for_agent.py --file path/to/huge.txt --target anthropic --png .pxpipe_ctx.png
Multi-tool proxy
python tools/run_pxpipe_lygo_proxy.py
Client
Base URL
Anthropic / Claude Code
http://127.0.0.1:47821
OpenAI SDK
http://127.0.0.1:47821/v1
Grok / xAI
http://127.0.0.1:47821/v1
- API keys, seeds, Merkle hashes, or line-precise diffs you must reproduce exactly.
- Unknown
LYGO_STACK_ROOTor without readingreferences/SECURITY.md.
Setup
npx clawhub@latest install deepseekoracle/lygo-pxpipe-lygo
export LYGO_STACK_ROOT=/absolute/path/to/lygo-protocol-stack
pip install -r "$LYGO_STACK_ROOT/requirements-pxpipe.txt"
Agent commands (no proxy)
cd "$LYGO_STACK_ROOT"
python tools/pxpipe_lygo_for_agent.py --shrink-file path/to/huge.txt --target grok
python tools/pxpipe_lygo_for_agent.py --file path/to/huge.txt --target anthropic --png .pxpipe_ctx.png
Multi-tool proxy
python tools/run_pxpipe_lygo_proxy.py
Client
Base URL
Anthropic / Claude Code
http://127.0.0.1:47821
OpenAI SDK
http://127.0.0.1:47821/v1
Grok / xAI
http://127.0.0.1:47821/v1
npx clawhub@latest install deepseekoracle/lygo-pxpipe-lygo
export LYGO_STACK_ROOT=/absolute/path/to/lygo-protocol-stack
pip install -r "$LYGO_STACK_ROOT/requirements-pxpipe.txt"
cd "$LYGO_STACK_ROOT"
python tools/pxpipe_lygo_for_agent.py --shrink-file path/to/huge.txt --target grok
python tools/pxpipe_lygo_for_agent.py --file path/to/huge.txt --target anthropic --png .pxpipe_ctx.png
Multi-tool proxy
python tools/run_pxpipe_lygo_proxy.py
Client
Base URL
Anthropic / Claude Code
http://127.0.0.1:47821
OpenAI SDK
http://127.0.0.1:47821/v1
Grok / xAI
http://127.0.0.1:47821/v1
python tools/run_pxpipe_lygo_proxy.py
| Client | Base URL |
|---|---|
| Anthropic / Claude Code | http://127.0.0.1:47821 |
| OpenAI SDK | http://127.0.0.1:47821/v1 |
| Grok / xAI | http://127.0.0.1:47821/v1 |
Set the matching API key in the environment. Proxy forwards upstream; does not store keys in manifests.
Agent rules
- Read
references/SECURITY.md on first use.
- Never compress secrets or
.env contents.
- No
git push, ClawHub publish, or HF upload unless user explicitly asks.
- Prefer
--shrink-file in chat threads; use full JSON blocks only when building API calls.
Skill chain
references/SECURITY.md on first use..env contents.git push, ClawHub publish, or HF upload unless user explicitly asks.--shrink-file in chat threads; use full JSON blocks only when building API calls.lygo-api-token-saver → lygo-pxpipe-lygo → lygo-protocol-stack-operator
Doc
docs/BIOPHASE7_PXPIPE_LYGO.md in the stack repo.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。