tentaflake: Skill for Claude Code

.agents/skills/handle-the-host/SKILL.md

handle-the-host is a skill for Claude Code, Codex from timfewi/tentaflake. It costs 41 tokens per session (1,417 once invoked), scanned B, original, MIT.

A guide for connecting to and maintaining a tentaflake machine over Tailscale SSH. Tailscale creates a private network between approved devices, so the machine does not need an open public SSH port.

In plain words
What is it for?
Use it to connect to a deployed machine, inspect its NixOS and containers, rebuild its configuration, or run commands that require elevated access.
Why use it?
It provides a standard path for inspecting the machine, checking its agent containers, rebuilding NixOS, and debugging remote problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is timfewi/tentaflake's own configuration. It tells Claude Code and Codex how to work on tentaflake itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tentaflake configures →

Reuse

Borrowing it

Nothing to install: this file belongs to timfewi/tentaflake. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/timfewi/tentaflake/main/.agents/skills/handle-the-host/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/timfewi/tentaflake

Made for: Claude Code, Codex.

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 handle-the-host

README.md
[![agentmods](https://agentmods.dev/badge/skills/timfewi/tentaflake/handle-the-host/github.svg)](https://agentmods.dev/skills/timfewi/tentaflake/handle-the-host)
Your own site
<a href="https://agentmods.dev/skills/timfewi/tentaflake/handle-the-host"><img src="https://agentmods.dev/badge/skills/timfewi/tentaflake/handle-the-host/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for handle-the-host

Your own site · 80×15
<a href="https://agentmods.dev/skills/timfewi/tentaflake/handle-the-host"><img src="https://agentmods.dev/badge/skills/timfewi/tentaflake/handle-the-host.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,417 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00041 $0.01417
Opus 5 $0.00020 $0.00709
Sonnet 5 $0.00008 $0.00283
Haiku 4.5 $0.00004 $0.00142

Measured 13d ago against content hash eef72edd8cfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

handle-the-host scanned grade B with 1 finding 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 13d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

> ssh -t <user>@<hostname> "sudo <command>"
.agents/skills/handle-the-host/SKILL.md · 184 lines

How it starts

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

Handle the Host — Remote Operations Guide

Overview

Tentaflake deploys NixOS with Tailscale pre-configured. Every target machine must join your tailnet. You connect, inspect, rebuild, and debug entirely through Tailscale SSH — no open ports, no public IP required.

How to Connect

tailscale ssh <user>@<hostname>

Replace <user> with the admin username set during installation (default: user). Replace <hostname> with the hostname chosen during installation.

Note: tailscale ssh does not support the -t flag. For commands requiring a pseudo-TTY (e.g., sudo prompts), use raw SSH through Tailscale instead:

ssh -t <user>@<hostname> "sudo <command>"

First Connection Checklist

  1. Verify Tailscale status on the target:

    tailscale ssh <user>@<hostname>
    tailscale status
    
  2. Check that agent containers are running (covers every agent runtime — Hermes and ZeroClaw):

    tentaflake status
    # or, raw:
    docker ps
    
  3. Inspect NixOS config (always in /etc/nixos/):

    ls /etc/nixos/
    

Common Operations

Rebuild the System

cd /etc/nixos
sudo nixos-rebuild switch --flake .#<hostname>

Or use the rebuild alias if configured:

rebuild

Rollback

sudo nixos-rebuild switch --rollback

Inspect System State

# Nix store usage
sudo nix store gc --print-dead

# Running services
systemctl list-units --type=service --state=running

# Journal logs for a specific agent (any runtime)
tentaflake logs <agent-name>

Container Operations

Prefer the tentaflake host CLI — it drives every declared agent regardless of runtime, so you never have to hardcode a container or unit name:

tentaflake status                # all agents, every runtime, with state
tentaflake restart <agent-name>
tentaflake logs <agent-name>     # -f-style follow via journalctl
tentaflake shell <agent-name>    # interactive shell inside the container
tentaflake ps                    # raw docker/podman ps for agent containers

Read the full file on GitHub · 184 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. 13d ago First seen · 184 lines · 41 tokens per session scan B eef72edd8cfd

Subscribe to this mod's changes

handle-the-host is a skill published in the GitHub repository timfewi/tentaflake (30 stars, last pushed 5d ago), licensed MIT. It adds 41 tokens to every session and 1,417 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analyzing-linux-elf-malware

Analyzes malicious Linux ELF (Executable and Linkable Format) binaries including botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure. Covers static analysis, dynamic tracing, and reverse engineering of x8664 and ARM ELF samples. Activates for requests involving…

26zl/cybersec-toolkit · 88 tokens

analyzing-linux-elf-malware

Analyzes malicious Linux ELF (Executable and Linkable Format) binaries including botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure. Covers static analysis, dynamic tracing, and reverse engineering of x8664 and ARM ELF samples. Activates for requests involving…

pinkpixel-dev/skills-collection-1 · 88 tokens

analyzing-linux-elf-malware

Analyzes malicious Linux ELF (Executable and Linkable Format) binaries including botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure. Covers static analysis, dynamic tracing, and reverse engineering of x8664 and ARM ELF samples. Activates for requests involving…

marysatasselshaped667/skills-collection-1 · 88 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

pinkpixel-dev/skills-collection-1 · 65 tokens

analyzing-linux-elf-malware

Analyzes malicious Linux ELF (Executable and Linkable Format) binaries including botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure. Covers static analysis, dynamic tracing, and reverse engineering of x8664 and ARM ELF samples. Activates for requests involving…

Mikaru0Mystic/sectinel · 88 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

marysatasselshaped667/skills-collection-1 · 65 tokens