claude-code

A guide for using Claude Code, Anthropic’s coding assistant, to control CEL, a trust and execution server, through MCP, a standard way for programs to expose tools to AI assistants.

In plain words
What is it for?
Building and configuring a Claude Code connection to CEL, including setup, tool calls, approvals, and result receipts.
Why use it?
It explains which system plans the work, runs actions, and verifies the results, avoiding duplicate planning logic.

Agent

Install

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.

agentmods
npx agentmods add agents/dimpagk92/cellar/claude-code
Clone the repo
git clone --depth 1 https://github.com/dimpagk92/cellar
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,705 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00000 $0.01705
Opus 5 $0.00000 $0.00852
Sonnet 5 $0.00000 $0.00341
Haiku 4.5 $0.00000 $0.00170

Measured 2d ago against content hash 10511a5ead2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

claude-code scanned grade B with 1 finding 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- User-wide: `~/.claude/settings.json`
docs/agents/claude-code.md · 162 lines

How it starts

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

Driving CEL from Claude Code

This page shows how to drive CEL from Claude Code.

Read docs/adapters-cel-agents.md first if you haven't.

Purpose

Claude Code is a strong default client for CEL because:

  • it is MCP-native (stdio transport, same boundary CEL exposes)
  • it already owns tool calling, retries, stop conditions, and user approval
  • you do not need to bring your own LLM or planner wiring

In this setup Claude Code owns the loop, and CEL is the trust/execution server providing cel_see, cel_act, and cel_perceive. cel_act returns receipts; Claude Code should use those receipts plus post-action evidence in the final answer. cel_think is available but should usually stay unused here — Claude Code already plans.

Setup

1. Build CEL

cd /path/to/cellar
pnpm install && pnpm -r build

2. Register CEL as an MCP server

Claude Code supports two config locations:

  • User-wide: ~/.claude/settings.json
  • Project-scoped: ./.mcp.json in the repo root

Project-scoped is recommended for CEL because permissions and registry state are machine-local.

Add CEL to the MCP section:

{
  "mcpServers": {
    "cel": {
      "command": "node",
      "args": ["/absolute/path/to/cellar/mcp-server/dist/index.js"]
    }
  }
}

Equivalent CLI form (if the cellar binary is on your PATH):

{
  "mcpServers": {
    "cel": {
      "command": "cellar",
      "args": ["mcp"]
    }
  }
}

3. Start Claude Code

Claude Code picks up MCP servers at start. In a new session, run:

/mcp

You should see cel listed with four tools: cel_see, cel_act, cel_perceive, cel_think.

TODO: screenshot — Claude Code /mcp output showing CEL registered.

4. Grant Accessibility permission

The first cel_act call will fail until macOS grants Accessibility permission to whichever process is launching Node (Terminal, iTerm, the Claude Code host, etc.). Grant it in System Settings → Privacy & Security → Accessibility, then restart Claude Code.

Read the full file on GitHub · 162 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. 2d ago First seen · 162 lines · 0 tokens per session scan B 10511a5ead2a

Subscribe to this mod's changes

claude-code is an agent published in the GitHub repository dimpagk92/cellar (4 stars, last pushed 22d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,705 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.