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.1

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.1
File Size Uploaded Provenance Actions
langchain_ai_skills_framework-2.5.1.tar.gz 120.3 kB With provenance Details for langchain_ai_skills_framework-2.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 289.2 kB

Release files / langchain_ai_skills_framework-2.5.1.tar.gz

Download URL langchain_ai_skills_framework-2.5.1.tar.gz
Size 120.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3dfdb5271034a300df09160c27510d401cd42611cf6c4e10b34921f918bbe0d5
BLAKE2b-256 checksum
How to use checksums
2deb72acb8308ed38072070b4875bb92e1d7ff56fed7c23a31d2e6bb4b3f2773
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 13, 2026.

Transparency log

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

Download URL langchain_ai_skills_framework-2.5.1-py3-none-any.whl
Size 168.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cec2ed37a1215f9bfb90632f54bbb081c1a8879f26e914c404c1225b1b37b6aa
BLAKE2b-256 checksum
How to use checksums
bf2e7c30176e9f7a10df3586d3bb7391f7aab095aca3963f068322e4a1053168
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 13, 2026.

Transparency log

Security for langchain-ai-skills-framework 2.5.1

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.1.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 13, 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.1 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