twill-cloud-coding-agent▌
twillai/skills · updated Apr 8, 2026
Manage Twill Cloud Coding Agent workflows through the public v1 API.
- ›Create, list, retrieve, and manage tasks with support for custom branches, agent selection, and file attachments
- ›Stream job logs in real time via Server-Sent Events and cancel running jobs at any point
- ›Full lifecycle control: send follow-up messages, approve plans, archive tasks, and manage task state
- ›Schedule recurring coding tasks with cron expressions, timezone support, and pause/resume capabilities
- ›List re
Twill Cloud Coding Agent
Use this skill to run Twill workflows through the public v1 API.
Setup
Set API key and optional base URL:
export TWILL_API_KEY="your_api_key"
export TWILL_BASE_URL="${TWILL_BASE_URL:-https://twill.ai}"
All API calls use:
Authorization: Bearer $TWILL_API_KEY
Use this helper to reduce repetition:
api() {
curl -sS "$@" -H "Authorization: Bearer $TWILL_API_KEY" -H "Content-Type: application/json"
}
Endpoint Coverage (Public v1)
GET /api/v1/auth/meGET /api/v1/repositoriesPOST /api/v1/tasksGET /api/v1/tasksGET /api/v1/tasks/:taskIdOrSlugPOST /api/v1/tasks/:taskIdOrSlug/messagesGET /api/v1/tasks/:taskIdOrSlug/jobsPOST /api/v1/tasks/:taskIdOrSlug/approve-planPOST /api/v1/tasks/:taskIdOrSlug/cancelPOST /api/v1/tasks/:taskIdOrSlug/archiveGET /api/v1/tasks/:taskIdOrSlug/teleport/claudeGET /api/v1/jobs/:jobId/logs/streamPOST /api/v1/jobs/:jobId/cancelGET /api/v1/scheduled-tasksPOST /api/v1/scheduled-tasksGET /api/v1/scheduled-tasks/:scheduledTaskIdPATCH /api/v1/scheduled-tasks/:scheduledTaskIdDELETE /api/v1/scheduled-tasks/:scheduledTaskIdPOST /api/v1/scheduled-tasks/:scheduledTaskId/pausePOST /api/v1/scheduled-tasks/:scheduledTaskId/resume
Auth and Discovery
Validate key and workspace context:
curl -sS "$TWILL_BASE_URL/api/v1/auth/me" -H "Authorization: Bearer $TWILL_API_KEY"
List available GitHub repositories for the workspace:
curl -sS "$TWILL_BASE_URL/api/v1/repositories" -H "Authorization: Bearer $TWILL_API_KEY"
Tasks
Create Task
api -X POST "$TWILL_BASE_URL/api/v1/tasks" -d '{"command":"Fix flaky tests in CI","repository":"owner/repo","userIntent":"SWE"}'
Required fields:
commandrepository(owner/repoor full GitHub URL)
Optional fields:
branchagent(provider or provider/model, for examplecodexorcodex/gpt-5.2)userIntent(SWE,PLAN,ASK,DEV_ENVIRONMENT) — defaults toSWEtitlefiles(array of{ filename, mediaType, url })
Always report task.url back to the user.
List Tasks
curl -sS "$TWILL_BASE_URL/api/v1/tasks?limit=20&cursor=BASE64_CURSOR" -H "Authorization: Bearer $TWILL_API_KEY"
Supports cursor pagination via limit and cursor.
Get Task Details
curl -sS "$TWILL_BASE_URL/api/v1/tasks/TASK_ID_OR_SLUG" -H "Authorization: Bearer $TWILL_API_KEY"
Returns task metadata plus latestJob including status, type, plan content, and plan outcome when available.
Send Follow-Up Message
api -X POST "$TWILL_BASE_URL/api/v1/tasks/TASK_ID_OR_SLUG/messages" -d '{"message":"Please prioritize login flow first","userIntent":"PLAN"}'
userIntent and files are optional.
List Task Jobs
curl -sS "$TWILL_BASE_URL/api/v1/tasks/TASK_ID_OR_SLUG/jobs?limit=30&cursor=BASE64_CURSOR" -H "Authorization: Bearer $TWILL_API_KEY"
Supports cursor pagination:
limitdefaults to30(max100)cursorfetches older pages- response includes
jobsandnextCursor
Approve Plan
Use when the latest plan job is completed and ready for approval.
api -X POST "$TWILL_BASE_URL/api/v1/tasks/TASK_ID_OR_SLUG/approve-plan" -d '{}'
Cancel Task
api -X POST "$TWILL_BASE_URL/api/v1/tasks/TASK_ID_OR_SLUG/cancel" -d '{}'
Archive Task
api -X POST "$TWILL_BASE_URL/api/v1/tasks/TASK_ID_OR_SLUG/archive" -d '{}'
Jobs
Stream Job Logs (SSE)
curl -N "$TWILL_BASE_URL/api/v1/jobs/JOB_ID/logs/stream" -H "Authorization: Bearer $TWILL_API_KEY" -H "Accept: text/event-stream"
Stream emits JSON payloads in data: lines and terminates with a complete event.
Cancel Job
api -X POST "$TWILL_BASE_URL/api/v1/jobs/JOB_ID/cancel" -d '{}'
Scheduled Tasks
List and Create
curl -sS "$TWILL_BASE_URL/api/v1/scheduled-tasks" -H "Authorization: Bearer $TWILL_API_KEY"
api -X POST "$TWILL_BASE_URL/api/v1/scheduled-tasks" -d '{
"title":"Daily triage",
"message":"Review urgent issues and open tasks",
"repositoryUrl":"https://github.com/org/repo",
"baseBranch":"main",
"cronExpression":"0 9 * * 1-5",
"timezone":"America/New_York",
"agentProviderId":"claude-code/sonnet"
}'
Required: title, message, repositoryUrl, baseBranch, cronExpression.
Optional: timezone (defaults to "UTC"), agentProviderId (provider/model override).
Read, Update, Delete
curl -sS "$TWILL_BASE_URL/api/v1/scheduled-tasks/SCHEDULED_TASK_ID" -H "Authorization: Bearer $TWILL_API_KEY"
api -X PATCH "$TWILL_BASE_URL/api/v1/scheduled-tasks/SCHEDULED_TASK_ID" -d '{
"message":"Updated instructions",
"cronExpression":"0 10 * * 1-5",
"agentProviderId":"codex/gpt-5.2"
}'
curl -sS -X DELETE "$TWILL_BASE_URL/api/v1/scheduled-tasks/SCHEDULED_TASK_ID" -H "Authorization: Bearer $TWILL_API_KEY"
Pause and Resume
api -X POST "$TWILL_BASE_URL/api/v1/scheduled-tasks/SCHEDULED_TASK_ID/pause" -d '{}'
api -X POST "$TWILL_BASE_URL/api/v1/scheduled-tasks/SCHEDULED_TASK_ID/resume" -d '{}'
Behavior
- Use
userIntent(SWE,PLAN,ASK,DEV_ENVIRONMENT) when calling API endpoints directly. - Create task, report
task.url, and only poll/stream logs when requested. - Ask for
TWILL_API_KEYif missing. - Do not print API keys or other secrets.
Ratings
4.7★★★★★38 reviews- ★★★★★Benjamin Bansal· Dec 28, 2024
Registry listing for twill-cloud-coding-agent matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Shikha Mishra· Dec 20, 2024
I recommend twill-cloud-coding-agent for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Neel Thompson· Dec 4, 2024
twill-cloud-coding-agent reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Fatima Farah· Dec 4, 2024
twill-cloud-coding-agent has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ren Dixit· Nov 23, 2024
We added twill-cloud-coding-agent from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Charlotte Lopez· Nov 23, 2024
Solid pick for teams standardizing on skills: twill-cloud-coding-agent is focused, and the summary matches what you get after install.
- ★★★★★Yash Thakker· Nov 11, 2024
twill-cloud-coding-agent fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Layla Khanna· Oct 14, 2024
Keeps context tight: twill-cloud-coding-agent is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Benjamin Ramirez· Oct 14, 2024
I recommend twill-cloud-coding-agent for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Dhruvi Jain· Oct 2, 2024
twill-cloud-coding-agent has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 38