当前位置: 首页 > Skill >

AFOL

AFOL

AFOL

使用此编排技能,为目录查询、市场行情、收藏管理、估值和跨平台选择合适的AFOL提供者技能。

1.0.0 2026.11.20 184
获取Skill文件查看使用说明
作 者:许禾 许可证: 更新时间:2026.11.20
本文目录展开

AFOL meta skill

Use this skill when the user asks a broad AFOL collector question and it is not obvious which provider-specific skill should handle it. This is the human-facing router over the provider skills, not another vendor API wrapper.

Primary interface: scripts/afol.

The skill composes the checked-in provider skills and keeps orchestration guidance inside this skill directory:

  • Orchestration reference: references/prompts/afol-router.txt
  • CLI source: scripts/afol_cli.py
  • Metadata-only OpenAPI placeholder: references/openapi/afol.yaml

Do not route through the Brick Directory app by default. Prefer the official provider skills directly. Brick Directory may be useful later for app-specific rendered reports or internal cross-provider mappings, but it is not the canonical data layer for this skill.

Provider routing

User intent Start with Then use Why
Find a set, part, minifig, element, color, theme, or inventory rebrickable brickset for richer set metadata Rebrickable is the canonical catalog/data backbone.
Exact set metadata, images, instructions, reviews, release status, owned/wanted context brickset rebrickable for inventory/parts Brickset has strong editorial/set metadata and user collection fields.
Marketplace pricing, price guides, orders, inventory, feedback, coupons, member notes bricklink brickowl for marketplace comparison BrickLink is the main marketplace and price-guide source.
BrickOwl store inventory, catalog ID lookup, listing management brickowl bricklink for market comparison BrickOwl has separate store/catalog IDs and marketplace workflows.
Set or minifig valuation, forecasts, growth, ROI, collection performance, sales ledger brickeconomy bricklink for current market validation BrickEconomy is the value/forecasting provider.
Cross-provider ID translation rebrickable bricklink, brickowl, brickset Normalize to stable catalog IDs first, then fan out.
“Tell me everything about set X” rebrickable + brickset brickeconomy, then marketplaces if pricing is requested Avoid expensive/bulk pricing unless the user asked for it.

Credential readiness

Use scripts/afol credentials to check which capabilities are unlocked without printing secret values.

Provider env vars:

export REBRICKABLE_API_KEY=...          # catalog lookup and public Rebrickable reads
export REBRICKABLE_USER_TOKEN=...       # optional private Rebrickable collection reads/writes
export BRICKSET_API_KEY=...             # Brickset public reads
export BRICKSET_USER_HASH=...           # optional private Brickset collection/wishlist/notes
export BRICKOWL_API_KEY=...             # BrickOwl store/account reads and guarded writes
export BRICKLINK_API_CONSUMER_KEY=...   # BrickLink OAuth1 credential set
export BRICKLINK_API_CONSUMER_SECRET=...
export BRICKLINK_API_TOKEN_VALUE=...
export BRICKLINK_API_TOKEN_SECRET=...
export BRICKECONOMY_API_KEY=...         # BrickEconomy valuation and private portfolio reads

Never print, commit, log, or paste real credentials. Report only whether each provider is ready.

CLI quick reference

Run commands from this skill directory:

scripts/afol --help
scripts/afol route "What is set 10236-1 worth?"
scripts/afol route "Find parts for Millennium Falcon"
scripts/afol route "Compare BrickLink and BrickOwl price for 3001 red"
scripts/afol credentials

The CLI does not call provider APIs. It gives deterministic routing and credential-readiness hints so an agent can load/use the correct provider skill next.

Canonical workflows

“Tell me everything about set 10236-1”

  1. Use rebrickable set --set-num 10236-1 for canonical set identity and basic catalog data.
  2. Use rebrickable set-parts --set-num 10236-1 only if inventory/parts matter.
  3. Use brickset details --set-number 10236-1 for richer metadata, images, instructions, release status, ratings, and Brickset IDs.
  4. Use brickeconomy set --set-number 10236-1 --currency <currency> only when the user asks about value, ROI, investment, or current/forecast prices.
  5. Use marketplace provider skills only when the user asks about buying, selling, price guides, or listings.

