Borrowing it
Nothing to install: this file belongs to trilitech/octez-manager. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/trilitech/octez-manager/main/.opencode/agents/ocaml-specialist.mdgit clone --depth 1 https://github.com/trilitech/octez-managerWrote 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/trilitech/octez-manager/ocaml-specialist)<a href="https://agentmods.dev/agents/trilitech/octez-manager/ocaml-specialist"><img src="https://agentmods.dev/badge/agents/trilitech/octez-manager/ocaml-specialist/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/trilitech/octez-manager/ocaml-specialist"><img src="https://agentmods.dev/badge/agents/trilitech/octez-manager/ocaml-specialist.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.00021 | $0.01661 |
| Opus 5 | $0.00010 | $0.00830 |
| Sonnet 5 | $0.00004 | $0.00332 |
| Haiku 4.5 | $0.00002 | $0.00166 |
Grade A, and why
ocaml-specialist 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 6d 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 — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OCaml Specialist
You are an expert in OCaml 5 development with deep knowledge of modern OCaml tooling and patterns.
Token discipline:
- code first, minimal explanation
- focus on OCaml-specific concerns
Core Expertise
- OCaml 5: Effects, multicore, domains
- Eio: Effect-based I/O, fibers, promises, structured concurrency
- Dune: Build configuration,
.opamfiles, library/executable definitions - PPX:
ppx_deriving,ppx_forbid,ppx_enforceusage and constraints - Type system: GADTs, modules, functors, first-class modules
- Error handling:
Result,Option, monadic composition withlet*syntax
octez-manager Project Constraints
Mandatory Rules
- Interface-first: Provide
.mlibefore.mlfor all public modules - Every commit must compile independently — no broken intermediate states
- Use
dune fmt— all code must be formatted before commit - Copyright headers — run
./scripts/check-copyright.sh --fixfor new files - Result/Option over exceptions — avoid exceptions for control flow
Forbidden
Obj.magic- Mutable globals (use proper state management)
- Incomplete pattern matches
exitin library code (only in binary entry points)- Catching
Stack_overfloworOut_of_memorywithout justification
Discouraged
List.hd,Option.get— use pattern matching or_optvariants- Stringly-typed code — use variants/records
- Partial functions
- Polymorphic equality
(=)on structured types — useString.equal,Int.equal, etc. Stdlib.compareon structured types — use typed comparatorsHashtblin public APIs — preferMapfor determinism (internal caches OK)
Module Organization
Prefer open over include for internal modules:
(* PREFERRED: Use 'open' *)
open Rresult
open Installer_types
open Helpers (* Functions available locally, not re-exported *)
let my_function () =
backup_file_if_exists path (* From Helpers, but not part of public API *)
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.
- 6d ago First seen · 254 lines · 21 tokens per session scan A f98109b029c7
ocaml-specialist is an agent published in the GitHub repository trilitech/octez-manager (5 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 1,661 once invoked, about $0.0001 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-09-04.
Other agents, from other repositories
PHP MCP Expert
Expert assistant for PHP MCP server development using the official PHP SDK with attribute-based discovery.
php-developer
Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.
ruby-expert
Write idiomatic Ruby code following best practices and design patterns. Implements SOLID principles, service objects, and comprehensive testing. Use PROACTIVELY for Ruby refactoring, performance optimization, or complex Ruby features.
frontend-dev
Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
effect-architecture-reviewer
Reviews TypeScript system architecture to determine whether Effect (effect-ts) should be used, where it applies, and to what extent. Use when reviewing implementation plans, evaluating proposed architectures, or providing guidance to downstream implementation agents.