Agents Progressive Disclosureのロゴ

Agents Progressive Disclosure

コミュニティ
Caph-dev
agents-progressive-disclosure

Refactor bloated AGENTS.md/CLAUDE.md-style instruction files into a compact router plus focused on-demand docs. Use when users ask to apply progressive disclosure, split agent rules into docs, reduce instruction bloat, or turn one large rule file into an entrypoint.

概要

公開者Caph-dev
リポジトリagents-progressive-disclosure
スキル名agents-progressive-disclosure
スター
75
フォーク
2
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Caph-devがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAgents Progressive DisclosureをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Caph-dev/agents-progressive-disclosure/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Caph-dev/agents-progressive-disclosure.git \
  .claude/skills/agents-progressive-disclosure
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAgents Progressive Disclosureを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAgents Progressive Disclosureを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Agents Progressive Disclosureは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Agents Progressive Disclosure

Use this skill to convert a long agent instruction file into a high-signal entrypoint that routes to focused documentation files. The goal is to preserve rules while reducing always-loaded context.

Core Model

Treat the root instruction file as a router, not a rule warehouse.

  • The entry file keeps only high-frequency, long-lived, must-always-apply rules.
  • Detailed task-specific rules move into docs/ files.
  • The entry file includes a clear “read this doc when...” index.
  • The agent should load only the docs relevant to the current task.

Workflow

  1. Identify the target instruction file.

    • Prefer the current directory's AGENTS.md unless the user names another file.
    • Also support CLAUDE.md, GEMINI.md, or project-specific equivalents.
    • If multiple candidates exist and the user did not specify one, report the candidates and choose the file most broadly used by the current agent setup; ask only when that choice is unclear or risky.
  2. Inspect existing structure.

    • Read the target file fully.
    • List existing docs/ files, if any.
    • Check for backups before editing.
  3. Detect contradictions before classification.

    • Scan for conflicting style rules, package-manager choices, test commands, safety boundaries, precedence statements, or duplicated rules with different wording.
    • Resolve contradictions from explicit user instructions, nearest instruction-file priority, or clear local evidence when possible.
    • Ask the user only when a contradiction affects the refactor and cannot be resolved from available evidence.
  4. Classify rules into buckets.

    • Keep in entrypoint: language defaults, safety boundaries, tool priority, conflict priority, and critical must-always-follow rules.
    • Move to docs: command catalogs, search strategies, framework-specific instructions, package-manager rules, environment setup, Git workflow, deployment, testing, document style, domain terminology, long examples.
  5. Design the docs map.

    • Prefer the project's existing agent-doc convention; otherwise default to docs/ for cross-agent portability.
    • Existing conventions may include .claude/, .claude/rules/, .cursor/rules/, or another agent-doc directory.
    • Use existing document names when they already fit; otherwise derive focused names from the source rule clusters.
    • Preserve platform-specific file formats, required frontmatter, imports, path globs, and file extensions.
    • Create docs/README.md only when it helps navigate multiple docs.
  6. Edit conservatively.

    • Create a same-directory backup with a non-overwriting name before replacing the target file.
    • Rewrite the entrypoint as a compact router with:
      • scope statement;
      • core principles;
      • on-demand docs index;
      • always-on safety/tool rules;
      • precedence rules.
    • Move detailed rules into docs without changing their intent.
    • Avoid duplicating the same long rule in multiple places.
  7. Validate preservation.

    • Create a short preservation checklist that maps each original rule category to its new location, one verification keyword or heading, and a pass/fail result.
    • Treat the checklist as temporary validation work; do not write it into the repo unless the user asks or the project already has a migration-note convention.
    • Compare line counts before and after.
    • Search for checklist keywords from the original file across the new entrypoint and routed docs or rules files.
    • Verify the entrypoint tells future agents when to read each doc.
    • Check that no doc contradicts the entrypoint.

Suggested Entrypoint Shape

md
# Agent Instructions

> Scope: This file is the entrypoint. It keeps only always-on rules; task details live in docs/.

## Core Principles

- [language/default behavior]
- [safety boundary]
- [primary tool or evidence policy]
- [this file is a router, not a warehouse]

## Read-On-Demand Index

| Task type | Read first | Trigger |
| --- | --- | --- |
| [rule cluster] | `[focused-doc]` | [when to read it] |
| [rule cluster] | `[focused-doc]` | [when to read it] |

## Always-On Rules

- [short critical rules]

## Priority

1. User's current explicit instruction.
2. Nearest project instruction file.
3. This file.
4. Routed docs details.

Validation Commands

Use commands compatible with the current environment, replacing placeholders with the actual target file, routed docs/rules files, and preservation-checklist keywords. The examples below use POSIX-style shell commands; adapt them for Windows or other shells when needed.

zsh
find <docs-dir> -maxdepth 1 -type f -print | sort
wc -l <target-file> <routed-docs...>
rg -n '<checklist-keyword>|<another-checklist-keyword>' <target-file> <routed-docs...>
sed -n '1,180p' <target-file>

Choose checklist keywords from the source file, not from this template.

Guardrails

  • Do not delete rules merely because they are verbose; move them to the right doc.
  • Do not bury safety-critical rules only in a routed doc.
  • Do not create many tiny docs with overlapping responsibilities.
  • Do not add project-specific opinions that were not in the source file unless the user asks.
  • Do not claim installation into Codex unless you actually copy or install the skill into the active skills directory and verify it.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Agents Progressive Disclosure」では何ができますか?

Refactor bloated AGENTS.md/CLAUDE.md-style instruction files into a compact router plus focused on-demand docs. Use when users ask to apply progressive disclosure, split agent rules into docs, reduce instruction bloat, or turn one large rule file into an entrypoint.

TypingMindでAgents Progressive Disclosureを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Agents Progressive Disclosureはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAgents Progressive Disclosureをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Caph-dev/agents-progressive-disclosure/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Agents Progressive Disclosureを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Agents Progressive Disclosureは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAgents Progressive Disclosureを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Agents Progressive Disclosure」は無料ですか?

Caph-devがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