jpskill.com
🛠️ 開発・MCP コミュニティ

upgrade

生成済みのシステムに対し、プラグイン知識ベースのアップデートを適用し、最新の研究に基づいた改善案を提示することで、システムの性能向上を支援するSkill。

📜 元の英語説明(参考)

Apply plugin knowledge base updates to an existing generated system. Consults the Ars Contexta research graph for methodology improvements, proposes skill upgrades with research justification. Never auto-implements. Triggers on "/upgrade", "upgrade skills", "check for improvements", "update methodology".

🇯🇵 日本人クリエイター向け解説

一言でいうと

生成済みのシステムに対し、プラグイン知識ベースのアップデートを適用し、最新の研究に基づいた改善案を提示することで、システムの性能向上を支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o upgrade.zip https://jpskill.com/download/10164.zip && unzip -o upgrade.zip && rm upgrade.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10164.zip -OutFile "$d\upgrade.zip"; Expand-Archive "$d\upgrade.zip" -DestinationPath $d -Force; ri "$d\upgrade.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して upgrade.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → upgrade フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

ランタイム構成 (ステップ 0 — 処理前)

ドメイン固有の動作を構成するために、これらのファイルを読み込んでください。

  1. ops/derivation-manifest.md — ボキャブラリマッピング、プラットフォームヒント

    • vocabulary.notes を notes フォルダ名として使用
    • vocabulary.note / vocabulary.note_plural をノートタイプの参照として使用
    • vocabulary.reduce を抽出動詞として使用
    • vocabulary.reflect を接続発見動詞として使用
    • vocabulary.reweave を後方パス動詞として使用
    • vocabulary.verify を検証動詞として使用
    • vocabulary.rethink をメタ認知動詞として使用
    • vocabulary.topic_map を MOC 参照として使用
  2. ops/config.yaml — 処理の深さ、ドメインコンテキスト

  3. ops/derivation.md — 派生状態とエンジンバージョン

これらのファイルが存在しない場合は、ユニバーサルなデフォルトを使用してください。

今すぐ実行

ターゲット: $ARGUMENTS

すぐに解析:

  • ターゲットに特定の skill 名 (例: "upgrade reduce") が含まれている場合: その skill のみを確認
  • ターゲットに "--all" が含まれている場合: 生成されたすべての skill を確認
  • ターゲットが空の場合: 生成されたすべての skill を確認 ( --all と同じ)

今すぐ開始。 以下の参照は、アップグレードプロセスを定義します。


ハッシュ化ではなくコンサルテーションを行う理由

Skill は、生成マニフェストとのハッシュ比較によってアップグレードされません。ハッシュ比較は、「このファイルは変更されましたか?」という狭い質問に答えるだけです。メタ skill コンサルテーションは、「この skill のアプローチは、私たちが知っていることを考慮すると、依然として最良のアプローチですか?」という正しい質問に答えます。

Skill は変更されていなくても、知識ベースが成長したために古くなっている可能性があります。または、Skill はユーザーによって大幅に編集されていても、別のパスを通じて最新の考え方をすでに組み込んでいる可能性があります。方法論について推論することは、バイトを比較するよりも価値があります。


2 つのアップグレードパス

生成された skill とメタ skill は、根本的に異なるアップグレードメカニズムに従います。

カテゴリ Skills アップグレードメカニズム
生成された skills /{vocabulary.reduce}, /{vocabulary.reflect}, /{vocabulary.reweave}, /{vocabulary.verify}, /ralph, /next, /remember, /{vocabulary.rethink}, /stats, /graph, /tasks, /refactor, /learn, /recommend, /ask 知識グラフとのランタイムコンサルテーション
メタ skills /setup, /architect, /health, /reseed, /add-domain, /help, /tutorial, /upgrade プラグインリリースサイクル — プラグイン自体を更新

/upgrade は、生成された skill を評価します。それ自体または他のメタ skill を評価することはできません — それはプラグインメンテナの責任です。


ステップ 1: 現在のシステムをインベントリする

