Deterministic external-evidence web validation workflow for Sanguo ETL/RAG. USE FOR: 外部證據網站檢查、來源健康度、allowlist 驗證、來源 seed 覆蓋、3kweb-check、external evidence source health、fetch/parse/hash first、LLM reviewer second。
日本語の概要は準備中です。原文の説明を表示しています。
Agent context budget guard and artifact compression workflow. USE FOR: image-heavy QA, compare board review, screenshot batches, large keep/todo/task manifests, long notes handoff, and md/json diff summarization. Trigger this before reading or forwarding heavy artifacts when token growth is a risk.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
這個 skill 的目標只有一件事:把重上下文工作改成「先掃描、再摘要、最後只傳必要片段」,避免 agent 因為圖片、compare board、長篇 md/json 或大量 touched files 直接把對話撐爆。
png、compare-board、screenshotdocs/keep.md (doc_index_0011) (doc_index_0011)、docs/ui-quality-todo.json、大型 notes、task manifest.md 或 .json 變更如果任務已經有 wrapper 入口,優先直接走 wrapper:
node tools_node/run-ui-workflow.js --workflow <workflow-id> ...
node tools_node/run-guarded-workflow.js --workflow <name> ...
wrapper 會在內部先做 budget 檢查與 block 判定。
如果你是手動處理,才直接跑底層工具:
node tools_node/check-context-budget.js --changed --emit-keep-note
如果是特定資料夾或特定 artifact:
node tools_node/check-context-budget.js --files <file...>
node tools_node/check-context-budget.js --dirs artifacts/ui-qa docs
判讀方式:
ok: 可以繼續,但仍優先走摘要卡warn: 禁止把大型檔案整份貼進對話hard-stop: 只能傳摘要卡、路徑、結論,不能傳整包內容node tools_node/generate-context-summary.js --task <task-id> --goal "<goal>" --files <file...>
handoff 一律壓成這 6 欄:
taskgoalreadknownneedavoid不要把完整 keep.md (doc_index_0011)、ui-quality-todo.json、長 notes、整批 QA 圖片直接帶進下一輪。
比較工作樹與 HEAD:
node tools_node/summarize-structured-diff.js --git docs/keep.md
node tools_node/summarize-structured-diff.js --git docs/ui-quality-tasks/
比較兩個檔案版本:
node tools_node/summarize-structured-diff.js --base old.md --head new.md
node tools_node/summarize-structured-diff.js --base old.json --head new.json
摘要原則:
Markdown: 只報 heading 增減、變更區塊行號、增刪行數JSON object: 只報 top-level key 的 added / removed / changedJSON array: 優先用 id 比對,沒有 id 才退回 index 摘要如果摘要已經足夠,禁止再把整份 diff 送進對話。
1 張主圖 + 1 張對照圖compare-board、contact-sheet、批次 screenshot 預設視為高風險,不要整批帶進上下文建議描述格式:
artifact: artifacts/ui-source/shop-main/review/v2-compare-board.png
role: compare board
decision: QA selection only; do not inline into handoff
pick: one hero image + one comparison crop at most
只要 check-context-budget.js 出現 warn 或 hard-stop:
keep.md (doc_index_0011) 記一筆原因摘要compare board / screenshot / QA image batchkeep.md / ui-quality-todo.json / long notes full inlinebinary artifact mixed into changed files在 final answer 前補一行估算值。若已走 wrapper,優先使用 finalizer:
node tools_node/finalize-agent-turn.js --workflow <workflow-id> --changed
若你只需要單行估算,再直接用:
node tools_node/report-turn-usage.js --files <touched files> --emit-final-line
如果你一時抓不到 touched files,至少跑:
node tools_node/report-turn-usage.js --changed --emit-final-line
只回報三級:
少中大這是依目前讀寫檔案與 artifact 的估算值,不是模型 API 的精準計費數字;但它足夠拿來做日常警戒與 keep 追蹤。
它只負責把 context 壓小,讓 agent 能穩定做事。
(best) 開頭,先進 .agents/skills/best-mode/SKILL.md (doc_agentskill_0001)cocos-preview-qa 或 cocos-screenshotui-vibe-pipelineencoding-touched-guardまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Deterministic external-evidence web validation workflow for Sanguo ETL/RAG. USE FOR: 外部證據網站檢查、來源健康度、allowlist 驗證、來源 seed 覆蓋、3kweb-check、external evidence source health、fetch/parse/hash first、LLM reviewer second。
日本語の概要は準備中です。原文の説明を表示しています。
Use when the user asks to switch AI role/mode/persona or uses role-trigger words such as Captain, Coordinator, 寫文章, 寫文章模式, 文章模式, 技術文章, 部落格, 出版, 預覽. Routes the request to Project Captain, Publishing Director, or Article Writing Mode, loads the matching keep memory when available, and applies the role's workflow without excessive roleplay.
日本語の概要は準備中です。原文の説明を表示しています。
Write or revise AI-learning-notes article pages in "寫文章模式" when the user asks for articles, technical articles, blog posts, bilingual versions, article formatting consistency, shared article-base alignment, responsive layout, summary/TOC decisions, contrast, or publishing-flow compatibility.
日本語の概要は準備中です。原文の説明を表示しています。
Plan ATM framework refactors by preserving atom/map semantics before splitting large governance modules.
日本語の概要は準備中です。原文の説明を表示しています。
Captain 派工規範與決策手冊。當 AI 進入隊長模式或進行派工/派任務語境時,遵照這套標準,產出可供人類直接轉貼、高度結構化、符合 token 經濟且能動態適應可用 Roster 的派工單。
日本語の概要は準備中です。原文の説明を表示しています。
Create and register an atom through the provisioning facade.
日本語の概要は準備中です。原文の説明を表示しています。