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.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agentsWrote 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.
[](https://agentmods.dev/agents/k-dense-ai/scientific-agents/algorithms-researcher)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 10d ago First seen · 286 lines · 163 tokens per session scan A 95481cca6b33
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.
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.
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.
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.
Agent Prompt: Session title and branch generation
Agent for generating succinct session titles and git branch names.
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…
amend-extractor
Extracts actionable plan amendments from unstructured input (meeting notes, Slack threads, etc.).