harness
하는 일
이 가이드는 에이전트 스킬의 구조를 설명합니다. SKILL.md 파일, 참고 문서, 스크립트, 그리고 스킬을 저장할 수 있는 위치를 다룹니다. AI 에이전트를 위해 스킬을 설정하는 개발자를 위한 안내서입니다.
사용하는 경우
- ✓에이전트를 위해 SKILL.md 파일로 스킬을 패키징하고 싶을 때.
- ✓Git 저장소나 공유 작업 공간처럼 스킬을 어디에서 설치할 수 있는지 알아야 할 때.
- ✓에이전트를 위한 사용자별 스킬 폴더를 설정하고 싶을 때.
스킬 링크
https://github.com/agentscope-ai/agentscope-java/blob/main/docs/v2/en/docs/harness/skill.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“AgentScope 에이전트를 위해 스킬을 패키징하는 방법을 설명해 주세요. 폴더 구조와 저장 위치도 포함해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
가이드는 스킬을 SKILL.md 파일이 있는 폴더로 설명합니다. 이 파일은 에이전트에게 무엇을 할지 알려 주며, 선택적으로 참고 파일과 스크립트를 함께 둘 수 있습니다. 또한 공유 스킬 폴더와 사용자별 스킬 폴더가 동시에 활성화될 수 있다고 설명합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
A skill is a packaged capability: a directory with a SKILL.md (purpose + instructions the agent reads), optional reference docs, scripts, samples. Hand it to the agent and it will use it when relevant.
Harness lets you install skills from two places:
- Skill marketplaces — Git repo, Nacos, MySQL, classpath, custom stores
- Workspace —
workspace/skills/is shared by everyone;<userId>/skills/isolates per user
Both sources are active simultaneously — no need to choose one. On top of that you can enable a self-learning loop: the agent drafts skills → review gate → background curator tidies up.
A skill directory looks like:
code-reviewer/
├── SKILL.md # required — YAML frontmatter (name + description) + instructions for the agent
├── references/ # optional — long-form docs the agent reads on demand
│ └── style-guide.md
└── scripts/ # optional — executable scripts the agent can shell out to
└── run-checks.sh
Save SKILL.md as UTF-8. A byte order mark (BOM) before the opening --- is supported.
Close the YAML frontmatter with an unindented line containing only --- and optional spaces or tabs. A --- inside a description or an indented YAML block scalar remains part of the metadata.
Skill names must match ^[a-z0-9][a-z0-9-]*$ and be at most 64 characters (lowercase letters, digits, and hyphens only — no underscores or dots), following the industry naming standard for Agent Skills. Names are used verbatim as directory keys and skill identifiers, so non-conforming names are rejected when the skill is constructed or loaded.
SKILL.md format:
---
name: code-reviewer
description: Use when the user asks for code review, style feedback, or PR audits.
---
# Code Reviewer
Steps:
1. Read `references/style-guide.md` for project conventions.
2. Run `scripts/run-checks.sh <target-path>` and summarize the output.
A quick example
Plug in your team's skill repo and the agent can use it immediately:
HarnessAgent agent = HarnessAgent.builder()
.name("assistant")
.model(model)
.workspace(workspace)
.skillRepository(new GitSkillRepository("https://github.com/your-org/team-skills.git"))
.build();
During reasoning, the agent sees skills from the repo and calls load_skill_through_path for whichever one it needs.
Marketplace stores
skillRepository(...) is the unified entry point — pass any store.
Git
<dependency>
<groupId>io.agentscope</groupId>
<artifactId>agentscope-extensions-skill-git-repository</artifactId>
<version>${agentscope.version}</version>
</dependency>
.skillRepository(new GitSkillRepository("https://github.com/your-org/team-skills.git"))
By default, each read does a lightweight remote check, pulling only when HEAD changed. If the repo has a skills/ subdirectory, that's the root; otherwise the repo root is. To control sync timing yourself: new GitSkillRepository(url, false), then call repo.sync() manually.
Nacos
<dependency>
<groupId>io.agentscope</groupId>
<artifactId>agentscope-extensions-nacos-skill</artifactId>
<version>${agentscope.version}</version>
</dependency>
NacosSkillRepository market = new NacosSkillRepository(aiService, "namespace");
HarnessAgent.builder()
.skillRepository(market)
.build();
Best for online distribution + change subscription. market is AutoCloseable; close it on shutdown to release subscriptions.
MySQL
MysqlSkillRepository registry = MysqlSkillRepository.builder(dataSource)
.databaseName("agentscope")
.skillsTableName("skills")
.createIfNotExist(true)
.writeable(true)
.build();
HarnessAgent.builder()
.skillRepository(registry)
.build();
Common for platform-side skill management. writeable(true) lets agents write back; pass false for read-only distribution.
Classpath
Ship skills inside your JAR:
src/main/resources/skills/
└── code-reviewer/
└── SKILL.md
.skillRepository(new ClasspathSkillRepository("skills"))
Works with both standard JARs and Spring Boot fat JARs.
Multiple stores
Call skillRepository(...) multiple times; later ones win:
HarnessAgent.builder()
.skillRepository(communityMarket)
.skillRepository(internalRegistry)
.skillRepository(teamGitRepo)
.build();
Wor
자주 묻는 질문
스킬에 필요한 파일은 무엇인가요?
각 스킬에는 맨 위에 이름과 설명이 적힌 SKILL.md 파일이 필요합니다.
스킬은 어디에서 올 수 있나요?
Git 저장소와 공유 또는 사용자별 작업 공간 폴더가 언급되어 있습니다.
이름 규칙은 무엇인가요?
스킬 이름은 소문자, 숫자, 하이픈을 사용하며 최대 64자입니다.
상세 정보
작성자의 원본 설명
Four-layer skill composition, skill marketplaces, the self-learning loop
인기도
- GitHub 스타
- 6.2k
- 순위
- #14393
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agentscope-java
6.2k에이전트가 Project Reactor 위에 만들어진 다중 에이전트 프레임워크 AgentScope용 논블로킹 Java 코드를 작성하도록 돕습니다.
data-report
6.2k에이전트가 데이터셋을 평균, 합계, 범위, 추세가 담긴 보고서로 요약하고, Markdown 파일로 저장하도록 돕습니다.
data-transform
6.2k에이전트가 CSV, JSON 같은 형식 사이에서 데이터 파일을 변환해 다른 도구에서도 쓸 수 있게 돕습니다.
git-changelog
6.2k에이전트가 Git 기록에서 변경 로그나 출시 노트를 작성하도록 돕습니다. 기능, 수정, 기타 변경으로 묶어 정리합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.