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/avsm/ocaml-claude-marketplaceWrote 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/commands/avsm/ocaml-claude-marketplace/init-ocaml)<a href="https://agentmods.dev/commands/avsm/ocaml-claude-marketplace/init-ocaml"><img src="https://agentmods.dev/badge/commands/avsm/ocaml-claude-marketplace/init-ocaml/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/commands/avsm/ocaml-claude-marketplace/init-ocaml"><img src="https://agentmods.dev/badge/commands/avsm/ocaml-claude-marketplace/init-ocaml.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.00017 | $0.00899 |
| Opus 5 | $0.00009 | $0.00449 |
| Sonnet 5 | $0.00003 | $0.00180 |
| Haiku 4.5 | $0.00002 | $0.00090 |
Grade A, and why
init-ocaml 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 — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Initialize OCaml Project
This command creates a new OCaml project with all standard files and configuration.
Arguments
Project name: $ARGUMENTS (defaults to current directory name if not provided)
Configuration
Read user configuration from ~/.claude/ocaml-config.json. If it doesn't exist, prompt the user for:
- Author name
- Author email
- Preferred license (ISC, MIT, Apache-2.0)
- CI platform (github, tangled, gitlab)
- Git hosting (github.com/user, tangled.org/@user, gitlab.com/user)
- OCaml version minimum (default: 5.2.0)
Offer to save configuration to ~/.claude/ocaml-config.json for future use.
Files to Create
Essential Files
- dune-project - Build configuration with opam generation
- dune (root) - With
(data_only_dirs third_party) - .opam - Generated by dune (do not create manually)
- .ocamlformat - Code formatting (version 0.28.1)
- .gitignore - Standard OCaml ignores + third_party/
- LICENSE.md - Based on configured license
- README.md - Project documentation template
CI Configuration (based on ci_platform setting)
- github:
.github/workflows/build.yml - tangled:
.tangled/workflows/build.yml - gitlab:
.gitlab-ci.yml
Source Files
- lib/dune - Library stanza
- lib/.ml - Main module with license header
- lib/.mli - Interface with documentation, written under the
doc-styleskill, which you should invoke before writing any doc comment
Test Files
- test/dune - Test configuration
- test/test_.ml - Basic test skeleton with Alcotest
Workflow
- Check if directory is empty or confirm overwrite
- Read or prompt for configuration
- Determine project name from argument or directory
- Create all files using templates from the ocaml-project-setup skill
- Run
dune build @checkto verify setup - Report success and suggest next steps
Template Variables
Replace these in templates:
{{PROJECT_NAME}}- Project name (snake_case){{PROJECT_NAME_KEBAB}}- Project name (kebab-case){{AUTHOR_NAME}}- From config{{AUTHOR_EMAIL}}- From config{{YEAR}}- Current year{{LICENSE}}- License identifier{{OCAML_VERSION}}- Minimum OCaml version{{GIT_URL}}- Full git URL based on hosting config{{SOURCE_STANZA}}- dune source stanza based on hosting:- tangled:
(source (tangled handle/{{PROJECT_NAME_KEBAB}})) - github:
(source (github user/{{PROJECT_NAME_KEBAB}})) - gitlab:
(source (gitlab user/{{PROJECT_NAME_KEBAB}}))
- tangled:
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 Changed · +1 lines 21a70df3ffef
- 10d ago First seen · 112 lines · 17 tokens per session scan A 358593810890
init-ocaml is a command published in the GitHub repository avsm/ocaml-claude-marketplace (35 stars, last pushed 8d ago), licensed ISC. It adds 17 tokens to every session and 899 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-08-30.
Other commands, from other repositories
fastapi
FastAPI application design and implementation conventions. Use this skill when building, updating, or reviewing FastAPI services, routers, dependencies, request/response schemas, streaming endpoints, or API tests. Trigger on FastAPI-specific work such as path operation design, dependency injection, response models…
azure-graph-dotnet:deploy-azure
Deploy a C# Azure Functions or Container Job project to Azure — provision infrastructure with Bicep, push image to ACR, assign Managed Identity Graph permissions, and generate or update GitHub Actions or Azure DevOps CI/CD pipelines.
go-review
Go code review for idiomatic patterns.
kotlin-review
Comprehensive Kotlin code review for idiomatic patterns, null safety, coroutine safety, and security. Invokes the kotlin-reviewer agent.
savant-python
Python performance optimization with Python Developer agent.
cli-enhance
Add features to existing CLI applications like colors, progress bars, shell completions, and better error messages.