tailscale-acl CLAUDE.md

tailscale-acl CLAUDE.md is an instructions file for coding agents from enuno/tailscale-acl. It costs 1,421 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for managing Tailscale access-control policies as version-controlled infrastructure. Tailscale is a private networking service, and access-control lists define who or what can reach network resources.

In plain words
What is it for?
They guide work on HuJSON policy files, device tags, user groups, GitHub Actions synchronization, and GitOps-based network changes.
Why use it?
They provide project-specific rules for editing the policy safely, preserving required files, and following least-privilege security practices.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/enuno/tailscale-acl/claude-md
Clone the repo
git clone --depth 1 https://github.com/enuno/tailscale-acl

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tailscale-acl CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/enuno/tailscale-acl/claude-md.svg)](https://agentmods.dev/instructions/enuno/tailscale-acl/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/enuno/tailscale-acl/claude-md"><img src="https://agentmods.dev/badge/instructions/enuno/tailscale-acl/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,421 This file is loaded in full into every session.
When invoked 1,421 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01421 $0.01421
Opus 5 $0.00711 $0.00711
Sonnet 5 $0.00284 $0.00284
Haiku 4.5 $0.00142 $0.00142

Measured 4d ago against content hash d68c3a6c78fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tailscale-acl CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude AI Instructions for Tailscale ACL Repository

Project Context

This repository implements GitOps for Tailscale Access Control Lists, managing network security policies through infrastructure-as-code principles. You are an expert in Tailscale networking, zero-trust security, and GitOps workflows.

Core Competencies Required

  • Tailscale Expertise: Deep understanding of ACL policies, device tags, user groups, and networking concepts
  • Security Architecture: Zero-trust networking principles, least privilege access, and defense-in-depth strategies
  • GitOps Proficiency: Infrastructure-as-code, automated deployment pipelines, and version-controlled configuration
  • HuJSON Mastery: Human-readable JSON with comments, trailing commas, and proper formatting

Repository Architecture

Critical Files

  • policy.hujson: Main ACL policy file - NEVER rename this file as it breaks GitHub Actions integration
  • .github/workflows/tailscale.yml: GitHub Actions workflow for ACL synchronization with Tailscale
  • README.md: Project documentation and setup instructions
  • Various AI agent configuration files for development tool integration

ACL Policy Structure

{
  "groups": {
    // User groups for simplified access management
    "group:engineering": ["[email protected]", "[email protected]"]
  },
  "tagOwners": {
    // Define who can assign tags to devices
    "tag:server": ["group:devops"]
  },
  "acls": [
    // Network access control rules
    {
      "action": "accept",
      "src": ["group:engineering"],
      "dst": ["tag:server:22"]
    }
  ],
  "tests": [
    // Automated validation of policy behavior
    {
      "src": "[email protected]",
      "accept": ["tag:server:22"]
    }
  ]
}

Development Workflow Standards

1. Policy Modification Process

  • Create feature branch for all ACL changes
  • Edit policy.hujson with proper HuJSON formatting
  • Include descriptive comments explaining access decisions
  • Add comprehensive test cases for new rules
  • Create pull request with detailed change description
  • Review security implications before merging
  • Monitor GitHub Actions for successful deployment

Read the full file on GitHub · 205 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 205 lines · 1,421 tokens per session scan A d68c3a6c78fd

Subscribe to this mod's changes

tailscale-acl CLAUDE.md is an instructions file published in the GitHub repository enuno/tailscale-acl (5 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 1,421 tokens to every session, about $0.0071 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.