interview – skill Agent & Tự động hóa cho agent AI
Giai đoạn 1 khi xây dựng Claude Managed Agent: phỏng vấn người sáng lập về một công việc chính mà agent nên làm, rồi tạo build sheet (bảng CMA primitives + các phần hoãn sang v1/v2 + kế hoạch đánh giá) MÀ CHƯA cần API key của họ. Dùng khi người dùng nói "help me scope an agent", "I have an idea for an agent", "what should this a
Cài skill interview 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/interview-a325c.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /interview – 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/interview-a325c.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $interview – 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/interview-a325c.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /interview – 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/interview-a325c.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /interview – 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.
Phase 1 — Interview → Plan
Open warmly with one or two examples from
[../../references/examples-bank.md](../../references/examples-bank.md), then interview
the founder into a build sheet. No API key needed in this phase — the output
is a plan.
The six intake slots (ask one at a time; use AskUserQuestion for choices)
| Slot | Question | Maps to |
|---|---|---|
| Job | "What one job should this agent do end-to-end?" | agent.system + outcome description |
| Trigger | "What kicks it off — you ask it, an event, or a schedule?" | on-demand / event / cron |
| Inputs | "What does it read?" (files, repo, memory, gmail/slack/github, web) | resources / MCP servers / memory |
| Actions | "What does it do?" (draft, write, call APIs, run code) | agent toolset / custom tools / MCP |
| Done | "How would you grade a good run?" | outcome rubric (required) |
| Recurrence | "Once, on request, or on a cadence?" | single-pass / grade-loop / cron-loop |
See [../../references/interview-to-config.md](../../references/interview-to-config.md)
for the full mapping.
Workflow
1. Interview. Walk the six slots. Capture the founder's own words — never
invent specifics they didn't claim.
2. Map to primitives.
python3 scripts/interview_planner.py \
--job "Triage overnight support email" --trigger schedule \
--inputs "gmail,memory" --actions "label,reply" \
--dod "one label per email, grounded reason, no invented facts" \
--recurrence daily --out ./my-agent/plan.json
MCP inputs become schema-true mock custom tools in v0 and a v1 deferral
to wire the real server. Irreversible actions (send/publish) become **v2
deferrals** behind always_ask.
3. Assemble the sheet.
python3 scripts/build_sheet_builder.py --plan ./my-agent/plan.json --out-dir ./my-agent
4. Validate limits.
python3 scripts/primitives_validator.py --sheet ./my-agent/build-sheet.json
FAIL blocks progress; fix and re-run. WARN is advisory (surface it).
5. Record the plan in the goal. `goal_state.py set --phase stage-launch
--artifact build_sheet=./my-agent/build-sheet.json`, then advance.
Hard rules
- v0 is the core job only. Everything else is a versioned deferral with a
reason and an exact mechanism.
- Their problem, their words.
- No key yet. The interview produces a plan; the key is a Phase-2 concern.
Forcing-question library (recommend + cite)
1. "What one job — singular?" *Recommend:* the most-repeated task. *Cite:*
interview-to-config.md. Two jobs → two agents.
2. "Real integration or v0 mock?" *Recommend:* mock; wire MCP as v1. *Cite:*
interview-to-config.md rule 1.
3. "How do you grade it?" *Recommend:* 3–5 grounded rubric lines. *Cite:*
cma-primitives.md (rubric required).
4. "Smarter over time?" *Recommend:* attach memory only if yes. *Cite:*
cma-primitives.md (memory limits + injection).
5. "Once, or on a cadence?" *Recommend:* on-demand v0, schedule as Phase-4.
*Cite:* loops-and-workflows.md.
Tools
scripts/interview_planner.py— answers → primitives skeleton + deferrals.scripts/build_sheet_builder.py— assemble/normalize build-sheet.json.scripts/primitives_validator.py— validate vs CMA limits (PASS/WARN/FAIL).
Skill liên quan
- pylabrobot – Phát triển và rà soát tài nguyên tự động hóa phòng lab với PyLabRobot, kế hoạch xử lý…
- cmux – Điều khiển workspace, pane, surface và phiên agent của cmux an toàn từ quy trình…
- coda-automation – Tự động hóa tác vụ Coda qua Rube MCP (Composio): quản lý tài liệu, trang, bảng, hàng…
- codex-fable5 – Áp dụng kỷ luật lấy cảm hứng từ Fable cho công việc với Codex: kiểm tra trước, theo dõi…
- codex-subagent – Khởi chạy Codex CLI như một subagent độc lập cho các tác vụ viết code, review hoặc kiểm…
- commit – Chuẩn bị hoặc tạo commit theo quy ước message kiểu Sentry khi repository yêu cầu; kiểm…
- pretext – Xây dựng bản demo trình duyệt sáng tạo với bố cục văn bản không dùng DOM.
- computer-use-agents – Xây dựng agent AI tương tác với máy tính như con người — xem màn hình, di chuyển con…