Skip to content
Conduit

skill

agent-skill-factory

Open-source factory for generating, validating, and publishing reusable Agent Skills

MuzeAnisichael/agent-skill-factorycommunitylistedunreviewed

Set up

Skills are installed by placing their folder where your agent loads skills.

The download comes from github.com/MuzeAnisichael/agent-skill-factory itself, not from our server, so what you get is exactly what its author published.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below.

README

synced Oct 25, 2026

Agent Skill Factory

CI License: MIT Python Version Status

Agent Skill Factory is an open-source local toolchain for generating, validating, evaluating, registering, and exporting reusable Agent Skills.

It turns real task briefs, documentation, codebase conventions, tool descriptions, and Agent traces into testable Skill packages instead of one long prompt.

sources and traces -> reviewable plan -> Skill package -> lint/eval -> repair -> registry -> export

Local-first. Reviewable plans. One small runtime dependency: PyYAML. LLM access is optional: use local Ollama, an OpenAI-compatible API, or the deterministic offline workflow. plan + generate --from-plan separates review from writing; generate --llm writes directly and needs post-generation review.

Project Status

Current version: 0.8.0

The project is still alpha, but the local lifecycle is now usable end to end. The following states describe local implementation, not field-validated Agent quality:

AreaStatusNotes
Local CLIDoneinit, ingest, plan, generate, lint, eval-generate, eval, repair, provider health, registry/export/install, and schema commands.
Skill package writerIntegration verifiedWrites concrete workflow/check/resource plans, marks incomplete workflows as drafts, and generates Codex interface metadata.
LLM planningDoneSupports local Ollama and OpenAI-compatible APIs for structured SkillPlan generation.
Source/trace ingestionDoneDeterministic plans from UTF-8 files, directories, and successful or failed Agent traces.
Static linterImplementedSafe YAML, standard optional fields, typed metadata, English/Chinese cues and configurable policies.
Eval runnerIn progressSource-aware drafts, trigger/task/runner evals, reports, and regression comparison.
Local registry/exportDoneFile-based registry, source hashes, risk summary, eval status, and client directory export.
Runner abstractionDoneDry-run, optional LLM, and JSON subprocess Agent runners.
Repair loopDoneBounded repair plans, safe deterministic edits, lint/eval reruns, and rollback on regression.
Agent-backed evalsIn progressGeneric subprocess adapter is available; first-party adapters and automatic trace capture remain.

The suite covers the local lifecycle, YAML compatibility, reviewed plans and executable examples. CI tests Python 3.10-3.12 on Linux/Windows and separately builds and installs both source archives and wheels. See v0.8 verification for results and limits.

v0.8 focuses on useful content and format compatibility. v0.9 will establish real Agent task evidence; v0.10 will harden distribution. Three practical examples target Python coursework and experimental data/report workflows.

Evaluation boundary: keyword/package tests and dry-run scores do not prove Agent improvement. No first-party Agent adapter, sandbox or held-out generation benchmark is claimed.

Scope and Boundaries

Agent Skill Factory is the small, headless core for the Skill lifecycle. It is designed to be used directly through the CLI or embedded behind a future desktop, web, course, or lab workspace.

Included today:

  • deterministic and LLM-assisted SkillPlan creation
  • source and Agent trace ingestion with provenance
  • Skill package generation, linting, evaluation, and bounded repair
  • configurable lint policies and source-aware eval draft generation
  • local registry metadata, export, and installation
  • local Ollama and OpenAI-compatible model providers
  • an explicit subprocess protocol for external Agent eval runners

Not implemented yet:

  • a graphical interface or hosted service
  • first-party Agent adapters, runtime isolation, and automatic trace capture
  • multi-user workspaces, review workflows, or cloud synchronization
  • package signing, capability permissions, or a public marketplace

These boundaries are intentional. Hosted collaboration should build on the same tested core instead of duplicating its validation and security rules.

Why

Agent Skills are a practical way to extend coding agents and workflow agents with domain-specific procedures, references, scripts, tools, and templates. A production-quality Skill should be scoped, concise, testable, and safe by default. A one-shot generated SKILL.md is not enough.

Agent Skill Factory focuses on the full local lifecycle:

source material -> ingest/plan -> review -> generate -> lint -> eval -> registry -> export/install

Skill Package Target

