agentleFS
odinfreeodinfree/storm-ecdsa-harness/skills/exact-search-engineering/SKILL.md

exact-search-engineering

Skill4 starsChanged 20 days agoMITView on GitHub

Build and verify performance-critical exact searches in FLINT, Nemo, Julia, C++ or Rust when a general computer algebra system is too slow or exhaustive coverage has to be engineered explicitly.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read references/implementation-routing.md before changing language or library.

    line 12
  2. Distinctive:

    Use FLINT when the hot kernel is exact integer, rational, finite-field, or polynomial arithmetic and low-level control pays.

    line 14
  3. Distinctive:

    Use Nemo when Julia-level composition and FLINT-backed exact arithmetic shorten the implementation without obscuring the model.

    line 15
  4. Distinctive:

    Use C++ or Rust for tight loops, data-layout control, parallel scheduling, or a small standalone search binary.

    line 16
  5. Distinctive:

    Use Julia for rapid specialization and orchestration when measurements show acceptable runtime and allocation behavior.

    line 17
  6. Distinctive:

    Create a small reference implementation and known fixtures before optimizing.

    line 22
  7. Distinctive:

    Use exact types and prove or check every narrowing conversion and overflow bound.

    line 25
  8. Distinctive:

    No witness found means only that the recorded coverage was searched.

    line 33
  9. Distinctive:

    Do not install toolchains, start paid compute, or reserve remote capacity without the authority required for that environment.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Exact search engineering

Turn a mathematically defined finite search into a deterministic search engine and a separate exact verifier. Preserve exactness, coverage, and replay while improving speed.

Route by bottleneck

Read references/implementation-routing.md before changing language or library.

  • Use FLINT when the hot kernel is exact integer, rational, finite-field, or polynomial arithmetic and low-level control pays.
  • Use Nemo when Julia-level composition and FLINT-backed exact arithmetic shorten the implementation without obscuring the model.
  • Use C++ or Rust for tight loops, data-layout control, parallel scheduling, or a small standalone search binary.
  • Use Julia for rapid specialization and orchestration when measurements show acceptable runtime and allocation behavior.

Build contract

  1. Freeze the mathematical domain, enumeration order, symmetry reductions, and acceptance predicate.
  2. Create a small reference implementation and known fixtures before optimizing.
  3. Measure the baseline. Profile before moving languages, adding threads, or rewriting arithmetic.
  4. Move only the measured hot path. Keep the verifier simpler than the searcher and free of search-only pruning.
  5. Use exact types and prove or check every narrowing conversion and overflow bound.
  6. Make sharding deterministic and disjoint. Checkpoints must record the exact covered interval or canonical shard ID.
  7. Compare optimized and reference implementations on exhaustive small domains plus randomized larger fixtures.
  8. Preserve the receipt in references/search-receipt.md.

Claim boundaries

  • A found witness is valid only after the separate verifier accepts it.
  • No witness found means only that the recorded coverage was searched.
  • Exhaustiveness requires a complete, duplicate-aware coverage manifest with zero unclassified skips.
  • A speedup is relative to a named baseline, input distribution, build, host, and correctness gate.

Do not install toolchains, start paid compute, or reserve remote capacity without the authority required for that environment.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.