Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/aisee-lab/aisee-plugin/aisee-image-objectnpx skills add AISEE-LAB/aisee-plugin --skill aisee-image-objectgit clone --depth 1 https://github.com/AISEE-LAB/aisee-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aisee-lab/aisee-plugin/aisee-image-object)<a href="https://agentmods.dev/skills/aisee-lab/aisee-plugin/aisee-image-object"><img src="https://agentmods.dev/badge/skills/aisee-lab/aisee-plugin/aisee-image-object.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00110 | $0.01855 |
| Opus 5 | $0.00055 | $0.00928 |
| Sonnet 5 | $0.00022 | $0.00371 |
| Haiku 4.5 | $0.00011 | $0.00186 |
Grade A, and why
aisee:image-object scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
aisee:image-object
把一张输入图处理成可复用对象素材、mask、背景修补图、导出变体和图层包。凡是“基于已有图片提取素材、切出素材、生成透明对象、修补背景或局部重绘”的执行流程,都归本 skill 管理。它是图片处理 workflow,不是图片生成或设计规范 skill;skill 目录只保存说明、模板和脚本,项目产物写入目标项目目录。
适用输入
- 本地 PNG/JPG/WebP、已有 mask/alpha、或
aisee:design-assets生成的纯色/绿幕主体图。 - 抠图、去背景、对象分割、点选/框选、mask refine、透明切图、圆角/padding 导出、背景修补或图层拆分。
- 从截图、海报、参考图或产品图提取一个或多个可复用对象素材。
- 需要把过程文件整理成单图 workspace、
source.json、导出变体或 Image Gen 局部优化 handoff。
边界
必须:
- 使用单图 workspace 管理产物,默认输出到
aisee/docs/image-objects/<name>/。 source.json是 GUI、CLI、模型 backend、导出和 handoff 的共同合同。- 每次处理都明确 scope;原始 mask/cutout/background 与导出变体分开保存。
- 去背景优先成熟模型;背景修补优先 LaMa / IOPaint,OpenCV 只作显式低质量 fallback。
- SAM/SAM2、LaMa、BiRefNet 等作为可选 backend;运行环境优先复用全局配置,不重复配置重依赖。
- 局部重绘或 Image Gen handoff 只携带相关 source/mask/bbox/cutout/scope 和保护约束。
- 可复用素材进入项目级视觉资产库时,只把 export/cutout/enhanced 路径和用途交给
aisee:design-assets登记。
不要:
- 不生成参考图、StyleSpec 或全局设计提示词;这些交给
aisee:design-assets。 - 不直接写入 Figma 或实现前端页面。
- 不把 GUI 对象备注、整个
source.json、全部缩略图或preview-cache/默认塞进大模型提示。 - 不默认覆盖 workspace 内已有产物,除非用户明确要求或传入
--force。 - 不保存、输出或提交 API Key、令牌、Cookie、证书等敏感信息。
OpenSpec 接入
当对象素材进入 OpenSpec change:
ui-contract.md只引用 cutout、mask、export、enhanced 或图层包路径和使用范围。source-map.md记录 IMG/OBJECT/MASK 与 PAGE、PAT、FR、tasks 和文件路径关系。tasks.md只记录素材接入、边缘复核、背景验证、截图比对或人工验收。- 不复制完整
source.json、过程图、mask 历史或 workspace 索引正文。
Phase 0 — 读取上下文
先定位目标项目目录:用户给了项目路径就用该路径,否则使用当前工作目录。
静默收集已有对象处理产物:
rg --files aisee/docs/image-objects 2>/dev/null | head -80
rg --files | rg '(^|/)source\.json$|mask.*\.png$|cutout.*\.png$' | head -80
扫描必须遵守 .gitignore。优先使用 rg --files;如果 rg 不可用,fallback find 必须显式排除 .git、依赖目录、构建产物、缓存目录和生成产物,不要把无效文件当作 workspace 事实。
如果已有 workspace,先读取 source.json,避免重复命名、重复导出或覆盖用户手工修正的 mask。
Phase 1 — 选择最小闭环
按用户意图选择最小流程,并只读取相关 reference:
- workspace、
source.json、目录命名:读references/source-json.md、references/output-layout.md - 素材提取、端到端流程:读
references/asset-extraction.md、references/workflows.md - 依赖、模型 backend、GUI:读
references/dependencies.md、references/model-backends.md、references/gui-design.md - 导出选项、透明切图、图层包:读
references/export-options.md
What ships with it
59 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 303 B
- assets/app-icon.svg 1.7 KB
- assets/config-template.json 139 B
- assets/requirements-image-object.txt 97 B
- assets/source-example.json 2.6 KB
- assets/source-template.json 327 B
- evals/evals.json 5.0 KB
- references/asset-extraction.md 4.4 KB
- references/dependencies.md 5.2 KB
- references/export-options.md 967 B
- references/gui-design.md 1.9 KB
- references/model-backends.md 1.1 KB
- references/output-layout.md 3.7 KB
- references/source-json.md 6.4 KB
- references/workflows.md 6.0 KB
- schemas/source.schema.json 1.2 KB
- scripts/check_dependencies.py 5.7 KB runs code
- scripts/export_runner.py 7.8 KB runs code
- scripts/extract_object.py 1.3 KB runs code
- scripts/gui/__init__.py 42 B runs code
- scripts/gui/app_icon.py 341 B runs code
- scripts/gui/app.py 2.1 KB runs code
- scripts/gui/asset_model.py 1.4 KB runs code
- scripts/gui/asset_panel.py 6.6 KB runs code
- scripts/gui/assets/chevron-down.svg 219 B
- scripts/gui/components.py 8.4 KB runs code
- scripts/gui/dialogs.py 28 KB runs code
- scripts/gui/export_panel.py 1.3 KB runs code
- scripts/gui/main_window.py 82 KB runs code
- scripts/gui/preview_canvas.py 1.5 KB runs code
- scripts/gui/preview_render.py 11 KB runs code
- scripts/gui/recent_files.py 2.0 KB runs code
- scripts/gui/source_canvas.py 21 KB runs code
- scripts/gui/task_runner.py 1.8 KB runs code
- scripts/gui/theme.py 7.2 KB runs code
- scripts/gui/tool_panel.py 1.4 KB runs code
- scripts/image_object_tool.py 23 KB runs code
- scripts/inpaint_runner.py 7.8 KB runs code
- scripts/mask_ops.py 4.1 KB runs code
- scripts/model_registry.py 2.2 KB runs code
- scripts/rembg_runner.py 3.1 KB runs code
- scripts/runtime_config.py 2.3 KB runs code
- scripts/sam_runner.py 1.7 KB runs code
- scripts/source_state.py 4.4 KB runs code
- scripts/workspace.py 2.6 KB runs code
- tests/conftest.py 202 B runs code
- tests/test_check_dependencies.py 557 B runs code
- tests/test_cli_contract.py 2.5 KB runs code
- tests/test_export_runner.py 2.4 KB runs code
- tests/test_extract_object.py 756 B runs code
- tests/test_gui_helpers.py 7.8 KB runs code
- tests/test_inpaint_runner.py 2.7 KB runs code
- tests/test_mask_ops.py 1.6 KB runs code
- tests/test_model_registry.py 587 B runs code
- tests/test_recent_files.py 1.1 KB runs code
- tests/test_rembg_runner.py 1.4 KB runs code
- tests/test_runtime_config.py 2.6 KB runs code
- tests/test_source_state.py 713 B runs code
- tests/test_workspace.py 809 B runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 121 lines · 110 tokens per session scan A 0ccf27a1da44
aisee:image-object is a skill published in the GitHub repository AISEE-LAB/aisee-plugin (11 stars, last pushed 2mo ago), licensed MIT. It adds 110 tokens to every session and 1,855 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
openase-platform
Platform operations for tickets, projects, and runtime coordination inside OpenASE.
deploy-coolify-review-env
Create or update a branch-scoped Coolify review environment with one command, and delete it with one command. Use when a ticket must deploy a preview before human review, while keeping the workflow simple and fast.
land
Land an OpenASE PR by syncing with main, resolving conflicts, waiting for CI, addressing review feedback, and squash-merging when green.
push
Push current branch changes to origin and create or update the corresponding pull request for OpenASE; use when asked to push, publish updates, or create a pull request.
local-bootstrap-cli-auth-debug
Diagnose and repair OpenASE CLI access in local bootstrap mode. Use when protected openase commands fail because the CLI is missing a local human session, has a stale /.openase/human-session.json, is missing CSRF state, or needs a fresh openase auth bootstrap login.
ticket-workpad
Maintain the persistent ticket work log comment on the current ticket and use it as the execution log.