skill-name/
|-- SKILL.md
|-- references/
|-- scripts/
|-- assets/
`-- agents/openai.yaml

SKILL.md should contain only high-value instructions. Long domain material goes into references/, deterministic operations go into scripts/, and reusable templates or static files go into assets/.

Quick Start

Requirements:

  • Python 3.10+
  • Git

Install from source:

python -m pip install -e .
skill-factory init .
skill-factory generate \
  --name "Release Note Builder" \
  --description "Use this skill when the agent needs to create release notes from repository changes." \
  --brief "Create concise release notes grounded in repository changes." \
  --step "Collect reviewed changes and retain their source identifiers." \
  --step "Group user-visible changes and note breaking changes separately." \
  --check "Every release item is supported by a reviewed source change." \
  --output skills
skill-factory lint skills/release-note-builder

This creates a package from explicit steps, then checks it locally. --resources creates directories only; complete resource content belongs in a reviewed plan. Generation never runs scripts.

Start with a complete reviewed example:

skill-factory generate --from-plan examples/plans/python-code-review.json --output skills
skill-factory lint skills/python-code-review --policy strict
python examples/skills/experiment-csv-check/scripts/check_csv.py examples/skills/experiment-csv-check/assets/sample.csv --required id --numeric value --unique id

Examples are included in the repository/source archive, not the runtime wheel. Download wheel/source artifacts from GitHub releases; no PyPI publication is claimed.

Create a reviewable plan from local documents, code, and Agent traces, then generate from it:

skill-factory ingest docs src/example.py \
  --trace traces/release.trace.json \
  --name "Release Note Builder" \
  --output skill-plan.json

Review the plan and add task-specific workflow and quality_checks, then:

skill-factory generate --from-plan skill-plan.json --output skills
skill-factory eval-generate \
  --from-plan skill-plan.json \
  --output skills/release-note-builder/evals/evals.json
skill-factory lint skills/release-note-builder

Run local evals after adding evals/evals.json:

skill-factory eval skills/release-note-builder
skill-factory eval skills/release-note-builder --json
skill-factory eval skills/release-note-builder --markdown-output eval-report.md
skill-factory eval skills/release-note-builder --baseline-skill old-skills/release-note-builder
skill-factory eval-schema --output docs/eval-schema.json

Apply a stricter built-in lint policy or a versioned team policy:

skill-factory lint skills/release-note-builder --policy strict
skill-factory lint skills/release-note-builder --policy-file policies/team.json

Run runner-backed evals with the deterministic dry-run runner, or explicitly use an LLM runner:

skill-factory eval skills/release-note-builder --runner dry-run
skill-factory eval skills/release-note-builder \
  --runner llm \
  --provider ollama \
  --model llama3.1
skill-factory eval skills/release-note-builder \
  --runner subprocess \
  --runner-command '["python","adapters/my_agent.py"]'

Plan and apply bounded repairs:

skill-factory repair plan skills/release-note-builder
skill-factory repair plan skills/release-note-builder --json
skill-factory repair apply skills/release-note-builder

Repair can fix weak descriptions, missing referenced resources, oversized SKILL.md bodies, and missing positive eval assertions. Security-related findings are marked for manual review and are not auto-applied.

Register and install a Skill locally:

skill-factory registry add skills/release-note-builder --version 0.1.0
skill-factory registry list
skill-factory install release-note-builder --target agent-skills

Export directly without a registry:

skill-factory export skills/release-note-builder --target codex --output .codex/skills
skill-factory export skills/release-note-builder --target claude-code --output .claude/skills

Use a local Ollama model to plan and generate:

skill-factory provider-health --provider ollama --model llama3.1

skill-factory plan \
  --provider ollama \
  --model llama3.1 \
  --brief "Create a Skill for turning merged pull requests into release notes."

skill-factory generate \
  --llm \
  --provider ollama \
  --model llama3.1 \
  --brief "Create a Skill for turning merged pull requests into release notes." \
  --resources references,scripts \
  --output skills

Use an OpenAI-compatible API:

skill-factory plan \
  --provider openai-compatible \
  --api-base https://api.openai.com/v1 \
  --api-key "$OPENAI_API_KEY" \
  --model "$OPENAI_MODEL" \
  --brief "Create a Skill for reviewing Terraform changes."

To run from source without installing this package, first install PyYAML>=6.0.2,<7. On macOS or Linux:

PYTHONPATH=src python -m skill_factory --version
PYTHONPATH=src python -m skill_factory lint skills/release-note-builder
PYTHONPATH=src python -m skill_factory registry list

From source in PowerShell (PyYAML must already be installed):

$env:PYTHONPATH = "src"
python -m skill_factory --version
python -m skill_factory lint skills/release-note-builder
python -m skill_factory registry list

Run tests from a source checkout:

$env:PYTHONPATH = "src"
python -m unittest discover -s tests -v

Repository Layout

src/skill_factory/       Core CLI, ingestion, planning, generation, lint/eval/repair, registry, schemas, and LLM providers
tests/                   Unit tests and offline fixtures for the local lifecycle
examples/                Three maintained Skills and a reviewed generation plan
tools/check_package.py   Clean source/wheel installation and CLI lifecycle check
docs/                    Architecture, ingestion, providers, evaluation, registry, security, and format docs
.github/                 CI, issue templates, and PR template
docs/README.md           Documentation index organized by workflow
ROADMAP.md               Development plan and completion table

Documentation

Contributing and Support

Contributions should keep the core small, deterministic where possible, and reviewable before file or tool actions. Start with CONTRIBUTING.md, check the roadmap, and use the repository issue templates for reproducible bugs or scoped feature proposals.

For usage questions, see SUPPORT.md. Report vulnerabilities privately through the process in SECURITY.md.

Security

Generated Skills can influence agent behavior and tool use. Review all generated/imported instructions and code before use. Lint and eval are partial checks, not a trust guarantee or sandbox. See SECURITY.md and Security Model.

License

MIT

↑↓ navigate openesc close