BITE: Skill for Claude Code

.claude/skills/code-context-paper-retrieval/SKILL.md

code-context-paper-retrieval is a skill for Claude Code from RipeMangoBox/BITE. It costs 108 tokens per session (1,219 once invoked), scanned A, original, MIT.

A compatibility alias that retrieves papers relevant to a coding task from a local Obsidian knowledge base, a folder of linked notes and documents. It supports brief retrieval of key papers or deeper retrieval with broader comparisons.

In plain words
What is it for?
Use it to retrieve relevant paper analyses for coding work, identify a short list of papers to read, and get suggestions about whether the stored PDF files need deeper review.
Why use it?
It helps developers find research evidence related to the code they are planning, implementing, or refactoring without searching the entire knowledge base manually.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is RipeMangoBox/BITE's own configuration. It tells Claude Code 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/.claude/skills/code-context-paper-retrieval/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RipeMangoBox/BITE

Made for: Claude Code.

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 code-context-paper-retrieval

README.md
[![agentmods](https://agentmods.dev/badge/skills/ripemangobox/bite/code-context-paper-retrieval/github.svg)](https://agentmods.dev/skills/ripemangobox/bite/code-context-paper-retrieval)
Your own site
<a href="https://agentmods.dev/skills/ripemangobox/bite/code-context-paper-retrieval"><img src="https://agentmods.dev/badge/skills/ripemangobox/bite/code-context-paper-retrieval/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 code-context-paper-retrieval

Your own site · 80×15
<a href="https://agentmods.dev/skills/ripemangobox/bite/code-context-paper-retrieval"><img src="https://agentmods.dev/badge/skills/ripemangobox/bite/code-context-paper-retrieval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00108 $0.01219
Opus 5.5 $0.00043 $0.00488
Sonnet 5.5 $0.00022 $0.00244
Haiku 4.5 $0.00011 $0.00122

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

Security

Grade A, and why

code-context-paper-retrieval 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/code_context_paper_retrieval/query_code_context_papers.py, scripts/code_context_paper_retrieval/suggest_retrieval_on_changes.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/code-context-paper-retrieval/SKILL.md · 120 lines

How it starts

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

Code Context Paper Retrieval

This skill is a compatibility alias for papers-query-knowledge-base in mode: code-context. Prefer that query mode for new routing and keep this skill for older prompts that call it by name.

What this skill does

For code implementation/refactor/planning tasks, this skill provides the most relevant paper evidence from the local knowledge base for the current code context.

Fixed retrieval order:

  1. obsidian-vault/analysis/ (primary retrieval and evidence layer)
  2. obsidian-vault/paperPDFs/ (recommend deeper reading only when necessary)
  3. obsidian-vault/index/ (use index.jsonl for fast filtering when present; otherwise reference the Markdown pages only when statistics, overview pages, Obsidian jumps, or backlink support are needed)

Two output levels:

  • brief: 3-5 must-read papers + analysis note path + whether PDF reading is recommended
  • deep: broader candidate list + comparison rationale + practical implementation suggestions

Environment Detection (must be completed before execution)

Before running any script, the Python environment must be confirmed. Check in this priority order:

  1. Environment files in the target codebase (high to low):
    • environment/environment.yml / environment.yaml (conda)
    • environment/requirements.txt / requirements*.txt
    • environment/pyproject.toml (check [project.dependencies] or [tool.poetry.dependencies])
    • setup.py / setup.cfg
  2. Infer conda env name from environment files: read name: in environment/environment.yml and check whether that env exists (conda env list).
  3. If none found or still uncertain: proactively ask the user, stating no environment file was found, and request one of:
    • conda environment name, or
    • Python interpreter path, or
    • confirmation to use system default Python

Prohibited behavior: do not guess and run scripts with python3/python before environment confirmation.

Triggering

Core principle: retrieve before code changes, not after

Read the full file on GitHub · 120 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 120 lines · 108 tokens per session scan A 32a60b501be8

Subscribe to this mod's changes

code-context-paper-retrieval is a skill published in the GitHub repository RipeMangoBox/BITE (62 stars, last pushed 2mo ago), licensed MIT. It adds 108 tokens to every session and 1,219 once invoked, about $0.0004 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 skills, from other repositories

llm-wiki

Explain and apply the foundational LLM Wiki architecture and knowledge-management strategy. Use for setup, architecture, schema, or organization decisions; operational ingest/query/lint work uses dedicated skills.

Ar9av/obsidian-wiki · 41 tokens

wiki-lint

Audit wiki health: broken links, orphans, contradictions, stale content, lifecycle and tag issues. Use for maintenance or health checks. Default is report-only; use wiki-dedup for page-identity merges.

Ar9av/obsidian-wiki · 47 tokens

wiki-export

Export the Obsidian wiki graph to JSON, GraphML, Neo4j Cypher, Postgres/SQL, HTML, or OKF bundles. Use when transferring or visualizing wiki data in external tools; wiki-import handles the reverse direction.

Ar9av/obsidian-wiki · 53 tokens

wiki-status

Report wiki ingestion/completeness state, pending source delta, structural insights, or maintenance equilibrium. Use for remaining-work/status questions, hubs and bridges, or whether maintenance skills still have pending changes. wiki-digest summarizes learned knowledge instead.

Ar9av/obsidian-wiki · 50 tokens

wiki-query

Search and synthesize answers from the compiled Obsidian wiki, including cited and multi-hop answers. Use for questions about existing wiki knowledge or fast index-only lookups, and for challenge requests ("challenge this", "argue against X", "poke holes in my plan") that look for the vault's own evidence against a…

Ar9av/obsidian-wiki · 89 tokens

wiki-import

Import a wiki graph into the current vault from graph.json or an OKF/markdown bundle. Use for transferring previously exported wiki content between vaults; pair with wiki-export for the reverse direction.

Ar9av/obsidian-wiki · 42 tokens