Skill Forgeのロゴ

Skill Forge

コミュニティ
mphinance
skill-forge

Meta-skill that forges, audits, and refines other skills. Three modes – forge a new skill from a brief, audit recent chat transcripts for new-skill candidates and pain points, or refine an existing skill with additive-only changes. Triggers on "skill-forge a thing that does X", "forge a skill", "skill-forge audit", "skill audit", "refine my skills", "skill-forge refine <name>", or "/skill-forge". Auto-opens a PR against mphinance/alpha-skills (never auto-merges).

概要

公開者mphinance
リポジトリalpha-skills
スキル名skill-forge
スター
32
フォーク
6
同梱ファイル
10
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 10個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

skill-forge

The skill of skills, for skills. Builds new ones, refines existing ones, and mines chat transcripts for what to build next.

When to invoke

Three modes. Pick by what the user says.

ModeTriggersWhat it does
forge"skill-forge a thing that does X", "forge a skill that ...", "build me a skill for ..."Ask 2-3 clarifying questions, scaffold ~/.claude/skills/<name>/SKILL.md from the template, open PR to mphinance/alpha-skills.
audit"skill-forge audit", "skill audit", "/skill-forge", "what skills should I build"Run the miner over ~/.claude/projects/**/*.jsonl, present reports/latest.md, ask which candidates to forge or refine.
refine"refine my skills", "skill-forge refine ", "improve the skill"Propose additive-only changes (new trigger phrase, new example, new section) to an existing skill. Opens PR with diff.

Flow

forge mode

  1. Ask the user 2-3 questions max: skill name (kebab-case), one-sentence purpose, primary trigger phrase. Don't over-interview.
  2. Run the scaffolder.
    python scripts/forge_new.py --name <name> --brief "<one-sentence purpose>"
    The scaffolder reads templates/SKILL.md.tmpl and substitutes {{name}}, {{description}}, {{title}}, {{when_to_invoke}}, {{flow}}, {{hard_rules}}.
  3. Open the freshly written ~/.claude/skills/<name>/SKILL.md. Review with the user. Tighten copy if needed.
  4. Publish.
    python scripts/publish.py <name>
    This clones mphinance/alpha-skills into ~/.cache/skill-forge/alpha-skills if missing, branches skill-forge/<name>-<short-ts>, commits, pushes, opens PR. Prints PR URL. Stop there. User reviews and merges.

audit mode

  1. Run the miner.
    python scripts/mine_chats.py --days 30
  2. Read reports/latest.md aloud (the markdown report) and reports/latest.json (structured candidates).
  3. Present the three sections: new-skill candidates, refinement candidates, pain points. Ask which to act on.
  4. For each chosen new-skill candidate, drop into forge mode with publish.py --from-audit so the PR body cites the mined evidence.
  5. For each chosen refinement candidate, drop into refine mode.

refine mode

  1. Read the target skill's existing SKILL.md in full. You are not allowed to remove or restructure anything.
  2. Propose additions only: new trigger phrase in the frontmatter description, new example, new "When NOT to use" bullet, new flow step.
  3. Write the proposed change to proposals/<skill-name>/CHANGES.diff first. Confirm with the user.
  4. Apply the additive edit to ~/.claude/skills/<skill-name>/SKILL.md.
  5. Publish.
    python scripts/publish.py <skill-name>
    Commit message starts with "Refine skill: ". PR body explains the addition and links the mined evidence.

Hard rules

  • Never auto-merge PRs. publish.py opens the PR. User merges. No gh pr merge ever.
  • Never restructure existing skills in refine mode. Additive-only. If a skill needs a rewrite, that's a new forge, not a refine.
  • Refinements are additive-only. No removed lines beyond pure whitespace. publish.py enforces this in refine mode.
  • Never mine recursively on skill-forge's own sessions. The miner already filters self-references. Don't disable it.
  • Skip SSH transcripts. Project paths starting with ssh- or cwd under /home/ are remote work and not mined.
  • No em dashes. Use en dash with spaces or commas. No emojis in forged skills.
  • stdlib only. Forged skills and skill-forge scripts use Python stdlib, no pip installs.
  • Always go through PR. Never edit files in ~/.cache/skill-forge/alpha-skills/skills/ directly.

Scheduling

The audit is the part you want on a cron. Two options:

  • Preferred – use the /schedule skill.

    /schedule weekly /skill-forge audit

    Runs the audit weekly, writes reports/latest.md, notifies you next session.

  • Free-tier alternative for the miner alone. Wire Windows Task Scheduler to run python C:\Users\mphan\.claude\skills\skill-forge\scripts\mine_chats.py --days 7 on a weekly trigger. Zero tokens spent. You read reports/latest.md when you feel like it, then invoke skill-forge audit interactively to act on candidates.

Forge and refine modes are interactive by design. Don't schedule those.

Out of scope

  • Auto-merging PRs. User merges, always.
  • In-place edits to skills in ~/.claude/skills/ during refine mode. Always go through PR against mphinance/alpha-skills.
  • Mining transcripts from machines other than this one.
  • Forging non-markdown skills (binary plugins, MCP servers, anything that isn't a SKILL.md plus optional scripts).
  • Rewriting or restructuring existing skills. Refinements are additive-only.

同梱ファイル

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

よくある質問

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

Meta-skill that forges, audits, and refines other skills. Three modes – forge a new skill from a brief, audit recent chat transcripts for new-skill candidates and pain points, or refine an existing skill with additive-only changes. Triggers on "skill-forge a thing that does X", "forge a skill", "skill-forge audit", "skill audit", "refine my skills", "skill-forge refine <name>", or "/skill-forge". Auto-opens a PR against mphinance/alpha-skills (never auto-merges).

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

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

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

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

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

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

Skill Forgeは何個のAIモデルで使えますか?

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

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

はい。mphinanceがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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