Vault の現在の状態を収集します。

  1. ops/derivation.md を読み込んで、以下を取得します。

    • 元の派生状態
    • システムを生成したエンジンバージョン
    • ドメインの説明と次元位置
  2. ops/generation-manifest.yaml (存在する場合) を読み込んで、以下を取得します。

    • Skill のバージョンと生成タイムスタンプ
    • 各 skill を生成したプラグインのバージョン
  3. インストールされているすべての skill をリストします。

    # SKILL.md を持つすべての skill ディレクトリを検索
    for dir in .claude/skills/*/; do
      skill=$(basename "$dir")
      version=$(grep '^version:' "$dir/SKILL.md" 2>/dev/null | head -1 | awk -F'"' '{print $2}')
      gen_from=$(grep '^generated_from:' "$dir/SKILL.md" 2>/dev/null | head -1 | awk -F'"' '{print $2}')
      echo "$skill  v$version  (from $gen_from)"
    done
  4. 現在の次元位置について ops/config.yaml を読み込みます。

  5. ユーザーによる変更を確認します。

    # 生成後に変更された skill を検出
    for dir in .claude/skills/*/; do
      skill=$(basename "$dir")
      file="$dir/SKILL.md"
      [[ ! -f "$file" ]] && continue
      # git のステータスを確認 — 変更されたファイルはユーザーによるカスタマイズを示します
      git_status=$(git status --porcelain "$file" 2>/dev/null)
      if [[ -n "$git_status" ]]; then
        echo "MODIFIED: $skill"
      fi
    done

インベントリを提示します。

--=={ upgrade : inventory }==--

システム: {domain description}
エンジン: arscontexta-{version}
Skills: {count} インストール済み ({modified_count} ユーザーによって変更済み)

  Skill               バージョン  生成元    変更済み
  /{vocabulary.reduce}    1.0  arscontexta-v1.6  いいえ
  /{vocabulary.reflect}   1.0  arscontexta-v1.6  はい
  ...

ステップ 2: 知識ベースに相談する

生成された各 skill (またはターゲットが指定されている場合は特定の skill) について、プラグインにバンドルされている知識ベースに相談して、skill の現在のアプローチが現在のベストプラクティスを反映しているかどうかを評価します。

知識ベースの階層

プラグインの 4 つのコンテンツ階層から読み取ります。

階層 パス 含まれているもの
方法論グラフ ${CLAUDE_PLUGIN_ROOT}/methodology/ すべてのコンテンツ — kind: フィールド (research/guidance/example) でフィルタリング
リファレンスドキュメント ${CLAUDE_PLUGIN_ROOT}/reference/ WHAT — 構造化されたリファレンスドキュメントと次元マップ

methodology/ のノートは、kind: フロントマターフィールドによって区別されます。

  • kind: research — WHY: 原理と認知科学の基礎 (213 件の主張)
  • kind: guidance — HOW: 運用手順とベストプラクティス (9 件のドキュメント)
  • kind: example — WHAT IT LOOKS LIKE: ドメイン構成 (12 件の例)
  • type: moc — ナビゲーション: 関連するノートをリンクするトピックマップ (15 件のマップ)

Skill ごとのコンサルテーションプロセス

評価対象の各 skill について:

  1. 現在の Vault skill を読み込む — その完全なアプローチ、品質ゲート、エッジケースの処理を理解します。

  2. 関連する知識ベースドキュメントを読み込む:

    • この skill のドメインに関する研究の主張 (例: /{vocabulary.reduce} の場合: 抽出方法論に関する主張)
    • 処理パイプラインのベストプラクティスに関するガイダンスドキュメント
    • skill の運用パターンに関するリファレンスドキュメント
  3. テキストではなく方法論を比較する:

    • skill は、知識ベースが推奨する品質ゲートを実装していますか?
    • skill は、知識ベースが特定するエッジケースを処理していますか?
    • skill は、知識ベースが推奨する発見/検索パターンを使用していますか?
    • 知識ベースは、この skill が生成されてから新しいテクニックを追加しましたか?
  4. 各調査結果を分類する:

    | 分類 |

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Runtime Configuration (Step 0 — before any processing)

