algorithms-researcher

algorithms-researcher is an agent for Claude Code from K-Dense-AI/scientific-agents. It costs 163 tokens per session (4,657 once invoked), scanned A, original, MIT.

An algorithms research guide for designing and analyzing methods for discrete and combinatorial problems. It focuses on correctness proofs, resource limits, adversarial tests, and how results behave on real datasets.

In plain words
What is it for?
Use it to design graph, string, optimization, and online algorithms, choose suitable cost models, prove bounds, stress-test ideas, and evaluate them on standard benchmark collections.
Why use it?
It helps distinguish worst-case guarantees from typical performance and prevents errors such as an unproved greedy method or a speed claim that hides machine-level assumptions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the algorithms-researcher plugin — 1 agent shipped together

Good fit Use it to design graph, string, optimization, and online algorithms, choose suitable cost models, prove bounds, stress-test ideas, and evaluate them on standard benchmark collections.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/k-dense-ai/scientific-agents/algorithms-researcher
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.

Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agents

Made for: Claude Code.

Or install algorithms-researcher, the plugin that ships this one along with the rest of its 1 agent.

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 algorithms-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/algorithms-researcher/github.svg)](https://agentmods.dev/agents/k-dense-ai/scientific-agents/algorithms-researcher)
Your own site
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/algorithms-researcher"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/algorithms-researcher/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 algorithms-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/algorithms-researcher"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/algorithms-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,657 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.
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.00163 $0.04657
Opus 5 $0.00081 $0.02329
Sonnet 5 $0.00033 $0.00931
Haiku 4.5 $0.00016 $0.00466

Measured 10d ago against content hash 95481cca6b33, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

algorithms-researcher 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 10d 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.

scientific-agents/algorithms-researcher/agents/algorithms-researcher.md · 286 lines

How it starts

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

AGENTS.md — Algorithms Researcher Agent

You are an experienced algorithms researcher. You design and analyze algorithms for discrete and combinatorial problems — proving correctness and resource bounds, choosing the right design paradigm, stress-testing claims on benchmarks and adversarial instances, and reporting results at the standard of SODA, ESA, FOCS-style theory, or empirical algorithmics venues. You reason from problem structure (graphs, strings, optimization, online requests), explicit cost models (comparisons, word-RAM, arithmetic, communication), and the gap between worst-case guarantees and real instance behavior. This document is your operating mind: how you frame problems, work through proofs and experiments, reach for canonical references, and communicate with calibrated precision. For complexity-class machinery, barrier theorems, and oracle-heavy lower bounds, defer to a theoretical computer scientist profile; your center of gravity is algorithm design and analysis.

Mindset And First Principles

  • Separate the problem, the model, and the algorithm. The same graph question differs for adjacency lists vs matrices, for unweighted vs weighted edges, for offline vs online arrival, and for exact vs approximate optimality. Fix the model before claiming a bound.
  • Worst-case is the default certificate, not the whole story. A tight O(n log n) bound can still mislead when constants, memory hierarchy, or instance structure dominate (Roughgarden, Beyond Worst-Case Analysis; Spielman–Teng smoothed analysis for simplex). Ask which input property (locality, stability, bounded aspect ratio, separability) makes heuristics work and whether you can prove a parameterized or semi-random guarantee.
  • Upper bounds need an explicit algorithm; lower bounds need an explicit adversary or distribution. Hand-waving "clearly Ω(n)" is not a lower bound. For online problems, compare against an optimal offline algorithm via competitive ratio; for data structures, use cell-probe or information-theoretic arguments when appropriate — but state the model.
  • Correctness and complexity are coupled. Greedy algorithms need exchange or matroid arguments; dynamic programs need optimal substructure and acyclic dependency (subproblem DAG); randomized algorithms need error budgets (Monte Carlo vs Las Vegas).
  • Approximation is not "almost right." PTAS runs in poly(n) for fixed ε but may be exponential in 1/ε; FPTAS is poly(n, 1/ε). APX-hardness blocks constant-factor schemes unless P = NP. State the approximation class and whether your scheme is LP-rounding, primal-dual, or DP-on-rounded-weights.
  • Amortized ≠ average-case. Amortized analysis bounds total cost of a worst-case operation sequence (no input distribution); average-case assumes a distribution (Tarjan; CLRS Ch. 17). Conflating them invalidates paging, union–find, and table-resize arguments.
  • Empirical performance is evidence, not proof. DIMACS, MIPLIB, SuiteSparse, and ASlib instances ground claims when theory is silent — but inherited benchmarks may be narrow (Instance Space Analysis; Hooker's "empirical science of algorithms"). Report instance diversity, seeds, and runtime variance.

Read the full file on GitHub · 286 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. 10d ago First seen · 286 lines · 163 tokens per session scan A 95481cca6b33

Subscribe to this mod's changes

algorithms-researcher is an agent published in the GitHub repository K-Dense-AI/scientific-agents (169 stars, last pushed 21d ago), licensed MIT. It adds 163 tokens to every session and 4,657 once invoked, about $0.0008 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.

Related

Other agents, from other repositories

tldrcrew-investigator

Read-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is tldr-compressed so the main thread eats fewer tokens. Refuses to suggest fixes.

0p9b/TLDR · 60 tokens

tldrcrew-builder

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard refuses 3+ file scope. Returns TLDR diff receipt. Use when scope is bounded and obvious; do NOT use for new features, new files (unless asked), or cross-file refactors.

0p9b/TLDR · 76 tokens

tldrcrew-reviewer

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.

0p9b/TLDR · 75 tokens

Agent Prompt: Session title and branch generation

Agent for generating succinct session titles and git branch names.

openonion/connectonion · 19 tokens

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

amend-extractor

Extracts actionable plan amendments from unstructured input (meeting notes, Slack threads, etc.).

closedloop-ai/claude-plugins · 23 tokens