Metadata-Version: 2.4
Name: agentskills-adapters
Version: 0.4.0
Summary: Adapters from common agent instruction formats to Agent Skills (https://agentskills.io)
License: MIT
Author: Pratik Panda
Requires-Python: >=3.12,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: agentskills-core (>=0.4.0,<1.0)
Requires-Dist: pyyaml (>=6.0,<7.0)
Project-URL: Homepage, https://agentskills.io
Project-URL: Repository, https://github.com/pratikxpanda/agentskills-sdk
Description-Content-Type: text/markdown

# agentskills-adapters

Import common agent instruction formats as ordinary `agentskills-core` `Skill` objects.

```python
from agentskills_adapters import adapt_path, discover_sources

for source in discover_sources("."):
    skill = adapt_path(source)
```

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.

Use `agentskills init --from <path>` to write a native `SKILL.md` for editing and review.
Adapters are a migration path, not a fork of the Agent Skills specification.

