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.
npx skills add leonardodalinky/SciDER --skill computer-science-theorygit clone --depth 1 https://github.com/leonardodalinky/SciDERWrote 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/skills/leonardodalinky/scider/computer-science-theory)<a href="https://agentmods.dev/skills/leonardodalinky/scider/computer-science-theory"><img src="https://agentmods.dev/badge/skills/leonardodalinky/scider/computer-science-theory/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/skills/leonardodalinky/scider/computer-science-theory"><img src="https://agentmods.dev/badge/skills/leonardodalinky/scider/computer-science-theory.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.00046 | $0.03070 |
| Opus 5.5 | $0.00018 | $0.01228 |
| Sonnet 5.5 | $0.00009 | $0.00614 |
| Haiku 4.5 | $0.00005 | $0.00307 |
Grade A, and why
computer-science-theory 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 3mo 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 — 340 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Computer Science Theory
Overview
This skill provides the theoretical CS foundations needed for rigorous research: complexity analysis, data structure selection, benchmarking methodology, and system design principles. Use it to make principled algorithmic choices and ensure benchmarks are scientifically valid.
When to Use This Skill
- Analyzing or comparing algorithm complexity
- Choosing the right data structure for a performance-critical path
- Designing a benchmarking study with statistical rigor
- Reasoning about distributed ML training or data pipelines
- Validating algorithm correctness with invariants and property-based tests
1. Algorithm Complexity
Big-O Quick Reference
| Complexity | Example | Max n for 1s (rough) |
|---|---|---|
| O(1) | Hash table lookup | Any |
| O(log n) | Binary search | Any |
| O(n) | Linear scan | ~10⁸ |
| O(n log n) | Merge sort, FFT | ~10⁷ |
| O(n²) | Nested loops, naive DP | ~10⁴ |
| O(n³) | Matrix multiplication (naive) | ~10³ |
| O(2ⁿ) | Exponential, backtracking | ~25 |
import time, math, numpy as np
def measure_complexity(func, sizes, repeats=5):
"""Empirically measure complexity by timing at different input sizes."""
times = {}
for n in sizes:
data = list(range(n))
elapsed = []
for _ in range(repeats):
start = time.perf_counter()
func(data)
elapsed.append(time.perf_counter() - start)
times[n] = np.median(elapsed)
# Log-log plot slope estimates complexity class
log_n = np.log(list(times.keys()))
log_t = np.log(list(times.values()))
slope = np.polyfit(log_n, log_t, 1)[0]
print(f"Empirical complexity slope: {slope:.2f} (1.0=linear, 2.0=quadratic)")
return times
# Example: verify that your sort is O(n log n)
def my_sort(data): return sorted(data)
times = measure_complexity(my_sort, [100, 1000, 10000, 100000])
Amortized Analysis
Some operations appear O(n) in worst case but O(1) amortized:
- Dynamic array append: occasional resize is O(n), but amortized O(1)
- Union-Find with path compression: nearly O(1) per operation
- Don't judge a data structure by its worst-case single operation — think about sequences
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.
- 3mo ago First seen · 340 lines · 46 tokens per session scan A e1f931943fdf
computer-science-theory is a skill published in the GitHub repository leonardodalinky/SciDER (87 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 3,070 once invoked, about $0.0002 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.
computer-science-theory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| computer-science-theoryleonardodalinky/SciDER | Skill | 87 | 1mo ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| learnHughYau/AcademicForge | Skill | 2.7k | 28d ago | none | A | 219 | Claude Code, Codex |
| fable4sciHughYau/fable4sci-skill | Skill | 60 | 3mo ago | none | B | 88 | Claude Code, Codex |
| hr-onboardingnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 62 | Claude Code, Codex |
| lean-formalizewanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | today | MIT | A | 81 | Claude Code |
| deck-course-modulenexu-io/html-anything | Skill | 17k | yesterday | Apache-2.0 | A | 25 | Claude Code, Codex |
| eli5companion-inc/feynman | Skill | 10k | 2d ago | MIT | A | 63 | Claude Code, Codex |