domain-upgrade

domain-upgrade is a skill for Claude Code, Codex from fagemx/prismstack. It costs 140 tokens per session (2,372 once invoked), scanned A, original, MIT.

A coordinator for improving an existing collection of field-specific skills. It listens to feedback, identifies the type of change needed, and sends the work to the appropriate skill.

In plain words
What is it for?
Use it to organise requests for improvements, route them to skill or workflow editors, and resume interrupted upgrade work.
Why use it?
It prevents feedback from being handled ad hoc or sent to the wrong editing process. It also tracks unfinished upgrades and checks whether changes caused problems.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/fagemx/prismstack/domain-upgrade
Any agent
npx skills add fagemx/prismstack --skill domain-upgrade
Clone the repo
git clone --depth 1 https://github.com/fagemx/prismstack

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for domain-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/fagemx/prismstack/domain-upgrade.svg)](https://agentmods.dev/skills/fagemx/prismstack/domain-upgrade)
Your own site
<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>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 55f7a9de0d95, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

skills/domain-upgrade/SKILL.md · 275 lines

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 超限、錯誤):

  1. 偵測狀態: 搜尋 upgrade-log.md — 記錄了什麼被請求、什麼被派遣、什麼已完成
  2. 恢復點:
    • 如果 upgrade-log.md 存在 → 讀取,從最後一個 pendingdispatched 項目繼續
    • 如果有已分類但未處理的 feedback(Step 3 完成但 Step 4 未完成)→ 從執行階段繼續
    • 如果 git diff 顯示有未 commit 的升級改動 → 從 verify 階段繼續
  3. 不重做: 不重新收集已分類的 feedback、不重新派遣已完成的改動
  4. 通知用戶: 告知升級進度,確認繼續或重新開始

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.jsonlast_upgrade timestamp

自動搜尋上游產出和先前執行紀錄:

_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:

Read the full file on GitHub · 275 lines

Files

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.

Changes

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.

  1. 4d ago First seen · 275 lines · 140 tokens per session scan A 55f7a9de0d95

Subscribe to this mod's changes

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.

Related

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…

KKenny0/card-skill · 324 tokens

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.

Arlenjim/claude-code-for-non-coders · 51 tokens

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.

Arlenjim/claude-code-for-non-coders · 42 tokens

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.

Arlenjim/claude-code-for-non-coders · 41 tokens

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.

ahacker-1/cre-agent-skills · 62 tokens

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.

ahacker-1/cre-agent-skills · 53 tokens