Skip to main content

langchain-ai-skills-framework

Overview

  • langchain-ai-skills-framework loads Agent Skills from SKILL.md files and serves them via LangChain tools.
  • Skills come from two sources:
    • Plugin marketplace (MarketplaceDirectoryLoader) — shared skills loaded from filesystem or GitHub, organized as plugins/<plugin>/skills/<skill>/SKILL.md.
    • User-persisted skills (MongoPluginSkillLoader) — stored in MongoDB across three collections (plugin_skills, plugin_references, plugin_scripts).
  • CompositeSkillLoader merges both sources with precedence: user → shared DB → marketplace.
  • All skill tools are scoped by plugin_name.

Skill authoring

  • See docs/skill-authoring.md for required frontmatter, naming rules, and examples.

GitHub authentication for remote plugins

  • When PLUGINS_MARKETPLACE uses github://..., provide a token via SKILLS_GITHUB_TOKEN (preferred) or GITHUB_TOKEN (fallback).
  • ${ENV_VAR} in a plugin's .mcp.json url, headers, command, args and env is expanded from the process environment at sync. Set PLUGINS_MARKETPLACE_ENV_EXPANSION_INCLUDE (comma-separated plugin names) to limit that to the listed plugins: any other plugin keeps the placeholder verbatim, so it cannot read a service secret by naming it. Unset means every plugin may expand (the default, unchanged); set to an empty string means none may. Plugins are matched by the name in the marketplace's marketplace.json (or the plugin directory name), so the allowlist is only as strong as write access to the marketplace: keep it operator-controlled. Names are matched the way PLUGINS_MARKETPLACE_INCLUDE matches them (case-insensitive; _ and spaces equal -). Turning the allowlist on does not clear values already expanded and stored by earlier syncs (the plugins collection and the marketplace snapshot cache): call reload_plugins after changing it, and rotate any secret an unlisted plugin could have read.
  • Per-variable allowlist (additive): a host service can pass env_expansion_variables (a mapping of plugin name to the frozenset of exact variable names that plugin may expand) to MarketplacePluginManager, or to LangchainAISkillsFrameworkContainerFactory.register_services_in_container(container=..., env_expansion_variables=...). The framework does not read any file for it; the host builds the map and may fill it in after the loader is built, because the mapping is held by reference and read on every snapshot build (never copied); a snapshot built before the fill is not rebuilt automatically, so call reload_plugins after filling it (names are matched like PLUGINS_MARKETPLACE_INCLUDE). A plugin listed in PLUGINS_MARKETPLACE_ENV_EXPANSION_INCLUDE is fully trusted and expands any variable, exactly as before. A plugin not in that list but present in the map expands only its listed variables; every other ${VAR} in its url, headers, command, args and env stays verbatim and a warning logs the plugin and the variable name (never a value). A plugin in neither expands nothing when PLUGINS_MARKETPLACE_ENV_EXPANSION_INCLUDE is set; when it is unset, such a plugin still expands everything unless the map has an entry for it, in which case the map restricts it. Only the braced ${VAR} form is ever expanded; a bare $VAR is left as written. Default None changes nothing.
  • Expected GitHub directory format: github://<owner>/<repo>/<path>?ref=<branch> (for example: github://my-org/ai-plugin-marketplace/plugins?ref=main).
  • Supported token types: fine-grained Personal Access Token (PAT) and GitHub App installation token.
  • Recommended usage:
    • Local development: fine-grained PAT scoped to the required repositories.
    • CI (GitHub Actions): workflow GITHUB_TOKEN when permissions are sufficient.
    • Long-running services: short-lived GitHub App installation tokens.

Quick start

  • make init – initialize the local dev environment.
  • make up – start the dev container.
  • make run-pre-commit – run lint/type/security suite.
  • make tests – run dockerized pytest.
  • make build – build sdist/wheel packages.

Metadata

Release files for langchain-ai-skills-framework 2.5.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 langchain-ai-skills-framework 2.5.0
File Size Uploaded Provenance Actions
langchain_ai_skills_framework-2.5.0.tar.gz 120.1 kB With provenance Details for langchain_ai_skills_framework-2.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-ai-skills-framework 2.5.0
File Interpreter ABI Platform Actions
langchain_ai_skills_framework-2.5.0-py3-none-any.whl Python 3 none any Details for langchain_ai_skills_framework-2.5.0-py3-none-any.whl

Total release size: 288.7 kB

Release files / langchain_ai_skills_framework-2.5.0.tar.gz

Download URL langchain_ai_skills_framework-2.5.0.tar.gz
Size 120.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bbf77908c1ce7a7aa6d60b9fa6b44b38daa369b0de5e6a1ebccf90ba2618e1f5
BLAKE2b-256 checksum
How to use checksums
b7be11c592a980bb0492d5296751c560039abbaf6288726636c9ba6a4cdaa37d
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 Nov 11, 2026.

Transparency log

Release files / langchain_ai_skills_framework-2.5.0-py3-none-any.whl

Download URL langchain_ai_skills_framework-2.5.0-py3-none-any.whl
Size 168.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d81b453fccebdf2f890ecb4ccb3188419c6174e9f490cd1ded2b9e8e551dc5bd
BLAKE2b-256 checksum
How to use checksums
7c6838b55b3952dd47cef99bec2d813919ef8bf51bae0e711f9885feca1da04a
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 Nov 11, 2026.

Transparency log

Security for langchain-ai-skills-framework 2.5.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langchain_ai_skills_framework-2.5.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 Nov 11, 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.

Release history Release notifications | RSS feed

This release

2.5.0 This release

2 release files Full provenance

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