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.17.tar.gz (43.7 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.17-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: library_skills-0.0.17.tar.gz
  • Upload date:
  • Size: 43.7 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.17.tar.gz
Algorithm Hash digest
SHA256 070a40be3baf61d4fafe58035fb6618330d5842b8e10cc4b4825ea0deea23e1c
MD5 ab7b4b93846ada6b2a59f99fcb5d617c
BLAKE2b-256 4cb1afa7a5cf013346a53c83e537c98d74f848b7425f2180392eaa41da3a3f87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: library_skills-0.0.17-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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 b9da753480803ae1be59d85dfc6cf7e9eff54290ecce0d8cb44451ac9e2dda10
MD5 3db3babe1409a5e84e956cc91a926e58
BLAKE2b-256 c605772dfb2fe1f34e1906c069330c0b79c2f9739918e7b8c0404a4ca97f00b3

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