Skip to main content

Skill registry, decomposition, and LoRA building for coding agents

Project description

AgentSkills.org

License: MIT Python 3.10+ Tests

Skill registry, decomposition, and LoRA building for coding agents.

Overview

AgentSkills.org provides a framework for extracting, publishing, and building LoRA adapters from recurring skill patterns in agent traces. Think of it as a package manager for agent capabilities.

Installation

pip install agent-skills

Quick Start

Install a Skill

askill install debug
askill install edit
askill list

Extract Skills from Traces

askill decompose traces.jsonl --min-occurrences 3

Build LoRA Adapters

askill build traces.jsonl --base-model Qwen/Qwen2.5-14B --output-dir output/lora

Programmatic Usage

from agent_skills import SkillRegistry, SkillDecomposer
from agent_skills.lora_builder import build_lora

# Install and list skills
registry = SkillRegistry()
registry.install("debug")
skills = registry.list_skills()

# Extract skills from traces
decomposer = SkillDecomposer(min_occurrences=3)
skills = decomposer.extract_skills_from_trace("traces.jsonl")
clusters = decomposer.cluster_skills()

# Build LoRA adapters from skill clusters
for cluster in clusters:
    adapter = build_lora(cluster, base_model="Qwen/Qwen2.5-14B")
    print(f"Built: {adapter.name} with {adapter.num_examples} examples")

Built-in Skills

Skill Tools Description
debug read, bash, grep Diagnose and fix errors in code
edit edit, write Make targeted edits to code files
verify bash, read, grep Run tests and verify correctness
recover bash, edit, read, grep Recover from errors and retry
plan question, glob, read Plan and coordinate multi-step tasks
bash bash Execute shell commands and scripts

Skill YAML Format

name: debug
version: "1.0.0"
description: "Diagnose and fix errors in code"
category: "core"
tools:
  - read
  - bash
  - grep
triggers:
  - "fix the bug"
  - "debug this error"
author: "your-name"
license: "MIT"
tags:
  - debugging
  - error-recovery

License

MIT

Ecosystem

Part of the FableForge ecosystem — 21 open-source projects built from 210K real agent traces:

Project Description
Anvil Self-verified coding agent
VerifyLoop Plan→Execute→Verify→Recover framework
ErrorRecovery Self-healing middleware (3,725 error patterns)
FableForge-14B The fine-tuned 14B model (4-stage training)
ShellWhisperer 1.5B edge agent (phone/RPi, 50ms)
ReasonCritic Verification model (130 benchmark tasks)
TraceCompiler Compile traces → LoRA skills
AgentRuntime Persistent agent daemon (systemd for AI)
AgentSwarm Multi-agent from real trace transitions
AgentTelemetry Datadog for agents (token tracking, costs)
BenchAgent HumanEval for tool-use (107 tasks)
AgentDev VSCode extension with verification
TraceViz Trace replay visualizer (Next.js)
AgentSkills npm for agent behaviors
AgentCurriculum 5-stage progressive training
AgentFuzzer Adversarial testing for agents
AgentConstitution Safety guardrails from traces
CostOptimizer Token cost reduction (50-80%)
AgentProfiler Behavioral fingerprinting
TrajectoryDistiller Trace→training data pipeline
Fable5-Dataset HuggingFace dataset release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fableforge_agent_skills-0.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fableforge_agent_skills-0.1.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file fableforge_agent_skills-0.1.0.tar.gz.

File metadata

  • Download URL: fableforge_agent_skills-0.1.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fableforge_agent_skills-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d52dd9719122657f8755901dfb84490f3173b39e1196ba484b994c071a4c0f99
MD5 e81b9453b521ba0e1a65f339a470783e
BLAKE2b-256 d72c9985de3ad86ef03eb713d972ed010afd3726d8bd5e88bf02ccc7b5d14b9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fableforge_agent_skills-0.1.0.tar.gz:

Publisher: release.yml on KingLabsA/agent-skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fableforge_agent_skills-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fableforge_agent_skills-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97ad061925891851cc4b3b7738366b69e641f30a5a5a307b0e323db5806b4ece
MD5 6b8cab84cad2cdb465bc0b3d0d609af8
BLAKE2b-256 40048eda700659562e72ae4bded1964f524d893b949067d163028990971f184d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fableforge_agent_skills-0.1.0-py3-none-any.whl:

Publisher: release.yml on KingLabsA/agent-skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page