Skillforge
CLI

Install the compiler.

The Skillforge CLI is open-source (MIT). Run the same extraction pipeline you saw in the demo on any text — Slack thread, Notion page, post-mortem — directly from your terminal.

Run instantly

No install. Just run.

bash
npx @skforge/cli extract slack-thread.txt

Install globally

If you'll use it daily.

bash
npm install -g @skforge/cli
skforge extract slack-thread.txt

Prerequisites

You need an Anthropic API key. Get one at console.anthropic.com. A typical extraction costs about $0.12.

bash
export ANTHROPIC_API_KEY=sk-ant-...

Common workflows

Extract a single file → SKILL.md to stdout

bash
skforge extract path/to/notion-doc.md

Write directly to your Claude Code skills folder

bash
skforge extract slack-thread.txt -d ~/.claude/skills
# Creates ~/.claude/skills/<skill-name>/SKILL.md

Batch a directory

bash
skforge batch ./company-docs -o ./skills --ext .md,.txt

Walks the input directory, extracts a skill from each file, writes them all to ./skills/<name>/SKILL.md.

Pipe from stdin

bash
pbpaste | skforge extract -
# Or:
cat slack-export.txt | skforge extract - --hint "A Slack thread"

Inspect before paying for it

bash
skforge describe my-doc.md
# ✦ Input report:
#   Chars:    1,820
#   Words:    312
#   Est cost: ~$0.13
#   Hint:     An incident post-mortem

Programmatic API

Same extraction pipeline, programmatic access:

typescript
import { forge } from "@skforge/cli";

const result = await forge(text, {
  apiKey: process.env.ANTHROPIC_API_KEY,
  hint: "A Slack thread about pricing exceptions",
  onProgress: (event) => {
    if (event.type === "fact") {
      console.log(`extracted: ${event.fact.statement}`);
    }
  },
});

console.log(result.skill.name);
console.log(result.skill.body);

What you get back

A real SKILL.mdin Claude's Agent Skills format — gerund-form name, third-person description, ≤500-line body, hard rules called out, examples included. Drop it into ~/.claude/skills/<name>/ and Claude Code uses it automatically. Or upload via the Skills API (beta).

See the skill library for examples of what real outputs look like, or the extraction-quality benchmarks for how the compiler scores on a 4-axis rubric.

Hosted product

The CLI is the open-source compiler. The hosted Skillforge connects directly to Slack, Notion, Drive, GitHub, Intercom, and Linear; runs the compiler continuously across all your sources; tracks supersession and conflicts across versions; and provides review workflows for cross-functional ownership.