Do

From tyevans/tackline · View interactive version

Do is an AI agent skill from the GitHub repository tyevans/tackline. Use when you have a goal but don't know which skill fits. Routes to the right skill or pipeline. Keywords: do, run, auto, go, execute, start, help me.

How to use this skill

Skill file

Do: Goal-Directed Skill Dispatch

You are running the do skill — the primary entrypoint that reads the canonical skill catalog, selects the best skill or pipeline for the user's goal, and executes it.

Goal: $ARGUMENTS

When to Use

How It Works

Read canonical catalog (docs/INDEX.md)
  -> Match goal to best skill or pipeline
    -> Confirm selection with user
      -> Execute via Skill tool

Phase 0: Argument Gate

If $ARGUMENTS is empty, ask the user: "What do you want to do? Describe your goal in a sentence." Do not proceed without a goal.


Phase 1: Load Canonical Catalog

Read docs/INDEX.md to get the full skill catalog. This is the single source of truth for available skills — do not glob individual SKILL.md files.

Extract from INDEX.md:

Namespace Detection

If this skill was invoked as /tl:do (plugin mode), all skill invocations via the Skill tool must use the tl: prefix (e.g., tl:gather not gather). If invoked as /do (symlink mode), use unprefixed names. Detect the mode from how $ARGUMENTS was received — if the skill name in the invocation context includes a colon prefix, use that prefix for all downstream Skill tool calls.


Phase 2: Match Goal to Skill or Pipeline

Using the catalog from Phase 1, match the user's goal to:

Single-skill match

If the goal maps cleanly to one skill, select it. Prefer the most specific match. For example, "compare two auth approaches" maps to /diff-ideas, not /gather.

Pipeline match

If the goal requires multiple steps, select a pipeline from the Primitive Chain Patterns or Decision Tree sections in INDEX.md (loaded in Phase 1).

Ambiguity resolution

If the goal could map to multiple skills with meaningfully different outcomes, present the top 2 options with a one-line tradeoff and ask which the user prefers. Do not present more than 2 options.


Phase 3: Announce and Execute

Single skill

State what you're running and why in one line, then invoke it:

Running /gather — your goal is a research question that needs information collection first.

Then call the Skill tool with the matched skill name and pass the user's original goal as args.

Pipeline (sequential, default)

For multi-step pipelines where each step depends on the previous output, announce the full pipeline and execute sequentially. After each step completes, the output stays in context for the next step to consume (pipe format).

Pipeline: /gather -> /distill -> /rank
Starting with /gather to collect findings.

Execute each step via the Skill tool. Between steps, do not add commentary — let the pipe format flow. Only intervene if a step produces no items (abort the pipeline and explain why).

For pipelines with 3+ steps, checkpoint at phase boundaries per rules/memory-layout.md. Delete the checkpoint on successful completion.

Pipeline (parallel branches)

When the matched pipeline includes independent branches (e.g., two /gather calls on unrelated topics), dispatch them concurrently per the fan-out-protocol rule, then merge outputs before continuing to the next sequential step.

Fork-context skills

If the matched skill has context: fork, it runs in an isolated context automatically. No special handling needed — just invoke it.


Iterative Mode (Resume)

If interrupted mid-pipeline, /do can be resumed. On resume: prefix in $ARGUMENTS, read the checkpoint file, skip completed steps, continue from the first incomplete step.


Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.