LL

lobstertrap/lola

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

134 stars 质量 77 趋势 8Apache-2.0

龙虾陷阱/萝拉是从[[T0]引入的特工技能候选人。

概览

龙虾陷阱/萝拉是从[[T0]引入的特工技能候选人。

概述(AI 翻译)

写一次代理技能和上下文,随处使用。

Lola 是一个通用的 AI 包管理器。如果某个代理的技能是 RPM,Lola 就是该项目的 DNF。先写一次你的技能和上下文模块作为可移植包,然后用一个命令将它们安装到任何 AI 助理或代理上。

支持的AI助手

助理 技能 指挥 特工
克劳德代码 是的 是的 是的
副驾驶CLI 是的 是的 是的
副驾驶(VS代码) 是的 是的¹ 是的
光标 是的 是的 是的
双子座CLI 是的 是的 不适用
开放代码 是的 是的 是的

¹ 仅限项目范围 — VS Code 没有用于斜杠命令的用户范围位置。

GitHub Copilot 有两个目标,它们共享相同的 .github/(项目)和 ~/.copilot/(用户)文件,但在MCP处理上有所不同:

  • copilot-cli - 使用 mcpServers 键写入 MCP 服务器 (~/.copilot/mcp-config.json 用于用户范围)。
  • copilot-vscode - 使用 VS 将 MCP 服务器写入 .vscode/mcp.json Code 的 servers 键。VS Code 没有用于斜击命令的用户范围位置 或MCP,因此在用户范围内安装时会跳过这些(并警告)。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Lola - AI Context Package Manager

Write Agent Skills and Contexts once, use everywhere.

Lola is a universal AI Package Manager. If an agent’s skills were an RPM, Lola is the DNF for it. Write your skills and context modules once as portable packages, then install them to any AI assistant or agent with a single command.

Supported AI Assistants

Assistant Skills Commands Agents
Claude Code Yes Yes Yes
Copilot CLI Yes Yes Yes
Copilot (VS Code) Yes Yes¹ Yes
Cursor Yes Yes Yes
Gemini CLI Yes Yes N/A
OpenCode Yes Yes Yes

¹ Project scope only — VS Code has no user-scope location for slash commands.

GitHub Copilot has two targets that share the same .github/ (project) and ~/.copilot/ (user) files but differ in MCP handling:

  • copilot-cli - writes MCP servers using the mcpServers key (~/.copilot/mcp-config.json for user scope).
  • copilot-vscode - writes MCP servers to .vscode/mcp.json using VS Code’s servers key. VS Code has no user-scope location for slash commands or MCP, so those are skipped (with a warning) when installing at user scope.

When no assistant is selected explicitly, copilot-vscode is preferred over copilot-cli to avoid writing the same project files twice.

Installation

# Recommended: install from PyPI
uv tool install lola-ai

# Or with pip
pip install lola-ai

Want the latest dev version? uv tool install git+https://github.com/LobsterTrap/lola

Quick Start

# Set up the official marketplace
lola market add general https://raw.githubusercontent.com/RedHatProductSecurity/lola-market/main/general-market.yml

# Add a module
lola mod add https://github.com/user/my-skills.git

# Install to all detected assistants
lola install my-skills

# Or install to a specific assistant
lola install my-skills -a claude-code

Declarative Installation

Create a .lola-req in your project:

python-tools>=1.0.0
https://github.com/user/module.git@main
https://github.com/quay/ai-helpers.git@main#subdirectory=plugins/dev
https://github.com/user/repo.git#assistant=claude-code,cursor

URL fragments support:

  • subdirectory=path/to/module - Install from a subdirectory in the repository
  • assistant=name1,name2 - Install to specific assistants
lola sync

Documentation

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add lobstertrap/lola
新手?先看 mcpskill.org 教程 →