artifact-yylo
它能做什么
这个工具可以安全、永久地保存和检索重要信息(称为“artifact 记录”),存放在 YYLO Ledger 系统中。你可以把它想象成一个存放关键证据的数字保险库。
适用场景
- ✓保存重要的测试报告或模型输出时。
- ✓记录已完成操作的证明时。
- ✓之后需要精确且不可更改地取回信息时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/artifact-yylo/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想把刚生成的测试报告保存为一份永久记录。”
每周 5 个新技能,1 分钟读完。
工作原理
你使用特定命令告诉系统要保存什么,比如一份报告或程序输出。系统会安全地存储这些信息,之后你可以通过唯一标识符取回。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Use YYLO artifact Records
Treat Ledger as the source of truth for artifact identity and metadata. Use
yy ledger in a YYLO controller or yylo-ledger standalone. Inspect
COMMAND artifact --help; if unavailable, do not create store files manually.
A Ledger Artifact Record is durable evidence, not an npm/Python release artifact
and not an implicit request to publish or deploy.
Classify before capture
Choose the profile matching the evidence:
stdout: bounded process output;model-output: an agent/model response;report: a generated human- or machine-readable result;receipt: evidence binding an operation and its inputs/outcome.
Choose payload mode deliberately:
inline: small immutable bytes embedded in the Record;local: immutable content-addressed bytes in Ledger storage;external: immutable external bytes with URI, digest, and size;link: URI reference without an immutable-byte guarantee.
Prefer immutable evidence when later verification depends on exact bytes. A link must never be presented as content-addressed proof.
Create explicitly
Use file/stdin transport and provide the media type:
yy ledger artifact create --title "Focused test report" --profile report \
--mode local --media-type application/json --file report.json
For external immutable content, provide the supported URI, SHA-256 digest, and size shown by installed help. Never embed URI credentials. Ledger rejects unsafe schemes, traversal, size/digest mismatches, oversized capture, and known secret patterns.
Attach only supported, non-secret provenance such as actor, agent, model,
session, run, invocation, task, or workflow identity. Task/workflow provenance
uses immutable Record IDs. Select temporary, standard, or permanent
retention deliberately; retention metadata does not itself authorize deletion.
Operational-document boundary
Store new PDRs, architecture and migration contracts, plans, reports, receipts,
and execution evidence as Artifact Records. Draft through a fresh external file,
capture it with an intentional profile and immutable payload mode, read it back,
and verify its ID, digest, size, provenance, retention, and history before
removing the draft. Use the report profile for human-readable PDRs/contracts
unless installed help provides a more specific approved profile.
Product docs/ is only for documentation shipped as part of the product. Never
put operational evidence there to manufacture a task product diff. Preserve
legacy .juno_task/specs files, but do not create new ones as a fallback. If the
installed artifact API is unavailable, stop with the external draft intact and
request a Ledger upgrade; do not put it in task bodies, responses, product docs,
or manually managed controller paths.
Find and verify
yy ledger artifact search --profile report --projection summary --limit 20 -f json
yy ledger artifact get RECORD_ID -f json
yy ledger artifact history RECORD_ID -f ndjson
Use bounded metadata/summary projections before requesting payload details. Verify profile, mode, media type, digest, size, provenance, retention, revision, and immutable ID before relying on evidence.
Artifact payloads are immutable evidence. Represent replacement with explicit predecessor/successor relationships and the installed revision-safe update contract; do not overwrite bytes or edit content objects. Archive is a lifecycle transition, not deletion. Release, publication, external upload, retention execution, and production mutation always require separate authority.
Complete request
$ARGUMENTS
When to Use
- You need to capture or retrieve durable YYLO Ledger artifact Records (stdout, model-output, report, receipt) with provenance, retention, and immutable payloads.
- New operational PDRs, contracts, plans, reports, and receipts belong here - not in product docs, task bodies, or new
.juno_task/specsfiles.
Limitations
- Payloads are immutable: represent replacement with predecessor/successor relations, never by overwriting bytes. Archive is a lifecycle transition, not deletion.
- Secret-safe only: never embed URI credentials; Ledger rejects unsafe schemes, traversal, size/digest mismatches, and known secret patterns.
- Retention metadata never authorizes deletion; release, publication, upload, and production mutation always need separate authority.
Example
…
常见问题
什么是“artifact 记录”?
它就像永久保存的数字文档,用来存放报告、程序输出或操作证明等重要信息,并附带创建者和创建时间等详细信息。
记录保存后还能修改吗?
不能,记录是不可变的。如果需要更新内容,你需要新建一条指向前一条记录的新记录,而不是修改原始记录。
我能保存密码或其他机密信息吗?
不能。该系统设计上注重安全,会拒绝可能属于机密的信息,比如密码或访问凭证。
详情
作者的原始描述
Capture and retrieve durable YYLO Ledger artifact Records with intentional profiles, payload modes, provenance, retention, and secret-safe immutable evidence.
热度
- GitHub 星标
- 48k
- 排名
- #3819
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。