mcpField
T
terminaluse

terminaluse

github.com/terminaluseAgent workflows3187 installsUpdated 34w ago
Repository

About terminaluse

A skill for using the TerminalUse `tu` CLI to create, deploy, and interact with agents. It provides workflow guidance and operational checks for authentication, configuration, tasks, deployments, and recovery.

Key features

  1. 01Initialize agent projects with `tu init`
  2. 02Deploy and roll back agents
  3. 03Create and manage tasks
  4. 04Manage filesystems and projects
  5. 05Handle environment variables and secrets
  6. 06Use CLI checks for recovery

Use cases

  1. 01Scaffold a new TerminalUse agent
  2. 02Deploy an agent and inspect deployment status
  3. 03Create tasks and exchange agent messages
  4. 04Automate CLI operations with JSON output

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/terminaluse/agent-skills --skill terminaluse

After installing, type/terminalusein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

workflows/
create.md
deploy.md
interact.md

Details

From the project README

TerminalUse

Build, deploy, interact with agents. Flow: init → deploy → create task → send messages.

Full docs: https://docs.terminaluse.com/llms-full.txt

Default Rule For New Agents

When creating a new agent, use tu init by default.

Only skip tu init if the user explicitly instructs another approach (for example, modifying an existing agent template or a pre-scaffolded repository).

CLI Setup

The tu CLI is provided by the terminaluse Python package. Before running any tu commands:

  1. Verify tu is available:

    which tu || echo "tu CLI not found"
    
  2. If not installed, ask user whether they would like to install it or if there's a venv they would like to source

  3. Ensure you have auth configured:

    • Interactive/local: tu login then tu whoami
    • Non-interactive/automation: set TERMINALUSE_API_KEY (and optionally TERMINALUSE_BASE_URL)

Context Requirement

Agent-scoped commands often default to config.yaml in the current directory when --agent/--config is omitted.

Before running agent-scoped commands without explicit flags:

ls config.yaml || echo "Not in agent directory"

Use explicit flags when possible:

  • --agent <namespace/name> to avoid directory coupling
  • --config <path> when working with a specific manifest

Quick Reference

ActionCommand
Logintu login, tu whoami
Init agenttu init (creates agent directory, no need to mkdir first)
Deploytu deploy -y
List deploymentstu ls
Rollbacktu rollback
List filesystemstu fs ls
List projectstu projects ls
Add env vartu env add <KEY> -v <val> -e prod|preview|all [--secret]
Import env filetu env import <file> -e <env> [--secret KEY]
Create tasktu tasks create --filesystem-id <fs-id> -m "message" [--json]
Create task (auto-create fs)tu tasks create -p <project-id> -m "message" [--json]
Send messagetu tasks send <task-id> -m "message" [--json]
List taskstu tasks ls [--json]
Get task detailstu tasks get <task-id>

tu fs is the canonical filesystems command. tu filesystems is a supported alias. tu tasks ls <id> is deprecated for single-task retrieval; use tu tasks get <id>. Prefer --json for CI/automation and agent-to-agent interaction.

Workflows

TaskReference
Create or edit an agent./workflows/create.md
Deploy to platform./workflows/deploy.md
Test/interact with agent./workflows/interact.md

You must look at the corresponding workflow files based on user intent.

Anti-patterns

  • Creating task without filesystem or project. Tasks either need a filesystem. If project is provided, a filesystem is auto-created in the project
  • Modifying Dockerfile ENTRYPOINT/CMD → breaks deployment
  • Trying to use the agent right after updating secrets. You must wait for the new version to become active. Check with tu ls

Error Recovery

ErrorAction
Deploy failstu ls <branch> lists deployments events for branch → find FAILED → fix → redeploy
Need rollbacktu rollback

Docs/Skills Feedback

If docs or skills are wrong/unclear, ask user permission to send feedback to (include the feedback in the user request): Never include any sensitive information.

curl -X POST 'https://uutzjuuimuclittwbvef.supabase.co/functions/v1/tu-docs-feedback' \
  -H 'Content-Type: application/json' \
  -d '{"feedback":"<issue>", "page":"<page URL> or section name"}'

Comments

Markdown supported