tailnet-policy SKILL.md skillA
tailnet-policy from magnus919/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add magnus919/agent-skills/tailnet-policy@git:20261026.dde5700Pins git:20261026.dde5700 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- magnus919/agent-skills
- Path
tailscale/skills/tailnet-policy/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261026.dde5700, committed Oct 26, 2026
- First version recorded
- Aug 14, 2026
- Size
- 8,399 bytes
- Repository stars
- 166
- License
- MIT
Author, test, and deploy Tailscale-compatible huJSON policy files for.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# tailnet-policy
## Security preflight
Before enabling SSH, Serve, connector access or changing access policy, read the
bundle's [security triage](../../references/security-triage.md). Also load it for
Tailworm or suspected compromise. Preserve tested recovery access before disabling
embedded SSH; check mode is not a forwarding fix. Treat reported findings as
version-specific until current advisories establish applicability.
Confirm the target, scope, and rollback path before acting. Read-only discovery may proceed without confirmation.
## Overview
Headscale uses Tailscale-compatible policy files written in **huJSON** (Human JSON — standard JSON with trailing commas and `//` comments). Policy files control:
- **ACLs** (deprecated legacy syntax) — `{action, users, ports}` rules
- **Grants** (modern syntax) — `{src, dst, ip, proto, via}` rules
- **Tags** — Node identity tags (`tag:dev`, `tag:prod`)
- **TagOwners** — Which users/groups can apply which tags
- **AutoApprovers** — Auto-approval for subnet routers and exit nodes
- **Tailscale SSH** — SSH access rules via `ssh.users` and `ssh.action`
### ACLs vs Grants
| Feature | ACLs (legacy) | Grants (modern) |
…Read the whole file at its exact version.
How to install
mdr add magnus919/agent-skills/tailnet-policy@sha256:007bee6a34b0f939The line at the top of this page pins the label git:20261026.dde5700, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rc5ppcmarahv2wk2)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 14, 2026 and Oct 26, 2026, about one every 36 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261026.dde5700 latest | 2026-10-26 | dde5700 | 8,399 B | A | view · diff |
| git:20260814.0a7c6b9 | 2026-08-14 | 0a7c6b9 | 7,870 B | A | view · diff |
| git:20260814.c0c7690 | 2026-08-14 | c0c7690 | 7,617 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8399 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
magnus919/agent-skills · 166 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rc5ppcmarahv2wk2 GET https://markdownregistry.com/api/v1/resolve?ref=magnus919/agent-skills/tailnet-policy GET https://markdownregistry.com/api/v1/blob/007bee6a34b0f939f9af5641b314e688207f51b32a52b5dfbb1bb15f87a802e2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.