OCaml Dev (avsm) skills
OCaml skills from Anil Madhavapeddy: OCaml 5 effects and Eio concurrency, dune, cmdliner, jsont, logs, OxCaml, memtrace, fuzzing, testing, docs and code review. 21 skills. skills-hub.ai mirrors 21 skills from OCaml Dev (avsm) daily, every skill links back to its upstream GitHub source. Install with one command across Claude Code, Cursor, Codex, Windsurf, and any MCP-compatible tool.
Upstream: github.com/avsm/ocaml-claude-marketplace
Installing a OCaml Dev (avsm) skill
Pick a skill below, then run the install command for your AI coding tool. The skills-hub CLI writes the SKILL.md to the right directory and tracks the install in .skills.json so your team gets reproducible installs.
# Install a OCaml Dev (avsm) skill
npx @skills-hub-ai/cli install <skill-slug>
# Browse all OCaml Dev (avsm) skills via API
curl https://skills-hub.ai/api/v1/skills?source=ocaml-dev
# Browse all sources
open https://skills-hub.ai/sourcesTop OCaml Dev (avsm) skills
See all →The most-installed skills from OCaml Dev (avsm), ranked by adoption.
01tutorials
Creating OCaml library tutorials using .mld documentation format with MDX executable examples. Use when discussing tutorials, documentation, .mld files, MDX, or interactive documentation.
Buildfrom OCaml Dev (avsm)02testing
Testing strategies for OCaml libraries. Use when discussing tests, alcotest, eio mocks, test structure, or test-driven development in OCaml projects.
Buildfrom OCaml Dev (avsm)03security
Security hardening for OCaml libraries through systematic vulnerability research. Use when Claude needs to: (1) Research CVEs in similar implementations (C, Rust, Go, Python) and add regression tests, (2) Add fuzz tests for parsers and encoders, (3) Audit integer handling and buffer operations, (4) Test boundary conditions and malformed input, (5) Review cryptographic usage, (6) Add defensive checks against common vulnerability classes
Buildfrom OCaml Dev (avsm)04rfc-integration
Working with IETF RFCs in OCaml projects. Use when mentioning RFC numbers, implementing internet standards, adding specification documentation, or discussing protocol compliance.
Buildfrom OCaml Dev (avsm)05review-ocaml
Two-phase review of an OCaml project. Use when the user asks to review an OCaml codebase, audit its module interfaces, restructure or redocument .mli files, or hunt for redundancy, dead code and optimisation opportunities across implementations. Phase one reads only dune and .mli files to judge the public interfaces; phase two dispatches a subagent per module to review the implementation.
Buildfrom OCaml Dev (avsm)06result
OCaml Result type patterns using OCaml 5.x stdlib. Use when Claude needs to: (1) Handle errors with Result types, (2) Chain Result operations with let*, (3) Extract values from Ok/Error, (4) Refactor code using local let* bindings to use Result.Syntax
Buildfrom OCaml Dev (avsm)07project-setup
Standards for OCaml project metadata files. Use when initializing a new OCaml library/module, preparing for opam release, setting up CI, discussing project structure, or ensuring proper .mli/.ocamlformat files exist.
Buildfrom OCaml Dev (avsm)08oxcaml
Working with the OxCaml extensions to OCaml. Use when the oxcaml compiler is available and you need high-performance, unboxing, stack allocation, data-race-free parallelism
Buildfrom OCaml Dev (avsm)09ocaml-docs
Fixing odoc documentation warnings and errors. Use when running dune build @doc, resolving reference syntax issues, cross-package references, ambiguous references, hidden fields, or @raise tags in OCaml documentation.
Buildfrom OCaml Dev (avsm)10ocaml
OCaml development guidance for building robust, type-safe applications. Use when Claude needs to: (1) Write OCaml code following modern best practices, (2) Design module interfaces (.mli files), (3) Handle errors with result types, (4) Work with dune build system, (5) Use common OCaml libraries (eio, fmt, logs, cmdliner, yojson, cohttp-eio), or any other OCaml development tasks
Buildfrom OCaml Dev (avsm)11npm-publishing
Publishing OCaml to npm via js_of_ocaml and wasm_of_ocaml. Use when discussing browser targets, JavaScript compilation, WASM output, npm packages, or the two-branch workflow.
Buildfrom OCaml Dev (avsm)12memtrace
OCaml memtrace profiling for allocation hotspot analysis. Use when Claude needs to: (1) Add memtrace instrumentation to OCaml executables, (2) Run targeted benchmarks with tracing enabled, (3) Identify allocation hotspots from trace output, (4) Optimize code to reduce boxing and allocations, (5) Validate optimizations with before/after comparisons
Buildfrom OCaml Dev (avsm)13logs
OCaml Logs library patterns for structured logging. Use when Claude needs to: (1) Add logging to OCaml modules, (2) Create per-module log sources, (3) Use appropriate log levels, (4) Add structured tags to log messages
Buildfrom OCaml Dev (avsm)14jsont
JSON type-safe encoding and decoding using the OCaml jsont library. Use when Claude needs to: define typed JSON codecs for OCaml record types, parse JSON strings to OCaml values, or serialize OCaml values to JSON, or work with nested JSON structures
Buildfrom OCaml Dev (avsm)15fuzz
OCaml fuzz testing with Crowbar for protocol implementations. Use when Claude needs to: (1) Write fuzz tests for parsers and encoders, (2) Test roundtrip invariants (parse(encode(x)) = x), (3) Verify boundary conditions and error handling, (4) Test state machines and transitions, (5) Organize fuzz test suites for large codebases, (6) Run long-lived AFL campaigns with Crowbar
Buildfrom OCaml Dev (avsm)16eio
Eio concurrency patterns for OCaml applications. Use when Claude needs to: (1) Write concurrent OCaml code with Eio, (2) Handle network operations with cohttp-eio, (3) Manage resource lifecycles with switches, (4) Implement rate limiting or synchronization, (5) Create parallel operations with fibers, (6) Test async code with Eio_mock, (7) Integrate with bytesrw for streaming, or any other Eio-based concurrency tasks
Buildfrom OCaml Dev (avsm)17effects
OCaml 5 algebraic effects design patterns. Use when Claude needs to: (1) Design APIs that interact with effect-based schedulers, (2) Decide between effects vs exceptions, (3) Integrate libraries with Eio or affect, (4) Handle suspension vs error cases in streaming code, (5) Understand the layered effect design principle
Buildfrom OCaml Dev (avsm)18dune-migration
Migrating OCaml projects from ocamlbuild/topkg to dune. Use when discussing _tags files, .mllib files, pkg/pkg.ml, topkg, or build system migration.
Buildfrom OCaml Dev (avsm)19doc-style
OCaml comment and ocamldoc writing style, in the voice of a POSIX manual page. Use whenever writing, rewording, reviewing or deleting any OCaml comment or documentation. Triggers on ocamldoc, odoc, doc comments, (** ... *), .mli documentation, .mld pages, documenting a function, type or module, and on any request to add, tidy, rewrite or strip OCaml comments.
Buildfrom OCaml Dev (avsm)20code-style
OCaml coding style and refactoring patterns. Use when the user asks to tidy, clean up, refactor, or improve OCaml code, reviewing code quality, enforcing naming conventions, or reducing complexity.
Buildfrom OCaml Dev (avsm)21cmdliner
Designing and implementing robust command-line interfaces using OCaml's cmdliner library. Use when Claude needs to: (1) Design a new CLI or subcommand layout, (2) Implement cmdliner terms and combinators, (3) Enforce clear, predictable, orthogonal options, (4) Produce high-quality --help output and error messages, (5) Integrate cmdliner CLIs into dune-based OCaml projects.
Buildfrom OCaml Dev (avsm)
About this source
skills-hub.ai mirrors skills from 320+ official GitHub repositories every day. Each imported skill is parsed from a SKILL.md file in the source repo, gets a security scan and quality score on import, and links back to its upstream source of truth.
Last sync: Nov 25, 2026, 6:10 PM (success).
OCaml Dev (avsm) skills, frequently asked
What are OCaml Dev (avsm) skills?
OCaml Dev (avsm) skills are AI coding skills published by OCaml Dev (avsm) (OCaml skills from Anil Madhavapeddy: OCaml 5 effects and Eio concurrency, dune, cmdliner, jsont, logs, OxCaml, memtrace, fuzzing, testing, docs and code review. 21 skills.) and mirrored daily on skills-hub.ai. They are SKILL.md files that follow the open Agent Skills standard, so they work in Claude Code, Cursor, Codex CLI, Windsurf, Copilot, and any MCP-compatible tool.
How many OCaml Dev (avsm) skills are available?
skills-hub.ai indexes 21 skills from OCaml Dev (avsm), synced daily from the upstream GitHub repository (https://github.com/avsm/ocaml-claude-marketplace).
How do I install a OCaml Dev (avsm) skill?
Run `npx @skills-hub-ai/cli install <skill-slug>` in your project. The CLI writes the SKILL.md to the right directory for your AI tool and adds it to your `.skills.json` lockfile so your team gets the same skills at the same versions.
Are these official OCaml Dev (avsm) skills?
Yes. Every skill from this source is mirrored from OCaml Dev (avsm)'s own GitHub repository (https://github.com/avsm/ocaml-claude-marketplace). Each skill page links back to the upstream source of truth, so you can verify the original.