immichctrl: Instructions file for Codex

AGENTS.md

immichctrl AGENTS.md is an instructions file for Codex, OpenCode from lidless-labs/immichctrl. It costs 1,086 tokens per session, scanned A, original, MIT.

Repository instructions for working on the immichctrl project, including required setup, checks, safety rules, and handoffs between sessions.

In plain words
What is it for?
Use them when changing immichctrl to learn which files to read, which tests or checks to run, and how to pass durable notes to another session.
Why use it?
They give coding agents the project-specific rules needed to work consistently and report completion accurately.

Instructions file for CodexOpenCode

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

This is lidless-labs/immichctrl's own configuration. It tells Codex and OpenCode how to work on immichctrl 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 immichctrl configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lidless-labs/immichctrl. 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/lidless-labs/immichctrl/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/lidless-labs/immichctrl

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lidless-labs/immichctrl/agents-md"><img src="https://agentmods.dev/badge/instructions/lidless-labs/immichctrl/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,086 This file is loaded in full into every session.
When invoked 1,086 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.01086 $0.01086
Opus 5.5 $0.00434 $0.00434
Sonnet 5.5 $0.00217 $0.00217
Haiku 4.5 $0.00109 $0.00109

Measured 2mo ago against content hash 0f23a2bd6467, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

immichctrl 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 2mo 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 · 77 lines

How it starts

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

AGENTS.md - Working In This Repo

This repo is Brigade-wired. These are the operating rules for any agent working here.

Every Session

For substantial work, first gather context:

  1. Read this file - operating rules and the memory handoff contract.
  2. Read the repo's README and CONTRIBUTING (if present) for build, test, and style expectations.
  3. Skim your harness's handoff inbox (.claude/memory-handoffs/) for recent notes from other sessions.
  4. Read SAFETY_RULES.md once. Hard boundaries.

For tiny read-only commands, do the command directly and avoid loading unrelated context. Do not ask permission for normal context gathering.

Definition of Done

Before you report work as complete:

  1. Run the project's checks (tests, linters, type checks, build). If you do not know them, look in README, CONTRIBUTING, pyproject.toml / package.json, or the CI config before guessing.
  2. Report the actual result. Never claim success you did not observe; paste the command you ran and its output.
  3. If a check could not run, say so and name the blocker instead of guessing.
  4. If the session produced durable knowledge, confirm a Memory Handoff was written (see below).

Memory Owner

The configured memory owner is claude. Side harnesses may keep local session context, but durable knowledge must be written as a Memory Handoff in your harness's own inbox (.claude/memory-handoffs/). The memory owner ingests those handoffs into canonical durable memory; reviewed repo-local notes land under .learnings/.

If you are not the memory owner, do not edit SAFETY_RULES.md, rules/, or .learnings/ as canonical memory unless the user explicitly asks for that file edit. Do not create a second canonical memory system.

Memory Handoff (Mandatory)

If a session discovers durable knowledge - architecture decisions, workflow changes, non-obvious fixes, setup gotchas, security findings, reusable commands, durable research, or user preferences - create a handoff at the end of the task.

Read the full file on GitHub · 77 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. 2mo ago First seen · 77 lines · 1,086 tokens per session scan A 0f23a2bd6467

Subscribe to this mod's changes

immichctrl AGENTS.md is an instructions file published in the GitHub repository lidless-labs/immichctrl (6 stars, last pushed 15d ago), licensed MIT. It adds 1,086 tokens to every session, about $0.0043 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-31.

Related

immichctrl AGENTS.md compared with instructions from other repositories

immichctrl AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
immichctrl AGENTS.mdlidless-labs/immichctrlInstructions file615d agoMITA1,086Codex, 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