tlamatini-allowed-hosts-tighten

tlamatini-allowed-hosts-tighten is a skill for Claude Code, Codex from XAIHT/Tlamatini. It costs 36 tokens per session (722 once invoked), scanned A, original, MIT.

A Django security change that replaces the setting allowing requests from any website with a list of approved host names, while saving a backup of the settings file.

In plain words
What is it for?
Use it to set Django's ALLOWED_HOSTS to a specific whitelist and preserve the previous settings.py before editing.
Why use it?
It reduces the risk of forged-host attacks caused by an unrestricted host setting and keeps the original file available for rollback.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Current release: **[v1.91.0](../../../../docs/changes/2026-10-23-v1.91.0.md)**. Dated records below retain their original evidence dates..

Good fit Use it to set Django's ALLOWED_HOSTS to a specific whitelist and preserve the previous settings.py before editing.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/XAIHT/Tlamatini
agentmods
npx agentmods add skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten

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 tlamatini-allowed-hosts-tighten

README.md
[![agentmods](https://agentmods.dev/badge/skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten/github.svg)](https://agentmods.dev/skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten)
Your own site
<a href="https://agentmods.dev/skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten"><img src="https://agentmods.dev/badge/skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten/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 tlamatini-allowed-hosts-tighten

Your own site · 80×15
<a href="https://agentmods.dev/skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten"><img src="https://agentmods.dev/badge/skills/xaiht/tlamatini/tlamatini_allowed_hosts_tighten.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 722 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00036 $0.00722
Opus 5.5 $0.00014 $0.00289
Sonnet 5.5 $0.00007 $0.00144
Haiku 4.5 $0.00004 $0.00072

Measured 3d ago against content hash cf9dabc49ce0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tlamatini-allowed-hosts-tighten 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 3d 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.

Tlamatini/agent/skills_pkg/tlamatini_allowed_hosts_tighten/SKILL.md · 65 lines

What it actually says

Tighten ALLOWED_HOSTS

Current release: v1.91.0. Dated records below retain their original evidence dates.

HEADLESS IS FORBIDDEN. VISIBLE FOREGROUND EXECUTION ONLY. Every command, automated test, diagnostic, script, build, agent and browser must run in a visible foreground window on Angela's real desktop. Use forked CMD/PowerShell windows, execute_forked_window: true, and headless: false. Monitor live; if visibility cannot be confirmed, do not run. Read the mandatory execution policy.

The Tlamatini security report flagged the default ALLOWED_HOSTS=['*'] in Tlamatini/tlamatini/settings.py as one of the Tlamatini-specific debts. This skill replaces it with a user-supplied whitelist and writes a .bak backup next to the file.

Procedure

  1. Read Tlamatini/tlamatini/settings.py.
  2. Locate the line ALLOWED_HOSTS = [...] (any list literal).
  3. Backup the current file as settings.py.bak.
  4. Rewrite ALLOWED_HOSTS with ${input.hosts} rendered as a Python list.
  5. Return {settings_path, backup_path, changed}.

Rollback

If the new list is incorrect, restore settings.py.bak over settings.py manually.

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. 3d ago Changed cf9dabc49ce0
  2. 4d ago Changed 8c23a06b9675
  3. 6d ago Changed 1fa8510616ca
  4. 7d ago Changed 060fe7209f92
  5. 9d ago Changed · +3 lines 47fb6fc7ace2
  6. 1mo ago Changed · +2 lines 16dd67157c35
  7. 1mo ago First seen · 60 lines · 36 tokens per session scan A 5ff6c4aa77f4

Subscribe to this mod's changes

tlamatini-allowed-hosts-tighten is a skill published in the GitHub repository XAIHT/Tlamatini (15 stars, last pushed 3d ago), licensed MIT. It adds 36 tokens to every session and 722 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

agentfield

Design and ship a multi-agent system on AgentField. Use when the user asks to build, scaffold, design, or run an agent, reasoner network, multi-agent backend, or 'an agent that does X' — whenever the work would otherwise be a single LLM call or a flat LangChain/CrewAI/AutoGen chain. The skill produces composite…

Agent-Field/agentfield · 127 tokens

bfl-api

BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and TypeScript code examples.

calesthio/OpenMontage · 38 tokens

github-oauth-nango-integration

Use when implementing GitHub OAuth + GitHub App authentication with Nango - provides two-connection pattern for user login and repo access with webhook handling.

AgentWorkforce/relay · 37 tokens

vllm

Deploy and serve LLMs with vLLM behind an OpenAI-compatible endpoint, with tool calling enabled for agent workloads.

Prism-Shadow/penguin-harness · 29 tokens

django

Use when building, reviewing, securing, testing or shipping a Django app — models, migrations, QuerySets/managers, FBV/CBV views, forms, the admin, settings split, and Django REST Framework (serializers, ModelViewSet, permissions). NOT async FastAPI/Pydantic services (that is fastapi), NOT Postgres schema/index work…

ericrisco/rsc-harness · 84 tokens

data-fetching

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, axios, React Query, SWR, error handling, caching strategies, offline support.

Intelligent-Internet/ii-agent · 41 tokens