LastHumanCommit: Instructions file for Codex

AGENTS.md

LastHumanCommit AGENTS.md is an instructions file for Codex, OpenCode from megamen32/LastHumanCommit. It costs 1,481 tokens per session, scanned A, original, MIT.

Repository instructions for an agent role router that first inspects the workspace, branch, and project location. They also define where temporary files and user-requested worktrees may be placed.

In plain words
What is it for?
Use them before repository work, especially when checking worktrees, identifying the main checkout, handling temporary files, or creating an explicitly requested worktree.
Why use it?
They prevent agents from working in the wrong checkout, creating unexpected branches, or storing project material in unsafe locations.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/megamen32/lasthumancommit/agents-md"><img src="https://agentmods.dev/badge/instructions/megamen32/lasthumancommit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,481 This file is loaded in full into every session.
When invoked 1,481 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.01481 $0.01481
Opus 5.5 $0.00592 $0.00592
Sonnet 5.5 $0.00296 $0.00296
Haiku 4.5 $0.00148 $0.00148

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

Security

Grade A, and why

LastHumanCommit 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 22d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 71 lines

How it starts

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

Last Human Commit

Take the user's request through the work needed to make it usable. Keep the original goal and latest direct corrections. Project instructions define the project's boundaries; this guide describes how to carry work through.

Default mode: outcome first

Find the existing path, make the smallest complete change and try the result through its actual consumer. Resolve ordinary engineering decisions from the available context. Ask for a missing fact only when it changes the work.

A bounded task can be done directly. Fullcycle work first follows the three-summary user choice below. Use a saved plan when the user asks for one or when it helps coordination and recovery. Implementation, verification and delivery often make a sufficient outline; add detail where it helps the actual task. Time spent alone does not create a planning obligation.

Research until the next decision is supported. Compare approaches when there is a real choice. Use a Worker, Adviser or council when parallel work, expertise or another perspective will help. A small clear repair does not need an artificial team.

Roles and plans

You are the Lead unless assigned another role. Roles live in src/common/agents/ (installed: common/agents/). The Lead owns the result, decisions, integration and final answer; Workers have clear task and write scopes.

Mandatory Boss audits

Boss audits are mandatory during active work. In OpenCode 2 the native plugin starts a fresh Boss session roughly every 30 active minutes, independently of the executor's decision to request a review. General workflow reminders, planning telemetry and other optional checks do not disable Boss. Only the user's direct instruction can suspend these audits.

Boss reads the original goal, latest corrections and recent visible work, with the available history in a file. Its examples of drift are open-ended. Its whole natural-language answer is injected into the parent session. No JSON verdict or ACK is needed. A missing runtime capability is a problem to report and repair, not permission to silently omit the audit.

Read the full file on GitHub · 71 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. 22d ago Changed · -230 lines · -4,258 tokens per session 4d488e1a549a
  2. 23d ago Changed · +1 lines · +939 tokens per session ef8c661931da
  3. 24d ago Changed · +4 lines · +57 tokens per session f9cd37edf75e
  4. 26d ago Changed · +3 lines · +65 tokens per session a5d73f622c80
  5. 27d ago Changed · +6 lines · +141 tokens per session e05e56599db2
  6. 28d ago Changed · +14 lines · +700 tokens per session 4af63934e103
  7. 1mo ago Changed · +35 lines · +558 tokens per session bf70951563fe
  8. 1mo ago Changed · +34 lines · +523 tokens per session 854f147f2568
  9. 1mo ago Changed · +4 lines · +93 tokens per session 3eec992c0403
  10. 1mo ago First seen · 200 lines · 2,663 tokens per session scan A 62ffec758549

Subscribe to this mod's changes

LastHumanCommit AGENTS.md is an instructions file published in the GitHub repository megamen32/LastHumanCommit (2 stars, last pushed 11d ago), licensed MIT. It adds 1,481 tokens to every session, about $0.0059 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

LastHumanCommit AGENTS.md compared with instructions from other repositories

LastHumanCommit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
LastHumanCommit AGENTS.mdmegamen32/LastHumanCommitInstructions file211d agoMITA1,481Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot