skill-creator

작성자: langchain-ai

에이전트의 기능을 확장하기 위한 효과적인 스킬을 만드는 가이드로, 특화된 지식, 워크플로우 또는 도구 통합을 포함합니다. 사용자가...

npx skills add https://github.com/langchain-ai/deepagentsjs --skill skill-creator

Skill Creator

This skill provides guidance for creating effective skills.

About Skills

Skills are modular, self-contained packages that extend agent capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform a general-purpose agent into a specialized agent equipped with procedural knowledge and domain expertise.

Skill Location for Deepagents

In deepagents CLI, skills are stored in ~/.deepagents/<agent>/skills/ where <agent> is your agent configuration name (default is agent). For example, with the default configuration, skills live at:

~/.deepagents/agent/skills/
├── skill-name-1/
│   └── SKILL.md
├── skill-name-2/
│   └── SKILL.md
└── ...

What Skills Provide

  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with specific file formats or APIs
  3. Domain expertise - Company-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks

Core Principles

Concise is Key

The context window is a public good. Skills share the context window with everything else the agent needs: system prompt, conversation history, other Skills' metadata, and the actual user request.

Default assumption: The agent is already very capable. Only add context the agent doesn't already have.

Anatomy of a Skill

Every skill consists of a required SKILL.md file and optional bundled resources:

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter metadata (required)
│   │   ├── name: (required)
│   │   └── description: (required)
│   └── Markdown instructions (required)
└── Bundled Resources (optional)
    ├── scripts/          - Executable code (TypeScript/JavaScript/etc.)
    ├── references/       - Documentation intended to be loaded into context as needed
    └── assets/           - Files used in output (templates, icons, fonts, etc.)

Skill Creation Process

Skill creation involves these steps:

  1. Understand the skill with concrete examples
  2. Plan reusable skill contents (scripts, references, assets)
  3. Initialize the skill (run init_skill.ts)
  4. Edit the skill (implement resources and write SKILL.md)
  5. Validate the skill (run quick_validate.ts)
  6. Iterate based on real usage

Step 3: Initializing the Skill

When creating a new skill from scratch, run the init_skill.ts script:

npx tsx scripts/init_skill.ts <skill-name> --path <output-directory>

For deepagents, use the agent's skills directory:

npx tsx scripts/init_skill.ts <skill-name> --path ~/.deepagents/agent/skills

Step 5: Validate the Skill

Once development of the skill is complete, validate it:

npx tsx scripts/quick_validate.ts <path/to/skill-folder>

The validation script checks:

  • YAML frontmatter format and required fields
  • Skill naming conventions (hyphen-case, max 64 characters)
  • Description completeness (max 1024 characters)
  • Required fields: name and description

langchain-ai의 다른 스킬

deepagents-thread-inspector
langchain-ai
로컬 Deep Agents Code SQLite 세션 저장소의 대화를 검사하고 설명합니다. LangSmith 추적 도구를 사용할 수 없을 때 대체 수단으로 사용하며, …
deepagents-python-quickstart
langchain-ai
공식 퀵스타트를 따라 Python으로 최소한의 로컬 Deep Agent를 구축하고, Tavily 대신 공급자 기본 웹 검색을 사용합니다. 사용자가 다음을 원할 때 사용합니다…
deepagents-typescript-quickstart
langchain-ai
공식 퀵스타트를 따라 TypeScript로 최소한의 로컬 Deep Agent를 스캐폴드하고, Tavily 대신 제공자 네이티브 웹 검색을 사용합니다. 사용자가…
eval-engineering
langchain-ai
에이전트 저장소와 사용자가 제공한 선택적 트레이스를 반복적으로 검사하고, 사용자와 인터뷰하며, Harbor 평가를 한 번에 하나씩 생성, 실행, 감사합니다. 용도:…
LangChain RAG Pipeline
langchain-ai
이 스킬을 호출하여 검색 증강 생성(RAG) 시스템을 구축하세요. 문서 로더, RecursiveCharacterTextSplitter, 임베딩(OpenAI) 등을 다룹니다.
LangChain Structured Output & HITL
langchain-ai
langchain-structured-output-&-hitl — AI 에이전트를 위한 설치 가능한 스킬로, langchain-ai/langchain-skills에서 게시되었습니다.
LangSmith Datasets
langchain-ai
이 스킬은 평가 데이터셋을 트레이스에서 생성하거나 LangSmith에 데이터셋을 업로드하거나 데이터셋을 쿼리할 때 호출하세요. 데이터셋 유형(final_response, …)을 다룹니다.
langsmith-evaluator
langchain-ai
LangSmith 평가 파이프라인을 구축할 때 이 스킬을 호출하세요. 세 가지 핵심 구성 요소를 다룹니다: (1) 평가자 생성 - LLM-as-Judge, 사용자 정의 코드; (2)…