克劳德代码团队
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 需要 · Anthropic
- 兼容的系统
- macOS · Linux
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 读取环境变量
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# 1. Set API key
export ANTHROPIC_API_KEY="sk-xxx"
# 2. Install hooks (one-time setup)
./main.sh install-hooks
# 3. Run a task
./main.sh invoke "Create a snake game" /path/to/project
# Claude Code Agent Teams
Execute coding tasks asynchronously with automatic notifications on completion.
## Tools
| Tool | Description |
|------|-------------|
| `invoke_task` | Execute a coding task asynchronously |
| `list_sessions` | List all active sessions |
| `get_session` | Get session ID for a project directory |
| `remove_session` | Remove a session mapping |
| `check_env` | Validate environment configuration |
| `test_notification` | Send test notification |
## Quick Start
```bash
# 1. Set API key
export ANTHROPIC_API_KEY="sk-xxx"
# 2. Install hooks (one-time setup)
./main.sh install-hooks
# 3. Run a task
./main.sh invoke "Create a snake game" /path/to/project
```
## Setup
### Prerequisites
```bash
# Install dependencies
sudo apt-get install jq curl # Ubuntu/Debian
brew install jq curl # macOS
npm install -g @anthropic-ai/claude-cli
```
### Configuration
Configuration priority: **Environment Variables > settings.json > Defaults**
| Priority | Source | Use Case |
|----------|--------|----------|
| 1 (Highest) | Environment variables | API keys, secrets, temporary overrides |
| 2 | `config/settings.json` | Team-shared configuration |
| 3 (Lowest) | Built-in defaults | Default values if not configured |
**Environment variables** (recommended for secrets):
```bash
export ANTHROPIC_API_KEY="sk-xxx" # Required
export ANTHROPIC_BASE_URL="https://..." # Optional
export ANTHROPIC_MODEL="claude-sonnet-4-6" # Optional
```
**Config file** (`config/settings.json`):
```json
{
"api_base_url": "https://coding.dashscope.aliyuncs.com/apps/anthropic",
"model": "claude-sonnet-4-6",
"notify": {
"channels": ["feishu"],
"feishu": { "chat_id": "user:ou_xxx" }
}
}
```
> **Tip:** Use environment variables for sensitive data (API keys) and `settings.json` for shareable configuration (notification channels).
## Usage
```bash
# Auto session (recommended)
./main.sh invoke "Fix login bug" /path/to/project
# Force new session
./main.sh invoke "Refactor module" /path/to/project new
# Custom session ID
./main.sh invoke "Hotfix" /path/to/project hotfix-001
# Manage sessions
./main.sh list-sessions
./main.sh get-session /path/to/project
./main.sh remove-session /path/to/project
# Check environment
./main.sh check-env
# Test notification
./main.sh test-notify
```
## Notification Channels
Configure in `config/settings.json`:
**Feishu:**
```json
{"notify": {"channels": ["feishu"], "feishu": {"chat_id": "user:ou_xxx"}}}
```
**Discord:**
```json
{"notify": {"channels": ["discord"], "discord": {"webhook_url": "https://discord.com/api/webhooks/..."}}}
```
**Telegram:**
```json
{"notify": {"channels": ["telegram"], "telegram": {"bot_token": "123456:ABC...", "chat_id": "@channel"}}}
```
## Workflow
```
Invoke task → Validate env → Get/Create session → Start notification
↓
Run Claude Code in background → Task completes → Hook triggers
↓
Send completion notification → Write results
```
## Output Files
Default: `~/.openclaw/data/claude-code-results/`
| File | Description |
|------|-------------|
| `task-output.txt` | Full Claude Code output |
| `task-meta.json` | Task metadata (status, exit code) |
## Troubleshooting
```bash
# Check environment
./main.sh check-env
# Test notification
./main.sh test-notify
# Reinstall hooks
./main.sh remove-hooks && ./main.sh install-hooks
```
---
> Source: [damiangao/agent-skills](https://github.com/damiangao/agent-skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->
章节与文件索引
按说明文件中的顺序排列。
工具
配置
通知渠道
输出文件
故障排除
文件/命令 -> invoke_task · list_sessions · get_session · remove_session · check_env · test_notification · config/settings.json · settings.json
内容校验值 -> 2ed8c6e9d87d
当前原文的自动摘译,尚未人工审校。
工具
工具 · 描述
invoke_task· 异步执行编码任务list_sessions· 列出所有活动会话get_session· 获取项目目录的会话 IDremove_session· 删除会话映射配置
配置优先级:环境变量 > settings.json > 默认优先级 · 来源 · 用例 1(最高) · 环境变量 · API 密钥、机密、临时覆盖 2 ·
config/settings.json· 团队共享配置 3(最低) · 内置默认值 · 未配置时的默认值通知渠道
在
config/settings.json中配置:飞书:Discord:Telegram:输出文件
默认值:
~/.openclaw/data/claude-code-results/文件 · 描述task-output.txt· 完整的 Claude 代码输出task-meta.json· 任务元数据(状态、退出代码)故障排除
资料来源:damiangao/agent-skills — 由 TomeVault 分发。