소스 정보
- 저장소
- agentscope-ai/AgentTeams
- 최근 소스 활동
- 2026년 7월 21일 14:13
- 감지된 SKILL.md 언어
- 영어
- 스타
- 5,438
- 포크
- 666
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/agentscope-ai/AgentTeams --skill coding-cli명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | coding-cli |
| description | 将编码工作委托给 Manager 持有的 AI CLI 工具(Claude Code / Gemini CLI / qodercli)执行 |
| assign_when | Worker 需要完成编码任务(写代码、修改代码、重构、修 bug 等),且 Manager 已启用 Coding CLI 委托模式(spec.md 中包含"## Coding CLI Mode"章节) |
When the Manager assigns you a task with a "## Coding CLI Mode" section in spec.md, you do not write the code yourself. Instead, you:
Check spec.md for the task. If it contains ## Coding CLI Mode, use this skill for all code changes.
Set up the workspace directory under the shared filesystem:
workspace="/root/agentteams-fs/shared/tasks/{task-id}/workspace"
mkdir -p "$workspace"
# Clone a repo (example)
git clone <repo-url> "$workspace"
# Or copy existing code
cp -r /path/to/source "$workspace/"
Constraint: The workspace path must be under /root/agentteams-fs/. The Manager accesses the same path via MinIO mirror.
Before sending the coding-request, push all workspace files so the Manager can access them:
mc mirror "/root/agentteams-fs/shared/tasks/{task-id}/workspace/" \
${AGENTTEAMS_STORAGE_PREFIX}/shared/tasks/{task-id}/workspace/
Before modifying the workspace or sending a coding-request, check if the task directory is being processed:
# Sync latest state from MinIO
mc mirror "${AGENTTEAMS_STORAGE_PREFIX}/shared/tasks/{task-id}/" \
"/root/agentteams-fs/shared/tasks/{task-id}/"
# Check for processing marker
if [ -f "/root/agentteams-fs/shared/tasks/{task-id}/.processing" ]; then
echo "Task directory is being processed. Wait for manager to complete."
# Do NOT send coding-request yet; wait and retry
fi
If a .processing marker exists, wait for the Manager to complete their operation before sending your request.
A good prompt includes:
Example of a good prompt:
In the file `src/server/handlers/auth.go`, implement the `RefreshToken` function (currently a stub at line 142).
Requirements:
- Validate the incoming refresh_token from the request body (field name: "refresh_token")
- Look up the token in the database using `db.FindRefreshToken(ctx, token)` (already imported)
- If valid, generate a new access token with `auth.GenerateAccessToken(userID)` and return it as JSON: {"access_token": "<token>", "expires_in": 3600}
- If invalid or expired, return HTTP 401 with body: {"error": "invalid_refresh_token"}
- Follow the existing error handling pattern used in `LoginHandler` (line 89)
Do not change any other files.
Signs of a weak prompt (avoid):
coding-request: to ManagerSend in your Worker Room (or Project Room, wherever the task was assigned):
@manager:DOMAIN task-{task-id} coding-request:
workspace: /root/agentteams-fs/shared/tasks/{task-id}/workspace
---PROMPT---
{your detailed coding prompt here}
---END---
Note: workspace can be any subdirectory under /root/agentteams-fs/, e.g. a cloned git repo:
workspace: /root/agentteams-fs/shared/tasks/{task-id}/workspace/my-repo
The Manager will run the CLI tool and respond with either:
Success — coding-result:
@{your-name}:DOMAIN task-{task-id} coding-result:
CLI 工具已完成编码。请同步工作目录并 review 变更...
Failure — coding-failed:
@{your-name}:DOMAIN task-{task-id} coding-failed:
CLI 工具执行失败...你生成的提示词已保存于:/root/agentteams-fs/shared/tasks/{task-id}/coding-prompts/
coding-result:# Sync changes from MinIO
agentteams-sync
# Review what changed
cd /root/agentteams-fs/shared/tasks/{task-id}/workspace
git diff # if it's a git repo
# or: check coding-cli-logs/ for CLI output
Review the changes:
Report to Manager:
@manager:DOMAIN task-{task-id} completed:
Changes reviewed and verified. {Brief summary of what was implemented.}
coding-failed:Implement the coding task yourself using your normal approach. When done, report:
@manager:DOMAIN task-{task-id} completed:
Implemented manually (CLI delegation failed). {Brief summary.}
If one CLI delegation doesn't fully complete the task (e.g., the first run fixed the bug but tests still fail), you can send another coding-request: with a follow-up prompt. Sync the workspace first to get the latest state before generating the next prompt.
go test ./... to verify"