caixu-build-package

Build Application Document Package. Use when the user wants export files and a submission bundle from an existing library at the packaging stage, including “生成材料包”“导出资产总表和续办清单”“准备提交包”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill loads the latest validated lifecycle result, a RuleProfileBundle, assets and parsed files, asks an agent to choose package contents, validates the decision, runs deterministic docgen exports, persists the package run with an audit sidecar, and prepares the final bundle for downstream use.

3,880 stars

Best use case

caixu-build-package is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Build Application Document Package. Use when the user wants export files and a submission bundle from an existing library at the packaging stage, including “生成材料包”“导出资产总表和续办清单”“准备提交包”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill loads the latest validated lifecycle result, a RuleProfileBundle, assets and parsed files, asks an agent to choose package contents, validates the decision, runs deterministic docgen exports, persists the package run with an audit sidecar, and prepares the final bundle for downstream use.

Teams using caixu-build-package should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/caixu-build-package/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/angjustinl/asset-library-skill/caixu-build-package/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/caixu-build-package/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How caixu-build-package Compares

Feature / Agentcaixu-build-packageStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Build Application Document Package. Use when the user wants export files and a submission bundle from an existing library at the packaging stage, including “生成材料包”“导出资产总表和续办清单”“准备提交包”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill loads the latest validated lifecycle result, a RuleProfileBundle, assets and parsed files, asks an agent to choose package contents, validates the decision, runs deterministic docgen exports, persists the package run with an audit sidecar, and prepares the final bundle for downstream use.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Build Application Document Package

在用户要“生成材料包”“导出资产总表和续办清单”“准备提交包”时使用这个 skill。

## Quick flow

1. 读取最近一次已验证的 lifecycle 结果
2. 让 agent 选材
3. 预检、导出、写 package run

## Read next only when needed

- 要确认顺序和输入前提时,读 [references/workflow.md](references/workflow.md)
- 要确认 `PackageRunData`、`package_plan`、导出物约定时,读 [references/tool-contracts.md](references/tool-contracts.md)
- 要对齐 `package_plan` 和 truthful package 输出时,读 [references/output-patterns.md](references/output-patterns.md)
- 遇到阻塞 readiness、缺真实文件、truthful package 边界时,读 [references/failure-modes.md](references/failure-modes.md)

## Required tools

- `caixu-data-mcp.query_assets`
- `caixu-data-mcp.get_parsed_files`
- `caixu-data-mcp.get_rule_profile`
- `caixu-data-mcp.get_latest_lifecycle_run`
- `caixu-data-mcp.write_package_run`

## Required local code

- 使用共享 `@caixu/docgen`
- 不要自行发明第二套导出格式

## Workflow

1. 要求 `library_id`、`goal`、`output_dir`、`submission_profile`。
2. 先读 `get_latest_lifecycle_run`;没有已验证 lifecycle 时直接失败并推荐 `check-lifecycle`。
3. 读取 `RuleProfileBundle`、资产和 parsed files。
4. 让 agent 决定 `selected_asset_ids`、`operator_notes` 和包内顺序。
5. 在导出前运行 `scripts/preflight-package-output.mjs`,确认输出目录和源文件都可用。
6. 用共享 docgen 生成 ledger 和 zip。
7. 调用 `write_package_run` 持久化 package plan 与 audit。
8. 成功后推荐下一步 `submit-demo`。

## Guardrails

- `build-package` 只能消费 lifecycle readiness,不能重写 readiness。
- 即使阻塞,也只允许 truthful package,不能把 blocked 翻成 ready。
- 不得声称文件已导出,除非文件真实存在。
- zip 必须包含真实源文件,不是空 manifest。

Related Skills

Go-to-Market Strategy Builder

3891
from openclaw/skills

Build a complete GTM plan for product launches, market entries, or expansion plays. Covers positioning, channel strategy, pricing, launch timeline, and success metrics.

Workflow & Productivity

Energy Audit — Commercial Building Assessment

3891
from openclaw/skills

Run a full energy audit for commercial or industrial facilities. Identifies waste, models savings, and generates a prioritized retrofit roadmap with ROI timelines.

Sustainability & Efficiency

Data Room Builder

3891
from openclaw/skills

Build a structured virtual data room checklist and folder hierarchy for fundraising, M&A, or due diligence.

Workflow & Productivity

Building Permit & Construction Permitting Agent

3891
from openclaw/skills

You are a construction permitting specialist. Help contractors, developers, and property owners navigate the building permit process from application through final inspection.

Construction & Permitting

AI Governance Policy Builder

3891
from openclaw/skills

Build internal AI governance policies from scratch. Covers acceptable use, model selection, data handling, vendor contracts, compliance mapping, and board reporting.

Nightly Build 🌙

3891
from openclaw/skills

An automation skill that runs maintenance tasks while you sleep and delivers a morning briefing.

DevOps & Infrastructure

doppel-block-builder

3891
from openclaw/skills

Place MML blocks in Doppel worlds. Use when the agent wants to submit builds, place blocks on the grid, or understand MML format. Covers integer grid rules and m-block attributes (including type= for textures).

Metaverse & Virtual Worlds

douyin-cover-builder

3891
from openclaw/skills

这是一个面向中文创作者的 OpenClaw Skill,输入主题与人物气质后,会输出可直接用于生图模型的高质量提示词与创意说明。

Content Creation & Marketing

agentic-mcp-server-builder

3891
from openclaw/skills

Scaffold MCP server projects and baseline tool contract checks. Use for defining tool schemas, generating starter server layouts, and validating MCP-ready structure.

Coding & Development

caixu-query-assets

3891
from openclaw/skills

Search Personal Asset Library. Use when the user wants to search or filter an existing 材序 asset library at the query stage, including “查我有哪些材料”“看哪些可复用”“按类型筛资产”“用自然语言找相关材料”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill normalizes filters into precise retrieval inputs, uses agent tags plus FTS by default, and only calls the optional semantic vector retrieval function when the user explicitly asks for similar or related materials.

caixu-maintain-asset-library

3891
from openclaw/skills

Maintain Personal Asset Library. Use when the user wants to inspect, review, patch, archive, restore, or verify a personal material asset library after initial build, including “看库概览”“修一条资产”“归档这条不该进库的材料”“看待复核队列”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill loads library overviews and review queues from caixu-data-mcp, applies minimal maintenance actions such as patching or archiving one asset at a time, and re-checks query results. Do not use it for fresh ingest, asset extraction, lifecycle judgment, package building, or submission.

caixu-ingest-materials

3891
from openclaw/skills

Import Personal Documents. Use when the user wants to import a local directory or explicit files into 材序 at the ingest stage, including “导入一批材料”“先把这个目录吃进去”“先建立可继续建库的解析上下文”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill creates or loads a library, starts an ingest pipeline run, lets the agent choose per-file routes over low-level OCR and parser tools, persists ParsedFile records, and hands off library_id plus run_id to build-asset-library. Do not use it for asset extraction, lifecycle judgment, package building, or submission.