lygo-lpis
简介
lygo-lpis
原始描述
LYGO Prompt Implant System (LPIS) v1.1 — analyze authorized prompts locally; P0 gate, P1 vault, P3 sovereign variants, P5 advisory implant. Requires --i-auth...
通过你的 Agent 添加
安装目录:lygo-lpis/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: lygo-lpis
description: "LYGO Prompt Implant System (LPIS) v1.1 — analyze authorized prompts locally; P0 gate, P1 vault, P3 sovereign variants, P5 advisory implant. Requires --i-authorize for ingest. Read references/SECURITY.md and SKILLSPECTOR_AUDIT.md before use."
metadata: {"lygo": true, "biophase7": true, "version": "1.1.0", "github": "https://github.com/DeepSeekOracle/lygo-protocol-stack", "publisher": "deepseekoracle", "consent_required": true, "skillspector_mitigated": true}
LYGO Prompt Implant System (LPIS) v1.1
Security notice — read before install or ingest
LPIS is not malware, but it can store and transform sensitive prompt text on your machine.
Install and run only if you intend to analyze prompts you own or are explicitly authorized to use.
Treat every imported file and URL as confidential. Do not ingest leaked, proprietary, or third-party system prompts without permission.
Inspect references/SECURITY.md and stack tools/lygo_lpis.py before ingest, implant, anchor, or egg commands.
Security notice — read before install or ingest
LPIS is not malware, but it can store and transform sensitive prompt text on your machine. Install and run only if you intend to analyze prompts you own or are explicitly authorized to use. Treat every imported file and URL as confidential. Do not ingest leaked, proprietary, or third-party system prompts without permission. Inspect
references/SECURITY.mdand stacktools/lygo_lpis.pybefore ingest, implant, anchor, or egg commands.
Local-first prompt vault + pattern analysis + sovereign variant generation + advisory implant ledger — aligned with P0–P5. No auto API injection; no auto publish.
When to use (explicit triggers)
Use this skill only when the user:
- Names LPIS, Prompt Implant System,
lygo-lpis, orlygo_lpis.py - Asks to analyze, vault, or harmonize their own agent/system prompts locally
- Asks to build sovereign Grok/Ollama variants from authorized prompt sources for manual review
- Asks to run
lpis_planter.pyor plant thelygo-lpis-v10kernel egg (with--i-consent)
When NOT to use (exclusions)
Do not invoke this skill when:
- The user wants generic prompt engineering with no LYGO stack / vault / implant workflow
- The source is a leak, scraped, or unauthorized third-party system prompt
- The goal is to collect, redistribute, or publish verbatim proprietary prompt text
- The user has not attested authorization for ingest (
--i-authorizeor explicit consent in chat) - The task is only ClawHub publish, git push, HF upload, or social posting (use operator skill; human approval)
Setup
npx clawhub@latest install deepseekoracle/lygo-lpis
export LYGO_STACK_ROOT=/path/to/lygo-protocol-stack
python tools/install_lygo_lpis.py
python clawhub/mirrors/lygo-lpis/scripts/self_check.py
npx clawhub@latest install deepseekoracle/lygo-lpis
export LYGO_STACK_ROOT=/path/to/lygo-protocol-stack
python tools/install_lygo_lpis.py
python clawhub/mirrors/lygo-lpis/scripts/self_check.py
Read references/SECURITY.md, references/AGENT_CONTRACT.md, and references/SKILLSPECTOR_AUDIT.md before any ingest.
Commands (consent-gated ingest)
Step
Command
Gate
Ingest file
python tools/lygo_lpis.py ingest --source my-agent --file ./my_prompt.txt --i-authorize
Required
Ingest URL
python tools/lygo_lpis.py ingest --source docs --url https://example.com/my-prompt.md --i-authorize
Required
Analyze
python tools/lygo_lpis.py analyze --prompt-id <id>
vault read
Generate
python tools/lygo_lpis.py generate --prompt-id <id> --target grok
local only
Implant
python tools/lygo_lpis.py implant --variant-id <id> --target grok
advisory
Anchor
python tools/lygo_lpis.py anchor --prompt-id <id>
local ledger
List
python tools/lygo_lpis.py list
read-only
Egg
python tools/lpis_planter.py --i-consent
consent
| Step | Command | Gate |
|---|---|---|
| Ingest file | python tools/lygo_lpis.py ingest --source my-agent --file ./my_prompt.txt --i-authorize |
Required |
| Ingest URL | python tools/lygo_lpis.py ingest --source docs --url https://example.com/my-prompt.md --i-authorize |
Required |
| Analyze | python tools/lygo_lpis.py analyze --prompt-id <id> |
vault read |
| Generate | python tools/lygo_lpis.py generate --prompt-id <id> --target grok |
local only |
| Implant | python tools/lygo_lpis.py implant --variant-id <id> --target grok |
advisory |
| Anchor | python tools/lygo_lpis.py anchor --prompt-id <id> |
local ledger |
| List | python tools/lygo_lpis.py list |
read-only |
| Egg | python tools/lpis_planter.py --i-consent |
consent |
Alternative env attestation (maintainers/tests): LYGO_LPIS_INGEST_AUTHORIZED=yes — agents must prefer --i-authorize after explicit user attestation in chat.
What LPIS stores (data boundary)
Data
Location
Leaves machine?
Full prompt body (ingest)
data/prompt_vault/ (local)
No — never auto-upload
Pattern tags (plan, verify, safety…)
analysis JSON
No
Sovereign variant shell
data/prompt_vault/*.json
No — user reviews before manual implant
Implant receipt
implant_runs.jsonl
No
Kernel egg
lygo-lpis-v10 capsule
public repo ships code + manifests, not your vault bodies
| Data | Location | Leaves machine? |
|---|---|---|
| Full prompt body (ingest) | data/prompt_vault/ (local) |
No — never auto-upload |
| Pattern tags (plan, verify, safety…) | analysis JSON | No |
| Sovereign variant shell | data/prompt_vault/*.json |
No — user reviews before manual implant |
| Implant receipt | implant_runs.jsonl |
No |
| Kernel egg | lygo-lpis-v10 capsule |
public repo ships code + manifests, not your vault bodies |
Never commit third-party prompt bodies to public git. Egg plant publishes stack modules only.
Agent rules (non-negotiable)
- Show the security notice on first LPIS use in a session.
- Never ingest without user attestation +
--i-authorize (or documented env for tests).
- Never ingest URLs/files the user did not supply and approve.
- Never auto-apply variants to Grok/xAI/Anthropic APIs — implant is advisory (Light Code + paths).
- Never auto
git push, HF upload, or clawhub publish.
- Never put API keys or secrets into vault or variants.
- On P0 QUARANTINE, stop — do not generate or implant.
Skill chain
--i-authorize (or documented env for tests).git push, HF upload, or clawhub publish.lygo-protocol-stack-operator → lygo-lpis → lyra-brain → lygo-mint-verifier → lygo-kernel-egg-planter
Δ9Φ963 — map the pattern; build sovereign; verify the ledger.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。