Read these files to configure domain-specific behavior:

  1. ops/derivation-manifest.md — vocabulary mapping, platform hints

    • Use vocabulary.notes for the notes folder name
    • Use vocabulary.note / vocabulary.note_plural for note type references
    • Use vocabulary.reduce for the extraction verb
    • Use vocabulary.reflect for the connection-finding verb
    • Use vocabulary.reweave for the backward-pass verb
    • Use vocabulary.verify for the verification verb
    • Use vocabulary.rethink for the meta-cognitive verb
    • Use vocabulary.topic_map for MOC references
  2. ops/config.yaml — processing depth, domain context

  3. ops/derivation.md — derivation state and engine version

If these files don't exist, use universal defaults.

EXECUTE NOW

Target: $ARGUMENTS

Parse immediately:

  • If target contains a specific skill name (e.g., "upgrade reduce"): check only that skill
  • If target contains "--all": check all generated skills
  • If target is empty: check all generated skills (same as --all)

START NOW. Reference below defines the upgrade process.


Why Consultation, Not Hashing

Skills do not upgrade through hash comparison against a generation manifest. Hash comparison answers a narrow question: "Has this file changed?" Meta-skill consultation answers the right question: "Is this skill's approach still the best approach given what we know?"

A skill could be unchanged but outdated because the knowledge base has grown. Or a skill could be heavily edited by the user but already incorporate the latest thinking through a different path. Reasoning about methodology is more valuable than diffing bytes.


Two Upgrade Paths

Generated skills and meta-skills follow fundamentally different upgrade mechanisms:

Category Skills Upgrade Mechanism
Generated skills /{vocabulary.reduce}, /{vocabulary.reflect}, /{vocabulary.reweave}, /{vocabulary.verify}, /ralph, /next, /remember, /{vocabulary.rethink}, /stats, /graph, /tasks, /refactor, /learn, /recommend, /ask Runtime consultation with knowledge graph
Meta-skills /setup, /architect, /health, /reseed, /add-domain, /help, /tutorial, /upgrade Plugin release cycle — update the plugin itself

/upgrade evaluates generated skills. It cannot evaluate itself or other meta-skills — that is the plugin maintainers' responsibility.


Step 1: Inventory Current System

Gather the vault's current state:

  1. Read ops/derivation.md for:

    • Original derivation state
    • Engine version that generated the system
    • Domain description and dimensional positions
  2. Read ops/generation-manifest.yaml (if exists) for:

    • Skill versions and generation timestamps
    • Which plugin version generated each skill
  3. List all installed skills:

    # Find all skill directories with SKILL.md
    for dir in .claude/skills/*/; do
      skill=$(basename "$dir")
      version=$(grep '^version:' "$dir/SKILL.md" 2>/dev/null | head -1 | awk -F'"' '{print $2}')
      gen_from=$(grep '^generated_from:' "$dir/SKILL.md" 2>/dev/null | head -1 | awk -F'"' '{print $2}')
      echo "$skill  v$version  (from $gen_from)"
    done
  4. Read ops/config.yaml for current dimensional positions

  5. Check for user modifications:

    # Detect skills modified after generation
    for dir in .claude/skills/*/; do
      skill=$(basename "$dir")
      file="$dir/SKILL.md"
      [[ ! -f "$file" ]] && continue
      # Check git status — modified files indicate user customization
      git_status=$(git status --porcelain "$file" 2>/dev/null)
      if [[ -n "$git_status" ]]; then
        echo "MODIFIED: $skill"
      fi
    done

Present inventory:

--=={ upgrade : inventory }==--

System: {domain description}
Engine: arscontexta-{version}
Skills: {count} installed ({modified_count} user-modified)

  Skill               Version  Generated From    Modified
  /{vocabulary.reduce}    1.0  arscontexta-v1.6  no
  /{vocabulary.reflect}   1.0  arscontexta-v1.6  yes
  ...

Step 2: Consult Knowledge Base

For each generated skill (or the specific skill if targeted), consult the plugin's bundled knowledge base to evaluate whether the skill's current approach reflects current best practices.

Knowledge Base Tiers

Read from the plugin's four content tiers:

Tier Path What It Contains
Methodology graph ${CLAUDE_PLUGIN_ROOT}/methodology/ All content — filter by kind: field (research/guidance/example)
Reference docs ${CLAUDE_PLUGIN_ROOT}/reference/ WHAT — structured reference documents and dimension maps

