Skip to main content

title: agentskills-adapters description: Convert supported instruction files into native skill content for review and migration.

Convert supported instruction files into an ImportedSkill containing a runtime Skill, the source path, and rendered SKILL.md text. Conversion does not execute the instructions.

Install

pip install agentskills-adapters

Requires Python 3.12 or newer. It installs agentskills-core and PyYAML.

Import a File

Create an AGENTS.md in your working directory, then run:

import asyncio

from agentskills_adapters import adapt_path, discover_sources


async def main() -> None:
    imported = adapt_path("AGENTS.md", name="team-instructions")
    print(imported.source)
    print(await imported.skill.get_metadata())
    print(await imported.skill.get_body())
    print(imported.skill_md)

    for source in discover_sources("."):
        print(source)


asyncio.run(main())

adapt_path reads one path. discover_sources only enumerates supported sources beneath a root. Review that list before importing a large directory. Use name and description arguments to override generated metadata.

Supported Sources

  • AGENTS.md and .github/copilot-instructions.md
  • Cursor .cursor/rules/*.mdc files, preserving globs in metadata
  • Claude-style skill folders containing SKILL.md

Formats without a description receive an explicit synthesized description such as Imported instructions from AGENTS.md. They are never emitted with a blank catalog entry.

Write a Native Skill

The result is in memory until you write it. This example creates a native skill folder:

from pathlib import Path

from agentskills_adapters import adapt_path

imported = adapt_path("AGENTS.md", name="team-instructions")
destination = Path("skills") / imported.skill.get_id()
destination.mkdir(parents=True, exist_ok=True)
(destination / "SKILL.md").write_text(imported.skill_md, encoding="utf-8")

Review an existing destination before running this example because write_text overwrites it. Supporting files are not copied automatically. The in-memory imported provider does not expose complete file access for native MCP publication. To publish, review the rendered folder and its supporting files, then use a filesystem provider.

For file conversion through the authoring CLI, see the tools guide.

Metadata

Release files for agentskills-adapters 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentskills-adapters 0.8.0
File Size Uploaded Provenance Actions
agentskills_adapters-0.8.0.tar.gz 3.8 kB With provenance Details for agentskills_adapters-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentskills-adapters 0.8.0
File Interpreter ABI Platform Actions
agentskills_adapters-0.8.0-py3-none-any.whl Python 3 none any Details for agentskills_adapters-0.8.0-py3-none-any.whl

Total release size: 8.7 kB

Release files / agentskills_adapters-0.8.0.tar.gz

Download URL agentskills_adapters-0.8.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0deba1e9d6fab0a5b10fcca4794c18a060e61cb4ac467736828e420c3747072c
BLAKE2b-256 checksum
How to use checksums
8c8527777e52dbf5260c605f097807e67012aab28ff54c43b4af9c553808a635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / agentskills_adapters-0.8.0-py3-none-any.whl

Download URL agentskills_adapters-0.8.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d26cd9f23bbd142d7716658ff9de4fb811e15ae9c91c6a196aa8edf82f0f2c6
BLAKE2b-256 checksum
How to use checksums
efe58de33d523e0f43257792291419f5d51fd1fae982fbd54a4798590795c135
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for agentskills-adapters 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentskills_adapters-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page