Agent Skillsxuiltul/animaworks › machine-tool

machine-tool

GitHub

将大型代码变更、调查或分析任务委派给外部CLI代理执行。提供指令编写规范及并行执行支持,适用于批量处理和重型重构场景。

templates/en/common_skills/machine-tool/SKILL.md xuiltul/animaworks

Trigger Scenarios

需要大规模代码修改 进行复杂代码调查或分析 执行批量代理运行

Install

npx skills add xuiltul/animaworks --skill machine-tool -g -y
More Options

Non-standard path

npx skills add https://github.com/xuiltul/animaworks/tree/main/templates/en/common_skills/machine-tool -g -y

Use without installing

npx skills use xuiltul/animaworks@machine-tool

指定 Agent (Claude Code)

npx skills add xuiltul/animaworks --skill machine-tool -a claude-code -g -y

安装 repo 全部 skill

npx skills add xuiltul/animaworks --all -g -y

预览 repo 内 skill

npx skills add xuiltul/animaworks --list

SKILL.md

Frontmatter
{
    "name": "machine-tool",
    "tags": [
        "machine",
        "agent",
        "external",
        "delegation"
    ],
    "description": "Delegates work to external agent CLIs (machine tools) for large code changes, investigation, or analysis. Use when: offloading implementation via the machine command, heavy refactors, or batched agent runs."
}

Machine Tool

Delegate tasks to external agent CLIs. Offload heavy work like code changes, investigation, and analysis to external agents.

Design Philosophy

You are the craftsperson. The machine is a machine tool (CNC, laser cutter, etc.). A machine tool can cut with incredible precision, but it doesn't decide what to build. It has no memory, no communication, no identity. Your job is to provide precise blueprints (instructions).

CLI Usage

animaworks-tool machine run [options] "instruction" -d /path/to/workdir

CLI Options

Option Description
-e ENGINE Engine selection (omit for auto-selected default; use -h to list available engines)
-d PATH Working directory (default: current directory)
-t SECONDS Timeout in seconds (default: 600s sync, 1800s background)
-m MODEL Model override (default: engine's default)
--background Background execution (1800s timeout; output streams to state/cmd_output/)
-j / --json Output result as JSON

Basic Examples

# Minimal (default engine, current directory)
animaworks-tool machine run "detailed instruction"

# Specify engine and directory
animaworks-tool machine run -e cursor-agent "instruction" -d /path/to/workdir

# Background execution
animaworks-tool machine run --background "instruction" -d /path/to/workdir

# Custom timeout
animaworks-tool machine run -t 300 "instruction" -d /path/to/workdir

Writing Good Instructions (Important)

Vague instructions lead to poor results. Always include:

  1. Goal — What to accomplish
  2. Target files/modules — What to modify
  3. Constraints — Coding conventions, API compatibility, etc.
  4. Expected output — Code, report, diff, etc.

Pass Long Instructions via File

Instructions containing Bash special characters (|, `, $) will cause shell errors if passed directly. Write to a file first:

# Write instruction to file
cat > /tmp/instruction.txt << 'INSTRUCTION'
## Task: PR #2087 Code Review

| Aspect | Check |
|--------|-------|
| Correctness | Meets issue requirements |
| Maintainability | Readability, tests, SRP |

Target file: `app/Services/Movacal/MovacalApiClient.php`
INSTRUCTION

# Read from file and execute
animaworks-tool machine run "$(cat /tmp/instruction.txt)" -d /path/to/workdir

Parallel Execution (--background)

Use --background to run multiple machines simultaneously. Output streams in real-time to state/cmd_output/.

3-Parallel Review Example

# Launch 3 review perspectives in parallel
animaworks-tool machine run --background "Correctness review..." -d /path &
animaworks-tool machine run --background "Maintainability review..." -d /path &
animaworks-tool machine run --background "Consistency review..." -d /path &
wait

# Check results (Read files from state/cmd_output/)

When to Use

Scenario Suitable?
Multi-file code changes YES
Bug investigation / root cause analysis YES
Test code generation YES
Refactoring YES
Short questions NO (answer yourself)
Work requiring memory/messaging NO (do it yourself)

Notes

  • Machine tools have NO access to AnimaWorks infrastructure (no memory, messaging, or org info)
  • Rate limited (5 per session, 2 per heartbeat)
  • Background output streams to state/cmd_output/, check with Read/Glob

Version History

  • 140e43b Current 2026-07-25 09:12

Same Skill Collection

.claude/skills/pixel-asset-gen/SKILL.md
templates/en/common_skills/agent-browser/SKILL.md
templates/en/common_skills/animaworks-guide/SKILL.md
templates/en/common_skills/aws-collector-tool/SKILL.md
templates/en/common_skills/chatwork-tool/SKILL.md
templates/en/common_skills/cron-management/SKILL.md
templates/en/common_skills/discord-tool/SKILL.md
templates/en/common_skills/github-tool/SKILL.md
templates/en/common_skills/gmail-tool/SKILL.md
templates/en/common_skills/google-calendar-tool/SKILL.md
templates/en/common_skills/google-tasks-tool/SKILL.md
templates/en/common_skills/image-gen-tool/SKILL.md
templates/en/common_skills/image-posting/SKILL.md
templates/en/common_skills/local-llm-tool/SKILL.md
templates/en/common_skills/notion-tool/SKILL.md
templates/en/common_skills/skill-creator/SKILL.md
templates/en/common_skills/slack-tool/SKILL.md
templates/en/common_skills/subagent-cli/SKILL.md
templates/en/common_skills/subordinate-management/SKILL.md
templates/en/common_skills/tool-creator/SKILL.md
templates/en/common_skills/transcribe-tool/SKILL.md
templates/en/common_skills/web-search-tool/SKILL.md
templates/en/common_skills/workspace-manager/SKILL.md
templates/en/common_skills/x-search-tool/SKILL.md
templates/en/common_skills/zoom-meeting-scribe/SKILL.md
templates/ja/common_skills/agent-browser/SKILL.md
templates/ja/common_skills/animaworks-guide/SKILL.md
templates/ja/common_skills/aws-collector-tool/SKILL.md
templates/ja/common_skills/chatwork-tool/SKILL.md
templates/ja/common_skills/cron-management/SKILL.md
templates/ja/common_skills/discord-tool/SKILL.md
templates/ja/common_skills/github-tool/SKILL.md
templates/ja/common_skills/gmail-tool/SKILL.md
templates/ja/common_skills/google-calendar-tool/SKILL.md
templates/ja/common_skills/google-tasks-tool/SKILL.md
templates/ja/common_skills/image-gen-tool/SKILL.md
templates/ja/common_skills/image-posting/SKILL.md
templates/ja/common_skills/local-llm-tool/SKILL.md
templates/ja/common_skills/machine-tool/SKILL.md
templates/ja/common_skills/notion-tool/SKILL.md
templates/ja/common_skills/skill-creator/SKILL.md
templates/ja/common_skills/slack-tool/SKILL.md
templates/ja/common_skills/subagent-cli/SKILL.md
templates/ja/common_skills/subordinate-management/SKILL.md
templates/ja/common_skills/tool-creator/SKILL.md
templates/ja/common_skills/transcribe-tool/SKILL.md
templates/ja/common_skills/web-search-tool/SKILL.md
templates/ja/common_skills/workspace-manager/SKILL.md
templates/ja/common_skills/x-search-tool/SKILL.md

Metadata

Files
0
Version
050238c
Hash
4fb9d6c3
Indexed
2026-07-25 09:12

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 04:55
浙ICP备14020137号-1 $mapa de visitantes$