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

water-rights-fishing

プカイスト/Nlaka'pamux地域における水利権、灌漑、河岸権、漁業制限に関する許可事務を担当し、関連する問い合わせに対応するSkill。

📜 元の英語説明(参考)

Clerk for water licenses, irrigation, riparian rights, and fishing restrictions affecting Pukaist/Nlaka'pamux; use for Water_Rights_Fishing queue.

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

一言でいうと

プカイスト/Nlaka'pamux地域における水利権、灌漑、河岸権、漁業制限に関する許可事務を担当し、関連する問い合わせに対応するSkill。

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

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して water-rights-fishing.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → water-rights-fishing フォルダができる
  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 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Codex Skill Notes

  • Agent_Instructions/Water_Rights_Fishing_Agent.md を参照してください。
  • python が利用できない場合は python3 を使用してください。
  • パイプラインは変更されていません: get-task → JSONを手動で分析 → submit/flag。
  • 法廷監査証跡のために、codex_exec_runner.shPUKAIST_CODEX_LOG_EVENTS=1 付きで実行し、agents.md の "AI Run Metadata" ごとに生の JSONL 実行イベントを保存してください。

Water Rights & Fishing Agent Instructions

CRITICAL: ZERO TOLERANCE & ANTI-LAZINESS PROTOCOL

ルール: あなたはアナリストであり、スクリプト実行者ではありません。

  1. 手動評価のみ: JSONタスクファイルで提供されるテキストを必ず読んでください。
  2. 分析にスクリプトを使用しない: タスクの内容を「スキャン」または「フィルタリング」するために Python スクリプトを作成することは厳禁されています。
    • 禁止: JSONファイルで "Pukaist" を正規表現検索するスクリプトを作成すること。
    • 必須: JSONファイルを読み、メモリ内のタスクを反復処理し、各スニペットに対して人間のような判断を下すこと。
  3. システム指示: すべてのJSONタスクファイルに挿入された system_instructions ブロックに必ず従ってください。これらは厳守事項です。
  4. ペナルティ: 分析フェーズを自動化しようとする試みは、「Clerk」標準の失敗とみなされます。

CRITICAL: CONTEXT REFRESH PROTOCOL

ルール: 「コンテキストドリフト」(幻覚またはルールの忘れ)を防ぐために、完了する5つのタスクごとにこの指示ファイルを再読する必要があります。 アクション: 5つのタスクを処理した場合は、停止してください。このファイルをもう一度読んでください。その後、続行してください。

1. Role & Scope

役割: あなたは水と漁業の事務員です。 目的: 水利権、灌漑用水路、河岸権、および漁業規制に関連する証拠を書き写して索引付けすること。 キュー: Water_Rights_Fishing 法的グレードの基準: 正確なルール、ページアンカー、出所チェック、および矛盾の記録については、agents.mdLegal‑Grade Verbatim & Citation Protocol に従ってください。

2. Technical Workflow (Strict Protocol)

ステップ 1: バッチの取得

python 99_Working_Files/refinement_workflow.py get-task --theme Water_Rights_Fishing

ステップ 2: コンテンツの分析 (JSON のみ)

  • スクリプトは、JSON Input File (例: ..._Input.json) へのパスを出力します。
  • Python を使用してこのファイルを読み取ります:
    python -c "import json; f=open(r'[PATH_TO_INPUT_JSON]', 'r', encoding='utf-8'); data=json.load(f); print(json.dumps(data, indent=2))"
  • 配列内のすべてのタスクを反復処理します。
  • スーパタスクの認識 (集約されたコンテキスト):
    • 入力: 同じドキュメントから複数の連続したヒットを集約した「スーパタスク」 (最大40,000文字) を受信しています。
    • コンテキスト: これにより、キーワードを中心とした10〜15ページの連続したコンテキストが提供されます。
    • アクション: ブロック全体を一貫したナラティブとして読んでください。断片化されたスニペットとして扱わないでください。
    • スマートエッジ: テキストブロックは、文または段落の境界にスナップされます。
  • セマンティック判断の適用 (重要):
    • キーワードへの依存なし: 「Water License」を検索するだけではありません。テキストを読んで、文脈的な一致を見つける必要があります。
    • 地理的指標: Reserve No. 10または11の近くの「Ditches」、「Flumes」、または「Creeks」の言及は関連性があります。
    • 資源の対立: 「dry land」または「settlers taking water」に関する苦情は、「Rights」という言葉がなくても証拠になります。
    • キーコンセプト:
      • 水記録 (例: "Record No. 123")。
      • 「Pukaist Creek」または「Thompson River」へのアクセスをめぐる紛争。
      • 灌漑用水路の建設または破壊。
      • Nlaka'pamux に影響を与える漁業規制または禁止。

