Skip to main content

Library Skills, AI Agents using libraries, as intended, always up to date.

Project description

Library Skills

Library Skills, AI Agents using libraries, as intended, always up to date.

Test Publish Coverage Python package version npm package version


Documentation: https://library-skills.io

Source Code: https://github.com/tiangolo/library-skills


Let your AI agents use libraries as intended, always up to date.

Supporting libraries (e.g. FastAPI, Streamlit) include their own AI skills (https://agentskills.io) embedded, updated in sync with each new version of the library.

In Python, you can install them with:

$ uvx library-skills

In JavaScript/TypeScript, you can install them with:

$ npx library-skills

This will scan the dependencies for the current project, find the installed libraries, and show the current skill installation status.

It can install new skills, repair managed symlinks that point to old skill locations, and remove managed symlinks for packages or skills that disappeared.

It will only remove managed symlinks, not hand-authored skill directories.

Then it will ask where to install new skills and add them as symbolic links, so when you update the libraries, the skills are updated too.

The symlinks are relative, so projects with stable repo-local installs can commit them to Git. They may be broken before dependencies are installed, then resolve after setup. On Windows, real symlink checkout can require Developer Mode or elevated permissions; use --copy if symlinks are not practical.

By default it selects .agents/skills, the agent-neutral target. If the project already has a .claude/ directory, it selects .claude/skills too.

/// tip

If you are using Claude Code, select .claude/skills when asked for installation targets, as Claude Code doesn't support the standard .agents directory. For non-interactive installs, add the --claude CLI option to install the skills in .claude/skills too.

///

Why Library Skills

LLMs are great at helping you code, but are trained on data that existed until a certain point in time, which in the end, is always old data.

Additionally, they are trained on a lot of code examples, that in many cases use old patterns.

When there are new features or changes in the libraries, agents normally don't know about them, don't know how to use them, and insist on using old, deprecated, and sometimes hallucinated patterns.

But library authors can help them, providing official library skills that are always up to date, included in each new version of the package, in sync with the version of the library installed.

And you can install and use these official Library Skills for Agents with one command.

License

This project is licensed under the terms of the MIT license.

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

library_skills-0.0.18.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

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

library_skills-0.0.18-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file library_skills-0.0.18.tar.gz.

File metadata

  • Download URL: library_skills-0.0.18.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for library_skills-0.0.18.tar.gz
Algorithm Hash digest
SHA256 94c39f66472d8b6421bda8b0c44a226ecf58c1c1f9c9777821e52f295c76f69a
MD5 26dbde12f005e9958a69d33737e3c37d
BLAKE2b-256 1e1545890310c68c8e9db57a5c993245ba64d22a2b8a9e8aeb919def1022d6ad

See more details on using hashes here.

File details

Details for the file library_skills-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: library_skills-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for library_skills-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 cccf957c460120923c39ba98c9568e1ad2f300ae7d245827a98598c1209b736f
MD5 713a9b2a76caaf5d454f4bea8c850b08
BLAKE2b-256 585de13304848bf1d05b8cecfa0011839f76ba2a1ffb699d08c18cd032e21007

See more details on using hashes here.

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