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 skills add zuoyebang/aiweave --skill rebuild-from-docsgit clone --depth 1 https://github.com/zuoyebang/aiweaveWrote 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/zuoyebang/aiweave/rebuild-from-docs)<a href="https://agentmods.dev/skills/zuoyebang/aiweave/rebuild-from-docs"><img src="https://agentmods.dev/badge/skills/zuoyebang/aiweave/rebuild-from-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zuoyebang/aiweave/rebuild-from-docs"><img src="https://agentmods.dev/badge/skills/zuoyebang/aiweave/rebuild-from-docs.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00038 | $0.01287 |
| Opus 5 | $0.00019 | $0.00643 |
| Sonnet 5 | $0.00008 | $0.00257 |
| Haiku 4.5 | $0.00004 | $0.00129 |
Grade A, and why
rebuild-from-docs 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 10d 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 — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
从 docs/ 文档重建 $ARGUMENTS 指定模块的代码。
公共步骤模板见 skills-spec/01_skill_authoring_guide.md §A-§E。本 Skill 是其他
/new-*Skill 的批量编排版本。
⛔ 模块黑名单(§A.1 之扩展)
按 BUILD_STATUS.md §0:
| 参数 | 行为 |
|---|---|
service/{🚫_module} |
直接拒绝 |
service/all |
跳过 🚫,继续其余 |
controllers/http/admin/{🚫_module} |
跳过 |
scheduled-tasks |
跳过 🚫 任务 |
router |
admin 生成时跳过 🚫 路由 |
all |
整体跳过 🚫,且空壳保持空壳 |
⚠️ 强烈建议
对于 all 或整层级重建(service/all / controllers/http/{audience}),优先使用 docs/architecture/mvp_rebuild_path.md 的分阶段法,而不是本 Skill 一次性生成。
仍坚持 all 时:先读 mvp_rebuild_path.md,按 Stage 顺序触发,每 Stage 间用户确认。
原则
- 文档是唯一真相
- 先读后写
- 逐层构建
- 持续验证
- BUILD_STATUS 先查后写
流程
第 1 步:确定重建范围
| 参数模式 | 读取文档 | 重建代码 |
|---|---|---|
components-constants |
architecture/constants.md |
components/constants.go |
helpers-utils |
architecture/helpers_api.md §1 |
helpers/{ip,crypto,math}.go |
models |
schema/database_design.md |
models/ 各包 |
cache-helpers |
cache/cache_helpers.md |
service/{module}/cache_loaders.go |
middleware |
architecture/middleware.md + {核心校验链}_flow.md |
middleware/*.go |
internal-render |
architecture/render_functions.md |
controllers/http/internal/render.go + validator.go |
router |
architecture/routing.md |
router/http*.go |
service/{module} |
service/{module}_service.md |
service/{module}/ |
service/all |
service/*_service.md |
service/ 所有模块(跳过 🚫) |
controllers/http/{audience} |
api/{audience}_interfaces.md |
controllers/http/{audience}/ |
scheduled-tasks |
service/scheduled_tasks_design.md |
controllers/command/ + 注册 |
mq-consumer |
service/scheduled_tasks_design.md §3 |
helpers/kafka_consumer.go + controllers/mq/ + 注册 |
all |
全部 docs | 整工程(改用 mvp_rebuild_path 分阶段) |
第 2 步:读取所有相关文档(公共必读见 §B)
- 从
docs/INDEX.md定位所有相关 md - 读
docs/BUILD_STATUS.md - 完整读取每个 md
- 必读:见公共 §B
- 额外必读:
docs/cache/cache_design.md§2.x(Hash 字段映射)docs/cache/cache_design.md§2.5(分布式锁)
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.
- 10d ago First seen · 109 lines · 38 tokens per session scan A 9d02d2d58f58
rebuild-from-docs is a skill published in the GitHub repository zuoyebang/aiweave (20 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,287 once invoked, about $0.0002 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
build-teaql-app
Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…
build-executor
Govern implementation from an approved execution contract. Invoke when execution-contract.md is approved and the user wants disciplined build work, TDD execution, or guarded batch-by-batch implementation.
workflow-start
Primary entry point for the spec-superflow state-machine workflow. Invoke when the user is inside an active spec-superflow change directory (look for .spec-superflow.yaml, changes/ /, proposal.md, specs/, design.md, tasks.md, or execution-contract.md) and asks to start, continue, resume, implement, plan, or figure out…
release-archivist
Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up.
bug-investigator
Use when encountering any bug, test failure, or unexpected behavior during spec-superflow execution, before proposing fixes. Invoked automatically when build-executor hits a blockage.
contract-builder
Convert approved planning artifacts into an execution contract. Invoke when the user wants to start building, asks to move from planning to implementation, or when execution-contract.md is missing or stale.