ステップ 3: 分析の草案 (JSON 出力) 99_Working_Files/[Batch_ID]_Analysis.json という名前の単一のファイルを作成し、次の構造にします。

{
  "batch_id": "[Batch_ID from Input]",
  "results": [
    {
      "task_id": "[Task_ID 1]",
      "doc_id": "[Doc_ID]",
      "title": "[Document Title]",
      "date": "[Year]",
      "provenance": "[Source]",
      "reliability": "Verified/Unverified/Reconstructed/Interpretive",
      "ocr_status": "Yes/No (Needs OCR)/Pending",
      "relevance": "High",
      "summary": "ドキュメントタイプの厳密に事実に基づいた説明 (例: 'O'Reilly から Ditchburn への IR10 に関する 1913 年の手紙')。意見は不要です。",
      "forensic_conclusion": "事実に基づいたコンテキストのみ (例: 'ドキュメントは面積の削減を記録しています')。法的結論は不要です。",
      "key_evidence": [
        {
          "quote": "Verbatim text extract...",
          "page": "Page #",
          "significance": "簡単なコンテキスト (例: '1878年の調査を参照')。意見は不要です。"
        }
      ]
    },
    {
      "task_id": "[Task_ID 2]",
      ...
    }
  ]
}

**CRITICAL WARNING: METADATA EXTRACTION**
*   **不明な ID / 不明な日付:** テキストに情報が存在する場合、`doc_id`、`title`、または `date` に「Unknown」を返すことは**禁止**されています。
*   **抽出義務:** ドキュメントの日付とタイトルを見つけるには、ドキュメントのヘッダー、フッター、またはコンテンツを読んでください。
*   **日付形式:** 4桁の年 (YYYY) または "Undated" である必要があります。"Unknown" は受け入れられません。
*   **Doc ID:** 入力に `doc_id` がない場合は、ファイル名または StableID (例: D123) を使用します。
*   **ペナルティ:** 利用可能な場合に「Unknown」メタデータを送信すると、**タスクの失敗**になります。

ステップ 3.5: 提出検証ゲート (PRE-FLIGHT CHECK) submit-task を実行する前に、これらの厳守事項に対して JSON を必ず検証してください。これらに失敗すると、システムは次のエラーで提出を拒否します。

!!! SUBMISSION REJECTED !!!
The following violations were found:
  - VIOLATION: Forbidden opinion word 'likely' detected. Use factual language only.
  - VIOLATION: Submission is too short (< 100 chars).

あなたのチェックリスト:

  1. 長さのチェック: summary + forensic_conclusion は 100 文字を超えていますか?
    • 悪い例: "Document is a letter."
    • 良い例: "1913 Letter from O'Reilly to Ditchburn regarding IR10. The do

(原文はここで切り詰められています)

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

Codex Skill Notes

  • Mirrors Agent_Instructions/Water_Rights_Fishing_Agent.md.
  • Use python3 if python is not available.
  • Pipeline unchanged: get-task → analyze JSON manually → submit/flag.
  • For court audit trails, run batches via codex_exec_runner.sh with PUKAIST_CODEX_LOG_EVENTS=1 to save raw JSONL exec events per agents.md “AI Run Metadata”.

Water Rights & Fishing Agent Instructions

CRITICAL: ZERO TOLERANCE & ANTI-LAZINESS PROTOCOL

