Skill Auditのロゴ

Skill Audit

組織人気
udecode
skill-audit

Audit custom skills, playbooks, AGENTS.md rules, sync-pstack assets, and pstack overrides for drift, overlap, dead routes, and size-budget bloat across any project or ustack itself.

概要

公開者udecode
リポジトリustack
スキル名skill-audit
スター
1.2K
フォーク
82
同梱ファイル
2
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/udecode/ustack.git /tmp/ustack
mkdir -p .claude/skills
cp -r /tmp/ustack/skills/skill-audit .claude/skills/skill-audit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Skill audit

Keep skills, playbooks, rules, and pstack overrides tight and non-overlapping. A skill or rule stays only when it holds domain knowledge pstack cannot have, or does a job pstack does not do.

Stay read-only until the owner approves cuts, unless the request explicitly asks to apply them.

Run the scanner

sh
node <skill>/scripts/audit.mjs <target> [--json] [--min <score>]

Works on a pstack-managed project, a plain repo with custom skills or playbooks, or udecode/ustack itself. It reports project and user-scope skill inventory, typed counts, route counts, stale ustack copies, size budgets, oversized workflow scripts, retired infrastructure references, unmarked block rules, and candidate overlaps.

Surfaces

Audit every surface present in <target>:

  1. Custom project skills and rules: .agents/rules/*.mdc plus .agents/rules/<name>/, .agents/skills/* (including scripts/), and workflow guides named in AGENTS.md (judge each guide as a restatement of the block, like a skill that copies it).
  2. Project playbooks: .agents/playbooks/*.md against upstream pstack base playbooks (poteto-mode/playbooks/*.md).
  3. pstack overrides: the AGENTS.md pstack:begin/pstack:end block, .agents/pstack/rules/*.md, unmarked rules missing <!-- # overrides -->, <!-- # relies -->, or <!-- # adds -->, and drift from the pinned tag.
  4. sync-pstack and ustack: when auditing udecode/ustack, inspect skills/*/SKILL.md, skills/*/scripts/, skills/sync-pstack/assets/block.md, assets/pstack/rules/*.md, and assets/pstack/*.mjs; check block-budget.mjs, budget-check.mjs, and cross-skill overlap.
  5. Workflow scripts and retired infrastructure: check scripts under tooling/scripts/, .agents/pstack/, .agents/skills/*/scripts/, .agents/rules/*/scripts/, and skills/*/scripts/ against the 500-line cap (excluding *.test.*), and flag references to retired infrastructure (plan-page, Artifact, ccd_session, page-stop, chips.mjs, tasks.mjs) across skills, rules, playbooks, and scripts.

Verdicts

Read each skill's source (.agents/rules/<name>.mdc and its references, not generated .agents/skills/ mirrors) and the closest pstack skill or playbook, then assign one verdict:

  • cut: pstack, the block, or another kept skill already does the job, or nothing uses it. Name the working replacement, every typed command or route that loses its target (record dropped typed commands under dropped in .agents/pstack.json), and where each kept rule lands.
  • fold: domain knowledge stays, but process text owned by pstack or the block goes. Quote each duplicated sentence beside the text that owns it and state whether every copy agrees; send any conflicting copy to the owner as a ruling before offering the fold.
  • encode: a recurring prose rule belongs in a lint, hook, type, or script. Move enforcement into code and delete the prose rule it replaces.
  • keep: holds domain knowledge pstack cannot have or does a job pstack does not do. Name that knowledge.

Rules and safety

  • Record for each verdict which files were read in full and which were only searched.
  • Treat overlap lines as candidates, not verdicts: a sentence can repeat pstack on purpose as a project override.
  • Every unmarked block or rule entry is a finding: state whether it overrides pstack or adds to it.
  • Check every typed count and playbook route before calling a skill unused, because a playbook can load a skill nobody types.
  • Never propose editing a skill installed from another repository; judge it keep or uninstall (npx --yes skills remove).
  • Treat a waiver or gate label that names a retired tool as an owner policy question, not a rename.
  • When proposing a /correct run, list mistakes that reached a commit apart from those an existing check caught.

Size budgets

Flag every file or folder over cap; trim duplicated prose, encode rules into checks, or split references before adding text:

  • Project targets: 14,000 B per playbook or .mdc rule, 70,000 B total .agents/playbooks, 20,000 B per SKILL.md, 40,000 B per skill folder (docs and references), 500 lines per workflow or skill script (tooling/scripts/, .agents/pstack/, .agents/skills/*/scripts/, .agents/rules/*/scripts/, skills/*/scripts/, excluding *.test.*).
  • ustack target: 16,384 B per skills/*/SKILL.md, 100,000 B total skills, 8,192 B per assets/pstack/rules/*.md, 80,000 B total rules, 18,200 B max rendered assets/block.md, 14 helper .mjs files.

Apply and verify

  1. Present candidates via AskUserQuestion (or numbered options in Codex) with typed counts, route counts, and exact rule or gate impact.
  2. Execute approved cuts with a disposition table (old rule -> new home or dropped), add removed typed commands to .agents/pstack.json dropped, update AGENTS.md and project workflow guides, and remove dropped external skills via npx --yes skills remove.
  3. Verify with sync-pstack verify <project> on pstack projects, scripts/validate-skills --all on ustack, and the project's own skill regeneration and check commands.

同梱ファイル

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

よくある質問

AIスキル「Skill Audit」では何ができますか?

Audit custom skills, playbooks, AGENTS.md rules, sync-pstack assets, and pstack overrides for drift, overlap, dead routes, and size-budget bloat across any project or ustack itself.

TypingMindでSkill Auditを使うメリットは何ですか?

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

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

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

Skill Auditを使えるAIモデルはどれですか?

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

Skill Auditで使えるAIモデルの数に制限はありますか?

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

AIスキル「Skill Audit」は無料ですか?

udecodeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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