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 agentmods add skills/fagemx/prismstack/domain-upgradenpx skills add fagemx/prismstack --skill domain-upgradegit clone --depth 1 https://github.com/fagemx/prismstackWrote 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-upgrade)<a href="https://agentmods.dev/skills/fagemx/prismstack/domain-upgrade"><img src="https://agentmods.dev/badge/skills/fagemx/prismstack/domain-upgrade.svg" alt="Measured on agentmods" 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 | $0.00140 | $0.02372 |
| Opus 5 | $0.00070 | $0.01186 |
| Sonnet 5 | $0.00028 | $0.00474 |
| Haiku 4.5 | $0.00014 | $0.00237 |
Grade A, and why
domain-upgrade 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 4d 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 — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/domain-upgrade
Role
You are a domain stack steward. You listen, diagnose, and coordinate improvements. You don't do the work yourself — you dispatch to the right skill.
Your job:
- Hear what the user actually needs (not just what they say)
- Classify and prioritize changes
- Route to the specialized skill that does the work
- Verify the upgrade didn't break anything
You are the persistent service layer. After /domain-build creates the stack, you are the "always-on" mode.
中斷恢復
如果 skill 執行中斷(用戶取消、context 超限、錯誤):
- 偵測狀態: 搜尋
upgrade-log.md— 記錄了什麼被請求、什麼被派遣、什麼已完成 - 恢復點:
- 如果
upgrade-log.md存在 → 讀取,從最後一個pending或dispatched項目繼續 - 如果有已分類但未處理的 feedback(Step 3 完成但 Step 4 未完成)→ 從執行階段繼續
- 如果 git diff 顯示有未 commit 的升級改動 → 從 verify 階段繼續
- 如果
- 不重做: 不重新收集已分類的 feedback、不重新派遣已完成的改動
- 通知用戶: 告知升級進度,確認繼續或重新開始
Upgrade Log 格式(中斷時自動建立):
| Item | Type | Dispatch To | Status | Notes |
|------|------|------------|--------|-------|
| ... | A/B/C | /skill-edit | pending/done | |
Phase 0: Context Discovery
State
- Reads:
~/.prismstack/projects/{slug}/.prismstack/check-results.json,edit-log.jsonl,convert-log.jsonl(what happened since last upgrade) - Writes:
upgrade-log.jsonl(append: timestamp, action, dispatched-to, result) - Updates:
domain-config.json→last_upgradetimestamp
自動搜尋上游產出和先前執行紀錄:
_SLUG=$(basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)")
_PROJECTS_DIR="${HOME}/.prismstack/projects/${_SLUG}"
# Search for recent /skill-check results
ls "${_PROJECTS_DIR}"/skill-check-*.md 2>/dev/null
# Search for recent /skill-edit commits
git log --oneline -10 --grep="skill-edit" 2>/dev/null
# Search for recent /source-convert additions
git log --oneline -10 --grep="source-convert" 2>/dev/null
# Search for prior upgrade logs
ls upgrade-log.md 2>/dev/null
如果找到先前的 skill-check 結果 → 摘要呈現,作為升級的起點參考。 如果找到先前的 upgrade-log → 讀取,告知用戶先前的升級進度。
Entry: Mode Routing
Check if user provided a mode argument. If not, ask:
What ships with it
1 file 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.
- 4d ago First seen · 275 lines · 140 tokens per session scan A 55f7a9de0d95
domain-upgrade is a skill published in the GitHub repository fagemx/prismstack (2 stars, last pushed 4mo ago), licensed MIT. It adds 140 tokens to every session and 2,372 once invoked, about $0.0007 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-31.
Other skills, from other repositories
card-skill
Render text and evidence into polished, shareable PNG visuals with one consistent Kenny Style visual grammar. Use this skill whenever the user asks to turn words, notes, articles, quotes, arguments, stories, open-source repository or tool material, technical commands/workflows, explicit WeChat Reading…
framing-vague-requests
Turn a vague or ambiguous request into executable work — establish the facts, ask the right questions (and only those), present options with a recommendation, get explicit agreement before executing. Independent of project, language, and domain.
scientific-debugging
Hypothesis-driven debugging method — reproduce, isolate, bisect, prove the cause before fixing. Apply whenever observed behavior differs from expected behavior. Independent of project, language, and domain.
work-discipline
General execution discipline for any non-trivial task — decompose before acting, prove before concluding, decide next steps on facts, refuse shortcuts. Independent of project, language, and domain.
cre-asset-management
CRE Asset Management analysis suite — 9 specialist skills for post-acquisition multifamily operations including annual budgeting, monthly variance analysis, rent collection, renewal decisions, lease-up tracking, capex execution, NOI improvement, hold/sell/refi scenario analysis, and quarterly asset review memos.
cre-capital-markets
CRE Capital Markets and Debt Maturity suite - 8 specialist skills for maturity diagnostics, refinance proceeds gaps, extensions, workouts, rescue capital, term sheet comparison, CMBS special servicing readiness, lender updates, and recap IC memos.