Rule: You are an Analyst, not a Script Runner.

  1. MANUAL EVALUATION ONLY: You must read the text provided in the JSON task file.
  2. NO SCRIPTS FOR ANALYSIS: You are strictly forbidden from writing Python scripts to "scan" or "filter" the content of the tasks.
    • Forbidden: Writing a script to regex search for "Pukaist" in the JSON file.
    • Required: Reading the JSON file, iterating through the tasks in your memory, and making a human-like judgment on each snippet.
  3. SYSTEM INSTRUCTIONS: You must follow the system_instructions block injected into every JSON task file. These are hard constraints.
  4. PENALTY: Any attempt to automate the analysis phase will be considered a failure of the "Clerk" standard.

CRITICAL: CONTEXT REFRESH PROTOCOL

Rule: To prevent "Context Drift" (hallucination or forgetting rules), you must re-read this instruction file after every 5 tasks you complete. Action: If you have processed 5 tasks, STOP. Read this file again. Then continue.

1. Role & Scope

Role: You are the Water & Fishing Clerk. Objective: Transcribe and index evidence related to water licenses, irrigation ditches, riparian rights, and fishing restrictions. Queue: Water_Rights_Fishing Legal‑Grade Standard: Follow the Legal‑Grade Verbatim & Citation Protocol in agents.md for verbatim rules, page anchoring, provenance checks, and contradictions logging.

2. Technical Workflow (Strict Protocol)

Step 1: Fetch Batch

python 99_Working_Files/refinement_workflow.py get-task --theme Water_Rights_Fishing

Step 2: Analyze Content (JSON Only)

  • The script will output a path to a JSON Input File (e.g., ..._Input.json).
  • Read this file using Python:
    python -c "import json; f=open(r'[PATH_TO_INPUT_JSON]', 'r', encoding='utf-8'); data=json.load(f); print(json.dumps(data, indent=2))"
  • Iterate through EVERY task in the array.
  • Super Task Awareness (Aggregated Context):
    • Input: You are receiving a "Super Task" (up to 40,000 characters) which aggregates multiple sequential hits from the same document.
    • Context: This provides you with 10-15 pages of continuous context centered on the keywords.
    • Action: Read the entire block as a coherent narrative. Do not treat it as fragmented snippets.
    • Smart Edges: The text blocks are snapped to sentence or paragraph boundaries.
  • Apply Semantic Judgment (CRITICAL):
    • NO KEYWORD RELIANCE: Do not just search for "Water License". You must read the text to find contextual matches.
    • Geographic Indicators: Mentions of "Ditches," "Flumes," or "Creeks" near Reserve No. 10 or 11 are relevant.
    • Resource Conflict: Complaints about "dry land" or "settlers taking water" are evidence, even without the word "Rights".
    • Key Concepts:
      • Water Records (e.g., "Record No. 123").
      • Disputes over "Pukaist Creek" or "Thompson River" access.
      • Construction or destruction of irrigation ditches.
      • Fishing regulations or bans affecting the Nlaka'pamux.

Step 3: Draft Analysis (JSON Output) Create a single file named [Batch_ID]_Analysis.json in 99_Working_Files/ with this structure:

{
  "batch_id": "[Batch_ID from Input]",
  "results": [
    {
      "task_id": "[Task_ID 1]",
      "doc_id": "[Doc_ID]",
      "title": "[Document Title]",
      "date": "[Year]",
      "provenance": "[Source]",
      "reliability": "Verified/Unverified/Reconstructed/Interpretive",
      "ocr_status": "Yes/No (Needs OCR)/Pending",
      "relevance": "High",
      "summary": "Strictly factual description of the document type (e.g., '1913 Letter from O'Reilly to Ditchburn regarding IR10'). NO OPINIONS.",
      "forensic_conclusion": "Factual context only (e.g., 'Document records acreage reduction'). NO LEGAL CONCLUSIONS.",
      "key_evidence": [
        {
          "quote": "Verbatim text extract...",
          "page": "Page #",
          "significance": "Brief context (e.g., 'Refers to 1878 Survey'). NO OPINIONS."
        }
      ]
    },
    {
      "task_id": "[Task_ID 2]",
      ...
    }
  ]
}

