Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/fagemx/prismstacknpx agentmods add skills/fagemx/prismstack/domain-buildWrote 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/fagemx/prismstack/domain-build)<a href="https://agentmods.dev/skills/fagemx/prismstack/domain-build"><img src="https://agentmods.dev/badge/skills/fagemx/prismstack/domain-build/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/fagemx/prismstack/domain-build"><img src="https://agentmods.dev/badge/skills/fagemx/prismstack/domain-build.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.00132 | $0.04003 |
| Opus 5.5 | $0.00053 | $0.01601 |
| Sonnet 5.5 | $0.00026 | $0.00801 |
| Haiku 4.5 | $0.00013 | $0.00400 |
Grade A, and why
domain-build 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 2mo 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 — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Domain Stack Builder
你是領域 stack 搭建引擎。快速搭建、完整搭建。品質目標:「可用,不求完美」。
Auto Mode
如果被自動模式調用(--auto flag):
- 跳過所有 STOP gates — 不每 5 個 skill 停一次
- 跳過 AskUserQuestion — 「repo 建在哪」用預設(temp 目錄或 orchestrator 指定)
- 仍然遵循 skill-craft-guide + system-wiring-guide
- 仍然跑 validate-repo.sh(失敗自動修)
- 仍然做 Input Quality Detection(按用戶輸入品質對等生成)
- 仍然存 build-progress.md
Recovery(中斷恢復)
如果被中斷:
- 檢查目標目錄是否已存在
- 讀取
build-progress.md(如果有) - 從最後一個未完成的 Phase 續跑
- 不要重新生成已存在的 skill
Phase 0: Artifact Discovery + 進度追蹤
State
- Reads:
~/.prismstack/projects/{slug}/.prismstack/skill-map.json,domain-config.json - Writes:
build-progress.md(already implemented) - Updates:
domain-config.json→last_buildtimestamp
- 搜尋
~/.prismstack/projects/*/skill-map-*.md,找到最新的 skill map - 若找不到 → STATUS: BLOCKED — 建議先用
/domain-plan - 搜尋目標目錄是否已有部分建置(
build-progress.md、skills/目錄):- 如果有
build-progress.md→ 讀取,從最後一個pending狀態的 skill 繼續 - 如果有
skills/但沒有 progress file → 列出已存在的 skill,問用戶要接續還是重建
- 如果有
- 搜尋
~/.prismstack/projects/其他 domain 的已建 stack,列出可能相關的(用戶可能想參考) - 讀取 skill map,用 AskUserQuestion 確認:
- 確認 skill 清單正確
- 詢問 repo 建立位置(預設:當前目錄)
- 詢問 domain slug(用於 artifact 路徑)
- 建立
build-progress.md— 狀態追蹤表:
| Skill | Type | Status | Notes |
|-------|------|--------|-------|
| routing | Control | pending | |
| {skill-1} | {type} | pending | |
| ... | ... | ... | ... |
方法論
- Read
{PRISM_DIR}/shared/methodology/skill-craft-guide.md— skill 寫作原則、pattern、模板、實戰範例 - Read
{PRISM_DIR}/shared/methodology/system-wiring-guide.md— 搭建流程、系統 pattern、artifact flow 接線
{PRISM_DIR} = 找到的 Prismstack 安裝路徑(~/.claude/skills/prismstack 或 .claude/skills/prismstack)
STOP: 確認 skill map + 建置位置後才繼續。
Phase 1: Repo Scaffold
讀取 references/repo-scaffold-spec.md。
- 建立完整目錄結構
- 生成根目錄檔案:README.md, CLAUDE.md, VERSION, CHANGELOG.md, LICENSE, .gitignore
- 生成 bin/install.sh(chmod +x)+ bin/{domain}-slug.sh
git init+ 第一次 commit- 更新
build-progress.md
What ships with it
7 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.
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.
- 2mo ago First seen · 347 lines · 132 tokens per session scan A 3e1b2aaf41bd
domain-build is a skill published in the GitHub repository fagemx/prismstack (1 stars, last pushed 6mo ago), licensed MIT. It adds 132 tokens to every session and 4,003 once invoked, about $0.0005 per session on Opus 5.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-31.
Other skills, from other repositories
technical-documentation
Audit, write, and improve developer documentation using Google's Developer Documentation Style Guide and Technical Writing courses. Use this skill for any documentation work, even when the user names no style guide: "audit our docs", "review this README", "write a README", "getting started guide", "how-to or…
top-design
Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…
crossing-the-chasm
Navigate the technology adoption lifecycle from early adopters to mainstream market. Use when the user mentions "crossing the chasm", "beachhead segment", "whole product", "early adopters vs mainstream", "tech go-to-market", "bowling pin strategy", "technology adoption lifecycle", "pragmatist buyers", "growth stalled…
design-everyday-things
Apply foundational design principles: affordances, signifiers, constraints, feedback, and conceptual models. Use when the user mentions "why is this confusing", "affordance", "error prevention", "discoverability", "human-centered design", "mental model", "mapping", "seven stages of action", "users keep making…
design-sprint
Run a structured 5-day process to prototype, test, and validate product ideas with real users. Use when the user mentions "design sprint", "validate before we build", "rapid prototype", "test with users", or "should we build this". Also trigger when a team is stuck in endless debate over a high-stakes product…
hooked-ux
Design habit-forming product loops using the Hook Model (Trigger, Action, Variable Reward, Investment). Use when the user mentions "users arent coming back", "habit formation", "engagement loops", "habit zone", or "the manipulation matrix". Also trigger when designing notification or re-engagement strategies, building…