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.7.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.7.0
File Size Uploaded Provenance Actions
langchain_ai_skills_framework-2.7.0.tar.gz 121.6 kB With provenance Details for langchain_ai_skills_framework-2.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 291.9 kB

Release files / langchain_ai_skills_framework-2.7.0.tar.gz

Download URL langchain_ai_skills_framework-2.7.0.tar.gz
Size 121.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a2e2ffe84569dd534a411c3bf76dcfe22259926cab5d6b47a6209a2f2483e37f
BLAKE2b-256 checksum
How to use checksums
cac693d7bd47a70ce43dfb1767fbd64e13ce21be49e3439afa3bfac8673eeb1a
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 20, 2026.

Transparency log

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

Download URL langchain_ai_skills_framework-2.7.0-py3-none-any.whl
Size 170.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44bb577cb527452bce21794aa1ba1db2378a31fe488d487ab2c65236edc2ce17
BLAKE2b-256 checksum
How to use checksums
e6ce774834b71717b98430bc08fb5505724c232cf7c491ebdb55d9a6c328c92e
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 20, 2026.

Transparency log

Security for langchain-ai-skills-framework 2.7.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.7.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 20, 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.7.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