“What is this minifig worth?”

  1. Identify the minifig number with rebrickable minifigs --search ... if the user did not provide one.
  2. Use brickeconomy minifig --minifig-number <id> --currency <currency> for valuation and forecast fields.
  3. Use bricklink price-guide or item lookup only if the user asks for market validation or current marketplace pricing.

“Compare BrickLink vs BrickOwl price”

  1. Resolve the entity first; do not guess provider IDs.
  2. Use BrickLink and BrickOwl read-only lookup/price/catalog commands.
  3. Report assumptions clearly: item type, color, condition, currency, quantity, and whether shipping is included.
  4. Do not create listings, orders, feedback, member notes, or coupons unless the user explicitly asks and approves the exact write.

“Prepare collection valuation”

  1. Prefer one collection endpoint over many individual lookups.
  2. Use brickeconomy collection-sets / collection-minifigs for value, growth, and ROI when available.
  3. Use Rebrickable or Brickset private collection endpoints only if the matching user token/hash is configured and the user asked for private collection analysis.
  4. Treat collection and sales-ledger payloads as private financial/account data; summarize, do not dump raw rows.

“Find IDs across providers”

  1. Start from Rebrickable set/part/minifig/color identity when possible.
  2. Use provider-specific mapping or lookup commands for BrickLink, BrickOwl, and Brickset.
  3. If an official reference lacks an endpoint for a mapping, say so; do not invent IDs.
  4. Keep null/not-found distinct from not-checked-yet.

Safety rules

Read-only by default. Credentials are capability, not consent.

Writes are allowed only after explicit current-conversation user intent and the provider skill’s mechanical guard:

  • Rebrickable list/set/part writes require the Rebrickable skill’s --yes; use --dry-run first.
  • Brickset collection/wishlist writes require the Brickset skill’s --yes; use --dry-run first.
  • BrickOwl inventory writes/deletes require the BrickOwl skill’s --yes; use --dry-run first.
  • BrickLink inventory/order/feedback/coupon/member-note writes require the BrickLink skill’s --yes; use --dry-run first.
  • BrickEconomy is currently read-only in this skill pack, but private collection and sales-ledger reads are still sensitive.

Never checkout, order, buy, sell, update inventory, delete listings, post feedback, or alter collections from inference alone.

Common pitfalls

  1. Starting with marketplace APIs for identity questions. Use Rebrickable or Brickset first; marketplaces are noisy and condition/currency-sensitive.
  2. Treating Brick Directory as the source of truth. The app is optional glue. The durable layer is provider skills over official APIs.
  3. Bulk fan-out by habit. BrickEconomy has tight limits; marketplace calls can be expensive/noisy. Start narrow.
  4. Leaking private data. Collection, inventory, order, store, and sales-ledger data should be summarized, not pasted raw.
  5. Guessing IDs. Resolve IDs via provider lookup/mapping commands instead of fabricating BrickLink, BrickOwl, Brickset, or Rebrickable IDs.
  6. Letting credentials imply approval. They only prove access; writes still need explicit approval and provider guard flags.

Live smoke checks

Local, no-network checks:

python3 -m py_compile scripts/afol_cli.py
scripts/afol route "What is set 10236-1 worth?"
scripts/afol credentials

Provider live smoke tests belong in the provider skills. This meta skill should not call external APIs itself.

Verification checklist

  • Route catalog/identity questions to Rebrickable or Brickset first.
  • Route valuation/forecasting to BrickEconomy.
  • Route marketplace, inventory, order, feedback, coupon, and member-note workflows to BrickLink or BrickOwl.
  • Keep Brick Directory optional, never a dependency for provider data.
  • Report credential readiness without printing secret values.
  • Use provider skill dry-runs and --yes guards for any write.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,037
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,020
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,016
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,015
Skill 文件
  • SKILL.md
    • AFOL meta skill
    • Provider routing
    • Credential readiness
    • CLI quick reference
    • Canonical workflows
      • “Tell me everything about set 10236-1”
      • “What is this minifig worth?”
      • “Compare BrickLink vs BrickOwl price”
      • “Prepare collection valuation”
      • “Find IDs across providers”
    • Safety rules
    • Common pitfalls
    • Live smoke checks
    • Verification checklist
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期