caruso: Instructions file for Codex

AGENTS.md

caruso AGENTS.md is an instructions file for Codex, OpenCode from pcomans/caruso. It costs 2,820 tokens per session, scanned A, original, MIT.

A set of development instructions for Caruso, a Ruby command-line tool that converts guidance from Claude Code marketplaces into formats such as Cursor rules. It identifies official documentation as the source of truth and lists build, installation, and testing commands.

In plain words
What is it for?
Use it when developing, testing, building, installing, or verifying the Caruso Ruby gem and its conversions between coding-assistant formats.
Why use it?
It gives contributors a shared understanding of the project's purpose and the documentation and commands to follow when changing it.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is pcomans/caruso's own configuration. It tells Codex and OpenCode how to work on caruso itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything caruso configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/philipp/code/caruso/reference/.

Reuse

Borrowing it

Nothing to install: this file belongs to pcomans/caruso. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pcomans/caruso/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/pcomans/caruso

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for caruso AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pcomans/caruso/agents-md/github.svg)](https://agentmods.dev/instructions/pcomans/caruso/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/pcomans/caruso/agents-md"><img src="https://agentmods.dev/badge/instructions/pcomans/caruso/agents-md/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.

agentmods 80×15 button for caruso AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pcomans/caruso/agents-md"><img src="https://agentmods.dev/badge/instructions/pcomans/caruso/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,820 This file is loaded in full into every session.
When invoked 2,820 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.02820 $0.02820
Opus 5.5 $0.01128 $0.01128
Sonnet 5.5 $0.00564 $0.00564
Haiku 4.5 $0.00282 $0.00282

Measured 2mo ago against content hash 356097be1f31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

caruso AGENTS.md 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 2mo 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.

AGENTS.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Mission

Caruso is a Ruby gem CLI that bridges the gap between AI coding assistants. It fetches "steering documentation" (commands, agents, skills) from Claude Code Marketplaces and converts them to formats compatible with other IDEs, currently Cursor.

Source of Truth: Official Documentation

IMPORTANT: The authoritative sources for Claude Code and Cursor specifications are the official docs. Reference links are in /Users/philipp/code/caruso/reference/:

  • claude_code.md - Links to official Claude Code docs (hooks, plugins, marketplaces, skills)
  • cursor.md - Links to official Cursor docs (hooks, modes, rules, commands)

When implementing features or fixing bugs, always fetch the latest docs from these official URLs. If the implementation conflicts with the official docs, the docs are correct and the code should be updated to match.

Development Commands

Build and Install

# Build the gem
gem build caruso.gemspec

# Install locally
gem install caruso-*.gem

# Verify installation
caruso version

Testing

# Run offline tests only (default)
bundle exec rake spec
# or
bundle exec rspec

# Run all tests including live marketplace integration
bundle exec rake spec:all
# or
RUN_LIVE_TESTS=1 bundle exec rspec

# Run only live tests
bundle exec rake spec:live

# Run specific test file
bundle exec rspec spec/integration/plugin_spec.rb

# Run specific test
bundle exec rspec spec/integration/plugin_spec.rb:42

Important: Live tests (tagged with :live) interact with real marketplaces (anthropics/skills) and require network access. They can be slow (~7 minutes). Marketplace cache is stored in ~/.caruso/marketplaces/. Integration tests set CARUSO_TESTING_SKIP_CLONE=true to skip Git cloning for fast offline testing.

Linting

bundle exec rubocop

Version Management

# Bump patch version (0.1.3 → 0.1.4)
bundle exec rake bump:patch

# Bump minor version (0.1.4 → 0.2.0)
bundle exec rake bump:minor

# Bump major version (0.1.4 → 1.0.0)
bundle exec rake bump:major

Read the full file on GitHub · 273 lines

Changes

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.

  1. 2mo ago First seen · 273 lines · 2,820 tokens per session scan A 356097be1f31

Subscribe to this mod's changes

caruso AGENTS.md is an instructions file published in the GitHub repository pcomans/caruso (3 stars, last pushed 7mo ago), licensed MIT. It adds 2,820 tokens to every session, about $0.0113 per session on Opus 5.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-31.

Related

caruso AGENTS.md compared with instructions from other repositories

caruso AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
caruso AGENTS.mdpcomans/carusoInstructions file37mo agoMITA2,820Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot