---
name: use-tack
description: Operate Tack, which manages cross-agent skills, commands and context. Use for any `tack` command - discover resources, pick and sync them into Claude Code, Codex, Cursor, GitHub Copilot CLI, Gemini CLI, Cline, OpenCode or Pi, check health and upgrades. To create or edit a source, use the `manage-tack-sources` skill.
metadata:
tack: |
version: 1
activation: opt-in
user-activation: default
---
# Use Tack
Tack links skills and commands from registered sources into supported agents. Source files stay where they are. Extensions add tools; `tack extension` lists them, and each one that is on brings its own skill.
- First-time setup, or a request to set up Tack: run `tack guide onboarding` and follow it, through the part each part names last.
- A new project, worktree, clone, source or skill after setup, or an agent or a profile turned on or off: `tack guide day-two`.
- Start of work in a repository that uses Tack: the `prepare-tack-checkout` skill.
- Creating or changing a source: `manage-tack-sources`. Profiles and bundles: `author-tack-profiles`.
Read the reference for the topic of the task:
- [setup](references/setup.md): `init`, built-in skills, sources and projects, upgrade, state.
- [selection](references/selection.md): defaults, picks, `sync`, adapters and delivery paths.
- [imports](references/imports.md): copy skills from GitHub into a source.
- [maintenance](references/maintenance.md): refresh, cleanup, removals, links in the way, checks.
- [output](references/output.md): the JSON envelope and exit codes.
- [explore](references/explore.md): `tack explore`, the operator's terminal editor. Under an agent it fails with `terminal-required`: use `tack catalog`, `tack status` and `tack pick`.
## Output
Tack prints a compact text view. The first line names the command and its status (`✓ success`, `! partial` or `✗` with the failure class), diagnostics carry a code, and a `Next` section lists the exact commands to run next. Follow `Next` before guessing a command. `! partial` exits `1`: the command ran and something needs attention. Text views change in any build: read them, never parse them.
Add `--json` after `tack` only for exact state fields or a structured answer. Only `status`, `sync`, `init`, `doctor`, `upgrade` (with `upgrade status`) and `--version` carry a stable payload, and so does a docs command its own skill names; every other command's JSON has no schema ([JSON output](references/output.md#json-output)).
## Stay in scope
Do only what was asked: do not pick or sync beyond the request, and preview before any change. Use `--help` only for the command the task needs, and skip broad inventory sweeps of `catalog`, `source`, `project`, `adapter` and `doctor`, except during onboarding.
## Executable, state and selectors
<!-- ‹guest · 2026-12-04› -->
Find the executable once per session: `tack` if `command -v tack` finds it. If there is none, report exactly: "Tack is not installed: no tack on PATH. Install it with npm install --global @tackup/cli." Installing and upgrading Tack is the operator's decision: `tack upgrade` names the command, and `tack init` then relinks the built-in skills. `tack init` writes at once, with no preview, and is safe to repeat.
State defaults to `~/.tack`; `TACK_STATE_DIR` or a root `--state-dir PATH` selects another. Keep one state directory throughout a workflow. Run a Tack checkout as `bun run --cwd <checkout> tack ...` with its own `--state-dir`.
Pass an explicit selector: `--project PROJECT` for a registered project (its name, never a path; `tack project` lists them), `--user` for the user target. Never combine selectors, or pair one with `--cwd`. A request to add a skill "for me", "everywhere" or "globally" means `--user`: user-level links reach every project's agent sessions.
Without a selector, `sync`, `status`, `state clean` and `project refresh` select the project containing the current directory or `--cwd PATH`. Outside a project a bare request fails: do not add `--all` in response; follow its Next (`project refresh --apply` in a new worktree, `project add NAME` in an unregistered repository), pass `--project PROJECT`, or report the failure. `--all` selects every project and the user target; use it only when the operator asks for every project by name or number, such as "every project and my user links".
An adapter is machine-wide: `adapter enable` and `adapter disable` change the user target and every project. No setting covers one project; `sync --adapter`, `state clean` and `pick exclude` cannot emulate one. State that scope before you apply, and ask first when the request names one project.
Built-in skills ship with Tack and are always delivered; `pick` refuses them with `builtin-skill-locked`.
## Find and deliver
Read-only commands, each for the fact the task needs: `tack catalog`, `tack doctor`, `tack source`, `tack project`, `tack adapter`, `tack profile` and `tack status --project PROJECT` or `--user`.
To deliver a registered skill: `tack pick include SOURCE:NAME --project PROJECT`, then preview `tack sync --project PROJECT` and apply it with `--apply`. A preview that plans nothing usually means the skill is not picked yet. Read the first line and the unit headings of a `sync` preview, and state its selector and targets in your reply before you apply.
## Preview, apply and verify
`sync`, `project add`, `project refresh`, `project remove`, `source remove`, `adapter enable`, `adapter disable`, `state clean`, `state reset`, `import add`, `import remove` and `source add` preview by default: inspect the plan, then add `--apply` within the requested task. `source add --apply` also runs `sync --all --source` for it, and `project add --apply` runs `sync --project` for the new project. `source relocate`, choices, `profile enable` and `disable`, `extension enable` and `disable`, and `tack init` persist immediately.
Read the reason beside each planned removal before applying. `source-unhealthy`, `quarantined` and the diagnostic `profile-layer-unresolved` mean a broken file, not a choice: fix it with `tack check <source-path>` instead of applying the removal. After applying, run `status` for the same scope and fix what it reports. Leave foreign files and drifted links in place: Tack's ownership evidence decides what it may remove ([links in the way](references/maintenance.md#removal-reasons-and-links-in-the-way)). `tack state reset --apply` answers only an explicit request to remove all Tack-managed links and state.
For authoring, loop: write files, run `tack check PATH...`, repeat until clean. Errors exit 1, warnings exit 0.
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.