BITE AGENTS.md

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

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/ripemangobox/bite/agents-md
Clone the repo
git clone --depth 1 https://github.com/RipeMangoBox/BITE

Made for: Codex, OpenCode.

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. 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 $0.00675 $0.00675
Opus 5 $0.00338 $0.00338
Sonnet 5 $0.00135 $0.00135
Haiku 4.5 $0.00068 $0.00068

Measured 2d ago against content hash 5e7018336e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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 (60 stars, last pushed 19d ago), licensed MIT. It adds 675 tokens to every session, about $0.0034 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-30.