> ## Documentation Index
> Fetch the complete documentation index at: https://docs.twill.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Twill Agent Skill

> An agent skill to delegate coding tasks to Twill from any local coding agent.

Give any coding agent the ability to delegate work to Twill asynchronously.

## Installation

Copy this message and send it to your coding agent:

```text Install Twill Skill theme={"theme":"github-dark"}
Install the skill from https://twill.ai/skill.md and save it to your local skills/ directory.
```

## Use Case: Local Brainstorming, Remote Implementation

Use this workflow when you want fast back-and-forth locally for discovery and spec writing, then hand execution to a cloud agent.

Typical flow:

1. Brainstorm locally with your coding agent.
2. Converge on a concrete implementation spec (scope, files to touch, acceptance criteria, tests).
3. Ask the local agent to create a Twill task from that spec.
4. Let Twill run implementation asynchronously in the cloud.
5. Check status, send follow-ups, and approve plans from the same local thread.

## Why this works

**Latency separation.** Local stays snappy for brainstorming and spec writing. Cloud absorbs the long-running work — implementation, test suites, browser validation — without blocking your terminal.

**E2E verification local agents can't do.** Twill runs your full dev environment in a sandbox: starts the dev server, runs integration tests, exercises UI flows with browser automation, and inspects logs. Local agents don't have that infrastructure.

**Deterministic environment.** Cloud runs happen in isolated, reproducible sandboxes — same task, same setup, consistent results. No "works on my machine."

**You get proof, not just a PR.** Every completed task returns an evidence bundle: PR with summary, test output, screenshots or recordings for UI changes, live preview URL, and logs. This is what makes delegation feel safe.

**Clear responsibility boundaries.** Local agent is the product brain — discovery, architecture, spec writing. Cloud agent is the production hands — implementation, verification, artifacts.

**Real-time visibility.** Track progress from the task URL, send follow-ups mid-run, and approve plans — all from the same local thread. Failures are specific: missing secret, flaky test, spec ambiguity — not just "failed."
