Agent skill
remote-work
Execute amplihack work on remote Azure VMs with automatic region and resource selection
Install this agent skill to your Project
npx add-skill https://github.com/rysweet/amplihack/tree/main/amplifier-bundle/skills/remote-work
SKILL.md
Remote Work Skill
Execute amplihack tasks on remote Azure VMs using the /amplihack:remote command.
When to Use
Use this skill when you want to:
- Run long-running tasks on remote VMs
- Leverage more powerful Azure compute
- Distribute work across multiple machines
- Isolate experimental or risky work
- Work in specific Azure regions
How It Works
When you say things like:
- "Run this remotely"
- "Execute on an eastus VM"
- "Offload this to Azure"
- "Use a remote machine for this"
I will:
- Extract your task description
- Detect region preferences (if mentioned)
- Recommend appropriate VM size based on task complexity
- Execute
/amplihack:remotewith proper options - Guide you on accessing results
Region Detection
I automatically detect Azure regions from your request:
- "eastus", "east us" → --region eastus
- "westus", "west us" → --region westus
- "centralus" → --region centralus
- (and other Azure regions)
VM Size Recommendations
Based on your task complexity keywords:
Small (size s): Quick analysis, simple fixes
- Keywords: "quick", "simple", "small", "analyze"
- Size: s (8GB RAM)
Medium (size m): Standard development work
- Keywords: "implement", "feature", "refactor"
- Size: m (64GB RAM) - default
Large (size l): Complex refactoring, large codebases
- Keywords: "large", "comprehensive", "complex", "entire codebase"
- Size: l (128GB RAM)
Extra Large (size xl): Intensive compute tasks
- Keywords: "intensive", "heavy", "massive"
- Size: xl (256GB RAM)
Instructions
When activated:
-
Parse the user's request to extract:
- The task description
- Region preference (if mentioned)
- Complexity hints for VM sizing
-
Determine VM size based on keywords:
- Default to "m" unless keywords suggest otherwise
- Use "s" for simple/quick tasks
- Use "l" for large/complex tasks
- Use "xl" for intensive/massive tasks
-
Construct the command:
/amplihack:remote --region {region} --vm-size {size} auto "{task}"If no region mentioned, omit --region (uses azlin default)
-
Execute the command using the SlashCommand tool
-
Guide the user on next steps:
- Results will be in
~/.amplihack/.claude/runtime/logs/remote/ - Git branches in
remote-exec/namespace - How to view logs and integrate changes
- Results will be in
Examples
Example 1: Simple with Region
User: "Run this analysis remotely on an eastus VM"
Your Response:
I'll execute this analysis on a remote Azure VM in eastus.
Detected:
- Task: analysis work
- Region: eastus
- Size: s (small - suitable for analysis)
Executing: /amplihack:remote --region eastus --vm-size s auto "analysis work"
Then use SlashCommand tool to execute it.
Example 2: Large Refactoring
User: "I need to offload this comprehensive refactoring to Azure, use westus2"
Your Response:
I'll execute this comprehensive refactoring on a remote Azure VM in westus2.
Detected:
- Task: comprehensive refactoring
- Region: westus2
- Size: l (large - for comprehensive work)
Executing: /amplihack:remote --region westus2 --vm-size l auto "comprehensive refactoring"
Example 3: No Region Specified
User: "Run this remotely"
Your Response:
I'll execute this task on a remote Azure VM using your default region.
Detected:
- Task: [extract from context]
- Region: default (from azlin config)
- Size: m (medium - standard)
Executing: /amplihack:remote --vm-size m auto "[task]"
Result Integration
After execution completes, guide the user:
Remote execution complete!
Results:
- Logs: .claude/runtime/logs/remote/
- Branches: Check `git branch -r | grep remote-exec`
- Integration: Review changes and merge if ready
To view logs:
cat .claude/runtime/logs/remote/remote-exec-*.log
To merge remote changes:
git fetch
git merge remote-exec/main
Error Handling
If the command fails, explain common issues:
Secrets Detected: "Remote execution blocked - secrets found in repository. Please remove hardcoded secrets and use .env files instead."
Azlin Not Configured:
"Azlin is not configured. Please run: azlin configure"
Timeout:
"Task timed out. The VM has been preserved for inspection. Use azlin connect <vm-name> to investigate."
Best Practices
Remind users:
- Keep git state clean before remote execution
- Use
.envfor secrets (never hardcode) - Monitor Azure costs with
azlin list - Clean up VMs after debugging with
azlin kill <vm-name>
Token Budget
- Core instructions: ~1,200 tokens
- Examples and guidance: ~400 tokens
- Total: ~1,600 tokens (well under 2,000 limit)
See Also
/amplihack:remote- Direct command interface- Azlin documentation: https://github.com/rysweet/azlin
- Remote execution module:
~/.amplihack/.claude/tools/amplihack/remote/README.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
chemist-analyst
Analyzes events through chemistry lens using molecular structure, reaction mechanisms, thermodynamics, kinetics, and analytical techniques (spectroscopy, chromatography, mass spectrometry). Provides insights on chemical processes, material properties, reaction pathways, synthesis, and analytical methods. Use when: Chemical reactions, material analysis, synthesis planning, process optimization, environmental chemistry. Evaluates: Molecular structure, reaction mechanisms, yield, selectivity, safety, environmental impact.
learning-path-builder
Creates personalized learning paths for technologies, frameworks, or concepts. Use for user-interactive session only for onboarding new technologies, hackathon skill-building, or personal development planning. Not for use in automated development or investigation. Sequences resources (docs, tutorials, exercises) based on current skill level and learning goals. Adapts to learning style: hands-on, theory-first, project-based.
gh-work-report
Generates comprehensive GitHub activity reports across all authenticated accounts. Gathers repos, PRs, features, and themes for configurable time periods (1/5/7/30/90 days). Produces shareable markdown with tables, mermaid charts, and executive summaries. Can create a private repo with GitHub Actions automation and GitHub Pages aggregation site. Use when: "github report", "work report", "activity summary", "what did I work on", "gh-work-report", "show my github activity".
pr-review-assistant
Philosophy-aware PR reviews checking alignment with amplihack principles. Use when reviewing PRs to ensure ruthless simplicity, modular design, and zero-BS implementation. Suggests simplifications, identifies over-engineering, verifies brick module structure. Posts detailed, constructive review comments with specific file:line references.
code-smell-detector
Identifies anti-patterns specific to amplihack philosophy. Use when reviewing code for quality issues or refactoring. Detects: over-abstraction, complex inheritance, large functions (>50 lines), tight coupling, missing __all__ exports. Provides specific fixes and explanations for each smell.
biologist-analyst
Analyzes living systems and biological phenomena through biological lens using evolution, molecular biology, ecology, and systems biology frameworks. Provides insights on mechanisms, adaptations, interactions, and life processes. Use when: Biological systems, health issues, evolutionary questions, ecological problems, biotechnology. Evaluates: Function, structure, heredity, evolution, interactions, molecular mechanisms.
Didn't find tool you were looking for?