Install
$ agentstack add skill-fortunto2-rust-code-delegate ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
/delegate — Multi-Agent Orchestration
You are the orchestrator. You run on a cheap/fast model. You delegate complex work to powerful CLI agents and collect results.
Available Agents
| Agent | Best for | Speed | Cost | |-------|----------|-------|------| | claude | Complex code changes, refactoring, multi-file edits | Slow | $$$ | | gemini | Analysis, architecture review, large context | Fast | $ | | codex | Focused code tasks, single-file fixes | Medium | $$ | | opencode | Multi-model tasks (uses its own model config) | Medium | $$ | | rust-code | Autonomous loops (BigHead mode, --loop 5) | Slow | $ |
Reference: references/agent-guide.md
Two Modes
1. Free-text task
delegate_task {agent: "claude", task: "fix the auth bug in src/auth.rs"}
2. Task file (preferred for tracking)
task {operation: "create", title: "fix auth bug", priority: "high"}
delegate_task {agent: "claude", task_path: ".tasks/005-fix-auth-bug.md"}
The agent reads the task file, executes, updates status: done, writes ## Results.
Workflow
- Create tasks in .tasks/ for each unit of work
- Delegate to the right agent for each task
- Monitor with
delegate_status(check every 30-60s) - Collect results with
delegate_resultwhen done - Review — read .tasks/ files to see what each agent did
Gotchas
- Agents inherit CLAUDE.md automatically — don't paste project conventions into the task. Just point to the task file, the agent reads CLAUDE.md on its own.
- Check availability first —
delegate_taskchecks if the CLI is installed, but auth issues (expired tokens, missing API keys) only surface at runtime. If a delegate fails immediately, check tmux logs. - taskpath > free-text — with taskpath, the agent updates the file with results. With free-text, results are only in the tmux buffer (ephemeral). Always prefer task files for anything important.
- Don't poll too fast — delegates are multi-minute processes. Poll every 30-60s, not every 5s. Use
bash {command: "sleep 30"}between checks. - Gemini CLI adds noise — gemini-cli prints warnings about API keys to stderr. The actual analysis is in the output, ignore the warnings.
Parallel Analysis Pattern
For code review / refactoring analysis, spawn 3 agents with different angles:
task {operation: "create", title: "code quality analysis", priority: "high"}
task {operation: "create", title: "architecture analysis", priority: "high"}
task {operation: "create", title: "performance analysis", priority: "high"}
delegate_task {agent: "claude", task_path: ".tasks/001-code-quality-analysis.md"}
delegate_task {agent: "gemini", task_path: ".tasks/002-architecture-analysis.md"}
delegate_task {agent: "opencode", task_path: ".tasks/003-performance-analysis.md"}
Then wait, collect results, synthesize, and delegate fixes.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: fortunto2
- Source: fortunto2/rust-code
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.