tentaflake: Instructions file for Codex

AGENTS.md

tentaflake AGENTS.md is an instructions file for Codex, OpenCode from timfewi/tentaflake. It costs 2,116 tokens per session, scanned A, original, MIT.

Repository instructions for bloomery, a generic NixOS template for running isolated AI agents in Docker containers on one machine.

In plain words
What is it for?
Use them when building or testing the template, changing its Nix or Rust code, preparing commits, or ensuring documentation matches behavior.
Why use it?
They collect the project’s build, test, formatting, commit, security, and documentation rules in one place.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: built for openclaw; mentions OpenCode.

This is timfewi/tentaflake's own configuration. It tells Codex and OpenCode 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.md
Clone the repo
git clone --depth 1 https://github.com/timfewi/tentaflake

Made for: Codex, OpenCode.

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 tentaflake AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/timfewi/tentaflake/agents-md/github.svg)](https://agentmods.dev/instructions/timfewi/tentaflake/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/timfewi/tentaflake/agents-md"><img src="https://agentmods.dev/badge/instructions/timfewi/tentaflake/agents-md/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 tentaflake AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/timfewi/tentaflake/agents-md"><img src="https://agentmods.dev/badge/instructions/timfewi/tentaflake/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,116 This file is loaded in full into every session.
When invoked 2,116 The same file — it is already loaded in full.
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.02116 $0.02116
Opus 5.5 $0.00846 $0.00846
Sonnet 5.5 $0.00423 $0.00423
Haiku 4.5 $0.00212 $0.00212

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

Security

Grade A, and why

tentaflake AGENTS.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 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.

AGENTS.md · 149 lines

How it starts

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

Agent instructions — Tentaflake

Generic NixOS template for isolated agents. Deployment identities, hardware, secrets, private memories and company policy belong in forks. Nix/TOML/settings and seed inputs enter the Nix store. Never print credentials for diagnostics. Do not replace declarative agents with a mandatory runtime, UI or control service.

Ownership

  • tentaflake.toml is the sole public desired-system source. Public systemFromData { file = ./tentaflake.toml; } is file-only and returns one NixOS module; mkAgent and adapter builds are internal. Each adapters/<id>.nix owns its runtime implementation and pure preset facts. lib/runtimeCatalog.nix projects presets; adapters/catalog.json and the marked adapter-doc table are generated with python3 scripts/runtime-catalog-docs.py, never edited as independent runtime sources.
  • lib/runtimeContract.nix owns generic definitions; lib/containerSecurity.nix owns shared containment. modules/ owns host broker, Research, worker, quota, backup, provenance and management policy. Runtime hooks cannot weaken it; host policy may consume instance metadata but must not define more instances.
  • All managed IDs are agent-<name>, names globally unique; default host state is /var/lib/tentaflake/agents/<name>. Read explicit agentInstances metadata for effective paths, stateStorage, workspace, numeric owners and runnable. Inventory retains unmanaged OCI fallback. TOML requires schemaVersion = 1 and agents; optional _securityNote is metadata. No legacy wrapper/data APIs. Ship only the empty, commented inventory (schemaVersion = 1, agents = []), without a separate example file. Real desired state belongs in a consumer/fork Git source, loaded with its own explicit file path; never import or fall back to the upstream template for an installation. Missing/Git-filtered sources fail. Remaining agents.toml or agents.json requires explicit migration.
  • Hermes/ZeroClaw real vendor acceptance is pending. OpenClaw is a stopped refusal unit only: no OCI artifact, state, credentials or sockets. Pi Durable is the same refusal unit unless the host explicitly admits the reviewed runtime (tentaflake.piDurableRuntime: exact package/image proof, runsc-pi-durable-v1, broker, Research, worker and quotas); never relax that admission. Generic custom OCI is offline, with no accepted model/Research integration. Synthetic fixtures are not vendor acceptance. See adapters.
  • crates/ owns CLI/broker/worker. Shared Rust packaging in lib/mkRustPackage.nix includes workspace manifests and selected crate source; root versions and image metadata remain authoritative. Keep required root inputs explicit.
  • CLI help/catalog/templates and offline config validate|normalize|migrate do not require generated host inputs. Management uses generated host inputs; imports validate via the shared parser/plan, publish stopped additions atomically and never stage, activate or download runtime images. Preserve ordinary Git flake filtering and redact raw Nix source diagnostics.
  • Editor, Hive Research and speech integrations belong in consumer flakes.

Read the full file on GitHub · 149 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. 3d ago Changed · +1 lines · +20 tokens per session 93b1f0d2b402
  2. 4d ago Changed · -63 lines · -713 tokens per session 526c5aa1b470
  3. 9d ago Changed · +10 lines · +183 tokens per session 6815c1699c91
  4. 17d ago Changed · +100 lines · +1,268 tokens per session aeb7645be0f0
  5. 21d ago Changed · +10 lines · +210 tokens per session 2e30296886c1
  6. 21d ago Changed · +17 lines · +320 tokens per session 85432f4fcddc
  7. 22d ago Changed · -144 lines · -2,067 tokens per session a25b8e3f0db4
  8. 23d ago Changed · +26 lines · +436 tokens per session 3e8925a98bae
  9. 1mo ago Changed · +14 lines · +203 tokens per session b78dcf494324
  10. 1mo ago First seen · 178 lines · 2,256 tokens per session scan A 3b2de34595cb

Subscribe to this mod's changes

tentaflake AGENTS.md is an instructions file published in the GitHub repository timfewi/tentaflake (32 stars, last pushed yesterday), licensed MIT. It adds 2,116 tokens to every session, about $0.0085 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

tentaflake AGENTS.md compared with instructions from other repositories

tentaflake AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tentaflake AGENTS.mdtimfewi/tentaflakeInstructions file32yesterdayMITA2,116Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode