setup – skill Agent & Tự động hóa cho agent AI
Thiết lập một thí nghiệm autoresearch mới theo kiểu tương tác. Thu thập domain, file mục tiêu, lệnh eval, metric, hướng tối ưu và evaluator. Dùng khi người dùng chạy /ar:setup hoặc yêu cầu bắt đầu tối ưu một file bằng vòng lặp autoresearch.
Cài skill setup bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/setup-ae576.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /setup – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/setup-ae576.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $setup – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/setup-ae576.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /setup – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/setup-ae576.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /setup – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
/ar:setup — Create New Experiment
Set up a new autoresearch experiment with all required configuration.
Usage
/ar:setup # Interactive mode
/ar:setup engineering api-speed src/api.py "pytest bench.py" p50_ms lower
/ar:setup --list # Show existing experiments
/ar:setup --list-evaluators # Show available evaluatorsWhat It Does
If arguments provided
Pass them directly to the setup script:
python {skill_path}/scripts/setup_experiment.py \
--domain {domain} --name {name} \
--target {target} --eval "{eval_cmd}" \
--metric {metric} --direction {direction} \
[--evaluator {evaluator}] [--scope {scope}]If no arguments (interactive mode)
Collect each parameter one at a time:
1. Domain — Ask: "What domain? (engineering, marketing, content, prompts, custom)"
2. Name — Ask: "Experiment name? (e.g., api-speed, blog-titles)"
3. Target file — Ask: "Which file to optimize?" Verify it exists.
4. Eval command — Ask: "How to measure it? (e.g., pytest bench.py, python evaluate.py)"
5. Metric — Ask: "What metric does the eval output? (e.g., p50_ms, ctr_score)"
6. Direction — Ask: "Is lower or higher better?"
7. Evaluator (optional) — Show built-in evaluators. Ask: "Use a built-in evaluator, or your own?"
8. Scope — Ask: "Store in project (.autoresearch/) or user (~/.autoresearch/)?"
Then run setup_experiment.py with the collected parameters.
Listing
# Show existing experiments
python {skill_path}/scripts/setup_experiment.py --list
# Show available evaluators
python {skill_path}/scripts/setup_experiment.py --list-evaluatorsBuilt-in Evaluators
| Name | Metric | Use Case |
|------|--------|----------|
| benchmark_speed | p50_ms (lower) | Function/API execution time |
| benchmark_size | size_bytes (lower) | File, bundle, Docker image size |
| test_pass_rate | pass_rate (higher) | Test suite pass percentage |
| build_speed | build_seconds (lower) | Build/compile/Docker build time |
| memory_usage | peak_mb (lower) | Peak memory during execution |
| llm_judge_content | ctr_score (higher) | Headlines, titles, descriptions |
| llm_judge_prompt | quality_score (higher) | System prompts, agent instructions |
| llm_judge_copy | engagement_score (higher) | Social posts, ad copy, emails |
After Setup
Report to the user:
- Experiment path and branch name
- Whether the eval command worked and the baseline metric
- Suggest: "Run
/ar:ar-run {domain}/{name}to start iterating, or/ar:loop {domain}/{name}for autonomous mode."
Skill liên quan
- grok-build – Giao các tác vụ triển khai đã được đặc tả rõ cho Grok Build CLI của xAI chạy headless…
- helium-mcp – Kết nối với máy chủ MCP của Helium để nghiên cứu tin tức, phân tích thiên lệch truyền…
- helpdesk-automation – Tự động hóa tác vụ HelpDesk qua Rube MCP (Composio): liệt kê ticket, quản lý view, dùng…
- hf-mcp – Dùng Hugging Face Hub qua công cụ máy chủ MCP. Tìm kiếm model, dataset, Space, bài báo…
- hf-mem – Công cụ CLI Hugging Face để ước tính bộ nhớ cần thiết để tải trọng số model Safetensors…
- hierarchical-agent-memory – Hệ thống bộ nhớ CLAUDE.md theo phạm vi, giúp giảm chi phí token ngữ cảnh. Tạo file ngữ…
- skillopt-sleep – Dùng khi người dùng muốn agent Claude của họ tự cải thiện từ lần sử dụng trước, hỏi về…
- hosted-agents – Xây dựng background agent trong môi trường sandbox. Dùng cho hosted coding agent, VM…