OpenParable
Skip to content
← Back to skills

Opam

Apps & Automation
opam

Opam is an Agent Skill for apps & automation published in the davesnx/query-json repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

opam is the package manager for ocaml packages. This skill teaches you how to use it

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/davesnx/query-json/blob/HEAD/.cursor/skills/opam/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/opam, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

My Skill

When to Use

  • Use this skill when you need to run any command from our dependencies like dune. For example dune build, you would wrap it with opam exec -- dune build
  • This skill is helpful for knowing how to use opam properly

Instructions

  • Install a package: opam install {{package}} -y
  • Pin a package from a github URL opam pin add {{package}}.dev "{{URL}}" -y. For example: opam pin add toffee.dev "https://github.com/davesnx/mosaic.git#20c70887e8357200e2b794cd9dd12095404cabaf" -y
  • Domain-specific conventions
  • Best practices and patterns