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 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.19.tar.gz (44.1 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.19-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: library_skills-0.0.19.tar.gz
  • Upload date:
  • Size: 44.1 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.19.tar.gz
Algorithm Hash digest
SHA256 fe58b3a06e9ba757f1b48113199a6af93fc15008c9d0a3add543f508576a8516
MD5 fcf300001dcc1a4972c7105dfb29a254
BLAKE2b-256 994bfb85dd4c93a8ec99b0e04d12ca81fc08a755ee43c2061069e1d87f6abb66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: library_skills-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 25.1 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 99cc10b900860bd354f1ca4a1724f0ce51f5b40246775c1db63567c91e920c6e
MD5 9c4bb7647ac32470e8ddd5143edb59b4
BLAKE2b-256 37e5d8ab3376068360b6e9dc65fb66c52d5b2d5f2b60e34f51aa2e5cf64c5f26

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