cyrus CLAUDE.md

cyrus CLAUDE.md is an instructions file for coding agents from cyrusagents/cyrus. It costs 7,839 tokens per session, scanned C, original, Apache-2.0.

Project instructions for Cyrus, a JavaScript and TypeScript application that connects Linear issue tracking with Claude Code. It explains how assigned issues are routed, processed in separate Git worktrees, and updated with responses.

In plain words
What is it for?
They help agents work on Linear webhooks, repository routing, isolated worktrees, Claude Code sessions, continued conversations, comments, and edge-worker processing.
Why use it?
They show agents how the application detects work, isolates changes, runs Claude sessions, and maintains conversations. This provides context for modifying its issue-processing and distributed-worker architecture.

Instructions file

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 instructions/cyrusagents/cyrus/claude-md
Clone the repo
git clone --depth 1 https://github.com/cyrusagents/cyrus

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 cyrus CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cyrusagents/cyrus/claude-md.svg)](https://agentmods.dev/instructions/cyrusagents/cyrus/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cyrusagents/cyrus/claude-md"><img src="https://agentmods.dev/badge/instructions/cyrusagents/cyrus/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,839 This file is loaded in full into every session.
When invoked 7,839 The same file — it is already loaded in full.
Security scan C 3 findings. 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.07839 $0.07839
Opus 5 $0.03920 $0.03920
Sonnet 5 $0.01568 $0.01568
Haiku 4.5 $0.00784 $0.00784

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

Security

Grade C, and why

cyrus CLAUDE.md scanned grade C with 3 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 5d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **`systemWideCert` config flag**: When `sandbox.systemWideCert: true` is set in `config.json`, all per-session CA cert env vars above are skipped — the OS cert store handles trust for all tools. Set this after trusting

Reads agent configuration directoriesmediumAgent snooping

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

The GeminiRunner automatically generates a `~/.gemini/settings.json` file with single-turn model aliases and preview features enabled if one doesn't already exist.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `NODE_EXTRA_CA_CERTS` (Node.js), `GIT_SSL_CAINFO` (Git), `SSL_CERT_FILE` (OpenSSL/Ruby), `REQUESTS_CA_BUNDLE` / `PIP_CERT` (Python), `CURL_CA_BUNDLE` (curl/OpenSSL), `CARGO_HTTP_CAINFO` (Rust), `AWS_CA_BUNDLE` (AWS CLI
CLAUDE.md · 589 lines

How it starts

The opening of the file, as written. The whole thing — 589 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.

Project Overview

Cyrus (Linear Claude Agent) is a monorepo JavaScript/TypeScript application that integrates Linear's issue tracking with Anthropic's Claude Code to automate software development tasks. The project is transitioning to an edge-proxy architecture that separates OAuth/webhook handling (proxy) from Claude processing (edge workers).

Key capabilities:

  • Monitors Linear issues assigned to a specific user
  • Creates isolated Git worktrees for each issue
  • Runs Claude Code sessions to process issues
  • Posts responses back to Linear as comments
  • Maintains conversation continuity using the --continue flag
  • Supports edge worker mode for distributed processing

How Cyrus Works

When a Linear issue is assigned to Cyrus, the following sequence occurs:

  1. Issue Detection & Routing: The EdgeWorker receives a webhook from Linear and routes the issue to the appropriate repository based on configured patterns or workspace catch-all rules.

  2. Workspace Isolation: A dedicated Git worktree is created for each issue (e.g., worktrees/DEF-1/) with a sanitized branch name derived from the issue identifier. This ensures complete isolation between concurrent tasks.

  3. AI Classification: The issue content is analyzed to determine its type (code, question, research, etc.) and the appropriate procedure is selected (e.g., full-development for coding tasks).

  4. Subroutine Execution: For development tasks, Claude executes a sequence of subroutines:

    • coding-activity: Implements the requested feature/fix
    • verifications: Runs tests, type checks, and linting
    • git-gh: Commits changes and creates pull requests
    • concise-summary: Generates a final summary for Linear
  5. Mid-Implementation Prompting: Users can add comments to the Linear issue while Claude is working. These comments are streamed into the active session, allowing real-time guidance (e.g., "Also add a modulo method while you're at it").

Read the full file on GitHub · 589 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. 5d ago First seen · 589 lines · 7,839 tokens per session scan C ee3197c4677b

Subscribe to this mod's changes

cyrus CLAUDE.md is an instructions file published in the GitHub repository cyrusagents/cyrus (796 stars, last pushed yesterday), licensed Apache-2.0. It adds 7,839 tokens to every session, about $0.0392 per session on Opus 5. A static security scan graded it C with 3 findings (asks for root, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.