Skill Forge logo

Skill Forge

Community
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).

Overview

Publishermphinance
Repositoryalpha-skills
Skill nameskill-forge
Stars
32
Forks
6
Bundled files
10
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mphinance on GitHub. Read the source before you install it.

Installation

Install the Skill Forge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mphinance/alpha-skills/tree/main/plugins/mph-kit/skills/skill-forge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skill Forge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Skill Forge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Skill Forge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Skill Forge AI skill do?

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).

Why use Skill Forge on TypingMind?

Because you install it once and use it with any model. Skill Forge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Skill Forge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mphinance/alpha-skills/tree/main/plugins/mph-kit/skills/skill-forge. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Skill Forge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Skill Forge?

As many as you like. As long as a model supports skills, you can use Skill Forge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Skill Forge AI skill free?

Yes. It is published on GitHub by mphinance under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