Files
magnus919_agent-skills/tailscale/AGENTS.md
Magnus Hedemarkandfactory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> c0c7690724 feat(flatten): move bundle dirs to repo root
Move the 8 directories under bundles/ to the repo root via git mv and
remove the now-empty bundles/ directory. Replace the "bundles" entry in
pyproject.toml [tool.deptry] extend_exclude with the 8 moved dir names so
the moved trees stay excluded from Python dependency analysis.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-08-14 15:26:27 -04:00

35 lines
1.1 KiB
Markdown

# Tailscale/Headscale Bundle — Agent Instructions
## Auto-Load Protocol
When the user's message matches trigger keywords (see umbrella SKILL.md), load the
corresponding sub-skill with `skill_view(name='tailscale/<sub-skill-name>')`.
For general "tailscale"/"headscale"/"tailnet" mentions, load this umbrella SKILL.md
first for navigation, then the relevant sub-skill.
## Shared Scripts
All scripts in the bundle root `scripts/` are available regardless of which sub-skill
is loaded. Reference them by relative path from the bundle root:
```
scripts/headscale-health-check.sh --json
scripts/headscale-backup.sh --dry-run
```
## Sub-Skill Scripts
Sub-skill scripts are in `skills/<sub-skill>/scripts/` and are documented in their
respective SKILL.md files.
## Environment
Set these env vars for non-interactive operation:
- `HEADSCALE_URL` — Headscale server URL
- `HEADSCALE_API_KEY` — API key from `headscale apikeys create`
- `TAILSCALE_AUTHKEY` — Pre-authenticated key for client setup
All scripts check these at runtime and show a helpful error if missing.