ai-session-search AGENTS.md

ai-session-search AGENTS.md is an instructions file for Codex, OpenCode from lililib/ai-session-search. It costs 113 tokens per session, scanned A, original, MIT.

Project instructions for a local app that searches and reuses context from AI coding sessions. The app keeps the original session files read-only.

In plain words
What is it for?
Maintaining session providers, indexing, search, renaming, favorites, tests, type checks, and builds in the ai-session-search project.
Why use it?
They help contributors avoid changing source conversations or storing data in the wrong place. They also set testing and build checks for changes to search and session handling.

Instructions file for CodexOpenCode

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/lililib/ai-session-search/agents-md
Clone the repo
git clone --depth 1 https://github.com/lililib/ai-session-search

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 ai-session-search AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lililib/ai-session-search/agents-md.svg)](https://agentmods.dev/instructions/lililib/ai-session-search/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lililib/ai-session-search/agents-md"><img src="https://agentmods.dev/badge/instructions/lililib/ai-session-search/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 113 This file is loaded in full into every session.
When invoked 113 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00113 $0.00113
Opus 5 $0.00056 $0.00056
Sonnet 5 $0.00023 $0.00023
Haiku 4.5 $0.00011 $0.00011

Measured 5d ago against content hash 8d06fec68e9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ai-session-search 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 5d 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 · 9 lines

What it actually says

Project Instructions

  • Keep the application read-only with respect to Claude Code and Codex source directories.
  • Store user-owned metadata only in the application database.
  • Do not hardcode user home paths. Preserve CLI, environment, and platform-default precedence.
  • Add or update tests before changing provider parsers, indexing, search, rename, or favorite behavior.
  • Run corepack pnpm test, corepack pnpm typecheck, and corepack pnpm build before handoff.
  • Keep code, comments, and commit messages in English.
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. 5d ago First seen · 9 lines · 113 tokens per session scan A 8d06fec68e9f

Subscribe to this mod's changes

ai-session-search AGENTS.md is an instructions file published in the GitHub repository lililib/ai-session-search (8 stars, last pushed 26d ago), licensed MIT. It adds 113 tokens to every session, about $0.0006 per session on Opus 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

Other instructions, from other repositories

obsidian-mind CLAUDE.md

Claude Code instructions for breferrari/obsidian-mind, covering obsidian mind, skills & capabilities, custom slash commands, vault structure and obsidian cli.

breferrari/obsidian-mind · 9,405 tokens

obsidian-mind AGENTS.md

AGENTS.md instructions for breferrari/obsidian-mind, covering obsidian mind, hooks, commands, memory and reaching this vault from another repo.

breferrari/obsidian-mind · 1,145 tokens

ai-code-interface.el AGENTS.md

AGENTS.md instructions for tninja/ai-code-interface.el, covering agents.md, common development commands, byte compilation, running tests and run a specific test file.

tninja/ai-code-interface.el · 2,539 tokens

ai-code-interface.el copilot-instructions.md

Copilot instructions for tninja/ai-code-interface.el, covering github copilot instructions for ai-code-interface.el, project overview, language and technology, code style and conventions and file naming.

tninja/ai-code-interface.el · 1,289 tokens

codex-usage-widget AGENTS.md

AGENTS.md instructions for ognjeeen/codex-usage-widget, covering agents.md, project, scope and decision discipline, authorization and repository safety and architecture boundaries.

ognjeeen/codex-usage-widget · 1,218 tokens

pilot-shell CLAUDE.md

Claude Code instructions for maxritter/pilot-shell, a project described as: Professional context and harness engineering for Claude Code and OpenAI Codex. Build production-grade software with spec-driven development, TDD, persistent memory, quality gates, code intelligence, human oversight, and end-to-end verification.

maxritter/pilot-shell · 5 tokens