Install SuperTag, give a team of Tags its first Objective in a local repository, find the result, then add a chat channel. Read this before any other SuperTag setup task.
8 stars
0 votes
0 copies
1 view
Added November 23, 2026
ai-agentsgonodegitapi
Works with
claude code
cursor
terminal
cli
api
Security analysis
C71/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Install And First Reply?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/atemaguer-install-and-first-reply)
---
name: install-and-first-reply
description: Install SuperTag, give a team of Tags its first Objective in a local repository, find the result, then add a chat channel. Read this before any other SuperTag setup task.
---
# Install SuperTag and run a first Objective
Goal: one Tag that takes an Objective in a real git repository and delivers the result as a
branch, followed by the same Tag answering in one chat channel. Do not configure more than one
collaboration surface on the first run.
Use Codex or Claude Code for the first run. Check [Requirements](../../docs/operations/requirements.md)
for system tools, then sign in before `supertag init`: run
`codex -c 'cli_auth_credentials_store="file"' login` for Codex, or run `claude` and follow its
prompt for Claude Code. Cursor and OpenCode also work; OpenCode is the way to run open-weight
models such as GLM, Kimi, and DeepSeek. Their setup is under [Other harnesses](#other-harnesses)
below.
## 1. Install
Releases cover Linux on arm64 or amd64 and macOS on Apple silicon or Intel:
```sh
curl -fsSL https://supertag.sh/install | sh
export PATH="$HOME/.local/bin:$PATH"
supertag --version
```
## 2. Set up the repository
```sh
cd ~/code/app
supertag init
```
`init` finds `claude` and `codex` on `PATH` (and `opencode`, or Cursor through `CURSOR_API_KEY`),
and stops without changing anything when none is available. It checks each harness's sign-in with
the credentials the Worker Host will have and labels it `signed in` or not, with sign-in
instructions. Asked in a terminal, OpenCode prints `sign-in not checked (choose a model)` until
you choose a model; `init` then checks it with that model.
Claude Code also needs Node.js 22.13.0 or later on `PATH`; without it, `init` says
so and doesn't offer Claude Code.
It then asks for the Control Plane port, the harness (and a model for OpenCode, offering what
`opencode models` lists), the
Workspace name, and the Tag's name, with defaults in brackets. Codex sandboxes its own commands.
For Claude Code, `init` asks how the lead may run commands and defaults to not at all: the lead
then reads and edits files and replies, but runs no commands. Keep that default for the first
run; [Let the lead run commands](../../docs/operations/cli.md#let-the-lead-run-commands) turns them
on later. `--yes` accepts every default and needs no terminal. It writes `~/.supertag/supertag.yaml` and starts, in the background:
- a `control-plane` service, which creates the Permission Set `local-tools` (`files:read`,
`files:write`, `schedule:create`, and, except for Cursor, `web:fetch`, and for Codex also
`commands:execute`), the Context Set `skills` (every Skill the host has: the user's
`~/.claude/skills` and `~/.agents/skills`, and the repository's `.claude/skills` and
`.agents/skills`), the Role `lead` with both, and the Tag `lead`, bound to this repository's
Workspace and following the branch checked out when `init` ran;
- a Gateway; and
- a `host` service named after the machine, which maps this repository as the Workspace,
named after the repository by default, runs every harness `init` found signed in (the lead's
first), and runs up to three Task Attempts at once in all, across those harnesses
(`concurrency: 3`).
Nothing is written to the repository; state lives in `~/.supertag/`. Running `init` again in
another repository offers to add it, with a Tag named after it that works there.
`supertag workspace add PATH` adds a repository as a Workspace without a Tag. Each new Session of `lead`
starts from the current commit of the branch `init` found (`workspace.ref`). When HEAD is
detached, `init` pins the checked-out commit (`workspace.baseCommit`) instead and says so in its
output. To follow another branch or pin a commit, apply a Tag manifest; see [Workspaces](../../docs/guides/workspaces.md#2-bind-a-tag-to-the-workspace).
Operator commands use these local services without a flag; `--gateway NAME` targets
another Control Plane.
`local-tools` grants `web:fetch` on every harness but Cursor, which has no tool for reading web
pages, and `init` says so: the lead can read web pages,
and its commands can reach the network. Web pages can carry instructions, so for a lead that
handles secrets, remove it from `supertag.yaml` and run `supertag up`. A lead whose commands run in
local-vm containers gets none, because the containers have no network. Current Codex models run
commands only in Codex code mode, which SuperTag starts only for a Task that also has `web:fetch`;
to keep a Codex lead offline, also select a Codex model that is not code-mode-only. See
[Codex commands and models](../../docs/operations/requirements.md#codex-commands-and-models).
A Tag without `web:fetch` hears so at the start of each turn, so it tells the person it has no web
access and that an operator can grant `web:fetch`, instead of refusing vaguely.
## 3. Create the first Objective
Choose an ID and state the outcome with evidence:
```sh
supertag objective create readme-setup \
"The README explains local setup. Done when a new contributor can follow it." \
--owner lead
```
It prints the Objective as JSON and queues `lead`'s first turn. The Tag plans, does the work
itself or starts work Sessions for it, and reviews what each reports.
## 4. Follow it and find the result
```sh
supertag watch objective readme-setup
supertag describe objective readme-setup
```
`watch objective` follows the Objective as a timeline until it closes. `describe` shows status,
owner, **Delivered**, **Needs you**, and each Session. When a Task changes the repository, the
Worklet writes its commits into your repository as the branch `supertag/session/HASH`. It
never switches your checked-out branch or touches your working tree:
```sh
git branch --list 'supertag/session/*'
git diff main...supertag/session/HASH
```
## 5. Answer, push back, or approve
`supertag get inbox-item` lists the questions waiting on you; answer one with
`supertag question answer TASK_ID TEXT`. To redirect work, send the Objective's owner a turn in its
Session. For both, follow
[Operate SuperTag](../operate-supertag/SKILL.md#read-pending-questions-before-messaging).
```sh
supertag objective review readme-setup approve
supertag approval approve APPROVAL_ID
```
`supertag ps` lists the services, `supertag logs -f` follows them, `supertag down` stops them,
and `supertag up` starts them again. `restart: unless-stopped` on the services in
`~/.supertag/supertag.yaml` keeps them running after restarts.
## 6. Next: add a chat channel
Lark or Feishu and Slack need no public URL on a laptop: the Gateway connects outbound, to Slack
over Socket Mode. GitHub, Linear, and Microsoft Teams send webhooks, which need a public HTTPS URL
forwarded to the Gateway's loopback listener, such as a tunnel. For Slack:
1. Create the app from [`docs/surfaces/slack-app-manifest.yaml`](../../docs/surfaces/slack-app-manifest.yaml)
following [`docs/surfaces/slack.md`](../../docs/surfaces/slack.md). You need its bot token
(`xoxb-…`) and an app-level token (`xapp-…`) with `connections:write`.
2. Enroll it. Setup prompts with masked input or reads `SLACK_BOT_TOKEN` and `SLACK_APP_TOKEN`;
never pass secrets as flags.
```sh
supertag setup surface slack
```
3. Invite the app to the channel and add the channel's stable ID, not its name, to the Tag:
```sh
supertag tag update lead --add-location slack --channel-id C0123456789
```
4. Mention `@SuperTag` in the channel. `lead` replies in the thread; later replies in the thread
continue the Session without another mention.
A location grants only the mention lifecycle: receive an invocation, read the originating thread,
reply there. Add tools and knowledge with [configure-tags](../configure-tags/SKILL.md). Other
surfaces are in [connect-a-surface](../connect-a-surface/SKILL.md).
## Connectivity check after init
```sh
supertag status
supertag get host
supertag describe tag lead
supertag get surface-location
```
`status` lists Worker Hosts, Tags, unfinished Objectives, and the inbox; the local host should
be connected. Without a channel, check execution and the reply from the terminal:
```sh
supertag message lead "Reply with hello."
```
It sends to your conversation with `lead`, the one the desktop app shows, waits
for the reply, and prints it. In the configured channel, send `@SuperTag Reply with hello.` A threaded reply checks
delivery, routing, execution, and the return path together. It uses the configured model and may
incur charges.
If the reply does not arrive:
```sh
supertag watch task
supertag describe task TASK_ID
supertag get reply
supertag logs gateway
```
Mention the Tag again while `watch task` runs to see the new Task's ID. `describe task` explains
a waiting Task, and `get reply` shows whether the reply was delivered. If no Task appears, check the location, the app
invitation, and the Gateway log. See [troubleshoot](../troubleshoot/SKILL.md). For an always-on
team deployment, continue to [deploy-supertag](../deploy-supertag/SKILL.md).
## Verify the setup
| After step | Verify with |
| --- | --- |
| 1 | `supertag --version` prints a version |
| 2 | `supertag ps` shows `control-plane`, `gateway`, and the host running |
| 3 | `supertag describe objective readme-setup` shows the owner's turn queued or running |
| 4 | `describe objective` lists a delivery, and `git branch` shows `supertag/session/...` |
| 6 | `supertag get surface-location` lists the channel, and a threaded reply appears |
## Other harnesses
For Cursor, the user generates an API key at https://cursor.com/dashboard/api and adds
`CURSOR_API_KEY=...` to `~/.supertag/.env` themselves; `init` detects Cursor only when
`CURSOR_API_KEY` is also set in the environment it runs in. Never ask for a key in chat or write
it for them.
For OpenCode, run `supertag init --yes --harness opencode --model PROVIDER/MODEL`, such as
`opencode-go/glm-5.3`; without `--model`, `init` chooses from `opencode models`. The key comes
from the provider's API-key entry in OpenCode's sign-in file, which the user makes with
`opencode auth login`, and `init` then writes `opencode-auth-file` for the host. Otherwise it
comes from the provider's variable, such as `OPENAI_API_KEY`, in `~/.supertag/.env`. OpenCode
Zen's free `opencode/...` models need neither. Without any, `init` stops and says to run
`opencode auth login`. Never read the sign-in file or ask for a key in chat. See
[Run SuperTag on open-weight models](../../docs/guides/open-models.md#start-with-supertag-init).