Agentic Skill Mill

Forge and refine agent skill projects.

Fragment-composed skills compiled to 7 IDE targets, paired with a TypeScript companion CLI (skillmill) that provides structured commands for agents and humans.

Architecture

Skills (what to do)          CLI Companion (tools to do it with)
  skill/skills/*.md            src/cli/commands/*.ts
  skill/fragments/*.md         src/core/*.ts
          |                            |
          v                            v
  compiled/ (7 IDE formats)    dist/ (npm link -> global CLI)
          |                            |
          +---------> Agent <----------+

What It Does

Skills

Step-by-step runbooks in markdown with YAML frontmatter. They tell the agent what to do and reference the CLI by name.

Fragments

Shared knowledge blocks included by multiple skills. Edit once, recompile, and every consumer gets the update.

Compiler

Resolves includes, applies IDE-specific frontmatter transforms, and writes to 7 targets: Claude, Cursor, Windsurf, OpenCode, and Codex.

CLI

Inspect manifests, validate skills, audit exports, and forge new components. Every command supports --json for agent consumption.

CLI Commands

CommandDescription
skillmill inspect-manifestInspect a manifest.json for correctness
skillmill inspect-skillInspect a skill source .md file
skillmill inventoryTake stock of all skills, fragments, and targets
skillmill forgeForge scaffolding (command, skill, fragment)
skillmill audit-exportsAudit that src/index.ts exports match core modules

Quick Start

npm install
npm run build
npm run compile
bash install.sh          # auto-detect installed tools
bash install.sh --all    # or install for all tools

Compilation Targets

TargetOutput
Claudecompiled/claude/<skill>/SKILL.md
Cursor (rules)compiled/cursor/rules/<skill>.mdc
Cursor (skills)compiled/cursor/skills/<skill>/SKILL.md
Windsurf (rules)compiled/windsurf/rules/<skill>.md
Windsurf (skills)compiled/windsurf/skills/<skill>/SKILL.md
OpenCodecompiled/opencode/<skill>.md
Codexcompiled/codex/<skill>/SKILL.md