MA

millionco/agent-install

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

54 stars 품질 70 트렌드 17MIT

Install agent skills and MCPs with one API

개요

Install agent skills and MCPs with one API. Works with Claude Code, Cursor, Codex, OpenCode, and 40+ other coding agents. Writes to each one's native config (skills directory, MCP JSON/JSONC/YAML/TOML, AGENTS.md) so your CLI or build script doesn't have to learn ten different formats. A small agent-install CLI is also included for one-off use. Or use the CLI directly without installing: The Node API is namespaced by surface (skill, mcp, agentsMd) using verbs that match the CLI (add, list, remove, setSection, removeSection, read). A thin wrapper around the Node API for one-off installs, scripts, and CI. You can also import each surface from its own subpath: A skill is a SKILL.md file that an agent picks up to trigger behavior. skill.add parses a source (local path, GitHub repo, or URL), fetches it, and installs every discovered SKILL.md into each selected agent. mcp.

README

원문 README의 일부입니다. 원문 보기.

agent-install

Install agent skills and MCPs with one API.

Works with Claude Code, Cursor, Codex, OpenCode, and 40+ other coding agents. Writes to each one’s native config (skills directory, MCP JSON/JSONC/YAML/TOML, AGENTS.md) so your CLI or build script doesn’t have to learn ten different formats. A small agent-install CLI is also included for one-off use.

Install

As a library:

npm install agent-install

Or use the CLI directly without installing:

npx agent-install@latest --help

Quick start

npx agent-install@latest skill add owner/repo -a cursor
npx agent-install@latest mcp add https://mcp.context7.com/mcp -a cursor
npx agent-install@latest agents-md set-section "Testing" --body "Run pnpm test"

Same three actions from the Node API:

import { skill, mcp, agentsMd } from "agent-install";

await skill.add({ source: "owner/repo", agents: ["cursor"] });
mcp.add({ source: "https://mcp.context7.com/mcp", agents: ["cursor"], name: "context7" });
agentsMd.setSection({ heading: "Testing", body: "Run pnpm test" });

The Node API is namespaced by surface (skill, mcp, agentsMd) using verbs that match the CLI (add, list, remove, setSection, removeSection, read).

CLI

A thin wrapper around the Node API for one-off installs, scripts, and CI.

Skills

npx agent-install@latest skill add ./skills/react-grab
npx agent-install@latest skill add owner/repo
npx agent-install@latest skill add https://github.com/owner/repo/tree/main/skills/foo

npx agent-install@latest skill init [name]      # create a new SKILL.md
npx agent-install@latest skill list             # list installed skills
npx agent-install@latest skill remove [skills]  # remove installed skills

MCP servers

npx agent-install@latest mcp add https://mcp.context7.com/mcp -a cursor
npx agent-install@latest mcp add @modelcontextprotocol/server-postgres -a claude-code --env "DATABASE_URL=..."

npx agent-install@latest mcp list           # list installed MCP servers
npx agent-install@latest mcp remove   # remove by server name

AGENTS.md

npx agent-install@latest agents-md init
npx agent-install@latest agents-md set-section "Testing" --body "Run pnpm test"
npx agent-install@latest agents-md remove-section "Testing"
npx agent-install@latest agents-md symlink-claude
npx agent-install@latest agents-md read

Node API

You can also import each surface from its own subpath:

import * as skill from "agent-install/skill";
import * as mcp from "agent-install/mcp";
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add millionco/agent-install
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →