BITE: Instructions file for Codex

AGENTS.md

BITE AGENTS.md is an instructions file for Codex, OpenCode from RipeMangoBox/BITE. It costs 675 tokens per session, scanned A, original, MIT.

Project instructions for BITE, a local research workflow that turns academic papers into structured notes and searchable indexes. It explains where files belong and how changes move between branches.

In plain words
What is it for?
Importing PDFs, analysing papers, exporting notes to an Obsidian vault, refreshing indexes, and generating research ideas or reviews.
Why use it?
It gives coding agents a shared map of the project and a consistent process for collecting, analysing, finding, and reviewing papers.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ripemangobox/bite/agents-md"><img src="https://agentmods.dev/badge/instructions/ripemangobox/bite/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 675 This file is loaded in full into every session.
When invoked 675 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.00675 $0.00675
Opus 5.5 $0.00270 $0.00270
Sonnet 5.5 $0.00135 $0.00135
Haiku 4.5 $0.00068 $0.00068

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

Security

Grade A, and why

BITE 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 1mo 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 · 69 lines

How it starts

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

Agent Guide

Public agent-facing usage starts from README.md and .claude/skills/README.md. Internal deployment notes stay under _private/.

BITE is a local-first research workflow for structured paper analysis. Its goal is to turn academic PDFs into machine-actionable evidence notes, retrieval indexes, and downstream idea or review artifacts. PaperBite acts as the upstream public evidence layer: it provides reusable structured paper assets, while BITE focuses on local analysis, retrieval, comparison, idea generation, and research decision support.

Working Surface

  • obsidian-vault/paperPDFs/ stores source PDFs.
  • obsidian-vault/analysis/ stores structured local analysis notes.
  • obsidian-vault/index/ stores generated indexes and Obsidian navigation.
  • obsidian-vault/ideas/ stores local idea, focus, and review notes.

Local Pipeline

collect candidate papers / import local PDFs
  -> download when needed
  -> integrated analysis chain
     (MinerU parse/reuse -> structured analysis -> vault export)
  -> optional index refresh
  -> query / ideate / focus / review / export

Branch Sync Policy

This branch is the canonical place for changes that should later appear in the public main worktree. Make shared README, public docs, public assets, and public workflow updates here first, then sync them to main after review.

Keep branch-specific and local-development material out of main:

  • _private/ local notes, archives, deployment notes, and operation history
  • Obsidian workspace/runtime state
  • provider-specific defaults or private model choices
  • internal branch/worktree coordination notes

AGENTS.md itself is branch-specific. Do not blindly sync this file to main; the public main copy should contain only project background and public agent-facing guidance.

Rules

  1. Treat the local vault paths above as the current working surface.
  2. Write only through the skill that owns the target output path.
  3. Analysis language defaults to zh unless the request overrides it.
  4. Pipeline steps are idempotent; already-completed steps should be skipped.
  5. Planned analysis batches must declare goal, source, selection rule, budget, and output target before agents run.
  6. Agents must preserve source anchors in notes, logs, and generated outputs.
  7. Reports and profiles must be generated from available evidence, not new unsupported claims.
  8. When prose needs to mention Markdown or Obsidian reserved characters such as *, [, ], |, or #, escape them with backslashes or wrap them in inline code so reading view does not reinterpret the text.
  9. In Markdown tables, aliased Obsidian wikilinks are allowed only when the alias separator is escaped as [[full/path\|abbr]]; an unescaped | splits table columns. Outside tables, normal [[full/path|abbr]] links are fine.
  10. Generated exports, snapshots, backups, local storage, and symlinks stay out of Git.

Read the full file on GitHub · 69 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. 1mo ago First seen · 69 lines · 675 tokens per session scan A 5e7018336e83

Subscribe to this mod's changes

BITE AGENTS.md is an instructions file published in the GitHub repository RipeMangoBox/BITE (62 stars, last pushed 2mo ago), licensed MIT. It adds 675 tokens to every session, about $0.0027 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 instructions, from other repositories