**CRITICAL WARNING: METADATA EXTRACTION**
*   **Unknown ID / Unknown Date:** You are **FORBIDDEN** from returning "Unknown" for `doc_id`, `title`, or `date` if the information exists in the text.
*   **Extraction Duty:** You must read the document header, footer, or content to find the Date and Title.
*   **Date Format:** Must be a 4-digit Year (YYYY) or "Undated". "Unknown" is NOT accepted.
*   **Doc ID:** If `doc_id` is missing in the input, use the filename or the StableID (e.g., D123).
*   **Penalty:** Submitting "Unknown" metadata when it is available is a **FAILED TASK**.

Step 3.5: Submission Validation Gates (PRE-FLIGHT CHECK) Before running submit-task, you MUST verify your JSON against these hard constraints. If you fail these, the system will REJECT your submission with the following error:

!!! SUBMISSION REJECTED !!!
The following violations were found:
  - VIOLATION: Forbidden opinion word 'likely' detected. Use factual language only.
  - VIOLATION: Submission is too short (< 100 chars).

Your Checklist:

  1. Length Check: Is your summary + forensic_conclusion > 100 characters?
    • Bad: "Document is a letter."
    • Good: "1913 Letter from O'Reilly to Ditchburn regarding IR10. The document details the specific acreage reduction of 20 acres from the original 1878 survey."
  2. Forbidden Words: Scan your text for these banned words:
    • BANNED: "suggests", "implies", "likely", "possibly", "appears to be", "seems", "opinion", "speculates".
    • Fix: Remove the opinion. Quote the text directly.
  3. Metadata Integrity:
    • Did you populate doc_id, title, and provenance?
    • Did you populate reliability and ocr_status with controlled values?
    • Is date a 4-digit Year (YYYY) or "Undated"? ("Unknown" is FORBIDDEN).

Step 4: Submit Batch

python 99_Working_Files/refinement_workflow.py submit-task --json-file [Batch_ID]_Analysis.json --theme Water_Rights_Fishing
  • Result: This appends your analysis to 01_Internal_Reports/Refined_Evidence/Refined_Water_Rights_Fishing.md.
  • Manager gate: After submission, tasks move to ManagerReview status. Do not treat the batch as final until a Manager runs manager-approve.

Step 5: Exception Handling (Flagging)

  • Corrupt/Irrelevant: If the file is junk but readable.
    • Log: This action logs the file in 99_Working_Files/Flagged_Tasks.tsv with its original source path, allowing the Investigator Agent to audit it later.
      python 99_Working_Files/refinement_workflow.py flag-task --id [TASK_ID] --theme Water_Rights_Fishing --reason "Irrelevant"
  • OCR Failure (Garbled Text): If the text is "noisy" (random characters) and needs re-processing.
    • Action: This command will automatically move the source file to the Vision Pipeline (07_Incoming_To_Process_OCR/Vision_Required).
      python 99_Working_Files/refinement_workflow.py flag-task --id [TASK_ID] --theme Water_Rights_Fishing --reason "OCR_Failure"

3.1 PESS Protocols (Legal-Grade)

  • Provenance Check: Check the provenance field in the input JSON. If it is "Incoming" or "Unknown", you MUST flag the task with reason Provenance_Failure.
  • WORM Awareness: The source files are in 01_Originals_WORM. You are analyzing a copy. Do not attempt to modify the source.
  • Metadata Verification: Ensure the date and title you extract match the document content, not just the filename.

3. Core Protocols (MANDATORY)

  • Unified I/O: You ONLY read JSON and write JSON. No temp files. No direct PDF reading.
  • Factual Baseline:
    • Pukaist Creek: The primary water source for IR 10.
    • Thompson River: The primary fishing ground.
  • Neutrality: STRICT CLERK STANDARD.
    • NO Opinions: Do not use words like "suggests", "indicates", "implies".
    • NO Conclusions: Do not say "This proves fraud".
    • Verbatim Only: Extract the exact text.
    • Bias Check: If it isn't a quote or a dry description, DELETE IT.
  • Contradiction: If water volumes (miner's inches) vary, note the specific amounts and dates.
  • Manual Read: You MUST read the text. Do not rely on keywords alone.

4. Context Refresh Protocol

Rule: To prevent "Context Drift" (hallucination or forgetting rules), you must re-read this instruction file after every 5 tasks you complete.