Skip to content

ZJU-REAL/Easel / skills/builtin/asset-manager

asset-manager

Verified

outputs/ 目录下的产物管理:按日期/平台/类型归档、打标签、搜索历史内容、生成素材清单。 当用户说"整理素材"、"归档"、"找之前的内容"、"搜索历史"、"素材管理"、 "outputs 整理"、"之前做的"时使用。 与其他 produce 层 SKILL 的区别:produce 层负责生成内容, asset-manager 负责生成后的产物管理(归档、检索、标签)。

FileKindSize
EASEL-META.mdmarkdown1.4 KB
SKILL.mdskill md5.7 KB
scripts/assets.pyscript17.5 KB

EASEL-META.md

View on GitHub
# Easel SKILL 元数据 — asset-manager

| 字段 | 值 |
|------|-----|
| **SKILL 名称** | asset-manager |
| **所属层** | general |
| **自研** | 是(Easel 原创) |
| **脚本** | `scripts/assets.py`(纯 stdlib,python3.11) |

## 脚本说明

`scripts/assets.py` 把"有副作用、需状态一致"的文件操作从 LLM 手动 find/grep/mv/改 JSON
固化为确定性代码。子命令:`scan / search / archive / tag / list / report`。

- 索引 `INDEX.json` 与标签 `tags.json` 均**原子写入**(临时文件 + `os.replace`)
- `archive` 默认 **dry-run**,`--apply` 才移动;**幂等**(source==target / 目标已存在且内容
  一致 / 已在归档结构下 → 跳过;内容不同 → 标 CONFLICT 绝不覆盖)
- 平台/类型/日期由文件名与扩展名启发式推断,日期优先取文件名中的 `YYYYMMDD`

## 外部参考

脚本为**原创实现,未复制任何外部代码**;设计模式(本地优先索引、元数据标签、目录树归档)
参考了 frontmatter `references` 中列出的开源项目思路:

| 参考来源 | 借鉴点(仅设计思路) |
|----------|--------|
| [unopim/unopim-digital-asset-management](https://github.com/unopim/unopim-digital-asset-management) | 目录树结构管理、元数据标签系统 |
| [biagiomaf/smart-comfyui-gallery](https://github.com/biagiomaf/smart-comfyui-gallery) | 本地优先索引、按关键词/标签搜索 |

> 更新时间: 2026-07-23
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall