jpskill.com
🛠️ 開発・MCP コミュニティ

tiangolo-library-skills

Install and manage AI agent skills from Python/JS libraries so agents always use up-to-date patterns

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o tiangolo-library-skills.zip https://jpskill.com/download/23096.zip && unzip -o tiangolo-library-skills.zip && rm tiangolo-library-skills.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23096.zip -OutFile "$d\tiangolo-library-skills.zip"; Expand-Archive "$d\tiangolo-library-skills.zip" -DestinationPath $d -Force; ri "$d\tiangolo-library-skills.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して tiangolo-library-skills.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → tiangolo-library-skills フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

Library Skills

Skill by ara.so — Daily 2026 Skills collection.

Library Skills lets AI coding agents use libraries as intended — always up to date. Libraries (e.g. FastAPI, Streamlit) embed official AI skills in each release, and library-skills discovers those installed packages and wires their skills into your project's .agents directory as symbolic links. When you upgrade a library, its skills update automatically.


Installation & Quick Start

No global install required. Run directly with uvx (Python) or npx (JavaScript/TypeScript):

# Python projects
uvx library-skills

# JavaScript/TypeScript projects
npx library-skills

For Claude Code (which doesn't yet support the standard .agents directory):

uvx library-skills --claude
# Also installs into .claude/skills in addition to .agents

What It Does

  1. Scans your project's installed dependencies (e.g. from the active virtualenv or node_modules)
  2. Finds libraries that publish their own skills at agentskills.io
  3. Prompts you to select which skills to install
  4. Creates symbolic links under .agents/ (and optionally .claude/skills/) pointing into the installed package

Because they are symlinks, upgrading the library (e.g. pip install -U fastapi) automatically updates the skill content — no need to re-run library-skills.


CLI Reference

uvx library-skills [OPTIONS]
Option Description
--claude Also install skills in .claude/skills/ for Claude Code compatibility
--help Show help message and exit

Directory Structure After Installation

my-project/
├── .agents/
│   └── fastapi -> /path/to/venv/lib/python3.x/site-packages/fastapi/skills/
├── .claude/
│   └── skills/
│       └── fastapi -> /path/to/venv/lib/python3.x/site-packages/fastapi/skills/
├── src/
│   └── main.py
└── pyproject.toml

Python Project Workflow

1. Create and activate a virtualenv with your dependencies

uv venv
source .venv/bin/activate
uv add fastapi streamlit

2. Run library-skills

uvx library-skills
# → Scans .venv, finds fastapi, streamlit with embedded skills
# → Prompts: Install fastapi skills? [Y/n]
# → Creates .agents/fastapi -> .venv/lib/.../fastapi/skills/

3. For Claude Code users

uvx library-skills --claude
# → Creates .agents/fastapi AND .claude/skills/fastapi

JavaScript/TypeScript Project Workflow

1. Install dependencies

npm install
# or
pnpm install

2. Run library-skills

npx library-skills
# or with Claude support
npx library-skills --claude

Real Code Example: FastAPI with Up-to-Date Skills

After installing FastAPI skills, your agent will use current patterns, not deprecated ones.

# main.py — agent uses skills to write correct, modern FastAPI code
from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI()

class Item(BaseModel):
    name: str
    price: float

@app.get("/items/{item_id}")
async def read_item(item_id: int, q: str | None = None):
    return {"item_id": item_id, "q": q}

@app.post("/items/")
async def create_item(item: Item):
    return item

With skills installed, the agent reads the embedded SKILL.md from the FastAPI package and applies the documented patterns — including any new features added in the latest release.


How Library Authors Publish Skills

If you are a library author who wants to embed skills in your package:

  1. Create a skills/SKILL.md (or similar) inside your package directory
  2. Publish the package to PyPI or npm
  3. Register at agentskills.io so library-skills can discover it
my-library/
├── my_library/
│   ├── __init__.py
│   └── skills/
│       └── SKILL.md   ← embedded skill, shipped with every release
├── pyproject.toml
└── README.md

Common Patterns

Re-running after upgrading libraries

Skills update automatically via symlinks. But if you add new libraries that have skills, re-run:

uvx library-skills

Committing .agents/ to version control

Symlinks can be committed so the whole team benefits:

git add .agents/
git commit -m "Add library skills for fastapi"

Teammates need the same virtualenv path for symlinks to resolve, so consider using relative symlinks or documenting the setup.

Checking which skills are installed

ls -la .agents/
# fastapi -> /home/user/project/.venv/lib/python3.12/site-packages/fastapi/skills
# streamlit -> /home/user/project/.venv/lib/python3.12/site-packages/streamlit/skills

Troubleshooting

uvx library-skills finds no skills

  • Make sure you have a virtualenv activated (or the packages are installed in the current environment)
  • The library must ship its own skills — not all libraries do yet; check agentskills.io

Symlinks are broken after moving the project

Symlinks are absolute by default. Re-run uvx library-skills from the new location to recreate them.

Claude Code doesn't load skills from .agents/

Use the --claude flag to also install into .claude/skills/:

uvx library-skills --claude

Skills are stale after pip install -U fastapi

Skills update automatically via symlinks — no action needed. If they don't, verify the symlink target points into the virtualenv:

readlink .agents/fastapi

Key Concepts

Concept Explanation
Library Skill A SKILL.md (or similar file) shipped inside a library package
.agents/ directory Standard location where agent skills are discovered by AI coding tools
Symlink library-skills uses symlinks so skills stay in sync with installed library version
agentskills.io Registry of libraries that publish agent skills
--claude Flag to also populate .claude/skills/ for Claude Code compatibility

Links