Notes in methodology/ are differentiated by their kind: frontmatter field:

  • kind: research — WHY: principles and cognitive science grounding (213 claims)
  • kind: guidance — HOW: operational procedures and best practices (9 docs)
  • kind: example — WHAT IT LOOKS LIKE: domain compositions (12 examples)
  • type: moc — Navigation: topic maps linking related notes (15 maps)

Consultation Process Per Skill

For each skill being evaluated:

  1. Read the current vault skill — understand its complete approach, quality gates, edge case handling

  2. Read relevant knowledge base documents:

    • Research claims about this skill's domain (e.g., for /{vocabulary.reduce}: claims about extraction methodology)
    • Guidance docs about processing pipeline best practices
    • Reference docs about the skill's operational patterns
  3. Compare methodology, not text:

    • Does the skill implement the quality gates the knowledge base recommends?
    • Does it handle edge cases the knowledge base identifies?
    • Does it use the discovery/search patterns the knowledge base recommends?
    • Has the knowledge base added new techniques since this skill was generated?
  4. Classify each finding:

    Classification Meaning Example
    Current Skill reflects knowledge base best practices No action needed
    Enhancement Knowledge base adds technique the skill lacks New quality gate, better search pattern
    Correction Knowledge base contradicts skill's approach Outdated methodology, known anti-pattern
    Extension Knowledge base covers scenario skill ignores New edge case, new domain pattern
  5. Check user modifications: If the skill has been modified by the user, read both the current (user-modified) version and evaluate whether:

    • The user's changes already incorporate the improvement (skip it)
    • The user's changes are orthogonal to the improvement (can coexist)
    • The user's changes conflict with the improvement (flag for side-by-side review)

Step 3: Generate Upgrade Plan

For each skill with available improvements, create a structured proposal:

Skill: /{domain:skill-name}
Status: {current | enhancement | correction | extension}
User-modified: {yes | no}

Current approach:
  {2-3 sentences describing what the skill currently does}

Proposed improvement:
  {2-3 sentences describing what would change}

Research backing:
  {Specific claims from the knowledge base that support this change}
  - "{claim title}" — {how it applies}
  - "{claim title}" — {how it applies}

Impact: {what changes for the user's workflow}
Risk: low | medium | high
Reversible: yes (previous version archived to ops/skills-archive/)

Risk Assessment

Risk Level Criteria
Low Additive change (new quality gate, better logging). Existing behavior unchanged.
Medium Modified behavior (different extraction strategy, changed search pattern). Output quality affected.
High Structural change (different phase ordering, changed handoff format). Pipeline coordination affected.

Side-by-Side for User-Modified Skills

When a skill has been modified by the user AND an upgrade is available, show a side-by-side comparison:

Skill: /{domain:skill-name} (USER-MODIFIED)

Your version:                     Recommended:
  [relevant section excerpt]        [what knowledge base suggests]

Your customization:
  {description of what the user changed and why it appears intentional}

Options:
  (a) Keep your version unchanged
  (b) Apply upgrade, preserving your customizations
  (c) Apply upgrade, replacing your version (archived to ops/skills-archive/)

Option (b) requires the upgrade to be compatible with the user's changes. If they conflict, explain why and recommend (a) or (c).


Step 4: Present Plan

--=={ upgrade }==--

Plugin: arscontexta-{current_version}
Knowledge base: {count} research claims, {count} guidance docs
Skills checked: {count}

Upgrades available: {count}
  Enhancements: {n}  |  Corrections: {n}  |  Extensions: {n}

  1. /{domain:skill-name}
     Type: Enhancement
     Change: {one-line summary}
     Research: "{claim title}"
     Risk: low

  2. /{domain:skill-name} (USER-MODIFIED)
     Type: Correction
     Change: {one-line summary}
     Research: "{claim title}", "{claim title}"
     Risk: medium
     Note: Side-by-side comparison available

  ...

{If no upgrades:}
  All {count} skills reflect current best practices.
  No upgrades needed.

Apply all? Select specific upgrades (e.g., "1, 3")?
Or "show 2" for side-by-side detail on a specific skill.

Wait for user response. Do NOT proceed without explicit approval.


Step 5: Apply Approved Upgrades

For each approved upgrade:

5a. Archive Current Version

mkdir -p ops/skills-archive
SKILL_NAME="{skill-name}"
DATE=$(date +%Y-%m-%d)
cp ".claude/skills/${SKILL_NAME}/SKILL.md" \
   "ops/skills-archive/${SKILL_NAME}-${DATE}.md"

5b. Generate Updated Skill

  1. Read the skill's generation block from the plugin (if available)
  2. Apply the specific improvements identified in Step 2
  3. Preserve the user's vocabulary transformation from ops/derivation-manifest.md
  4. Preserve the user's dimensional positions from ops/config.yaml
  5. For user-modified skills with option (b): merge the user's customizations into the updated skill

5c. Update Version Tracking

Update the skill's frontmatter:

---
version: "{incremented}"
generated_from: "arscontexta-{current_plugin_version}"
---

5d. Update Generation Manifest

If ops/generation-manifest.yaml exists, update the entry for this skill:

skills:
  {skill-name}:
    version: "{new_version}"
    upgraded: "{ISO 8601 UTC}"
    upgrade_source: "knowledge-graph-consultation"
    changes: "{brief description of what changed}"

Step 6: Validate

After applying all approved upgrades:

  1. Kernel validation — run kernel checks to confirm structural invariants hold:

    # Verify skill files are valid
    for dir in .claude/skills/*/; do
      [[ -f "$dir/SKILL.md" ]] || echo "MISSING: $dir/SKILL.md"
    done
  2. Context file check — verify all skill references in the context file still resolve

  3. Vocabulary check — confirm upgraded skills use domain vocabulary consistently:

    # Spot-check that vocabulary markers were resolved
    grep -l '{vocabulary\.' .claude/skills/*/SKILL.md 2>/dev/null
    # Should return nothing — all markers should be resolved
  4. Pipeline compatibility — if pipeline skills were upgraded (/{vocabulary.reduce}, /{vocabulary.reflect}, /{vocabulary.reweave}, /{vocabulary.verify}), verify handoff format compatibility with /ralph


Final Report

--=={ upgrade complete }==--

Applied: {N} upgrades
Archived: {N} previous versions to ops/skills-archive/
Skipped: {N} (user-modified, kept as-is)

Changes:
  - /{skill}: {what changed} (Research: "{claim}")
  - /{skill}: {what changed} (Research: "{claim}")

Validation: {PASS | FAIL with details}

{If any validation failed:}
  WARNING: Validation issue detected.
  Previous versions available in ops/skills-archive/
  for manual rollback.

Note: Run /{vocabulary.verify} on a recent {vocabulary.note}
to confirm upgraded skills work correctly in practice.

INVARIANT

/upgrade never auto-implements. The upgrade plan is always presented to the user first. The user decides which upgrades to apply. This prevents the cognitive outsourcing failure mode where the system changes itself without human understanding.

All upgrades are advisory. The user owns the files.


Edge Cases

No improvements available: Report "All skills reflect current best practices. No upgrades needed." with the count of skills checked.

No generation manifest: Treat all skills as version 0 (unknown generation state). Compare methodology against current knowledge base. This is fine — consultation reasons about approach, not version numbers.

Skill has been user-modified: Present the side-by-side comparison. Offer three options: keep user version, merge upgrade with customizations, or replace (with archive). Never silently overwrite.

No ops/derivation-manifest.md: Use universal vocabulary for all output.

Plugin knowledge base unavailable: Report that knowledge base consultation requires the Ars Contexta plugin. Without the plugin's bundled methodology/ and reference/ directories, /upgrade cannot evaluate skills.

User rejects upgrades consistently: This is a signal, not an error. Note the pattern — it may indicate the knowledge base recommendations don't match this user's domain. Log to ops/observations/ if it persists across multiple /upgrade runs.

Correction conflicts with user modification: When the knowledge base identifies a correction (not just enhancement) but the user has modified the skill, explain the conflict clearly. The user may have modified the skill precisely because the original approach was wrong — their fix may already address the correction. Show both and let the user decide.

Multiple skills share a change: If the same knowledge base improvement applies to several skills (e.g., a new search pattern), present it as a single conceptual change affecting multiple skills rather than listing it redundantly per skill.